summaryrefslogtreecommitdiff
path: root/games-kids/tuxmathscrabble/files/tuxmathscrabble-0.8.1-gentoo.patch
blob: 0e104f2f586f23c2ff29b10d39b3525cab8027dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
--- a/TuxMathScrabble/tms.py	2015-02-02 22:19:30.894373011 +0100
+++ b/TuxMathScrabble/tms.py	2015-02-02 22:20:19.530320947 +0100
@@ -1258,7 +1258,7 @@
 		if not os.path.exists(infname):
 			
 			master_fname=os.path.join(self.env.fontdir,'.tms_config_master')
-			candidate=os.path.join('/','usr','share','games','tuxmathscrabble','.tms_config_master')
+			candidate=os.path.join('@GENTOO_DATADIR@','.tms_config_master')
 			if os.path.exists(candidate):
 				master_fname=candidate
 			
--- a/.tms_config_master	2015-02-02 22:21:59.655216399 +0100
+++ b/.tms_config_master	2015-02-02 22:25:33.754003432 +0100
@@ -380,66 +380,66 @@
 		'wtype':'wx.SpinCtrl',
 	},
 	'FONT_APPNAME':{
-		'default_path':'./Font',
+		'default_path':'@GENTOO_DATADIR@/Font',
 		'default_value':'mickey.ttf',
 		'descr':'',
 		'dtype':'wx.String',
-		'path':'./Font',
+		'path':'@GENTOO_DATADIR@/Font',
 		'showme':-1,
 		'tooltip':'Font to be used for application name overlay.',
 		'value':'mickey.ttf',
 		'wtype':'wx.FileDialog',
 	},
 	'FONT_BFONT':{
-		'default_path':'./Font',
+		'default_path':'@GENTOO_DATADIR@/Font',
 		'default_value':'Bluehigh.ttf',
 		'descr':'',
 		'dtype':'wx.String',
-		'path':'./Font',
+		'path':'@GENTOO_DATADIR@/Font',
 		'showme':0,
 		'tooltip':'Button Font',
 		'value':'Bluehigh.ttf',
 		'wtype':'wx.FileDialog',
 	},
 	'FONT_CFONT':{
-		'default_path':'./Font',
+		'default_path':'@GENTOO_DATADIR@/Font',
 		'default_value':'arialbd.ttf',
 		'descr':'',
 		'dtype':'wx.String',
-		'path':'./Font',
+		'path':'@GENTOO_DATADIR@/Font',
 		'showme':0,
 		'tooltip':'Character font used for tile characters',
 		'value':'arialbd.ttf',
 		'wtype':'wx.FileDialog',
 	},
 	'FONT_HUD':{
-		'default_path':'./Font',
+		'default_path':'@GENTOO_DATADIR@/Font',
 		'default_value':'aqua_pfont.ttf',
 		'descr':'',
 		'dtype':'wx.String',
-		'path':'./Font',
+		'path':'@GENTOO_DATADIR@/Font',
 		'showme':0,
 		'tooltip':'The default font to be used for other overlay information (credits, etc).',
 		'value':'aqua_pfont.ttf',
 		'wtype':'wx.FileDialog',
 	},
 	'FONT_OVERLAY':{
-		'default_path':'./Font',
+		'default_path':'@GENTOO_DATADIR@/Font',
 		'default_value':'arial.ttf',
 		'descr':'',
 		'dtype':'wx.String',
-		'path':'./Font',
+		'path':'@GENTOO_DATADIR@/Font',
 		'showme':0,
 		'tooltip':'The default font to be used for other overlay information (credits, etc).',
 		'value':'arial.ttf',
 		'wtype':'wx.FileDialog',
 	},
 	'FONT_PFONT':{
-		'default_path':'./Font',
+		'default_path':'@GENTOO_DATADIR@/Font',
 		'default_value':'Bluehigh.ttf',
 		'descr':'',
 		'dtype':'wx.String',
-		'path':'./Font',
+		'path':'@GENTOO_DATADIR@/Font',
 		'showme':0,
 		'tooltip':'Point value font (ie lower right corner of tiles)',
 		'value':'Bluehigh.ttf',