SF.net SVN: geany-plugins:[2001] trunk/geany-plugins

frlan at users.sourceforge.net frlan at xxxxx
Sun Mar 27 09:56:11 UTC 2011


Revision: 2001
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2001&view=rev
Author:   frlan
Date:     2011-03-27 09:56:11 +0000 (Sun, 27 Mar 2011)

Log Message:
-----------
Updatechecker: Try to fix build dependencies for threading

Modified Paths:
--------------
    trunk/geany-plugins/build/updatechecker.m4
    trunk/geany-plugins/updatechecker/wscript_configure

Modified: trunk/geany-plugins/build/updatechecker.m4
===================================================================
--- trunk/geany-plugins/build/updatechecker.m4	2011-03-27 09:55:45 UTC (rev 2000)
+++ trunk/geany-plugins/build/updatechecker.m4	2011-03-27 09:56:11 UTC (rev 2001)
@@ -3,7 +3,8 @@
     GP_ARG_DISABLE([Updatechecker], [auto])
 
     GP_CHECK_PLUGIN_DEPS([Updatechecker], UPDATECHECKER,
-                         [libsoup-2.4 >= 2.4.0])
+                         [libsoup-2.4 >= 2.4.0
+                          gthread-2.0])
 
     GP_STATUS_PLUGIN_ADD([Updatechecker], [$enable_updatechecker])
 

Modified: trunk/geany-plugins/updatechecker/wscript_configure
===================================================================
--- trunk/geany-plugins/updatechecker/wscript_configure	2011-03-27 09:55:45 UTC (rev 2000)
+++ trunk/geany-plugins/updatechecker/wscript_configure	2011-03-27 09:56:11 UTC (rev 2001)
@@ -22,10 +22,15 @@
 
 from build.wafutils import check_cfg_cached
 
+packages = [
+    ('gthread-2.0','','GTHREAT'),
+    ('libsoup-2.4', '2.4.0', 'LIBSOUP')
+    ]
 
-check_cfg_cached(conf,
-                 package='libsoup-2.4',
-                 atleast_version='2.4.0',
-                 mandatory=True,
-                 uselib_store='LIBSOUP',
-                 args='--cflags --libs')
+for package_name, package_version, uselib_store in packages:
+    check_cfg_cached(conf,
+                     package=package_name,
+                     atleast_version=package_version,
+                     uselib_store=uselib_store,
+                     mandatory=True,
+                     args='--cflags --libs')


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Plugins-Commits mailing list