[OE-core] [PATCH 1/2] [meta] dbus: Fix X11 compille errors

Alexander Kanavin alex.kanavin at gmail.com
Sat Jun 2 05:06:41 UTC 2018


Wait, why is this problem not seen by anyone else, particularly on the
autobuilder? Can you provide the failure log please?

And do the same for the other patch to atk.

Alex

2018-06-02 1:14 GMT+03:00 Alistair Francis <alistair.francis at wdc.com>:
> When building with X11 set in DISTRO_FEATURES we need to specify that we
> depend on X11 native for building dbus. Otherwise we see missing include
> file compile errors.
>
> Signed-off-by: Alistair Francis <alistair.francis at wdc.com>
> ---
>  meta/recipes-core/dbus/dbus_1.12.8.bb | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/meta/recipes-core/dbus/dbus_1.12.8.bb b/meta/recipes-core/dbus/dbus_1.12.8.bb
> index b3ddaafab5..40868628f6 100644
> --- a/meta/recipes-core/dbus/dbus_1.12.8.bb
> +++ b/meta/recipes-core/dbus/dbus_1.12.8.bb
> @@ -6,6 +6,7 @@ LICENSE = "AFL-2 | GPLv2+"
>  LIC_FILES_CHKSUM = "file://COPYING;md5=10dded3b58148f3f1fd804b26354af3e \
>                      file://dbus/dbus.h;beginline=6;endline=20;md5=7755c9d7abccd5dbd25a6a974538bb3c"
>  DEPENDS = "expat virtual/libintl autoconf-archive"
> +DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libx11-native', '', d)}"
>  RDEPENDS_dbus_class-native = ""
>  RDEPENDS_dbus_class-nativesdk = ""
>  PACKAGES += "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', '${PN}-ptest', '', d)}"
> --
> 2.17.0
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core



More information about the Openembedded-core mailing list