Bug 8640

Summary: Remove vala from oe-core?
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Ross Burton <ross.burton>
Component: devtools / tool chainAssignee: Alexander Kanavin <alex.kanavin>
Status: RESOLVED NOTABUG QA Contact:
Severity: enhancement    
Priority: Medium+ CC: alex.kanavin, alexandru.c.georgescu, bluelightning, jose.perez.carranza, meta.mr.watcher, meta.watcher
Version: 2.0   
Target Milestone: 2.2 M1   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)
Bug Depends on: 8469    
Bug Blocks:    

Description Ross Burton 2015-11-04 13:52:32 UTC
The only thing in oe-core using vala is now gcr, which can optionally build vala bindings.  Should vala move back to meta-oe in the 2.1 cycle?
Comment 1 Jussi Kukkonen 2015-11-04 15:04:58 UTC
Sounds good to me.

I assume the move would include vala.bbclass? Setting documentation change to yes on that assumption ...
Comment 2 Paul Eggleton 2015-11-04 15:05:36 UTC
I'd say yes, but we'd want to put it out to the OE-Core mailing list.
Comment 3 Ross Burton 2015-11-04 19:56:03 UTC
Had a quick look at gcr and the vala support it asks for doesn't even get used.
Comment 4 Ross Burton 2015-11-04 20:21:11 UTC
But gcr needs vala's m4 files to configure.  Damned m4.
Comment 5 Alexander Kanavin 2015-11-25 15:47:05 UTC
Let's first resolve the gobject-introspection (which also fixes generation of vala bindings with vapigen), so that whether vala stays in oe-core or goes elsewhere, it will have those fixes.
Comment 6 Jussi Kukkonen 2016-02-10 08:33:21 UTC
Agreed, deferring until gobject-introspection is in.
Comment 7 Alexander Kanavin 2016-06-09 10:09:32 UTC
I think we need a consultation with the community here - should Vala be dropped altogether? 

From what I see, the only thing that benefits from having vala and is useful in embedded environments is Rygel (the implementation of UPnP AV), and the benefit is more or less that Rygel can be patched much more easily, because it can be compiled from original vala sources instead of intermediate generated C sources.
Comment 9 Alexander Kanavin 2016-06-13 14:12:22 UTC
So here's the outcome: people do appreciate having vala in oe-core, but we don't have to make sure it *really* works; as long as the recipe builds okay, and support for generating bindings doesn't bitrot, the community will handle the rest.

I'll reassign the vala recipe to myself from Jussi.