[geany/geany] 012a90: Define minimum GTK and Glib versions globally to be reused later
Enrico Tröger
git-noreply at xxxxx
Thu Apr 12 21:00:39 UTC 2012
Branch: refs/heads/master
Author: Enrico Tröger <enrico.troeger at uvena.de>
Committer: Enrico Tröger <enrico.troeger at uvena.de>
Date: Thu, 12 Apr 2012 21:00:39
Commit: 012a904e7496699b792761c12385cd289d7b6f68
https://github.com/geany/geany/commit/012a904e7496699b792761c12385cd289d7b6f68
Log Message:
-----------
Define minimum GTK and Glib versions globally to be reused later
Modified Paths:
--------------
wscript
Modified: wscript
9 files changed, 6 insertions(+), 3 deletions(-)
===================================================================
@@ -51,6 +51,8 @@ from waflib.TaskGen import feature
APPNAME = 'geany'
VERSION = '1.22'
LINGUAS_FILE = 'po/LINGUAS'
+MINIMUM_GTK_VERSION = '2.16.0'
+MINIMUM_GLIB_VERSION = '2.20.0'
top = '.'
out = '_build_'
@@ -128,9 +130,9 @@ def configure(conf):
_load_intltool_if_available(conf)
# GTK / GIO version check
- conf.check_cfg(package='gtk+-2.0', atleast_version='2.16.0', uselib_store='GTK',
+ conf.check_cfg(package='gtk+-2.0', atleast_version=MINIMUM_GTK_VERSION, uselib_store='GTK',
mandatory=True, args='--cflags --libs')
- conf.check_cfg(package='glib-2.0', atleast_version='2.20.0', uselib_store='GLIB',
+ conf.check_cfg(package='glib-2.0', atleast_version=MINIMUM_GLIB_VERSION, uselib_store='GLIB',
mandatory=True, args='--cflags --libs')
conf.check_cfg(package='gmodule-2.0', uselib_store='GMODULE',
mandatory=True, args='--cflags --libs')
@@ -346,7 +348,8 @@ def build(bld):
bld.new_task_gen(
source = 'geany.pc.in',
dct = {'VERSION' : VERSION,
- 'DEPENDENCIES': 'gtk+-2.0 >= 2.16 glib-2.0 >= 2.20',
+ 'DEPENDENCIES': 'gtk+-2.0 >= %s glib-2.0 >= %s' % \
+ (MINIMUM_GTK_VERSION, MINIMUM_GLIB_VERSION),
'prefix': bld.env['PREFIX'],
'exec_prefix': '${prefix}',
'libdir': '${exec_prefix}/lib',
@@ Diff output truncated at 100000 characters. @@
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).
More information about the Commits
mailing list