Gentoo Archives: gentoo-commits

From: "Alfredo Tupone (tupone)" <tupone@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-kids/tuxmathscrabble/files: tuxmathscrabble-0.8.1-gentoo.patch
Date: Tue, 03 Feb 2015 17:06:04
Message-Id: 20150203170559.C2E8610F99@oystercatcher.gentoo.org
1 tupone 15/02/03 17:05:59
2
3 Added: tuxmathscrabble-0.8.1-gentoo.patch
4 Log:
5 Version bump to 0.8.1. Bug #532012
6
7 (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0145142D)
8
9 Revision Changes Path
10 1.1 games-kids/tuxmathscrabble/files/tuxmathscrabble-0.8.1-gentoo.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-kids/tuxmathscrabble/files/tuxmathscrabble-0.8.1-gentoo.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-kids/tuxmathscrabble/files/tuxmathscrabble-0.8.1-gentoo.patch?rev=1.1&content-type=text/plain
14
15 Index: tuxmathscrabble-0.8.1-gentoo.patch
16 ===================================================================
17 --- TuxMathScrabble/tms.py.old 2015-02-02 22:19:30.894373011 +0100
18 +++ TuxMathScrabble/tms.py 2015-02-02 22:20:19.530320947 +0100
19 @@ -1258,7 +1258,7 @@
20 if not os.path.exists(infname):
21
22 master_fname=os.path.join(self.env.fontdir,'.tms_config_master')
23 - candidate=os.path.join('/','usr','share','games','tuxmathscrabble','.tms_config_master')
24 + candidate=os.path.join('@GENTOO_DATADIR@','.tms_config_master')
25 if os.path.exists(candidate):
26 master_fname=candidate
27
28 --- .tms_config_master.old 2015-02-02 22:21:59.655216399 +0100
29 +++ .tms_config_master 2015-02-02 22:25:33.754003432 +0100
30 @@ -380,66 +380,66 @@
31 'wtype':'wx.SpinCtrl',
32 },
33 'FONT_APPNAME':{
34 - 'default_path':'./Font',
35 + 'default_path':'@GENTOO_DATADIR@/Font',
36 'default_value':'mickey.ttf',
37 'descr':'',
38 'dtype':'wx.String',
39 - 'path':'./Font',
40 + 'path':'@GENTOO_DATADIR@/Font',
41 'showme':-1,
42 'tooltip':'Font to be used for application name overlay.',
43 'value':'mickey.ttf',
44 'wtype':'wx.FileDialog',
45 },
46 'FONT_BFONT':{
47 - 'default_path':'./Font',
48 + 'default_path':'@GENTOO_DATADIR@/Font',
49 'default_value':'Bluehigh.ttf',
50 'descr':'',
51 'dtype':'wx.String',
52 - 'path':'./Font',
53 + 'path':'@GENTOO_DATADIR@/Font',
54 'showme':0,
55 'tooltip':'Button Font',
56 'value':'Bluehigh.ttf',
57 'wtype':'wx.FileDialog',
58 },
59 'FONT_CFONT':{
60 - 'default_path':'./Font',
61 + 'default_path':'@GENTOO_DATADIR@/Font',
62 'default_value':'arialbd.ttf',
63 'descr':'',
64 'dtype':'wx.String',
65 - 'path':'./Font',
66 + 'path':'@GENTOO_DATADIR@/Font',
67 'showme':0,
68 'tooltip':'Character font used for tile characters',
69 'value':'arialbd.ttf',
70 'wtype':'wx.FileDialog',
71 },
72 'FONT_HUD':{
73 - 'default_path':'./Font',
74 + 'default_path':'@GENTOO_DATADIR@/Font',
75 'default_value':'aqua_pfont.ttf',
76 'descr':'',
77 'dtype':'wx.String',
78 - 'path':'./Font',
79 + 'path':'@GENTOO_DATADIR@/Font',
80 'showme':0,
81 'tooltip':'The default font to be used for other overlay information (credits, etc).',
82 'value':'aqua_pfont.ttf',
83 'wtype':'wx.FileDialog',
84 },
85 'FONT_OVERLAY':{
86 - 'default_path':'./Font',
87 + 'default_path':'@GENTOO_DATADIR@/Font',
88 'default_value':'arial.ttf',
89 'descr':'',
90 'dtype':'wx.String',
91 - 'path':'./Font',
92 + 'path':'@GENTOO_DATADIR@/Font',
93 'showme':0,
94 'tooltip':'The default font to be used for other overlay information (credits, etc).',
95 'value':'arial.ttf',
96 'wtype':'wx.FileDialog',
97 },
98 'FONT_PFONT':{
99 - 'default_path':'./Font',
100 + 'default_path':'@GENTOO_DATADIR@/Font',
101 'default_value':'Bluehigh.ttf',
102 'descr':'',
103 'dtype':'wx.String',
104 - 'path':'./Font',
105 + 'path':'@GENTOO_DATADIR@/Font',
106 'showme':0,
107 'tooltip':'Point value font (ie lower right corner of tiles)',
108 'value':'Bluehigh.ttf',