GNOME Bugzilla – Bug 697027
gucharmap-3.8 doesn't support vala-0.20
Last modified: 2013-04-15 20:02:12 UTC
That vala version is needed to work with gobject-introspection-1.36, the following configure check makes anjuta incompatible with it: # No automagic please! if test -z "$enable_vala"; then enable_vala=no fi m4_ifdef([VAPIGEN_CHECK], [VAPIGEN_CHECK([0.16],[0.18])], [AM_CONDITIONAL([ENABLE_VAPIGEN],[false])]) Can it be ported to allow 0.20 usage too?
No objections. I don't have vala 0.20, so could you try to create a patch?
this would be the patch, but I don't understand why I need to drop "0.18" to get 0.20 detected (!) --- configure.ac~ 2013-03-25 21:10:51.000000000 +0100 +++ configure.ac 2013-04-02 20:01:07.658861353 +0200 @@ -243,7 +243,7 @@ enable_vala=no fi m4_ifdef([VAPIGEN_CHECK], - [VAPIGEN_CHECK([0.16],[0.18])], + [VAPIGEN_CHECK([0.16],[0.20])], [AM_CONDITIONAL([ENABLE_VAPIGEN],[false])]) case "$with_gtk" in If 0.18 is included in VAPIGEN_CHECK it takes full precedence, do you know why? Is it because VAPIGEN_CHECK is expecting a range of versions? (and, then, only two versions can be specified?)
Those version were hardcoded by me simply because I couldn't get it to work otherwise...
Well, it looks to work with anything above >= 0.16, in that case, of VAPIGEN_CHECK simply checks for MINIMUM versions: [VAPIGEN_CHECK([0.16])], should be enough
--- configure.ac~ 2013-03-25 21:10:51.000000000 +0100 +++ configure.ac 2013-04-02 20:01:07.658861353 +0200 @@ -243,7 +243,7 @@ enable_vala=no fi m4_ifdef([VAPIGEN_CHECK], - [VAPIGEN_CHECK([0.16],[0.18])], + [VAPIGEN_CHECK([0.16])], [AM_CONDITIONAL([ENABLE_VAPIGEN],[false])]) case "$with_gtk" in This is enough
gucharmap/Makefile.am hardcodes $(datadir)/vala-0.18/vapi so I presume that needs to be changed too? And then it won't work on my system anymore, since I had to make it that way to get it working...
What failed with: vapidir = $(datarootdir)/vala/vapi ? (looks the way used in other apps like, for example, e-d-s)
Should be fixed on master / 3.8.1.
Thanks Christian