[Xfce4-commits] <postler:master> Build with threading enabled and require GThread

Christian Dywan noreply at xfce.org
Sun Jul 18 15:40:20 CEST 2010


Updating branch refs/heads/master
         to 59e73365e5048b33aeffa55536c5e8fa20b384d8 (commit)
       from 8047d49e0be8ed8a4b4f3e37c5af223c13e03c65 (commit)

commit 59e73365e5048b33aeffa55536c5e8fa20b384d8
Author: Christian Dywan <christian at twotoasts.de>
Date:   Sat Jul 17 19:11:08 2010 +0200

    Build with threading enabled and require GThread

 postler/wscript_build |    2 +-
 wscript               |    2 ++
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/postler/wscript_build b/postler/wscript_build
index 9f1de5f..0e85405 100644
--- a/postler/wscript_build
+++ b/postler/wscript_build
@@ -13,7 +13,7 @@ obj.name = 'postler'
 obj.target = 'postler'
 obj.includes = '. ..'
 obj.find_sources_in_dirs ('.')
-obj.uselib = 'GIO GTK UNIQUE WEBKIT'
+obj.uselib = 'GIO GTHREAD GTK UNIQUE WEBKIT'
 obj.packages = 'config postler posix gio-2.0 gtk+-2.0 unique-1.0 webkit-1.0'
 obj.vapi_dirs = '.'
 
diff --git a/wscript b/wscript
index 25bf16d..28ae393 100644
--- a/wscript
+++ b/wscript
@@ -98,6 +98,7 @@ def configure (conf):
         return conf.env['HAVE_' + var]
 
     check_pkg ('gio-2.0', '2.16.0')
+    check_pkg ('gthread-2.0', '2.16.0')
     check_pkg ('unique-1.0', '0.9')
     check_pkg ('gtk+-2.0', '2.12.0', var='GTK')
     check_pkg ('webkit-1.0', '1.1.1')
@@ -149,6 +150,7 @@ def configure (conf):
             conf.env.append_value ('CCFLAGS', '-w -O0 -g'.split ())
         elif debug_level == 'full':
             conf.env.append_value ('CCFLAGS', '-w -O1 -g -DG_ENABLE_DEBUG'.split ())
+    conf.env.append_value ('VALAFLAGS', '--thread')
     if debug_level == 'full':
         conf.env.append_value ('VALAFLAGS', '--enable-checking'.split ())
     elif debug_level == 'none':



More information about the Xfce4-commits mailing list