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

Paul Eggleton paul.eggleton at linux.intel.com
Wed Nov 11 17:38:29 UTC 2015


On Wednesday 11 November 2015 09:17:33 Richard Purdie wrote:
> On Tue, 2015-11-10 at 17:37 +0200, Alexander Kanavin wrote:
> > On 11/10/2015 05:29 PM, Otavio Salvador wrote:
> > >> 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/class
> > >> es/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.
> > 
> > If this class is moved to meta-vala, how do you make packages in oe-core
> > inherit it, or otherwise do what it does?
> 
> Much as I dislike this, you could do something like:
> 
> inherit ${@base_contains('PACKAGECONFIG', 'vala', 'vala', '')}

Hmm, that's a bit yucky I have to agree. It also won't allow you to enable the 
PACKAGECONFIG value from a bbappend.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the Openembedded-core mailing list