[Geany-devel] [geany/geany] 5f0963: List package dependencies only in configure.ac

Enrico Tröger enrico.troeger at xxxxx
Thu Apr 12 20:36:38 UTC 2012

On Thu, 12 Apr 2012 18:47:18 +0200, Colomban wrote:


first, nice idea about making the dependency information more central!

>> Modified: wscript
>> 1 files changed, 1 insertions(+), 0 deletions(-)
>> ===================================================================
>> @@ -346,6 +346,7 @@ 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', 'prefix': bld.env['PREFIX'],
>>                             'exec_prefix': '${prefix}',
>>                             'libdir': '${exec_prefix}/lib',
>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?
That would be a bit hackish but definetely possible and would make
maintaing the versions easier, a bit less obvious the fact we are using
two build systems...(yes, I know...).

If so, I could write a few lines to "parse" configure.ac :).


Get my GPG key from http://www.uvena.de/pub.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/devel/attachments/20120412/1da83321/attachment.pgp>

More information about the Devel mailing list