[oe] [meta-oe][PATCH 20/25] libxml++: only include when x11 in DISTRO_FEATURES

akuster808 akuster808 at gmail.com
Fri Mar 16 16:39:38 UTC 2018



On 03/12/2018 11:40 AM, Martin Jansa wrote:
> What in libxml++ requires x11? I'm building it in DISTRO without x11
> for years and never noticed any issue with that.

I was using the yocto-check-layer on meta-openembedded to clean it up
and most likely got the recipe name wrong as we had a lot of cleanup.
I send out a patch to remove this check as it appears to not be needed.
thanks for catching this.

- armin
>
> On Wed, Mar 7, 2018 at 5:03 AM, Armin Kuster <akuster808 at gmail.com
> <mailto:akuster808 at gmail.com>> wrote:
>
>     Signed-off-by: Armin Kuster <akuster808 at gmail.com
>     <mailto:akuster808 at gmail.com>>
>     ---
>      meta-oe/recipes-core/libxml/libxml++_2.40.1.bb <http://2.40.1.bb>
>     | 4 +++-
>      1 file changed, 3 insertions(+), 1 deletion(-)
>
>     diff --git a/meta-oe/recipes-core/libxml/libxml++_2.40.1.bb
>     <http://2.40.1.bb>
>     b/meta-oe/recipes-core/libxml/libxml++_2.40.1.bb <http://2.40.1.bb>
>     index c001c18..c3d647c 100644
>     --- a/meta-oe/recipes-core/libxml/libxml++_2.40.1.bb
>     <http://2.40.1.bb>
>     +++ b/meta-oe/recipes-core/libxml/libxml++_2.40.1.bb
>     <http://2.40.1.bb>
>     @@ -16,7 +16,9 @@ SRC_URI[sha256sum] =
>     "4ad4abdd3258874f61c2e2a41d08e9930677976d303653cd1670d3e9f3
>
>      DEPENDS = "libxml2 glibmm"
>
>     -inherit autotools pkgconfig ptest
>     +inherit distro_features_check autotools pkgconfig ptest
>     +
>     +REQUIRED_DISTRO_FEATURES = "x11"
>
>      do_compile_ptest() {
>        oe_runmake -C examples buildtest
>     --
>     2.7.4
>
>     --
>     _______________________________________________
>     Openembedded-devel mailing list
>     Openembedded-devel at lists.openembedded.org
>     <mailto:Openembedded-devel at lists.openembedded.org>
>     http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>     <http://lists.openembedded.org/mailman/listinfo/openembedded-devel>
>
>




More information about the Openembedded-devel mailing list