recipes-graphics: libxkbcommon disable build of libxkbregistry

Submitted by Aníbal Limón on Nov. 5, 2020, 6:04 p.m. | Patch ID: 177907

Details

Message ID 20201105180447.9553-1-anibal.limon@linaro.org
State New
Headers show

Commit Message

Aníbal Limón Nov. 5, 2020, 6:04 p.m.
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 <anibal.limon@linaro.org>

---
 meta/recipes-graphics/xorg-lib/libxkbcommon_1.0.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.29.2
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#144291): https://lists.openembedded.org/g/openembedded-core/message/144291
Mute This Topic: https://lists.openembedded.org/mt/78057239/1003190
Group Owner: openembedded-core+owner@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [mhalstead@linuxfoundation.org]
-=-=-=-=-=-=-=-=-=-=-=-

Patch hide | download patch | download mbox

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