Gentoo Archives: gentoo-commits

From: "Michael Sterrett (mr_bones_)" <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-rpg/tmw/files: tmw-0.0.26-desktop.patch
Date: Wed, 15 Oct 2008 18:22:09
Message-Id: E1KqB0X-0007fA-5S@stork.gentoo.org
mr_bones_    08/10/15 18:22:05

  Added:                tmw-0.0.26-desktop.patch
  Log:
  version bump
  (Portage version: 2.1.4.5)

Revision  Changes    Path
1.1                  games-rpg/tmw/files/tmw-0.0.26-desktop.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-rpg/tmw/files/tmw-0.0.26-desktop.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-rpg/tmw/files/tmw-0.0.26-desktop.patch?rev=1.1&content-type=text/plain

Index: tmw-0.0.26-desktop.patch
===================================================================
Make sure desktop/pixmaps dont get thrown into /usr/games.

--- Makefile.in
+++ Makefile.in
@@ -163,3 +163,3 @@
 SUBDIRS = data docs src
-desktopdir = $(datadir)/applications
+desktopdir =/usr/share/applications
 desktop_DATA = tmw.desktop
--- data/icons/Makefile.in
+++ data/icons/Makefile.in
@@ -318,7 +318,7 @@
 install-data-local:
-	$(mkinstalldirs) $(DESTDIR)$(datadir)/pixmaps
-	$(INSTALL) $(srcdir)/tmw.png $(DESTDIR)$(datadir)/pixmaps/tmw.png
+	$(mkinstalldirs) $(DESTDIR)/usr/share/pixmaps
+	$(INSTALL) $(srcdir)/tmw.png $(DESTDIR)/usr/share/pixmaps/tmw.png
 
 uninstall-local:
-	rm -f $(DESTDIR)$(datadir)/pixmaps/tmw.png
+	rm -f $(DESTDIR)/usr/share/pixmaps/tmw.png
 # Tell versions [3.59,3.63) of GNU make to not export all variables.