[OE-core] [RFC] Remove vala from oe-core

Otavio Salvador otavio.salvador at ossystems.com.br
Tue Nov 10 15:29:52 UTC 2015


On Tue, Nov 10, 2015 at 1:19 PM, Alexander Kanavin
<alexander.kanavin at linux.intel.com> wrote:
> On 11/10/2015 05:10 PM, Burton, Ross wrote:
>
>>     I should clarify: there might be Vala software out there that
>>     someone would want to run in an embedded context. And that software
>>     might require Vala bindings for libraries that are in oe-core. If we
>>     don't provide those bindings, then either the layer that adds vala
>>     recipe also has to patch all of our oe-core recipes, or (worse!) the
>>     person who needs something vala-based also has to ad-hoc-patch the
>>     dependency recipes of that.
>>
>>
>> One solution for no vala in oe-core would be for all vala-supporting
>> recipes in oe-core to have a PACKAGECONFIG[vala], so if someone does
>> want Vala then they just need to add meta-vala (for example) to their
>> layers and enable the PACKAGECONFIGs where they want it enabled.
>> There's plenty of prior art for this behaviour in oe-core already.
>
>
>
> PACKAGECONFIG alone is not sufficient; to build the bindings properly, the
> package also needs to inherit vala.bbclass:
>
> https://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/tree/meta/classes/vala.bbclass?h=akanavin/gobject-introspection-experimental

and this belong to meta-vala (or other). This reduces the core and
this is something we really should to push for.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750



More information about the Openembedded-core mailing list