summaryrefslogtreecommitdiffstats
path: root/deskutils/deskbar-applet/files
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-11-08 08:35:08 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-11-08 08:35:08 +0800
commit513238f872fb935de7a0fdf0c9a31efa773cba35 (patch)
tree410adafd2e3444378c60e9e00c8638c7b295ed5e /deskutils/deskbar-applet/files
parent1c5b5badc4a3a7cf713477b2769e1064f6771a66 (diff)
downloadmarcuscom-ports-513238f872fb935de7a0fdf0c9a31efa773cba35.tar
marcuscom-ports-513238f872fb935de7a0fdf0c9a31efa773cba35.tar.gz
marcuscom-ports-513238f872fb935de7a0fdf0c9a31efa773cba35.tar.bz2
marcuscom-ports-513238f872fb935de7a0fdf0c9a31efa773cba35.tar.lz
marcuscom-ports-513238f872fb935de7a0fdf0c9a31efa773cba35.tar.xz
marcuscom-ports-513238f872fb935de7a0fdf0c9a31efa773cba35.tar.zst
marcuscom-ports-513238f872fb935de7a0fdf0c9a31efa773cba35.zip
Update to 2.17.2.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7883 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'deskutils/deskbar-applet/files')
-rw-r--r--deskutils/deskbar-applet/files/patch-deskbar_Utils.py11
-rw-r--r--deskutils/deskbar-applet/files/patch-deskbar___init__.py11
-rw-r--r--deskutils/deskbar-applet/files/patch-deskbar_deskbar-applet.py17
-rw-r--r--deskutils/deskbar-applet/files/patch-deskbar_handlers_mozilla.py18
4 files changed, 57 insertions, 0 deletions
diff --git a/deskutils/deskbar-applet/files/patch-deskbar_Utils.py b/deskutils/deskbar-applet/files/patch-deskbar_Utils.py
new file mode 100644
index 000000000..773c8e15a
--- /dev/null
+++ b/deskutils/deskbar-applet/files/patch-deskbar_Utils.py
@@ -0,0 +1,11 @@
+--- deskbar/Utils.py.orig Tue Nov 1 20:32:51 2005
++++ deskbar/Utils.py Tue Nov 1 20:33:08 2005
+@@ -10,7 +10,7 @@
+
+ sysdirs = os.getenv("XDG_DATA_DIRS")
+ if sysdirs == None:
+- sysdirs = "/usr/local/share:/usr/share"
++ sysdirs = "%%X11BASE%%/share/gnome/:/usr/local/share/gnome/:%%X11BASE%%/share/:/usr/local/share/:/usr/share/"
+
+ dirs = "%s:%s" % (dirs, sysdirs)
+ return [dir for dir in dirs.split(":") if dir.strip() != "" and exists(dir)]
diff --git a/deskutils/deskbar-applet/files/patch-deskbar___init__.py b/deskutils/deskbar-applet/files/patch-deskbar___init__.py
new file mode 100644
index 000000000..dbe19007d
--- /dev/null
+++ b/deskutils/deskbar-applet/files/patch-deskbar___init__.py
@@ -0,0 +1,11 @@
+--- deskbar/__init__.py.orig Thu Sep 7 15:04:34 2006
++++ deskbar/__init__.py Thu Sep 7 15:04:50 2006
+@@ -26,7 +26,7 @@ if _check(name):
+ if UNINSTALLED_DESKBAR:
+ SHARED_DATA_DIR = abspath(join(dirname(__file__), '..', 'data'))
+ else:
+- SHARED_DATA_DIR = join(DATA_DIR, "deskbar-applet")
++ SHARED_DATA_DIR = join(DATA_DIR, "gnome", "deskbar-applet")
+ print "Data Dir: %s" % SHARED_DATA_DIR
+
+ HANDLERS_DIR = []
diff --git a/deskutils/deskbar-applet/files/patch-deskbar_deskbar-applet.py b/deskutils/deskbar-applet/files/patch-deskbar_deskbar-applet.py
new file mode 100644
index 000000000..4b01cdd9b
--- /dev/null
+++ b/deskutils/deskbar-applet/files/patch-deskbar_deskbar-applet.py
@@ -0,0 +1,17 @@
+--- deskbar/deskbar-applet.py.orig Mon May 29 19:20:47 2006
++++ deskbar/deskbar-applet.py Mon May 29 19:20:54 2006
+@@ -42,10 +42,10 @@ if hasattr(gettext, 'bind_textdomain_cod
+ gettext.bind_textdomain_codeset('deskbar-applet','UTF-8')
+ gettext.textdomain('deskbar-applet')
+
+-locale.bindtextdomain('deskbar-applet', abspath(join(deskbar.defs.DATA_DIR, "locale")))
+-if hasattr(locale, 'bind_textdomain_codeset'):
+- locale.bind_textdomain_codeset('deskbar-applet','UTF-8')
+-locale.textdomain('deskbar-applet')
++#locale.bindtextdomain('deskbar-applet', abspath(join(deskbar.defs.DATA_DIR, "locale")))
++#if hasattr(locale, 'bind_textdomain_codeset'):
++# locale.bind_textdomain_codeset('deskbar-applet','UTF-8')
++#locale.textdomain('deskbar-applet')
+
+ import gtkexcepthook
+
diff --git a/deskutils/deskbar-applet/files/patch-deskbar_handlers_mozilla.py b/deskutils/deskbar-applet/files/patch-deskbar_handlers_mozilla.py
new file mode 100644
index 000000000..ffad36e44
--- /dev/null
+++ b/deskutils/deskbar-applet/files/patch-deskbar_handlers_mozilla.py
@@ -0,0 +1,18 @@
+--- deskbar/handlers/mozilla.py.orig Wed Mar 1 13:32:12 2006
++++ deskbar/handlers/mozilla.py Wed Mar 1 13:33:19 2006
+@@ -189,6 +189,7 @@ class MozillaSearchHandler(deskbar.Handl
+ get_firefox_home_file("searchplugins"),
+ get_firefox_home_file("search"),
+ expanduser("~/.mozilla/searchplugins"),
++ "%%LOCALBASE%%/lib/firefox/searchplugins",
+ "/usr/lib/firefox/searchplugins",
+ "/usr/local/lib/firefox/searchplugins",
+ "/usr/lib/mozilla-firefox/searchplugins",
+@@ -197,6 +198,7 @@ class MozillaSearchHandler(deskbar.Handl
+ smart_dirs = [
+ get_mozilla_home_file("search"),
+ expanduser("~/.mozilla/searchplugins"),
++ "%%LOCALBASE%%/lib/mozilla/searchplugins",
+ "/usr/lib/mozilla/searchplugins",
+ "/usr/local/lib/mozilla/searchplugins"]
+