diff options
author | Zeeshan Ali (Khattak) <zeeshanak@gnome.org> | 2011-06-06 17:22:30 +0300 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2011-06-06 16:43:51 +0200 |
commit | aad4ec8e487aac77fb7a4e95c9861d8e14819544 (patch) | |
tree | 1051641ad81c054de9cae3bb96920a535081411d | |
parent | 24b879fc4d4ee160d1acdb1a87ebb321bf719e82 (diff) |
Tell jhbuild to use system XDG dirs as well
If we don't do this, jhbuild assumes we have XDG directories in
our chroot.
-rw-r--r-- | jhbuildrc | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -18,6 +18,11 @@ checkoutroot = os.path.join(os.environ['HOME'], 'spice') # All module binaries will be in $HOME/spice-usr/ after the checkout prefix = os.path.join(os.environ['HOME'], 'spice-usr') +# Look in /usr/share for icons, D-BUS service files, etc +addpath('XDG_DATA_DIRS', '/usr/share') +# Look in /etc/xdg for system-global autostart files +addpath('XDG_CONFIG_DIRS', '/etc/xdg') + os.environ['ACLOCAL'] = 'aclocal -I ' + os.path.join(prefix, 'share', 'aclocal') os.environ['PKG_CONFIG_PATH'] = os.path.join(prefix, 'lib', 'pkgconfig') \ + ':' + os.path.join(prefix, 'share', 'pkgconfig') |