public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/gnome:gnome-next commit in: media-sound/sound-juicer/, media-sound/sound-juicer/files/
@ 2011-08-06  7:33 Alexandre Restovtsev
  0 siblings, 0 replies; only message in thread
From: Alexandre Restovtsev @ 2011-08-06  7:33 UTC (permalink / raw
  To: gentoo-commits

commit:     35b4071b20d8234f7f6b8a3d0fe61929ab41f635
Author:     Alexandre Rostovtsev <tetromino <AT> gmail <DOT> com>
AuthorDate: Sat Aug  6 07:29:14 2011 +0000
Commit:     Alexandre Restovtsev <tetromino <AT> gmail <DOT> com>
CommitDate: Sat Aug  6 07:32:23 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=35b4071b

media-sound/sound-juicer: fix .desktop file (#377855)

Add a tiny patch to use a non-generic Name field in sound-juicer's
.desktop file; addresses Gentoo bug #377855 and satisfies Gnome policy
(see https://live.gnome.org/GnomeGoals/CorrectDesktopFiles).

Upstream bug is at https://bugzilla.gnome.org/show_bug.cgi?id=616860

No revision bump since this is a trivial change.

---
 .../files/sound-juicer-correct-desktop-files.patch |   13 +++++++++++++
 .../sound-juicer-2.99.0_pre20110405.ebuild         |    6 +++++-
 2 files changed, 18 insertions(+), 1 deletions(-)

diff --git a/media-sound/sound-juicer/files/sound-juicer-correct-desktop-files.patch b/media-sound/sound-juicer/files/sound-juicer-correct-desktop-files.patch
new file mode 100644
index 0000000..5d7546b
--- /dev/null
+++ b/media-sound/sound-juicer/files/sound-juicer-correct-desktop-files.patch
@@ -0,0 +1,13 @@
+diff --git a/data/sound-juicer.desktop.in.in b/data/sound-juicer.desktop.in.in
+index ecd42e0..3a7dc28 100644
+--- a/data/sound-juicer.desktop.in.in
++++ b/data/sound-juicer.desktop.in.in
+@@ -1,5 +1,7 @@
+ [Desktop Entry]
+-_Name=Audio CD Extractor
++_Name=Sound Juicer
++_GenericName=Audio CD Extractor
++_X-GNOME-FullName=Sound Juicer Audio CD Extractor
+ _Comment=Copy music from your CDs
+ Exec=sound-juicer %u
+ Icon=sound-juicer

diff --git a/media-sound/sound-juicer/sound-juicer-2.99.0_pre20110405.ebuild b/media-sound/sound-juicer/sound-juicer-2.99.0_pre20110405.ebuild
index bf178c0..8fd3b5c 100644
--- a/media-sound/sound-juicer/sound-juicer-2.99.0_pre20110405.ebuild
+++ b/media-sound/sound-juicer/sound-juicer-2.99.0_pre20110405.ebuild
@@ -6,7 +6,7 @@ EAPI="4"
 GCONF_DEBUG="yes"
 GNOME2_LA_PUNT="yes"
 
-inherit autotools gnome2
+inherit autotools eutils gnome2
 if [[ ${PV} = 9999 ]]; then
 	inherit gnome2-live
 fi
@@ -63,6 +63,10 @@ pkg_setup() {
 }
 
 src_prepare() {
+	# Use non-generic application name. See bug #377855, upstream bug 616860,
+	# and https://live.gnome.org/GnomeGoals/CorrectDesktopFiles
+	epatch "${FILESDIR}/${PN}-correct-desktop-files.patch"
+
 	gnome-doc-common
 	gnome-doc-prepare --automake
 	intltoolize --force



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-08-06  7:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-06  7:33 [gentoo-commits] proj/gnome:gnome-next commit in: media-sound/sound-juicer/, media-sound/sound-juicer/files/ Alexandre Restovtsev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox