From 3d46e53459c93babbd0918e243a488cce5471c23 Mon Sep 17 00:00:00 2001 From: Anibal Limon Date: Thu, 5 Nov 2020 12:04:47 -0600 Subject: [PATCH] recipes-graphics: libxkbcommon disable build of libxkbregistry MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This library depends on libxml2 causing a build failure, ... 07:50:36 Run-time dependency xcb-xkb found: YES 1.14 07:50:36 Found CMake: NO 07:50:36 Run-time dependency libxml-2.0 found: NO (tried pkgconfig) 07:50:36 07:50:36 ../libxkbcommon-1.0.1/meson.build:329:4: ERROR: Dependency "libxml-2.0" not found, tried pkgconfig 07:50:36 07:50:36 A full log can be found at /srv/oe/build/tmp-rpb-glibc/work/cortexa53-linaro-linux/libxkbcommon/1.0.1-r0/build/meson-logs/meson-log.txt 07:50:36 WARNING: exit code 1 from a shell command. ... According libxkbcommon PACKAGING file the libxkbregistry is suggested to be packaged separately, users of libxkbcommon dosen't require libxkbregistry and vice-versa, see: https://github.com/xkbcommon/libxkbcommon/blob/master/PACKAGING Signed-off-by: Aníbal Limón Signed-off-by: Richard Purdie --- meta/recipes-graphics/xorg-lib/libxkbcommon_1.0.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-graphics/xorg-lib/libxkbcommon_1.0.1.bb b/meta/recipes-graphics/xorg-lib/libxkbcommon_1.0.1.bb index 4ef20b0721..fc35bc613b 100644 --- a/meta/recipes-graphics/xorg-lib/libxkbcommon_1.0.1.bb +++ b/meta/recipes-graphics/xorg-lib/libxkbcommon_1.0.1.bb @@ -15,7 +15,7 @@ UPSTREAM_CHECK_URI = "http://xkbcommon.org/" inherit meson pkgconfig -EXTRA_OEMESON = "-Denable-docs=false" +EXTRA_OEMESON = "-Denable-docs=false -Denable-xkbregistry=false" PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'x11 wayland', d)}" PACKAGECONFIG[x11] = "-Denable-x11=true,-Denable-x11=false,libxcb xkeyboard-config," -- 2.40.1