Package: csmash
Version: 0.6.6-6.4
Severity: wishlist
Tags: patch
User: [EMAIL PROTECTED]
Usertags: origin-ubuntu intrepid ubuntu-patch
Hi,
Please include a freedesktop .desktop file. This allows the application
to be launchpad from menus that don't use the debian menu standard,
and allows manipulation with some other tools.
The following patch is used in Ubuntu to do this. Please consider
applying it.
Thanks,
James
diff -pruN 0.6.6-6.4/debian/csmash.desktop
0.6.6-6.4ubuntu1/debian/csmash.desktop
--- 0.6.6-6.4/debian/csmash.desktop 1970-01-01 01:00:00.000000000 +0100
+++ 0.6.6-6.4ubuntu1/debian/csmash.desktop 2008-05-12 14:09:56.000000000
+0100
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=Cannon Smash
+Comment=3D tabletennis game
+Exec=csmash
+Terminal=false
+Type=Application
+Categories=Game;
+StartupNotify=false
diff -pruN 0.6.6-6.4/debian/csmash.dirs 0.6.6-6.4ubuntu1/debian/csmash.dirs
--- 0.6.6-6.4/debian/csmash.dirs 2008-05-12 15:19:21.000000000 +0100
+++ 0.6.6-6.4ubuntu1/debian/csmash.dirs 2008-05-12 14:09:56.000000000 +0100
@@ -1,2 +1,3 @@
usr/share/pixmaps
usr/share/games
+usr/share/applications
diff -pruN 0.6.6-6.4/debian/rules 0.6.6-6.4ubuntu1/debian/rules
--- 0.6.6-6.4/debian/rules 2008-05-12 15:19:21.000000000 +0100
+++ 0.6.6-6.4ubuntu1/debian/rules 2008-05-12 14:09:56.000000000 +0100
@@ -64,6 +64,7 @@ install-stamp: build-stamp
datadir=$(DEBIAN_DIR)/$(package-data)/usr/share \
localedir=$(DEBIAN_DIR)/$(package)/usr/share/locale
cp debian/csmash.xpm $(DEBIAN_DIR)/$(package)/usr/share/pixmaps/
+ cp debian/csmash.desktop $(DEBIAN_DIR)/$(package)/usr/share/applications
touch install-stamp
@@ -86,6 +87,7 @@ binary-arch: build install
dh_testroot -a
dh_installdocs -a
dh_installmenu -a
+ dh_desktop -a
dh_installman -a debian/$(package).6
dh_installchangelogs -a -pcsmash ChangeLog
dh_link -a
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]