[OE-core] [PATCH] classes/meta: Add DISTRO_FEATURES check for gtk+/gtk3+

Otavio Salvador otavio.salvador at ossystems.com.br
Tue Sep 29 11:59:36 UTC 2015


On Mon, Sep 28, 2015 at 7:53 AM, Richard Purdie
<richard.purdie at linuxfoundation.org> wrote:
> If you currently do a DISTRO_FEATURES_remove = "x11" with OE-Core, you
> see failures due to dependency problems. The work in resolving this was
> partially completed a while back. This adds in the markup mainly for
> gtk/gtk3+ recipes and means "bitbake world" will work successfully.
>
> Rather than code the gtk/gtk+ specific distro features into each recipe,
> a shared variable is used.
>
> Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
>
> diff --git a/meta/conf/distro/include/default-distrovars.inc b/meta/conf/distro/include/default-distrovars.inc
> index 29b762b..b8fd039 100644
> --- a/meta/conf/distro/include/default-distrovars.inc
> +++ b/meta/conf/distro/include/default-distrovars.inc
> @@ -47,3 +47,6 @@ DISTRO_VERSION ??= "nodistro.0"
>
>  # Missing checksums should raise an error
>  BB_STRICT_CHECKSUM = "1"
> +
> +GTKDISTROFEATURES = "directfb x11"

GTK2 please.

Also a more meanful name like:

GTK2_COMPATIBLE_DISTRO_FEATURES would be appreciated ...


-- 
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