Control: tag -1 patch

I prepared a patch (a debdiff) for your convenience.
There is the need to patch the existing desktop file, if you don't want
to write one on your own, and I chose the former.

Feel free to use it or to ignore it or to grab for it the relevant
changes, at your convenience.

Thanks.

--
regards,
                                                Mattia Rizzolo

GPG Key: 4096R/B9444540 http://goo.gl/I8TMB
more about me:          http://mapreri.org
Launchpad User:         https://launchpad.net/~mapreri
Ubuntu Wiki page:       https://wiki.ubuntu.com/MattiaRizzolo
diff -Nru openmsx-catapult-0.10.0/debian/changelog 
openmsx-catapult-0.10.0/debian/changelog
--- openmsx-catapult-0.10.0/debian/changelog    2014-01-25 05:51:14.000000000 
+0100
+++ openmsx-catapult-0.10.0/debian/changelog    2014-01-29 21:34:58.000000000 
+0100
@@ -1,3 +1,14 @@
+openmsx-catapult (0.10.0-1.1) unstable; urgency=medium
+
+  * Non-Maintainer upload.
+  * Install a desktop file and a icon (Closes: #737061)(LP: #1092091):
+    + debian/rules: install the desktop file and the icon.
+    + debian/patches/desktop_file: add to make the desktop file compliant with
+      the installation.
+    + debian/patches/series: updated.
+
+ -- Mattia Rizzolo <mat...@mapreri.org>  Mon, 29 Jan 2014 20:19:47 +0100
+
 openmsx-catapult (0.10.0-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru openmsx-catapult-0.10.0/debian/patches/desktop_file 
openmsx-catapult-0.10.0/debian/patches/desktop_file
--- openmsx-catapult-0.10.0/debian/patches/desktop_file 1970-01-01 
01:00:00.000000000 +0100
+++ openmsx-catapult-0.10.0/debian/patches/desktop_file 2014-01-29 
21:16:11.000000000 +0100
@@ -0,0 +1,20 @@
+Description: Make .desktop file usable in debian
+Author: Mattia Rizzolo <mat...@mapreri.org>
+Forwarded: not-needed
+Last-Update: 2014-01-29
+
+--- a/desktop/openMSX-Catapult.desktop
++++ b/desktop/openMSX-Catapult.desktop
+@@ -3,8 +3,8 @@
+ Name=openMSX Catapult
+ Comment=Graphical interface for openMSX
+ Type=Application
+-Exec=%INSTALL_BASE%/bin/catapult
+-Icon=%INSTALL_BASE%/resources/icons/catapult.xpm
+-DocPath=%INSTALL_BASE%/doc/manual/index.html
++Exec=openmsx-catapult
++Icon=openmsx-catapult
++DocPath=/usr/share/doc/openmsx-catapult/manual/index.html
+ Terminal=false
+-Categories=Application;Emulator;Game;
++Categories=Emulator;Game;
diff -Nru openmsx-catapult-0.10.0/debian/patches/series 
openmsx-catapult-0.10.0/debian/patches/series
--- openmsx-catapult-0.10.0/debian/patches/series       2014-01-25 
05:47:02.000000000 +0100
+++ openmsx-catapult-0.10.0/debian/patches/series       2014-01-29 
21:16:36.000000000 +0100
@@ -1,2 +1,3 @@
 hardening
 buildflags
+desktop_file
diff -Nru openmsx-catapult-0.10.0/debian/rules 
openmsx-catapult-0.10.0/debian/rules
--- openmsx-catapult-0.10.0/debian/rules        2014-01-25 05:50:39.000000000 
+0100
+++ openmsx-catapult-0.10.0/debian/rules        2014-01-29 21:07:44.000000000 
+0100
@@ -38,6 +38,10 @@
                CATAPULT_NO_DESKTOP_HOOKS=true
        mv $(CURDIR)/debian/openmsx-catapult/usr/bin/catapult 
$(CURDIR)/debian/openmsx-catapult/usr/bin/openmsx-catapult
        rm debian/openmsx-catapult/usr/share/doc/openmsx-catapult/GPL.txt
+       mkdir -pv $(CURDIR)/debian/openmsx-catapult/usr/share/applications
+       cp -v $(CURDIR)/desktop/openMSX-Catapult.desktop 
$(CURDIR)/debian/openmsx-catapult/usr/share/applications/openmsx-catapult.desktop
+       mkdir -pv 
$(CURDIR)/debian/openmsx-catapult/usr/share/icons/hicolor/128x128/apps
+       cp -v $(CURDIR)/resources/bitmaps/about.png 
$(CURDIR)/debian/openmsx-catapult/usr/share/icons/hicolor/128x128/apps/openmsx-catapult.png
        dh_installman debian/openmsx-catapult.1
        dh_installchangelogs ChangeLog
        dh_installdocs README

Attachment: signature.asc
Description: Digital signature

Reply via email to