[SCM] Civilization turn-based strategy game branch, master, updated. debian/2.1.9-1-20-g3c8c5e8

Karl Goetz karl.goetz at kgoetz.id.au
Sat Nov 28 00:35:59 UTC 2009


The following commit has been merged in the master branch:
commit 857ceec011fb653747058e3bcb51993a9c5dd5cd
Author: Karl Goetz <karl at kgoetz.id.au>
Date:   Sat Nov 28 10:52:01 2009 +1030

    * Make the .desktop entries meantion which client they are for.

diff --git a/debian/rules b/debian/rules
index 49eec8a..4b1e129 100755
--- a/debian/rules
+++ b/debian/rules
@@ -119,6 +119,7 @@ install-stamp: build-server-stamp build-gtk-stamp build-xaw3d-stamp build-sdl-st
 		localedir=$(DESTDIR)/usr/share/locale install)
 	mv debian/tmp/usr/games/civclient debian/tmp/usr/games/civclient-xaw3d
 	cp debian/tmp/usr/share/applications/freeciv.desktop debian/tmp/usr/share/applications/freeciv-xaw3d.desktop
+	sed -i -e 's/=Freeciv/=Freeciv (xaw3d)/' debian/tmp/usr/share/applications/freeciv-xaw3d.desktop
 	sed -i -e 's/Exec=civclient/Exec=civclient-xaw3d/' debian/tmp/usr/share/applications/freeciv-xaw3d.desktop
 	sed -i -e 's/GTK;//' debian/tmp/usr/share/applications/freeciv-xaw3d.desktop
 
@@ -126,6 +127,7 @@ install-stamp: build-server-stamp build-gtk-stamp build-xaw3d-stamp build-sdl-st
 		localedir=$(DESTDIR)/usr/share/locale install)
 	mv debian/tmp/usr/games/civclient debian/tmp/usr/games/civclient-gtk
 	cp debian/tmp/usr/share/applications/freeciv.desktop debian/tmp/usr/share/applications/freeciv-gtk.desktop
+	sed -i -e 's/=Freeciv/=Freeciv (gtk)/' debian/tmp/usr/share/applications/freeciv-gtk.desktop
 	sed -i -e 's/Exec=civclient/Exec=civclient-gtk/' debian/tmp/usr/share/applications/freeciv-gtk.desktop
 	$(INSTALL_DIR) $(CURDIR)/debian/tmp/usr/share/ggz/modules/freeciv
 	cp build-gtk/data/civclient.dsc debian/tmp/usr/share/ggz/modules/freeciv
@@ -134,6 +136,7 @@ install-stamp: build-server-stamp build-gtk-stamp build-xaw3d-stamp build-sdl-st
 		localedir=$(DESTDIR)/usr/share/locale install)
 	mv debian/tmp/usr/games/civclient debian/tmp/usr/games/civclient-sdl
 	mv debian/tmp/usr/share/applications/freeciv.desktop debian/tmp/usr/share/applications/freeciv-sdl.desktop
+	sed -i -e 's/=Freeciv/=Freeciv (sdl)/' debian/tmp/usr/share/applications/freeciv-sdl.desktop
 	sed -i -e 's/Exec=civclient/Exec=civclient-sdl/' debian/tmp/usr/share/applications/freeciv-sdl.desktop
 	sed -i -e 's/GTK;//' debian/tmp/usr/share/applications/freeciv-sdl.desktop
 

-- 
Civilization turn-based strategy game



More information about the Pkg-games-commits mailing list