1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## editra_pixmaps.dpatch by Devid Antonio Filoni <d.filoni@ubuntu.com>
4
## All lines beginning with `## DP:' are a description of the patch.
5
## DP: use /usr/share/python-wxgtk2.8/Editra/pixmaps as THEME_DIR,
6
## DP: needed to fix image-file-in-usr-lib lintian warning.
9
diff -urNad wxwidgets2.8-2.8.10.1~/wxPython/wx/tools/Editra/src/Editra.py wxwidgets2.8-2.8.10.1/wxPython/wx/tools/Editra/src/Editra.py
10
--- wxwidgets2.8-2.8.10.1~/wxPython/wx/tools/Editra/src/Editra.py 2009-08-11 14:38:03.000000000 +0200
11
+++ wxwidgets2.8-2.8.10.1/wxPython/wx/tools/Editra/src/Editra.py 2009-08-11 14:48:24.000000000 +0200
13
ed_glob.CONFIG['CONFIG_DIR'] = util.ResolvConfigDir(u"")
14
ed_glob.CONFIG['INSTALL_DIR'] = util.ResolvConfigDir(u"", True)
15
ed_glob.CONFIG['KEYPROF_DIR'] = util.ResolvConfigDir(u"ekeys", True)
16
- ed_glob.CONFIG['SYSPIX_DIR'] = util.ResolvConfigDir(u"pixmaps", True)
17
+ ed_glob.CONFIG['SYSPIX_DIR'] = util.ResolvConfigDir(u"/share/python-wxgtk2.8/Editra/pixmaps", True)
18
ed_glob.CONFIG['PLUGIN_DIR'] = util.ResolvConfigDir(u"plugins")
19
- ed_glob.CONFIG['THEME_DIR'] = util.ResolvConfigDir(os.path.join(u"pixmaps", u"theme"))
20
+ ed_glob.CONFIG['THEME_DIR'] = util.ResolvConfigDir(os.path.join(u"/share/python-wxgtk2.8/Editra/pixmaps", u"theme"))
21
ed_glob.CONFIG['LANG_DIR'] = util.ResolvConfigDir(u"locale", True)
22
ed_glob.CONFIG['STYLES_DIR'] = util.ResolvConfigDir(u"styles")
23
ed_glob.CONFIG['SYS_PLUGIN_DIR'] = util.ResolvConfigDir(u"plugins", True)
24
diff -urNad wxwidgets2.8-2.8.10.1~/wxPython/wx/tools/Editra/src/ed_theme.py wxwidgets2.8-2.8.10.1/wxPython/wx/tools/Editra/src/ed_theme.py
25
--- wxwidgets2.8-2.8.10.1~/wxPython/wx/tools/Editra/src/ed_theme.py 2009-08-11 14:38:03.000000000 +0200
26
+++ wxwidgets2.8-2.8.10.1/wxPython/wx/tools/Editra/src/ed_theme.py 2009-08-11 14:48:58.000000000 +0200
30
if ed_glob.CONFIG['THEME_DIR'] == u'':
31
- theme = util.ResolvConfigDir(os.path.join(u"pixmaps", u"theme"))
32
+ theme = util.ResolvConfigDir(os.path.join(u"/share/python-wxgtk2.8/Editra/pixmaps", u"theme"))
33
ed_glob.CONFIG['THEME_DIR'] = theme