summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2005-11-29 12:35:06 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2005-11-29 12:35:06 +0000
commit05461fd81d39ba9dcef305e4eff737faee99e5b6 (patch)
tree0d642a40aba2b3ba7cbc50b70c5d9df0822187ab /media-video/gxine
parentFixed ChangeLog as noted in bug #113050. (diff)
downloadgentoo-2-05461fd81d39ba9dcef305e4eff737faee99e5b6.tar.gz
gentoo-2-05461fd81d39ba9dcef305e4eff737faee99e5b6.tar.bz2
gentoo-2-05461fd81d39ba9dcef305e4eff737faee99e5b6.zip
Rename gxine-logo.png in gxine.log in the sources, too. Fixes bug #112643.
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'media-video/gxine')
-rw-r--r--media-video/gxine/ChangeLog6
-rw-r--r--media-video/gxine/files/gxine-0.5.0-pixmap.patch46
-rw-r--r--media-video/gxine/gxine-0.5.0.ebuild5
3 files changed, 53 insertions, 4 deletions
diff --git a/media-video/gxine/ChangeLog b/media-video/gxine/ChangeLog
index 4d06fb0551f7..17756618f079 100644
--- a/media-video/gxine/ChangeLog
+++ b/media-video/gxine/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-video/gxine
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/gxine/ChangeLog,v 1.50 2005/10/30 15:44:48 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/gxine/ChangeLog,v 1.51 2005/11/29 12:35:06 flameeyes Exp $
+
+ 29 Nov 2005; Diego Pettenò <flameeyes@gentoo.org>
+ +files/gxine-0.5.0-pixmap.patch, gxine-0.5.0.ebuild:
+ Rename gxine-logo.png in gxine.log in the sources, too. Fixes bug #112643.
30 Oct 2005; Diego Pettenò <flameeyes@gentoo.org> gxine-0.5.0.ebuild:
Bumped requirement of spidermonkey to have a newer version that installs the
diff --git a/media-video/gxine/files/gxine-0.5.0-pixmap.patch b/media-video/gxine/files/gxine-0.5.0-pixmap.patch
new file mode 100644
index 000000000000..c8741e698f37
--- /dev/null
+++ b/media-video/gxine/files/gxine-0.5.0-pixmap.patch
@@ -0,0 +1,46 @@
+The FreeDesktop icon themes specifications tells to put the icons in a theme
+subdirectory in /usr/share/icons, and to use the name of the icon without
+extension in the .desktop files, to allow themes to use versions in other
+formats. For the same reason, gxine-logo.png icon is installed as gxine.png,
+and just gxine is used in the .desktop file.
+Index: gxine-0.5.0/gxine.desktop
+===================================================================
+--- gxine-0.5.0.orig/gxine.desktop
++++ gxine-0.5.0/gxine.desktop
+@@ -6,7 +6,7 @@ GenericName=Video Player
+ Comment=Play films and songs, or watch digital TV
+ Exec=gxine
+ MultipleArgs=true
+-Icon=gxine-logo.png
++Icon=gxine
+ Terminal=false
+ Type=Application
+ StartupNotify=true
+Index: gxine-0.5.0/src/desktop_integration.c
+===================================================================
+--- gxine-0.5.0.orig/src/desktop_integration.c
++++ gxine-0.5.0/src/desktop_integration.c
+@@ -349,7 +349,7 @@ void di_register_kde (void) {
+ "Comment=Play films and songs, or watch digital TV\n"
+ "MultipleArgs=true\n"
+ "Terminal=false\n"
+- "Icon=%s/gxine-logo.png\n"
++ "Icon=gxine\n"
+ "Exec=%s/gxine\n"
+ "Type=Application\n"
+ "StartupNotify=true\n"
+Index: gxine-0.5.0/src/ui.c
+===================================================================
+--- gxine-0.5.0.orig/src/ui.c
++++ gxine-0.5.0/src/ui.c
+@@ -779,8 +779,8 @@ static void ui_load_icons (void)
+
+ ui_std_icon (ifactory, GXINE_MEDIA_SPEAKER, "speaker.png");
+ ui_std_icon (ifactory, GXINE_MEDIA_SPEAKER_MUTE, "nospeaker.png");
+- ui_std_icon (ifactory, GXINE_MEDIA_MARK, "/gxine-logo.png");
+- ui_std_icon (ifactory, GXINE_LOGO, "/gxine-logo.png");
++ ui_std_icon (ifactory, GXINE_MEDIA_MARK, "/gxine.png");
++ ui_std_icon (ifactory, GXINE_LOGO, "/gxine.png");
+
+ gtk_icon_factory_add_default (ifactory);
+ }
diff --git a/media-video/gxine/gxine-0.5.0.ebuild b/media-video/gxine/gxine-0.5.0.ebuild
index fe3b2ad2bd6c..e05396dd1183 100644
--- a/media-video/gxine/gxine-0.5.0.ebuild
+++ b/media-video/gxine/gxine-0.5.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/gxine/gxine-0.5.0.ebuild,v 1.2 2005/10/30 15:44:48 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/gxine/gxine-0.5.0.ebuild,v 1.3 2005/11/29 12:35:06 flameeyes Exp $
inherit eutils nsplugins fdo-mime
@@ -30,8 +30,7 @@ src_unpack() {
unpack ${A}
cd ${S}
- # Fix icon as per icon theme specs.
- sed -i -e 's:gxine-logo.png:gxine:' ${S}/gxine.desktop
+ epatch "${FILESDIR}/${P}-pixmap.patch"
}
src_compile() {