Package: nethack
Version: 3.4.3-10.6
Severity: wishlist
Tags: patch
User: [EMAIL PROTECTED]
Usertags: origin-ubuntu jaunty ubuntu-patch


Hi,

nethack-x11 and nethack-qt currently don't provide desktop files. In
Ubuntu, we've developed patches to add these in. I'm attaching them here
for your consideration.

Thanks,
Iain

-- System Information:
Debian Release: lenny/sid
  APT prefers intrepid-updates
  APT policy: (500, 'intrepid-updates'), (500, 'intrepid-security'), (500, 
'intrepid-proposed'), (500, 'intrepid-backports'), (500, 'intrepid')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.27-7-generic (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u nethack-3.4.3/debian/rules nethack-3.4.3/debian/rules
--- nethack-3.4.3/debian/rules
+++ nethack-3.4.3/debian/rules
@@ -138,6 +141,7 @@
        dh_testroot
        dh_installdocs -a -A debian/README.Debian README.menucolor
        dh_installdocs -pnethack-common debian/README.patches
+       dh_install
        dh_installmenu -a
        dh_installdebconf -pnethack-common
        dh_installexamples -pnethack-x11 debian/x11/NetHack.ad
--- nethack-3.4.3.orig/debian/nethack-x11.install
+++ nethack-3.4.3/debian/nethack-x11.install
@@ -0,0 +1 @@
+debian/nethack-x11.desktop usr/share/applications
only in patch2:
unchanged:
--- nethack-3.4.3.orig/debian/nethack-x11.desktop
+++ nethack-3.4.3/debian/nethack-x11.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Type=Application
+Encoding=UTF-8
+Name=X NetHack
+GenericName=NetHack (X interface)
+Comment=
+Icon=nethack
+Exec=/usr/games/xnethack
+Terminal=false
+Categories=Application;Game;AdventureGame;
only in patch2:
unchanged:
--- nethack-3.4.3.orig/debian/nethack-qt.install
+++ nethack-3.4.3/debian/nethack-qt.install
@@ -0,0 +1 @@
+debian/nethack-qt.desktop usr/share/applications
only in patch2:
unchanged:
--- nethack-3.4.3.orig/debian/nethack-qt.desktop
+++ nethack-3.4.3/debian/nethack-qt.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Type=Application
+Encoding=UTF-8
+Name=Qt NetHack
+GenericName=NetHack (Qt interface)
+Comment=
+Icon=nethack
+Exec=/usr/games/nethack-qt
+Terminal=false
+Categories=Application;Game;AdventureGame;

Reply via email to