public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in games-emulation/hatari/files: hatari-1.6.1-gentoo-docdir.patch
@ 2013-06-13 10:37 Julian Ospald (hasufell)
  0 siblings, 0 replies; only message in thread
From: Julian Ospald (hasufell) @ 2013-06-13 10:37 UTC (permalink / raw
  To: gentoo-commits

hasufell    13/06/13 10:37:26

  Added:                hatari-1.6.1-gentoo-docdir.patch
  Log:
  use python-single-r1, add dev-python/pygtk dep, fix hatariui and docdir path
  
  (Portage version: 2.2.0_alpha179/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)

Revision  Changes    Path
1.1                  games-emulation/hatari/files/hatari-1.6.1-gentoo-docdir.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/hatari/files/hatari-1.6.1-gentoo-docdir.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/hatari/files/hatari-1.6.1-gentoo-docdir.patch?rev=1.1&content-type=text/plain

Index: hatari-1.6.1-gentoo-docdir.patch
===================================================================
--- hatari-1.6.1/python-ui/uihelpers.py
+++ hatari-1.6.1/python-ui/uihelpers.py
@@ -97,9 +97,7 @@
         # first try whether there are local Hatari docs in standard place
         # for this Hatari/UI version
         sep = os.sep
-        path = self.get_binary_path("hatari")
-        path = sep.join(path.split(sep)[:-2]) # remove "bin/hatari"
-        path = path + sep + "share" + sep + "doc" + sep + "hatari" + sep
+        path = "@DOCDIR@"
         if os.path.exists(path + "manual.html"):
             return path
         # if not, point to latest Hatari HG version docs





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-06-13 10:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-13 10:37 [gentoo-commits] gentoo-x86 commit in games-emulation/hatari/files: hatari-1.6.1-gentoo-docdir.patch Julian Ospald (hasufell)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox