summaryrefslogtreecommitdiff
path: root/games-puzzle/toppler/files/toppler-1.1.6-gentoo.patch
diff options
context:
space:
mode:
Diffstat (limited to 'games-puzzle/toppler/files/toppler-1.1.6-gentoo.patch')
-rw-r--r--games-puzzle/toppler/files/toppler-1.1.6-gentoo.patch54
1 files changed, 54 insertions, 0 deletions
diff --git a/games-puzzle/toppler/files/toppler-1.1.6-gentoo.patch b/games-puzzle/toppler/files/toppler-1.1.6-gentoo.patch
new file mode 100644
index 00000000000..d3f1ea52b9b
--- /dev/null
+++ b/games-puzzle/toppler/files/toppler-1.1.6-gentoo.patch
@@ -0,0 +1,54 @@
+diff -ru toppler-1.1.6.orig/Makefile.in toppler-1.1.6/Makefile.in
+--- toppler-1.1.6.orig/Makefile.in 2012-12-22 06:03:04.000000000 -0500
++++ toppler-1.1.6/Makefile.in 2013-01-16 18:51:16.442336579 -0500
+@@ -385,8 +385,8 @@
+ txtsys.cc txtsys.h \
+ qnxicon.c
+
+-pixmapsdir = $(datadir)/pixmaps
+-applicationsdir = $(datadir)/applications
++pixmapsdir = /usr/share/pixmaps
++applicationsdir = /usr/share/applications
+ pkgdocdir = $(docdir)/$(PACKAGE)
+ pkglocalstatedir = $(localstatedir)/$(PACKAGE)
+ dist_pixmaps_DATA = $(PACKAGE).xpm
+@@ -1143,7 +1143,7 @@
+ info-am:
+
+ install-data-am: install-applicationsDATA install-dist_pixmapsDATA \
+- install-dist_pkgdataDATA install-dist_pkgdocDATA \
++ install-dist_pkgdataDATA \
+ install-dist_pkglocalstateDATA install-man
+ @$(NORMAL_INSTALL)
+ $(MAKE) $(AM_MAKEFLAGS) install-data-hook
+diff -ru toppler-1.1.6.orig/po/Makefile.in.in toppler-1.1.6/po/Makefile.in.in
+--- toppler-1.1.6.orig/po/Makefile.in.in 2012-12-22 06:02:52.000000000 -0500
++++ toppler-1.1.6/po/Makefile.in.in 2013-01-16 18:52:01.929721259 -0500
+@@ -21,7 +21,7 @@
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+ datadir = @datadir@
+-localedir = $(datadir)/locale
++localedir = /usr/share/locale
+ gettextsrcdir = $(datadir)/gettext/po
+
+ INSTALL = @INSTALL@
+diff -ru toppler-1.1.6.orig/toppler.desktop.in toppler-1.1.6/toppler.desktop.in
+--- toppler-1.1.6.orig/toppler.desktop.in 2012-12-22 06:02:06.000000000 -0500
++++ toppler-1.1.6/toppler.desktop.in 2013-01-16 18:52:38.058438256 -0500
+@@ -1,12 +1,11 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+-Categories=Application;Game;ArcadeGame;
++Categories=Game;ArcadeGame;
+ X-Desktop-File-Install-Version=0.2
+ Name=@FULLNAME@
+ Comment=A clone of the 'Nebulus' game on old 8 and 16 bit machines.
+ Comment[de]=Klon des alten Spiels 'Nebulus'
+ Comment[cs]=Klon hry 'Nebulus' z dob 8 a 16 bitovÜch počítačů.
+-Icon=@prefix@/pixmaps/@PACKAGE@.xpm
++Icon=@PACKAGE@
+ Exec=@prefix@/bin/toppler
+-Terminal=0
++Terminal=false
+ Type=Application