]> code.ossystems Code Review - openembedded-core.git/commitdiff
recipes-graphics: libxkbcommon disable build of libxkbregistry
authorAnibal Limon <anibal.limon@linaro.org>
Thu, 5 Nov 2020 18:04:47 +0000 (12:04 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 8 Nov 2020 14:03:16 +0000 (14:03 +0000)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/xorg-lib/libxkbcommon_1.0.1.bb

index 4ef20b0721c86c383fc25c76817780548e3a4850..fc35bc613beb94c13fde8b14d57b1221689afe27 100644 (file)
@@ -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,"