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

eht16 at users.sourceforge.net eht16 at xxxxx
Sat Jul 12 10:27:36 UTC 2008


Revision: 112
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=112&view=rev
Author:   eht16
Date:     2008-07-12 03:27:35 -0700 (Sat, 12 Jul 2008)

Log Message:
-----------
Add missing mandatory flag for GTK and Geany checks.
Fix wrong check for gtkspell.

Modified Paths:
--------------
    trunk/wscript

Modified: trunk/wscript
===================================================================
--- trunk/wscript	2008-07-11 17:07:11 UTC (rev 111)
+++ trunk/wscript	2008-07-12 10:27:35 UTC (rev 112)
@@ -132,8 +132,8 @@
 
 
 	conf.check_tool('compiler_cc intltool')
-	conf.check_pkg('gtk+-2.0', destvar='GTK', vnum='2.6.0')
-	conf.check_pkg('geany', destvar='GEANY', vnum='0.15')
+	conf.check_pkg('gtk+-2.0', destvar='GTK', vnum='2.6.0', mandatory=True)
+	conf.check_pkg('geany', destvar='GEANY', vnum='0.15', mandatory=True)
 
 	enabled_plugins = []
 	if Params.g_options.enable_plugins:
@@ -160,7 +160,7 @@
 	# write a config.h for each plugin
 	for p in plugins:
 		if p.name in enabled_plugins:
-			if p.name == 'geanyvc' and conf.env['HAVE_GTKSPELL_2_0']:
+			if p.name == 'geanyvc' and conf.env['HAVE_GTKSPELL_2_0'] == 1:
 				# hack for GeanyVC
 				conf.define('USE_GTKSPELL', 1);
 			conf.define('VERSION', p.version, 1)


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