summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZeeshan Ali (Khattak) <zeeshanak@gnome.org>2011-06-06 17:22:30 +0300
committerChristophe Fergeau <cfergeau@redhat.com>2011-06-06 16:43:51 +0200
commitaad4ec8e487aac77fb7a4e95c9861d8e14819544 (patch)
tree1051641ad81c054de9cae3bb96920a535081411d
parent24b879fc4d4ee160d1acdb1a87ebb321bf719e82 (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--jhbuildrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/jhbuildrc b/jhbuildrc
index a81f4c1..8b15ef6 100644
--- a/jhbuildrc
+++ b/jhbuildrc
@@ -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')