[OE-core] [PATCH 4/7] glib-2.0-native: Break circular dependency on shared-mime-utils

Peter Kjellerstedt peter.kjellerstedt at axis.com
Sat Feb 16 22:45:48 UTC 2019


> -----Original Message-----
> From: openembedded-core-bounces at lists.openembedded.org <openembedded-
> core-bounces at lists.openembedded.org> On Behalf Of Richard Purdie
> Sent: den 16 februari 2019 22:47
> To: openembedded-core at lists.openembedded.org
> Subject: [OE-core] [PATCH 4/7] glib-2.0-native: Break circular
> dependency on shared-mime-utils
> 
> If we fix native RDEPENDS handling, it exposes a problem where there
> is a circular dependency between shared-mime-utils and glib-2.0-native.
> 
> Break this dependency in the -native case.
> 
> Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
> ---
>  meta/recipes-core/glib-2.0/glib.inc | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-
> core/glib-2.0/glib.inc
> index c9093cee866..7e2847d4b22 100644
> --- a/meta/recipes-core/glib-2.0/glib.inc
> +++ b/meta/recipes-core/glib-2.0/glib.inc
> @@ -80,6 +80,7 @@ FILES_${PN}-utils = "${bindir}/*"
>  RRECOMMENDS_${PN} += "shared-mime-info"

Wouldn't it be clearer to change this to:

RRECOMMENDS_${PN}_append_class-target = " shared-mime-info"

instead of adding the RRECOMMENDS_${PN}_class-native below?

>  # When cross compiling for Windows we don't want to include this
>  RRECOMMENDS_${PN}_remove_mingw32 = "shared-mime-info"
> +RRECOMMENDS_${PN}_class-native = ""
> 
>  ARM_INSTRUCTION_SET_armv4 = "arm"
>  ARM_INSTRUCTION_SET_armv5 = "arm"
> --
> 2.20.1

//Peter



More information about the Openembedded-core mailing list