[Xfce4-commits] <midori:master> Bail out if building with soup/ glib exposing download bug

Christian Dywan noreply at xfce.org
Tue Aug 7 01:10:01 CEST 2012


Updating branch refs/heads/master
         to 75345d50475b2d755ad6d32a5b395f43c28d3ec0 (commit)
       from 2fa42e0a331274f40449c78ae20fc2f71121aa6c (commit)

commit 75345d50475b2d755ad6d32a5b395f43c28d3ec0
Author: Christian Dywan <christian at twotoasts.de>
Date:   Tue Aug 7 00:36:42 2012 +0200

    Bail out if building with soup/ glib exposing download bug

 wscript |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/wscript b/wscript
index e6c0d49..63c003d 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/')


More information about the Xfce4-commits mailing list