diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-05-21 16:27:16 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-05-21 16:27:16 +0000 |
commit | 7fc8d810a9e6d71aebe5b42af669fe581db7b9d8 (patch) | |
tree | 8ad8763a59ca980fd2da63b859c15dc3ff1867cf | |
parent | Fix compilation with glibc-2.10 (Bug #270682) (diff) | |
download | gentoo-2-7fc8d810a9e6d71aebe5b42af669fe581db7b9d8.tar.gz gentoo-2-7fc8d810a9e6d71aebe5b42af669fe581db7b9d8.tar.bz2 gentoo-2-7fc8d810a9e6d71aebe5b42af669fe581db7b9d8.zip |
Desktop entry and Icon.
(Portage version: 2.1.6.13/cvs/Linux x86_64)
-rw-r--r-- | media-sound/k3guitune/ChangeLog | 6 | ||||
-rw-r--r-- | media-sound/k3guitune/files/k3guitune-1.01-desktop-entry.patch | 40 | ||||
-rw-r--r-- | media-sound/k3guitune/files/k3guitune.xpm | 51 | ||||
-rw-r--r-- | media-sound/k3guitune/k3guitune-1.01.ebuild | 14 |
4 files changed, 106 insertions, 5 deletions
diff --git a/media-sound/k3guitune/ChangeLog b/media-sound/k3guitune/ChangeLog index 9fc5480cfb67..c32c0092cc93 100644 --- a/media-sound/k3guitune/ChangeLog +++ b/media-sound/k3guitune/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-sound/k3guitune # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/k3guitune/ChangeLog,v 1.23 2009/05/21 15:50:45 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/k3guitune/ChangeLog,v 1.24 2009/05/21 16:27:07 ssuominen Exp $ + + 21 May 2009; Samuli Suominen <ssuominen@gentoo.org> k3guitune-1.01.ebuild, + +files/k3guitune-1.01-desktop-entry.patch, +files/k3guitune.xpm: + Desktop entry and Icon. 21 May 2009; Samuli Suominen <ssuominen@gentoo.org> -k3guitune-1.0.ebuild, k3guitune-1.01.ebuild: diff --git a/media-sound/k3guitune/files/k3guitune-1.01-desktop-entry.patch b/media-sound/k3guitune/files/k3guitune-1.01-desktop-entry.patch new file mode 100644 index 000000000000..80bf2818acfb --- /dev/null +++ b/media-sound/k3guitune/files/k3guitune-1.01-desktop-entry.patch @@ -0,0 +1,40 @@ +diff -ur k3guitune-1.01.orig/k3guitune/k3guitune.desktop k3guitune-1.01/k3guitune/k3guitune.desktop +--- k3guitune-1.01.orig/k3guitune/k3guitune.desktop 2007-12-15 15:16:27.000000000 +0200 ++++ k3guitune-1.01/k3guitune/k3guitune.desktop 2009-05-21 19:19:27.000000000 +0300 +@@ -1,12 +1,13 @@ + # KDE Config File + [Desktop Entry] +-Encoding=UTF-8 ++Version=1.0 + Type=Application +-Exec=k3guitune -caption "%c" %i %m +-Icon= +-DocPath=k3guitune/index.html ++Exec=k3guitune -caption "%c" %i ++Icon=k3guitune ++X-KDE-DocPath=k3guitune/index.html + Comment= + Comment[de]= +-Terminal=0 ++Terminal=false + Name=K3GuiTune + Name[de]=K3GuiTune ++Categories=AudioVideo;KDE; +diff -ur k3guitune-1.01.orig/k3guitune/Makefile.am k3guitune-1.01/k3guitune/Makefile.am +--- k3guitune-1.01.orig/k3guitune/Makefile.am 2007-12-15 15:16:27.000000000 +0200 ++++ k3guitune-1.01/k3guitune/Makefile.am 2009-05-21 19:25:00.000000000 +0300 +@@ -7,11 +7,11 @@ + EXTRA_DIST = k3guitune.desktop k2guitune_meta_unload.cpp logview.cpp logview.h main.cpp osziview.cpp osziview.h resources.h guitune.cpp guitune.h k2guitune.cpp k2guitune.h k3guituneui.rc soundinput.h soundinput.cpp audiodlg.h audiodlg.cpp + + install-data-local: +- $(mkinstalldirs) $(kde_appsdir)/Multimedia/ +- $(INSTALL_DATA) $(srcdir)/k3guitune.desktop $(kde_appsdir)/Multimedia/k3guitune.desktop ++ $(mkinstalldirs) $(datadir)/applications/kde ++ $(INSTALL_DATA) $(srcdir)/k3guitune.desktop $(datadir)/applications/kde/k3guitune.desktop + + uninstall-local: +- -rm -f $(kde_appsdir)/Multimedia/k3guitune.desktop ++ -rm -f $(datadir)/applications/kde/k3guitune.desktop + + # These paths are KDE specific. Use them: + # kde_appsdir Where your application's menu entry (.desktop) should go to. diff --git a/media-sound/k3guitune/files/k3guitune.xpm b/media-sound/k3guitune/files/k3guitune.xpm new file mode 100644 index 000000000000..77f6511d6653 --- /dev/null +++ b/media-sound/k3guitune/files/k3guitune.xpm @@ -0,0 +1,51 @@ +/* XPM */ +static char * guitune_logo_xpm[]={ +"32 32 16 1", +"f c #808080", +"k c #ffa858", +"g c #a0a0a0", +"e c #c3c3c3", +"b c #00ff00", +". c None", +"i c #c05800", +"# c #000000", +"j c #ff8000", +"m c #400000", +"n c #800000", +"l c #ffdca8", +"d c #585858", +"a c #ffffff", +"c c #ff0000", +"h c #00c0c0", +"................................", +"................................", +"................................", +"................................", +".....................#######....", +"#################..##aaaaaaa##..", +"##b#####b#####b####aaabbbbbaaa##", +"##b#####b#####b###aaccbbbddccaa#", +"#b#b###b#b###b#b#.#accaaadacca#.", +"#b#b###b#b###b#b#.#aaaaaedaaaa#.", +"#b#b###b#b###b#b#..#aaaafgaaa#..", +"hhhbhhbhhbhhbhhbh###aaaadgaaa#..", +"####b#b###b#b####iii#a#####a#...", +"####b#b###b#b####iji##iiii###...", +"####b#b###b#b####ijiiiijjii#....", +"#####b#####b########jjjjjji#....", +"#####b#####b######k#kikjkii#####", +"#################l#l#ljlklmlmlml", +"#iijijjjnmmjlil#l#l#l#lilnlnlnln", +"#iiijjjjnmmlilil#l#l#lilklnlnlnl", +"#iijjjjjnmmjlil#k#k#k#kjkii#####", +"#iiijjjjjmmjkkki#####ijjjji#....", +"#iijjjjjjmmjjjjki###ijjjjji#....", +".#iijjjjjmmjjjjjiiiijjjjjji#....", +".#ijijjjjjjjjjjjjjjjjjjjjj#.....", +".#iiijjjjjjjjjjjjjjjjjjjji#.....", +"..#ijijjjjjjjjjji###jjjjii#.....", +"...#iiijjjjijjii#nnn#iiin#......", +"....##iijjijji##.....####.......", +"......########..................", +"................................", +"................................"}; diff --git a/media-sound/k3guitune/k3guitune-1.01.ebuild b/media-sound/k3guitune/k3guitune-1.01.ebuild index 5d29dd60b9ad..198df64e5355 100644 --- a/media-sound/k3guitune/k3guitune-1.01.ebuild +++ b/media-sound/k3guitune/k3guitune-1.01.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/k3guitune/k3guitune-1.01.ebuild,v 1.7 2009/05/21 16:01:40 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/k3guitune/k3guitune-1.01.ebuild,v 1.8 2009/05/21 16:27:07 ssuominen Exp $ EAPI=2 ARTS_REQUIRED=never @@ -30,10 +30,11 @@ for X in ${LANGS} ${LANGS_DOC} ; do IUSE="${IUSE} linguas_${X}" done -src_unpack() { - kde_src_unpack +src_prepare() { + kde_src_prepare epatch "${FILESDIR}"/${PN}-1.0-gcc43.patch \ - "${FILESDIR}"/${P}-fftw.patch + "${FILESDIR}"/${P}-fftw.patch \ + "${FILESDIR}"/${P}-desktop-entry.patch for X in ${LANGS} ; do use linguas_${X} && MAKE_LANGS="${MAKE_LANGS} ${X}.po" @@ -59,3 +60,8 @@ src_configure() { kde_src_configure } + +src_install() { + kde_src_install + doicon "${FILESDIR}"/${PN}.xpm +} |