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
|
Index: thuban/Thuban/Model/resource.py
===================================================================
--- thuban.orig/Thuban/Model/resource.py 2011-11-03 16:45:05.000000000 +0100
+++ thuban/Thuban/Model/resource.py 2011-11-03 16:51:29.000000000 +0100
@@ -27,8 +27,11 @@
from Thuban.Model.proj import Projection, ProjFile
from xml.sax import SAXParseException
-
-projdir = os.path.join(get_thuban_dir(), "Resources", "Projections")
+# The directory where the default projections are stored has to be changed
+# for
+# the debian package to be conformant with the FHS
+#projdir = os.path.join(get_thuban_dir(), "Resources", "Projections")
+projdir = "/usr/share/thuban/Resources/Projections"
PROJ_EXT = ".proj"
Index: thuban/Thuban/UI/resource.py
===================================================================
--- thuban.orig/Thuban/UI/resource.py 2011-11-03 16:45:05.000000000 +0100
+++ thuban/Thuban/UI/resource.py 2011-11-03 16:51:29.000000000 +0100
@@ -19,7 +19,10 @@
import wx
-bitmapdir = os.path.join(get_thuban_dir(), "Resources", "Bitmaps")
+# The directory where the toolbar icons are stored has to be changed for
+# the debian package to be conformant with the FHS
+#bitmapdir = os.path.join(get_thuban_dir(), "Resources", "Bitmaps")
+bitmapdir = "/usr/share/thuban/Resources/Bitmaps"
bitmap_extensions = {wx.BITMAP_TYPE_XPM: ".xpm",
wx.BITMAP_TYPE_ANY: ""}
|