After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 667851 - Support vala 0.16
Support vala 0.16
Status: RESOLVED FIXED
Product: anjuta
Classification: Applications
Component: plugins: language-support-vala
git master
Other Linux
: Normal normal
: ---
Assigned To: Abderrahim Kitouni
Anjuta maintainers
Depends on:
Blocks:
 
 
Reported: 2012-01-13 10:21 UTC by Vincent Untz
Modified: 2012-01-18 20:10 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Build: Support vala 0.15/0.16 (1.21 KB, patch)
2012-01-13 20:16 UTC, Dominique Leuenberger
none Details | Review

Description Vincent Untz 2012-01-13 10:21:40 UTC
It's that time of the year again: vala 0.15/0.16 obviously doesn't ship libvala-0.14.

I haven't tried yet, but it's probably just a matter of switching to libvala-0.16.

Do we want to keep supporting 0.14?
Comment 1 Dominique Leuenberger 2012-01-13 13:56:36 UTC
Tested a build with vala 0.16, indeed it's sufficient to 'switch' the configure checks to libvala-0.16 / valac-0.16 and have the .c files regenerated from their .vala sources.

So the 'question' is really if we want to maintain compatibility with 0.14 or only check for 0.16 (both are relatively easy to do)
Comment 2 Johannes Schmid 2012-01-13 19:06:48 UTC
As long as it doesn't require any source code changes I would prefer to support both.
Comment 3 Dominique Leuenberger 2012-01-13 20:16:57 UTC
Created attachment 205224 [details] [review]
Build: Support vala 0.15/0.16

Please review. The patch adds logic to detect vala 0.15/0.16.
It is advised no longer to distribute the generated .c file though but have them mandatory created from the .vala files: the generated .c files differ between usage of valac 0.14 and 0.16.
Comment 4 Johannes Schmid 2012-01-18 20:10:53 UTC
Thanks!