Package: golly
Version: 1.3-3
Severity: wishlist
Tags: patch

--- Please enter the report below this line. ---
I noticed that golly doesn't appear in the Gnome menu, because it 
doesn't ship a .desktop file. The attached patch installs a 
basic .desktop file, which registers golly in the Games/LogicGames
menu section (I'm not entirely sure it's the right one).

Regards,
Davide Cavalca

--- System information. ---
Architecture: amd64
Kernel:       Linux 2.6.22-3-amd64

Debian Release: lenny/sid
  500 testing         www.debian-multimedia.org 
  500 testing         security.debian.org 
  500 testing         mi.mirror.garr.it 

--- Package information. ---
Depends                      (Version) | Installed
======================================-+-====================
libc6                       (>= 2.7-1) | 2.7-6
libgcc1                (>= 1:4.1.1-21) | 1:4.3.0~rc2-1
libperl5.8                  (>= 5.8.8) | 5.8.8-12
libstdc++6               (>= 4.1.1-21) | 4.3.0~rc2-1
libwxbase2.6-0          (>= 2.6.3.2.2) | 2.6.3.2.2-2
libwxgtk2.6-0           (>= 2.6.3.2.2) | 2.6.3.2.2-2
zlib1g             (>= 1:1.2.3.3.dfsg) | 1:1.2.3.3.dfsg-11

diff -auNr golly-1.3-orig/debian/dirs golly-1.3/debian/dirs
--- golly-1.3-orig/debian/dirs	2008-03-22 13:29:34.000000000 +0100
+++ golly-1.3/debian/dirs	2008-03-22 13:32:48.000000000 +0100
@@ -1,3 +1,4 @@
 usr/games
 usr/share/golly
 usr/share/pixmaps
+usr/share/applications
diff -auNr golly-1.3-orig/debian/golly.desktop golly-1.3/debian/golly.desktop
--- golly-1.3-orig/debian/golly.desktop	1970-01-01 01:00:00.000000000 +0100
+++ golly-1.3/debian/golly.desktop	2008-03-22 13:43:28.000000000 +0100
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Type=Application
+Name=Golly
+GenericName=Game of Life Simulator
+Comment=A Conway's Game of Life simulator
+Comment[it]=Un simulatore del "gioco della vita" di Conway
+Icon=golly.xpm
+Exec=golly
+Terminal=false
+Categories=Game;LogicGame;
diff -auNr golly-1.3-orig/debian/rules golly-1.3/debian/rules
--- golly-1.3-orig/debian/rules	2008-03-22 13:29:34.000000000 +0100
+++ golly-1.3/debian/rules	2008-03-22 13:33:44.000000000 +0100
@@ -68,6 +68,7 @@
 	  do install -m 444 $$s $(CURDIR)/debian/golly/usr/share/golly/Scripts/Python/glife; done
 #	install -m 444 GollyPrefs $(CURDIR)/debian/golly/usr/share/golly
 	install -m 444 appicon.xpm  $(CURDIR)/debian/golly/usr/share/pixmaps/golly.xpm
+	install -m 444 debian/golly.desktop $(CURDIR)/debian/golly/usr/share/applications
 
 # Build architecture-independent files here.
 binary-indep: build install

Reply via email to