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-emulation/gfceux/files: gfceux-2.1.1-gentoo.patch
Date: Tue, 29 Sep 2009 05:16:37
Message-Id: E1MsV4l-0001kL-Mt@stork.gentoo.org
1 mr_bones_ 09/09/29 05:16:35
2
3 Added: gfceux-2.1.1-gentoo.patch
4 Log:
5 initial commit
6 (Portage version: 2.1.6.13/cvs/Linux i686)
7
8 Revision Changes Path
9 1.1 games-emulation/gfceux/files/gfceux-2.1.1-gentoo.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/gfceux/files/gfceux-2.1.1-gentoo.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/gfceux/files/gfceux-2.1.1-gentoo.patch?rev=1.1&content-type=text/plain
13
14 Index: gfceux-2.1.1-gentoo.patch
15 ===================================================================
16 diff -ru gfceux.orig/src/main.py gfceux/src/main.py
17 --- gfceux.orig/src/main.py 2009-04-29 01:09:52.000000000 -0400
18 +++ gfceux/src/main.py 2009-09-29 00:38:53.152619918 -0400
19 @@ -279,12 +279,8 @@
20 def load_ui(self):
21 global widgets
22 """ Search for the glade XML file and load it """
23 - # Check first in the directory of this script.
24 - if os.path.isfile('data/gfceux.glade'):
25 - glade_file = 'data/gfceux.glade'
26 - # Then check to see if its installed on a *nix system
27 - elif os.path.isfile(os.path.join(os.path.dirname(sys.argv[0]), '../share/gfceux/gfceux.glade')):
28 - glade_file = os.path.join(os.path.dirname(sys.argv[0]), '../share/gfceux/gfceux.glade')
29 + if os.path.isfile('/usr/share/gfceux/gfceux.glade'):
30 + glade_file = '/usr/share/gfceux/gfceux.glade'
31 else:
32 print 'ERROR.'
33 print 'Could not find the glade UI file.'