* [PATCH] pc-bios/keymaps: Use the official xkb name for Arabic layout, not the legacy synonym
@ 2023-06-20 16:20 Peter Maydell
2023-06-20 16:25 ` Richard Henderson
` (3 more replies)
0 siblings, 4 replies; 7+ messages in thread
From: Peter Maydell @ 2023-06-20 16:20 UTC (permalink / raw)
To: qemu-devel
Cc: qemu-stable, Alex Bennée, Richard Henderson, Gerd Hoffmann
The xkb official name for the Arabic keyboard layout is 'ara'.
However xkb has for at least the past 15 years also permitted it to
be named via the legacy synonym 'ar'. In xkeyboard-config 2.39 this
synoynm was removed, which breaks compilation of QEMU:
FAILED: pc-bios/keymaps/ar
/home/fred/qemu-git/src/qemu/build-full/qemu-keymap -f pc-bios/keymaps/ar -l ar
xkbcommon: ERROR: Couldn't find file "symbols/ar" in include paths
xkbcommon: ERROR: 1 include paths searched:
xkbcommon: ERROR: /usr/share/X11/xkb
xkbcommon: ERROR: 3 include paths could not be added:
xkbcommon: ERROR: /home/fred/.config/xkb
xkbcommon: ERROR: /home/fred/.xkb
xkbcommon: ERROR: /etc/xkb
xkbcommon: ERROR: Abandoning symbols file "(unnamed)"
xkbcommon: ERROR: Failed to compile xkb_symbols
xkbcommon: ERROR: Failed to compile keymap
The upstream xkeyboard-config change removing the compat
mapping is:
https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/commit/470ad2cd8fea84d7210377161d86b31999bb5ea6
Make QEMU always ask for the 'ara' xkb layout, which should work on
both older and newer xkeyboard-config. We leave the QEMU name for
this keyboard layout as 'ar'; it is not the only one where our name
for it deviates from the xkb standard name.
Cc: qemu-stable@nongnu.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1709
---
pc-bios/keymaps/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pc-bios/keymaps/meson.build b/pc-bios/keymaps/meson.build
index bff30833137..0bd8ce00775 100644
--- a/pc-bios/keymaps/meson.build
+++ b/pc-bios/keymaps/meson.build
@@ -1,5 +1,5 @@
keymaps = {
- 'ar': '-l ar',
+ 'ar': '-l ara',
'bepo': '-l fr -v dvorak',
'cz': '-l cz',
'da': '-l dk',
--
2.34.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH] pc-bios/keymaps: Use the official xkb name for Arabic layout, not the legacy synonym
2023-06-20 16:20 [PATCH] pc-bios/keymaps: Use the official xkb name for Arabic layout, not the legacy synonym Peter Maydell
@ 2023-06-20 16:25 ` Richard Henderson
2023-06-20 16:50 ` Philippe Mathieu-Daudé
` (2 subsequent siblings)
3 siblings, 0 replies; 7+ messages in thread
From: Richard Henderson @ 2023-06-20 16:25 UTC (permalink / raw)
To: Peter Maydell, qemu-devel; +Cc: qemu-stable, Alex Bennée, Gerd Hoffmann
On 6/20/23 18:20, Peter Maydell wrote:
> The xkb official name for the Arabic keyboard layout is 'ara'.
> However xkb has for at least the past 15 years also permitted it to
> be named via the legacy synonym 'ar'. In xkeyboard-config 2.39 this
> synoynm was removed, which breaks compilation of QEMU:
>
> FAILED: pc-bios/keymaps/ar
> /home/fred/qemu-git/src/qemu/build-full/qemu-keymap -f pc-bios/keymaps/ar -l ar
> xkbcommon: ERROR: Couldn't find file "symbols/ar" in include paths
> xkbcommon: ERROR: 1 include paths searched:
> xkbcommon: ERROR: /usr/share/X11/xkb
> xkbcommon: ERROR: 3 include paths could not be added:
> xkbcommon: ERROR: /home/fred/.config/xkb
> xkbcommon: ERROR: /home/fred/.xkb
> xkbcommon: ERROR: /etc/xkb
> xkbcommon: ERROR: Abandoning symbols file "(unnamed)"
> xkbcommon: ERROR: Failed to compile xkb_symbols
> xkbcommon: ERROR: Failed to compile keymap
>
> The upstream xkeyboard-config change removing the compat
> mapping is:
> https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/commit/470ad2cd8fea84d7210377161d86b31999bb5ea6
>
> Make QEMU always ask for the 'ara' xkb layout, which should work on
> both older and newer xkeyboard-config. We leave the QEMU name for
> this keyboard layout as 'ar'; it is not the only one where our name
> for it deviates from the xkb standard name.
>
> Cc:qemu-stable@nongnu.org
> Signed-off-by: Peter Maydell<peter.maydell@linaro.org>
> Resolves:https://gitlab.com/qemu-project/qemu/-/issues/1709
> ---
> pc-bios/keymaps/meson.build | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
r~
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] pc-bios/keymaps: Use the official xkb name for Arabic layout, not the legacy synonym
2023-06-20 16:20 [PATCH] pc-bios/keymaps: Use the official xkb name for Arabic layout, not the legacy synonym Peter Maydell
2023-06-20 16:25 ` Richard Henderson
@ 2023-06-20 16:50 ` Philippe Mathieu-Daudé
2023-06-23 10:28 ` Daniel P. Berrangé
2023-06-23 15:21 ` Alex Bennée
3 siblings, 0 replies; 7+ messages in thread
From: Philippe Mathieu-Daudé @ 2023-06-20 16:50 UTC (permalink / raw)
To: Peter Maydell, qemu-devel
Cc: qemu-stable, Alex Bennée, Richard Henderson, Gerd Hoffmann
On 20/6/23 18:20, Peter Maydell wrote:
> The xkb official name for the Arabic keyboard layout is 'ara'.
> However xkb has for at least the past 15 years also permitted it to
> be named via the legacy synonym 'ar'. In xkeyboard-config 2.39 this
> synoynm was removed, which breaks compilation of QEMU:
>
> FAILED: pc-bios/keymaps/ar
> /home/fred/qemu-git/src/qemu/build-full/qemu-keymap -f pc-bios/keymaps/ar -l ar
> xkbcommon: ERROR: Couldn't find file "symbols/ar" in include paths
> xkbcommon: ERROR: 1 include paths searched:
> xkbcommon: ERROR: /usr/share/X11/xkb
> xkbcommon: ERROR: 3 include paths could not be added:
> xkbcommon: ERROR: /home/fred/.config/xkb
> xkbcommon: ERROR: /home/fred/.xkb
> xkbcommon: ERROR: /etc/xkb
> xkbcommon: ERROR: Abandoning symbols file "(unnamed)"
> xkbcommon: ERROR: Failed to compile xkb_symbols
> xkbcommon: ERROR: Failed to compile keymap
>
> The upstream xkeyboard-config change removing the compat
> mapping is:
> https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/commit/470ad2cd8fea84d7210377161d86b31999bb5ea6
>
> Make QEMU always ask for the 'ara' xkb layout, which should work on
> both older and newer xkeyboard-config. We leave the QEMU name for
> this keyboard layout as 'ar'; it is not the only one where our name
> for it deviates from the xkb standard name.
>
> Cc: qemu-stable@nongnu.org
> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
> Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1709
> ---
> pc-bios/keymaps/meson.build | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] pc-bios/keymaps: Use the official xkb name for Arabic layout, not the legacy synonym
2023-06-20 16:20 [PATCH] pc-bios/keymaps: Use the official xkb name for Arabic layout, not the legacy synonym Peter Maydell
2023-06-20 16:25 ` Richard Henderson
2023-06-20 16:50 ` Philippe Mathieu-Daudé
@ 2023-06-23 10:28 ` Daniel P. Berrangé
2023-06-23 15:21 ` Alex Bennée
3 siblings, 0 replies; 7+ messages in thread
From: Daniel P. Berrangé @ 2023-06-23 10:28 UTC (permalink / raw)
To: Peter Maydell
Cc: qemu-devel, qemu-stable, Alex Bennée, Richard Henderson,
Gerd Hoffmann
On Tue, Jun 20, 2023 at 05:20:24PM +0100, Peter Maydell wrote:
> The xkb official name for the Arabic keyboard layout is 'ara'.
> However xkb has for at least the past 15 years also permitted it to
> be named via the legacy synonym 'ar'. In xkeyboard-config 2.39 this
> synoynm was removed, which breaks compilation of QEMU:
>
> FAILED: pc-bios/keymaps/ar
> /home/fred/qemu-git/src/qemu/build-full/qemu-keymap -f pc-bios/keymaps/ar -l ar
> xkbcommon: ERROR: Couldn't find file "symbols/ar" in include paths
> xkbcommon: ERROR: 1 include paths searched:
> xkbcommon: ERROR: /usr/share/X11/xkb
> xkbcommon: ERROR: 3 include paths could not be added:
> xkbcommon: ERROR: /home/fred/.config/xkb
> xkbcommon: ERROR: /home/fred/.xkb
> xkbcommon: ERROR: /etc/xkb
> xkbcommon: ERROR: Abandoning symbols file "(unnamed)"
> xkbcommon: ERROR: Failed to compile xkb_symbols
> xkbcommon: ERROR: Failed to compile keymap
>
> The upstream xkeyboard-config change removing the compat
> mapping is:
> https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/commit/470ad2cd8fea84d7210377161d86b31999bb5ea6
>
> Make QEMU always ask for the 'ara' xkb layout, which should work on
> both older and newer xkeyboard-config. We leave the QEMU name for
> this keyboard layout as 'ar'; it is not the only one where our name
> for it deviates from the xkb standard name.
>
> Cc: qemu-stable@nongnu.org
> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
> Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1709
> ---
> pc-bios/keymaps/meson.build | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
With regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] pc-bios/keymaps: Use the official xkb name for Arabic layout, not the legacy synonym
2023-06-20 16:20 [PATCH] pc-bios/keymaps: Use the official xkb name for Arabic layout, not the legacy synonym Peter Maydell
` (2 preceding siblings ...)
2023-06-23 10:28 ` Daniel P. Berrangé
@ 2023-06-23 15:21 ` Alex Bennée
2023-06-23 15:30 ` Peter Maydell
3 siblings, 1 reply; 7+ messages in thread
From: Alex Bennée @ 2023-06-23 15:21 UTC (permalink / raw)
To: Peter Maydell; +Cc: qemu-devel, qemu-stable, Richard Henderson, Gerd Hoffmann
Peter Maydell <peter.maydell@linaro.org> writes:
> The xkb official name for the Arabic keyboard layout is 'ara'.
> However xkb has for at least the past 15 years also permitted it to
> be named via the legacy synonym 'ar'. In xkeyboard-config 2.39 this
> synoynm was removed, which breaks compilation of QEMU:
Queued to maintainer/june-2023-omnibus, thanks.
--
Alex Bennée
Virtualisation Tech Lead @ Linaro
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] pc-bios/keymaps: Use the official xkb name for Arabic layout, not the legacy synonym
2023-06-23 15:21 ` Alex Bennée
@ 2023-06-23 15:30 ` Peter Maydell
2023-06-23 15:54 ` Alex Bennée
0 siblings, 1 reply; 7+ messages in thread
From: Peter Maydell @ 2023-06-23 15:30 UTC (permalink / raw)
To: Alex Bennée
Cc: qemu-devel, qemu-stable, Richard Henderson, Gerd Hoffmann
On Fri, 23 Jun 2023 at 16:21, Alex Bennée <alex.bennee@linaro.org> wrote:
>
>
> Peter Maydell <peter.maydell@linaro.org> writes:
>
> > The xkb official name for the Arabic keyboard layout is 'ara'.
> > However xkb has for at least the past 15 years also permitted it to
> > be named via the legacy synonym 'ar'. In xkeyboard-config 2.39 this
> > synoynm was removed, which breaks compilation of QEMU:
>
> Queued to maintainer/june-2023-omnibus, thanks.
It's in my arm pullreq currently on list, so if that gets
in first you can drop it.
thanks
-- PMM
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] pc-bios/keymaps: Use the official xkb name for Arabic layout, not the legacy synonym
2023-06-23 15:30 ` Peter Maydell
@ 2023-06-23 15:54 ` Alex Bennée
0 siblings, 0 replies; 7+ messages in thread
From: Alex Bennée @ 2023-06-23 15:54 UTC (permalink / raw)
To: Peter Maydell; +Cc: qemu-devel, qemu-stable, Richard Henderson, Gerd Hoffmann
Peter Maydell <peter.maydell@linaro.org> writes:
> On Fri, 23 Jun 2023 at 16:21, Alex Bennée <alex.bennee@linaro.org> wrote:
>>
>>
>> Peter Maydell <peter.maydell@linaro.org> writes:
>>
>> > The xkb official name for the Arabic keyboard layout is 'ara'.
>> > However xkb has for at least the past 15 years also permitted it to
>> > be named via the legacy synonym 'ar'. In xkeyboard-config 2.39 this
>> > synoynm was removed, which breaks compilation of QEMU:
>>
>> Queued to maintainer/june-2023-omnibus, thanks.
>
> It's in my arm pullreq currently on list, so if that gets
> in first you can drop it.
Will do. The qemu-keymap changes where needed for most of the
fuzzer/clang failures I saw when upgrading the fedora container.
--
Alex Bennée
Virtualisation Tech Lead @ Linaro
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2023-06-23 15:56 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-20 16:20 [PATCH] pc-bios/keymaps: Use the official xkb name for Arabic layout, not the legacy synonym Peter Maydell
2023-06-20 16:25 ` Richard Henderson
2023-06-20 16:50 ` Philippe Mathieu-Daudé
2023-06-23 10:28 ` Daniel P. Berrangé
2023-06-23 15:21 ` Alex Bennée
2023-06-23 15:30 ` Peter Maydell
2023-06-23 15:54 ` Alex Bennée
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).