From: "Raphaël Gallais-Pou" <rgallaispou@gmail.com>
To: Romain Naour <romain.naour@smile.fr>, buildroot@buildroot.org
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Subject: Re: [Buildroot] [PATCH] package/libxkbcommon: provide xkbregistry when libxml2 is enabled
Date: Mon, 6 Jul 2026 17:34:01 +0200 [thread overview]
Message-ID: <009fc076-444a-4da5-ad0b-c8d71ac99bac@gmail.com> (raw)
In-Reply-To: <cbfb9495-35d2-447e-a9e1-22c834d07dc5@smile.fr>
On 6/24/26 17:51, Romain Naour wrote:
> Hello Raphaël,
Hi,
>
> Le 27/05/2026 à 21:53, Raphaël Gallais-Pou a écrit :
>> xkbregistry is disabled by default. Yet, it only needs libxml2 to be
>> built, which is already supported.
>>
>> Add the compile flags to build xkbregistry when possible.
>>
>> Signed-off-by: Raphaël Gallais-Pou <rgallaispou@gmail.com>
>> ---
>> package/libxkbcommon/libxkbcommon.mk | 10 ++++++++--
>> 1 file changed, 8 insertions(+), 2 deletions(-)
>>
>> diff --git a/package/libxkbcommon/libxkbcommon.mk b/package/libxkbcommon/libxkbcommon.mk
>> index 21a2b937ef02..98154369b419 100644
>> --- a/package/libxkbcommon/libxkbcommon.mk
>> +++ b/package/libxkbcommon/libxkbcommon.mk
>> @@ -12,8 +12,7 @@ LIBXKBCOMMON_CPE_ID_VENDOR = xkbcommon
>> LIBXKBCOMMON_INSTALL_STAGING = YES
>> LIBXKBCOMMON_DEPENDENCIES = host-bison host-flex
>> LIBXKBCOMMON_CONF_OPTS = \
>> - -Denable-docs=false \
>> - -Denable-xkbregistry=false
>
> xkbregistry has been disabled on purpose when libxkbcommon has been updated to
> 1.0.1 [1].
Indeed I haven't see this.
>
> It seems to requires xkeyboard-config at runtime [2], can you verify?
Yes: libxkbcommon does not provide dataset, which is what
xkeyboard-config is.
From [2]:
It is [preferred] that libxkbregistry be split into a separate packages
as most
clients that require libxkbcommon do not require libxkbregistry and clients
requiring libxkbregistry may not need libxkbcommon.
Does that mean that a libxkbregistry package needs to be created since
it is independant from libxkbcommon ?
Best regards,
Raphaël
>
> [1]
> https://gitlab.com/buildroot.org/buildroot/-/commit/1791bc30a5b19bb52366375d03e66348242ff25a
>
> [2]
> https://github.com/xkbcommon/libxkbcommon/blob/2c295b10aa87e9bd8c11954adcf7e92b031b92f9/PACKAGING#L61
>
> Best regards,
> Romain
>
>> + -Denable-docs=false
>>
>> ifeq ($(BR2_PACKAGE_XORG7),y)
>> LIBXKBCOMMON_CONF_OPTS += -Denable-x11=true
>> @@ -22,6 +21,13 @@ else
>> LIBXKBCOMMON_CONF_OPTS += -Denable-x11=false
>> endif
>>
>> +ifeq ($(BR2_PACKAGE_LIBXML2),y)
>> +LIBXKBCOMMON_CONF_OPTS += -Denable-xkbregistry=true
>> +LIBXKBCOMMON_DEPENDENCIES += libxml2
>> +else
>> +LIBXKBCOMMON_CONF_OPTS += -Denable-xkbregistry=false
>> +endif
>> +
>> ifeq ($(BR2_PACKAGE_LIBXKBCOMMON_TOOLS),y)
>> LIBXKBCOMMON_CONF_OPTS += -Denable-tools=true
>> else
>>
>> ---
>> base-commit: 08f3757b0f2133b0ed50e1ef3d7a5a1d9c80de1c
>> change-id: 20260527-master-2e5299aaa8ca
>>
>> Best regards,
>> --
>> Raphaël Gallais-Pou <rgallaispou@gmail.com>
>>
>> _______________________________________________
>> buildroot mailing list
>> buildroot@buildroot.org
>> https://lists.buildroot.org/mailman/listinfo/buildroot
>
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
prev parent reply other threads:[~2026-07-06 15:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-27 19:53 [Buildroot] [PATCH] package/libxkbcommon: provide xkbregistry when libxml2 is enabled Raphaël Gallais-Pou
2026-06-24 15:51 ` Romain Naour via buildroot
2026-07-06 15:34 ` Raphaël Gallais-Pou [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=009fc076-444a-4da5-ad0b-c8d71ac99bac@gmail.com \
--to=rgallaispou@gmail.com \
--cc=buildroot@buildroot.org \
--cc=romain.naour@smile.fr \
--cc=thomas.petazzoni@bootlin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox