diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-07-16 12:21:35 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-07-16 12:21:35 (GMT) |
commit | a2f706c6ef705daa4065a239bd0fda521da9e28f (patch) | |
tree | 29ef8039d3f424e1291975dd76d60f6c9061cfca /sugar-jhbuild | |
parent | ea6373d27284277683b31eb89baf25f5082b0c1d (diff) |
Add support for matchbox.
Skip mozilla if it's installed on the system.
Diffstat (limited to 'sugar-jhbuild')
-rwxr-xr-x | sugar-jhbuild | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sugar-jhbuild b/sugar-jhbuild index 905a4e2..d8191c8 100755 --- a/sugar-jhbuild +++ b/sugar-jhbuild @@ -3,6 +3,9 @@ import os import sys +import dependency +from dependency import LibDependency + def update_jhbuild(): print 'Updating jhbuild...' sys.path.append(os.path.join(base_dir)) @@ -40,6 +43,10 @@ import jhbuild.commands config = configure() +if LibDependency('mozilla', 'mozilla-gtkmozembed').check() or \ + LibDependency('xulrunner', 'mozilla-gtkmozembed'): + config.skip = [ 'mozilla' ] + jhbuild.config.addpath('XDG_DATA_DIRS', '/usr/share') path = 'lib/python2.4/site-packages' |