Le 12/04/2012 23:10, Enrico Tröger a écrit :
On Thu, 12 Apr 2012 22:49:26 +0200, Colomban wrote:
I'm wondering if there is a way to get at least the version from the configuration? Like bld.conf.libs['GTK'].atleast_version or something? I haven't found how to do so, but maybe you'll know :)
Not completely sure what you mean by "from the configuration". From where exactly do you want to read the versions?
Do you want to read the line gtk_modules="gtk+-2.0 >= 2.16 glib-2.0 >= 2.20" from configure.ac?
No, I meant fetch the version info from the waf configure() step (lines 131-134). However we could simply put the package version info in a global and use it in both places.
Yeah, that sounds good, done in https://github.com/geany/geany/commit/012a904e7496699b792761c12385cd289d7b6f....
Great, looks good :)
Cheers, Colomban
Regards, Enrico