summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2012-11-30 20:05:06 +0000
committerJulian Ospald <hasufell@gentoo.org>2012-11-30 20:05:06 +0000
commit9bc814effd69164aa8936e30c6c5b6c50247a837 (patch)
tree0710f06c351e9543a18c46629fdc72787d6b0b7e /games-puzzle
parentversion bump, remove old (diff)
downloadgentoo-2-9bc814effd69164aa8936e30c6c5b6c50247a837.tar.gz
gentoo-2-9bc814effd69164aa8936e30c6c5b6c50247a837.tar.bz2
gentoo-2-9bc814effd69164aa8936e30c6c5b6c50247a837.zip
fix desktop file
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
Diffstat (limited to 'games-puzzle')
-rw-r--r--games-puzzle/gtetrinet/ChangeLog6
-rw-r--r--games-puzzle/gtetrinet/files/gtetrinet-0.7.11-desktopfile.patch28
-rw-r--r--games-puzzle/gtetrinet/gtetrinet-0.7.11-r1.ebuild4
3 files changed, 35 insertions, 3 deletions
diff --git a/games-puzzle/gtetrinet/ChangeLog b/games-puzzle/gtetrinet/ChangeLog
index aa85fdce1bc7..8515b793a4f1 100644
--- a/games-puzzle/gtetrinet/ChangeLog
+++ b/games-puzzle/gtetrinet/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-puzzle/gtetrinet
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/gtetrinet/ChangeLog,v 1.26 2012/05/21 20:39:44 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/gtetrinet/ChangeLog,v 1.27 2012/11/30 20:05:06 hasufell Exp $
+
+ 30 Nov 2012; Julian Ospald <hasufell@gentoo.org> gtetrinet-0.7.11-r1.ebuild,
+ +files/gtetrinet-0.7.11-desktopfile.patch:
+ fix desktop file
21 May 2012; Michael Sterrett <mr_bones_@gentoo.org>
gtetrinet-0.7.11-r1.ebuild:
diff --git a/games-puzzle/gtetrinet/files/gtetrinet-0.7.11-desktopfile.patch b/games-puzzle/gtetrinet/files/gtetrinet-0.7.11-desktopfile.patch
new file mode 100644
index 000000000000..9bf7c2e506db
--- /dev/null
+++ b/games-puzzle/gtetrinet/files/gtetrinet-0.7.11-desktopfile.patch
@@ -0,0 +1,28 @@
+From: Julian Ospald <hasufell@gentoo.org>
+Date: Fri Nov 30 20:02:03 UTC 2012
+Subject: desktop file
+
+ fix desktop file according to fd.o spec
+
+--- gtetrinet.desktop
++++ gtetrinet.desktop
+@@ -1,5 +1,4 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+ Name=GTetrinet
+ Name[am]=GTetrinet
+ Name[bg]=GTetrinet
+@@ -99,11 +98,11 @@
+ Comment[zh_HK]=Tetrinet 的 GNOME 客戶端程式
+ Comment[zh_TW]=Tetrinet 的 GNOME 客戶端程式
+ Exec=gtetrinet
+-Icon=gtetrinet.png
++Icon=gtetrinet
+ StartupNotify=true
+ Terminal=false
+ Type=Application
+-Categories=GNOME;Application;Game;BlocksGame;
++Categories=GNOME;Game;BlocksGame;
+ X-GNOME-Bugzilla-Bugzilla=GNOME
+ X-GNOME-Bugzilla-Product=gtetrinet
+ X-GNOME-Bugzilla-Component=general
diff --git a/games-puzzle/gtetrinet/gtetrinet-0.7.11-r1.ebuild b/games-puzzle/gtetrinet/gtetrinet-0.7.11-r1.ebuild
index 02dd25aaba42..55543909c211 100644
--- a/games-puzzle/gtetrinet/gtetrinet-0.7.11-r1.ebuild
+++ b/games-puzzle/gtetrinet/gtetrinet-0.7.11-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/gtetrinet/gtetrinet-0.7.11-r1.ebuild,v 1.8 2012/05/21 20:39:44 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/gtetrinet/gtetrinet-0.7.11-r1.ebuild,v 1.9 2012/11/30 20:05:06 hasufell Exp $
EAPI=2
# games after gnome2 so games' functions will override gnome2's
@@ -27,7 +27,7 @@ DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )"
src_prepare() {
- epatch "${FILESDIR}"/${P}-noesd.patch
+ epatch "${FILESDIR}"/${P}-{noesd,desktopfile}.patch
sed -i \
-e "/^pkgdatadir =/s:=.*:= ${GAMES_DATADIR}/${PN}:" \
src/Makefile.in themes/*/Makefile.in || die