Re: [OE-core] [PATCH] libxkbcommon: add missing dependency on libxml2

Anibal Limon
2020-11-05T17:57:30Z

[-- Attachment #1: Type: text/plain, Size: 1604 bytes --]

I have the same issue, looking at libxkbcommon [1], it suggest to package
the libxkbregistry separately and since the libxml2 adds a lot
of dependencies may be is better to disable by default via
-Denable-xkbregistry=false and add another recipe to build it if needed.

Regards,
Anibal

On Tue, 3 Nov 2020 at 15:52, Martin Jansa <Martin.Jansa@gmail.com> wrote:

> * it was introduced with xkbregistry support in:
>
> https://github.com/xkbcommon/libxkbcommon/commit/afb26e7df9090a0b765eb294b6efff448f763b6f
> and as xkbregistry is enabled by default libxkbcommon
> is failing since the upgrade to 1.0.1 in builds where
> libxml2 wasn't included in RSS (e.g. when wayland
> isn't in DISTRO_FEATURES -> in PACKAGECONFIG)
>
> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
> ---
> 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..353856e1c4 100644
> --- a/meta/recipes-graphics/xorg-lib/libxkbcommon_1.0.1.bb
> +++ b/meta/recipes-graphics/xorg-lib/libxkbcommon_1.0.1.bb
> @@ -5,7 +5,7 @@ HOMEPAGE = "http://www.xkbcommon.org"
> LIC_FILES_CHKSUM = "file://LICENSE;md5=e525ed9809e1f8a07cf4bce8b09e8b87"
> LICENSE = "MIT & MIT-style"
>
> -DEPENDS = "util-macros flex-native bison-native"
> +DEPENDS = "util-macros flex-native bison-native libxml2"
>
> SRC_URI = "http://xkbcommon.org/download/${BPN}-${PV}.tar.xz"
>
> --
> 2.27.0
>
>
>
>
>

[-- Attachment #2: Type: text/html, Size: 2886 bytes --]