[packages/hatari] - Reverted hatari-desktop.patch with adjustments.

lmasko lmasko at pld-linux.org
Sun Nov 8 22:15:40 CET 2015


commit b3a257bc6b4b318959734f1adc1b033a861ce887
Author: Łukasz Maśko <lmasko at pld-linux.org>
Date:   Sun Nov 8 22:14:54 2015 +0100

    - Reverted hatari-desktop.patch with adjustments.

 hatari-desktop.patch | 19 +++++++++++++++++++
 hatari.spec          |  2 ++
 2 files changed, 21 insertions(+)
---
diff --git a/hatari.spec b/hatari.spec
index 19da0f7..64c6d07 100644
--- a/hatari.spec
+++ b/hatari.spec
@@ -14,6 +14,7 @@ Source0:	http://download.tuxfamily.org/hatari/%{version}/%{name}-%{version}.tar.
 # Source0-md5:	24e54b19958943dbe5ac1b1f6f32b284
 Patch0:		%{name}-useless_files.patch
 Patch1:		%{name}-python_init.patch
+Patch2:		%{name}-desktop.patch
 URL:		http://hatari.sourceforge.net/
 %{!?with_sdl2:BuildRequires:	SDL-devel >= 1.2.0}
 %{?with_sdl2:BuildRequires:	SDL2-devel >= 2.0}
@@ -47,6 +48,7 @@ Atari ST i STE.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 sed -i -e '1s,#!/usr/bin/env python,#!/usr/bin/python,' python-ui/*.py tools/debugger/*.py tools/hconsole/*.py
 
diff --git a/hatari-desktop.patch b/hatari-desktop.patch
new file mode 100644
index 0000000..7a5fec7
--- /dev/null
+++ b/hatari-desktop.patch
@@ -0,0 +1,19 @@
+--- hatari-1.9.0/share/applications/hatari.desktop	2015-09-10 23:16:03.000000000 +0200
++++ hatari-1.9.0/share/applications/hatari.desktop.new	2015-11-08 22:02:18.667818758 +0100
+@@ -7,5 +7,5 @@
+ Exec=hatari %f
+ Icon=hatari
+ MimeType=application/x-st-disk-image;application/vnd.msa-disk-image;application/vnd.fastcopy-disk-image;application/x-stx-disk-image
+-Categories=Game;Emulator;
++Categories=Utility;Emulator;
+ Terminal=false
+--- hatari-1.9.0/python-ui/hatariui.desktop	2015-09-10 23:16:03.000000000 +0200
++++ hatari-1.9.0/python-ui/hatariui.desktop.new	2015-11-08 22:00:08.741704673 +0100
+@@ -5,3 +5,7 @@
+ Name=Hatari UI
+ Exec=hatariui
+ Icon=hatari
++Keywords=virtualization
++Categories=Utility;Emulator;
++Comment=UI for hatari, emulator of Atari ST/STE/Falcon computers
++
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/hatari.git/commitdiff/b3a257bc6b4b318959734f1adc1b033a861ce887



More information about the pld-cvs-commit mailing list