From: Christian Dywan Date: Mon, 6 Aug 2012 22:36:42 +0000 (+0200) Subject: Bail out if building with soup/ glib exposing download bug X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75345d50475b2d755ad6d32a5b395f43c28d3ec0;p=midori Bail out if building with soup/ glib exposing download bug --- diff --git a/wscript b/wscript index e6c0d490..63c003d4 100644 --- a/wscript +++ b/wscript @@ -386,6 +386,14 @@ def configure (conf): if unique == 'yes' and conf.check_cfg (modversion='unique-1.0') == '1.0.4': Utils.pprint ('RED', 'unique 1.0.4 found, this version is erroneous.') Utils.pprint ('RED', 'Please use an older or newer version.') + sys.exit (1) + if check_version (conf.env['LIBSOUP_VERSION'], 2, 33, 4) \ + and check_version (conf.check_cfg (modversion='gio-2.0'), 2, 32, 1) \ + and not check_version (conf.check_cfg (modversion='gio-2.0'), 2, 32, 3): + Utils.pprint ('RED', 'libsoup >= 2.33.4 found with glib >= 2.32.1 < 2.32.3:') + Utils.pprint ('RED', 'This combination breaks the download GUI.') + Utils.pprint ('RED', 'See https://bugs.launchpad.net/midori/+bug/780133/comments/14') + sys.exit (1) def set_options (opt): def is_maemo (): return os.path.exists ('/etc/osso-af-init/')