1 |
mr_bones_ 15/01/01 06:01:49 |
2 |
|
3 |
Added: bub-n-bros-1.6.2-home.patch |
4 |
Log: |
5 |
version bump |
6 |
|
7 |
(Portage version: 2.2.14/cvs/Linux x86_64, unsigned Manifest commit) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 games-arcade/bub-n-bros/files/bub-n-bros-1.6.2-home.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-arcade/bub-n-bros/files/bub-n-bros-1.6.2-home.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-arcade/bub-n-bros/files/bub-n-bros-1.6.2-home.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: bub-n-bros-1.6.2-home.patch |
16 |
=================================================================== |
17 |
--- bubbob/images.py 2007-09-08 17:03:41.000000000 +0200 |
18 |
+++ bubbob/images.py 2007-09-08 17:57:45.000000000 +0200 |
19 |
@@ -454,7 +454,6 @@ |
20 |
# check and maybe regenerate the colored image files |
21 |
file = os.path.join('images', 'buildcolors.py') |
22 |
g = {'__name__': '__auto__', '__file__': file} |
23 |
- execfile(file, g) |
24 |
# replace the entries 'filename_%d.ppm' by a family of entries, |
25 |
# one for each color |
26 |
sprmap = {} |
27 |
--- display/pclient.py 2007-09-08 17:03:41.000000000 +0200 |
28 |
+++ display/pclient.py 2007-09-08 17:57:45.000000000 +0200 |
29 |
@@ -162,8 +162,8 @@ |
30 |
if mode[-1].has_key('cfgfile'): |
31 |
self.trackcfgfile = mode[-1]['cfgfile'] |
32 |
else: |
33 |
- self.trackcfgfile = os.path.join(DataChunk.SOURCEDIR, |
34 |
- 'http2', 'config.txt') |
35 |
+ self.trackcfgfile = os.path.join(os.environ.get('HOME'), |
36 |
+ '.bubnbros') |
37 |
self.udpsock = None |
38 |
self.udpsock_low = None |
39 |
self.udpsock2 = None |
40 |
--- http2/httppages.py 2007-09-08 17:03:41.000000000 +0200 |
41 |
+++ http2/httppages.py 2007-09-08 17:57:45.000000000 +0200 |
42 |
@@ -38,7 +38,7 @@ |
43 |
|
44 |
|
45 |
class PageServer: |
46 |
- CONFIGFILE = 'config.txt' |
47 |
+ CONFIGFILE = '.bubnbros' |
48 |
localservers = None |
49 |
|
50 |
def __init__(self, Game): |
51 |
@@ -46,7 +46,7 @@ |
52 |
self.seed = hex(random.randrange(0x1000, 0x10000)) |
53 |
#self.unique_actions = {} |
54 |
self.localhost = gamesrv.HOSTNAME |
55 |
- self.filename = os.path.join(LOCALDIR, self.CONFIGFILE) |
56 |
+ self.filename = os.path.join(os.environ.get('HOME'), self.CONFIGFILE) |
57 |
data = self.loadoptionfile() |
58 |
self.globaloptions = Options(data.get('*', {})) |
59 |
self.localoptions = Options(data.get(self.localhost, {})) |
60 |
@@ -333,7 +333,6 @@ |
61 |
'buildcolors.py') |
62 |
if os.path.exists(file): |
63 |
g = {'__name__': '__auto__', '__file__': file} |
64 |
- execfile(file, g) |
65 |
|
66 |
if port: |
67 |
address = '%s:%s' % (host, port) |