diff options
Diffstat (limited to 'devel/py-xdg/files')
-rw-r--r-- | devel/py-xdg/files/patch-xdg::BaseDirectory.py | 2 | ||||
-rw-r--r-- | devel/py-xdg/files/patch-xdg::IconTheme.py | 9 |
2 files changed, 4 insertions, 7 deletions
diff --git a/devel/py-xdg/files/patch-xdg::BaseDirectory.py b/devel/py-xdg/files/patch-xdg::BaseDirectory.py index 47bd3f33a7ab..77f09b5289aa 100644 --- a/devel/py-xdg/files/patch-xdg::BaseDirectory.py +++ b/devel/py-xdg/files/patch-xdg::BaseDirectory.py @@ -5,7 +5,7 @@ xdg_data_dirs = [xdg_data_home] + \ - os.environ.get('XDG_DATA_DIRS', '/usr/local/share:/usr/share').split(':') -+ os.environ.get('XDG_DATA_DIRS', '%%LOCALBASE%%/share/gnome:%%LOCALBASE%%/share:/usr/share').split(':') ++ os.environ.get('XDG_DATA_DIRS', '%%LOCALBASE%%/share').split(':') xdg_config_home = os.environ.get('XDG_CONFIG_HOME', os.path.join(_home, '.config')) diff --git a/devel/py-xdg/files/patch-xdg::IconTheme.py b/devel/py-xdg/files/patch-xdg::IconTheme.py index cc5714b82a78..c7af80928c98 100644 --- a/devel/py-xdg/files/patch-xdg::IconTheme.py +++ b/devel/py-xdg/files/patch-xdg::IconTheme.py @@ -1,14 +1,11 @@ ---- xdg/IconTheme.py.orig Sun Jun 5 14:20:19 2005 -+++ xdg/IconTheme.py Sun Jun 5 14:21:07 2005 -@@ -215,7 +215,11 @@ +--- xdg/IconTheme.py.orig 2007-09-10 00:33:42.000000000 -0500 ++++ xdg/IconTheme.py 2007-09-10 00:34:37.000000000 -0500 +@@ -215,7 +215,8 @@ icondirs = [] for basedir in xdg_data_dirs: icondirs.append(os.path.join(basedir, "icons")) -icondirs.append("/usr/share/pixmaps") -+icondirs.append("%%X11BASE%%/share/pixmaps") +icondirs.append("%%LOCALBASE%%/share/pixmaps") -+icondirs.append("%%LOCALBASE%%/share/gnome/pixmaps") -+icondirs.append("%%X11BASE%%/share/icons") +icondirs.append("%%LOCALBASE%%/share/icons") icondirs.append(os.path.expanduser("~/.icons")) |