/[thuban]/branches/WIP-pyshapelib-bramz/debian/bitmappath.patch
ViewVC logotype

Contents of /branches/WIP-pyshapelib-bramz/debian/bitmappath.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2734 - (show annotations)
Thu Mar 1 12:42:59 2007 UTC (18 years ago) by bramz
File size: 1620 byte(s)
made a copy
1 diff -ur thuban.orig/usr/lib/thuban/Thuban/Model/resource.py thuban/usr/lib/thuban/Thuban/Model/resource.py
2 --- thuban.orig/usr/lib/thuban/Thuban/Model/resource.py 2003-11-19 20:48:47.000000000 +0100
3 +++ thuban/usr/lib/thuban/Thuban/Model/resource.py 2003-12-03 15:36:41.000000000 +0100
4 @@ -27,8 +27,14 @@
5 from Thuban.Model.proj import Projection, ProjFile
6 from xml.sax import SAXParseException
7
8 -projdir = \
9 - os.path.join(Thuban.__path__[0], os.pardir, "Resources", "Projections")
10 +# The directory where the default projections are stored has to be changed
11 +# for
12 +# the debian package to be conformant with the FHS
13 +#projdir = \
14 +# os.path.join(Thuban.__path__[0], os.pardir, "Resources", "Projections")
15 +projdir = "/usr/share/thuban/Resources/Projections"
16 +
17 +
18
19
20 PROJ_EXT = ".proj"
21 diff -ur thuban.orig/usr/lib/thuban/Thuban/UI/resource.py thuban/usr/lib/thuban/Thuban/UI/resource.py
22 --- thuban.orig/usr/lib/thuban/Thuban/UI/resource.py 2003-08-05 14:33:25.000000000 +0200
23 +++ thuban/usr/lib/thuban/Thuban/UI/resource.py 2003-12-03 15:35:51.000000000 +0100
24 @@ -18,7 +18,10 @@
25 from wxPython.wx import wxBITMAP_TYPE_XPM, wxBITMAP_TYPE_ANY, wxBitmap, wxImage
26
27
28 -bitmapdir = os.path.join(Thuban.__path__[0], os.pardir, "Resources", "Bitmaps")
29 +# The directory where the toolbar icons are stored has to be changed for
30 +# the debian package to be conformant with the FHS
31 +#bitmapdir = os.path.join(Thuban.__path__[0], os.pardir, "Resources", "Bitmaps")
32 +bitmapdir = "/usr/share/thuban/Resources/Bitmaps"
33 bitmap_extensions = {wxBITMAP_TYPE_XPM: ".xpm",
34 wxBITMAP_TYPE_ANY: ""}
35

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26