Package: space-orbit
Version: 1.01-6
Tags: patch
I added a .desktop file to the space-orbit package so that we see it in the
menu.
The original bug is at
https://launchpad.net/distros/ubuntu/+source/space-orbit/+bug/5288 and it has a
patch for ubuntu.
I changed the patch for debian, but maybe the changelog changes could be wrong
since I'm not very familiar with the debian versions
stuff.
Also, it is normal that the "Icon=" is empty since there's no icon in the
source to point to.
Thierry Moisan
diff -u space-orbit-1.01/debian/changelog space-orbit-1.01/debian/changelog
--- space-orbit-1.01/debian/changelog
+++ space-orbit-1.01/debian/changelog
@@ -1,3 +1,9 @@
+space-orbit (1.01-6) unstable; urgency=low
+
+ * Adding a desktop file to the package
+
+ -- Thierry Moisan <[EMAIL PROTECTED]> Thu, 1 Dec 2005 18:27:48 -0500
+
diff -u space-orbit-1.01/debian/rules space-orbit-1.01/debian/rules
--- space-orbit-1.01/debian/rules
+++ space-orbit-1.01/debian/rules
@@ -30,6 +30,8 @@
dh_clean -k
dh_installdirs
dh_install
+ mkdir -p debian/space-orbit/usr/share/applications
+ cp debian/space-orbit.desktop debian/space-orbit/usr/share/applications
+ dh_desktop
find debian/space-orbit-common/usr/share/games/orbit -type f | xargs chmod 644
chmod 755 debian/space-orbit/usr/games/orbit
--- space-orbit-1.01.orig/debian/space-orbit.desktop
+++ space-orbit-1.01/debian/space-orbit.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Space-orbit
+Comment=A 3D space combat simulator
+
+Exec=orbit
+Icon=
+StartupNotify=false
+Terminal=false
+Type=Application
+Categories=Application;Game;ArcadeGame