summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2006-03-22 22:35:48 +0000
committerAlfredo Tupone <tupone@gentoo.org>2006-03-22 22:35:48 +0000
commit4b2a66884a580ef6504db8ca08c46fe24ebf4a4b (patch)
tree5e6449d9ef350a4d2f8c9a902949694be5cf9a49 /games-strategy/freeciv
parentRemove unused digest (diff)
downloadgentoo-2-4b2a66884a580ef6504db8ca08c46fe24ebf4a4b.tar.gz
gentoo-2-4b2a66884a580ef6504db8ca08c46fe24ebf4a4b.tar.bz2
gentoo-2-4b2a66884a580ef6504db8ca08c46fe24ebf4a4b.zip
Icon for menu, bug #125344
(Portage version: 2.1_pre6-r4)
Diffstat (limited to 'games-strategy/freeciv')
-rw-r--r--games-strategy/freeciv/ChangeLog5
-rw-r--r--games-strategy/freeciv/Manifest15
-rw-r--r--games-strategy/freeciv/files/freeciv.pngbin0 -> 3657 bytes
-rw-r--r--games-strategy/freeciv/freeciv-2.0.8.ebuild15
4 files changed, 27 insertions, 8 deletions
diff --git a/games-strategy/freeciv/ChangeLog b/games-strategy/freeciv/ChangeLog
index 649ea9f3cb00..3ff5a783c1e0 100644
--- a/games-strategy/freeciv/ChangeLog
+++ b/games-strategy/freeciv/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-strategy/freeciv
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/freeciv/ChangeLog,v 1.44 2006/03/12 15:53:07 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/freeciv/ChangeLog,v 1.45 2006/03/22 22:35:48 tupone Exp $
+
+ 22 Mar 2006; <Tupone@gentoo.org> +files/freeciv.png, freeciv-2.0.8.ebuild:
+ Icon for menu entries, bug #125344 by Raymond Lewis Rebbeck
12 Mar 2006; Simon Stelling <blubb@gentoo.org> freeciv-2.0.8.ebuild:
stable on amd64 wrt bug 125304
diff --git a/games-strategy/freeciv/Manifest b/games-strategy/freeciv/Manifest
index e60d244e7d7c..1818daa05940 100644
--- a/games-strategy/freeciv/Manifest
+++ b/games-strategy/freeciv/Manifest
@@ -1,12 +1,15 @@
-MD5 ed6acc00199ea355ae1fe36e50a56222 ChangeLog 7291
-RMD160 9ec881494fd92100e61bff45cfccc231590136a8 ChangeLog 7291
-SHA256 fb701492c2d93036503c0007b9f1b12d4046d256d8f286070f851b78beecdae1 ChangeLog 7291
+MD5 5cd7d00fd2dbbe67bd8cdd203349cbd4 ChangeLog 7431
+RMD160 156e68eb6fbf0bc991bfa3c4194223fed33cb9f5 ChangeLog 7431
+SHA256 2583ad64ef66ce79951cbe898dbfa0b0863291dbc4a74a202f264db5c6fa9385 ChangeLog 7431
MD5 40f3883d3eefecb900a217e2dc40e3da files/digest-freeciv-2.0.8 479
RMD160 d6332b47a3075ae2b93849528921b9e3672197b5 files/digest-freeciv-2.0.8 479
SHA256 2d5e6d0e14506a64b40ca97b8bec34a97483796d45226cbe1b316d617377bdf2 files/digest-freeciv-2.0.8 479
-MD5 469b718860ad51090647600086a5ccf7 freeciv-2.0.8.ebuild 4531
-RMD160 8cd855aad54abe0432acc1259360e164b5dfdb51 freeciv-2.0.8.ebuild 4531
-SHA256 6d6f7696a4bc3b5d440b3a6e315db3afec6530064fa80b1d171221bc51aa1f89 freeciv-2.0.8.ebuild 4531
+MD5 42ae5aa07b3e176f81dfa905bcc0eb4f files/freeciv.png 3657
+RMD160 6f283d6031b7b4ae3da21ddd5145084f147a7acd files/freeciv.png 3657
+SHA256 50af34df5f43fb90844561ea5f91bbf1fbb762d15ea56811e39c7ad3f2cc0160 files/freeciv.png 3657
+MD5 f9fa569ed09cd5d055fae3e63e51b0d4 freeciv-2.0.8.ebuild 4965
+RMD160 2596ad13cb3aa59a46def5f562db46337ed05694 freeciv-2.0.8.ebuild 4965
+SHA256 8ed09e44407f69da7ec94b9f10928880d27e37530abe7b9d5059b1a9bf1b784e freeciv-2.0.8.ebuild 4965
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata.xml 158
diff --git a/games-strategy/freeciv/files/freeciv.png b/games-strategy/freeciv/files/freeciv.png
new file mode 100644
index 000000000000..52d8c9042521
--- /dev/null
+++ b/games-strategy/freeciv/files/freeciv.png
Binary files differ
diff --git a/games-strategy/freeciv/freeciv-2.0.8.ebuild b/games-strategy/freeciv/freeciv-2.0.8.ebuild
index 1fb3a8adfb9e..caf7ea0396e1 100644
--- a/games-strategy/freeciv/freeciv-2.0.8.ebuild
+++ b/games-strategy/freeciv/freeciv-2.0.8.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/freeciv/freeciv-2.0.8.ebuild,v 1.6 2006/03/12 15:53:07 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/freeciv/freeciv-2.0.8.ebuild,v 1.7 2006/03/22 22:35:48 tupone Exp $
inherit games
@@ -94,6 +94,17 @@ src_unpack() {
configure \
|| die "sed failed"
+ # change .desktop icon to the freeciv icon rather than the gnome globe
+ sed -i \
+ -e 's:^\(Icon=\).*:\1freeciv.png:' \
+ bootstrap/freeciv.desktop.in \
+ || die "sed failed"
+
+ # change .desktop category so it is not gnome specific
+ sed -i \
+ -e 's:^\(Categories=GNOME;Application;Game;Strategy;\):Categories=Application;Game;StrategyGame;:' \
+ bootstrap/freeciv.desktop.in \
+ || die "sed failed"
# install the .desktop in /usr/share/applications
sed -i \
-e 's:^\(desktopfiledir = \).*:\1/usr/share/applications:' \
@@ -168,5 +179,7 @@ src_install() {
dodoc ChangeLog NEWS \
doc/{BUGS,CodingStyle,HACKING,HOWTOPLAY,PEOPLE,README*,TODO}
+ doicon "${FILESDIR}/${PN}.png"
+
prepgamesdirs
}