public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [PATCH] libxkbcommon: add missing dependency on libxml2
       [not found] <164419F41027C9D2.7719@lists.openembedded.org>
@ 2020-11-03 21:52 ` Martin Jansa
  2020-11-05 17:57   ` [OE-core] " Anibal Limon
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Jansa @ 2020-11-03 21:52 UTC (permalink / raw)
  To: openembedded-core; +Cc: alex.kanavin, Martin Jansa

* 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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [OE-core] [PATCH] libxkbcommon: add missing dependency on libxml2
  2020-11-03 21:52 ` [PATCH] libxkbcommon: add missing dependency on libxml2 Martin Jansa
@ 2020-11-05 17:57   ` Anibal Limon
  2020-11-05 17:58     ` Anibal Limon
  0 siblings, 1 reply; 3+ messages in thread
From: Anibal Limon @ 2020-11-05 17:57 UTC (permalink / raw)
  To: Martin Jansa; +Cc: OE-core, Alexander Kanavin

[-- 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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [OE-core] [PATCH] libxkbcommon: add missing dependency on libxml2
  2020-11-05 17:57   ` [OE-core] " Anibal Limon
@ 2020-11-05 17:58     ` Anibal Limon
  0 siblings, 0 replies; 3+ messages in thread
From: Anibal Limon @ 2020-11-05 17:58 UTC (permalink / raw)
  To: Martin Jansa; +Cc: OE-core, Alexander Kanavin

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

On Thu, 5 Nov 2020 at 11:57, Anibal Limon <anibal.limon@linaro.org> wrote:

> 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.
>

Forget the link,

[1] https://github.com/xkbcommon/libxkbcommon/blob/master/PACKAGING#L74


>
> 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: 3699 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-11-05 17:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <164419F41027C9D2.7719@lists.openembedded.org>
2020-11-03 21:52 ` [PATCH] libxkbcommon: add missing dependency on libxml2 Martin Jansa
2020-11-05 17:57   ` [OE-core] " Anibal Limon
2020-11-05 17:58     ` Anibal Limon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox