Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/scripts/jhbuildrc
diff options
context:
space:
mode:
authorDaniel Narvaez <dwnarvaez@gmail.com>2012-06-28 18:18:09 (GMT)
committer Daniel Narvaez <dwnarvaez@gmail.com>2012-06-28 18:18:09 (GMT)
commite47b3760dc0bd235b537c2ba447453b35032f272 (patch)
tree2d8932670f2d4667fd6077012ef8df4f621a54d8 /scripts/jhbuildrc
parenta4151b1bd7de1308689907230403f0bb347f185a (diff)
Setup GIO_EXTRA_MODULES to look at the system path
This makes dconf work.
Diffstat (limited to 'scripts/jhbuildrc')
-rw-r--r--scripts/jhbuildrc14
1 files changed, 10 insertions, 4 deletions
diff --git a/scripts/jhbuildrc b/scripts/jhbuildrc
index 2e4e84f..2e8aab4 100644
--- a/scripts/jhbuildrc
+++ b/scripts/jhbuildrc
@@ -3,11 +3,16 @@ import os
def root():
return os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
-def libdir():
+def libdir(system=False):
+ if system:
+ base = "/usr"
+ else:
+ base = prefix
+
if use_lib64:
- return os.path.join(prefix, "lib64")
+ return os.path.join(base, "lib64")
else:
- return os.path.join(prefix, "lib")
+ return os.path.join(base, "lib")
interact = not "SUGAR_BUILDBOT" in os.environ
@@ -22,4 +27,5 @@ prefix = os.path.join(root(), "install")
os.environ["GTK_DATA_PREFIX"] = prefix
os.environ["GTK_PATH"] = os.path.join(libdir(), "gtk-2.0")
-
+os.environ["GIO_EXTRA_MODULES"] = os.path.join(libdir(system=True),
+ "gio", "modules")