qemu/pc-bios/keymaps
Peter Maydell 497fad3897 pc-bios/keymaps: Use the official xkb name for Arabic layout, not the legacy synonym
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:
470ad2cd8f

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>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-id: 20230620162024.1132013-1-peter.maydell@linaro.org
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1709
2023-06-23 11:46:02 +01:00
..
ar keymaps: update 2020-08-21 17:06:17 -04:00
bepo keymaps: update 2020-08-21 17:06:17 -04:00
cz keymaps: update 2020-08-21 17:06:17 -04:00
da keymaps: update 2020-08-21 17:06:17 -04:00
de keymaps: update 2020-08-21 17:06:17 -04:00
de-ch keymaps: update 2020-08-21 17:06:17 -04:00
en-gb keymaps: update 2020-08-21 17:06:17 -04:00
en-us keymaps: update 2020-08-21 17:06:17 -04:00
es keymaps: update 2020-08-21 17:06:17 -04:00
et keymaps: update 2020-08-21 17:06:17 -04:00
fi keymaps: update 2020-08-21 17:06:17 -04:00
fo keymaps: update 2020-08-21 17:06:17 -04:00
fr keymaps: update 2020-08-21 17:06:17 -04:00
fr-be keymaps: update 2020-08-21 17:06:17 -04:00
fr-ca keymaps: update 2020-08-21 17:06:17 -04:00
fr-ch keymaps: update 2020-08-21 17:06:17 -04:00
hr keymaps: update 2020-08-21 17:06:17 -04:00
hu keymaps: update 2020-08-21 17:06:17 -04:00
is keymaps: update 2020-08-21 17:06:17 -04:00
it keymaps: update 2020-08-21 17:06:17 -04:00
ja keymaps: update 2020-08-21 17:06:17 -04:00
lt keymaps: update 2020-08-21 17:06:17 -04:00
lv keymaps: update 2020-08-21 17:06:17 -04:00
meson.build pc-bios/keymaps: Use the official xkb name for Arabic layout, not the legacy synonym 2023-06-23 11:46:02 +01:00
mk keymaps: update 2020-08-21 17:06:17 -04:00
nl keymaps: update 2020-08-21 17:06:17 -04:00
no keymaps: update 2020-08-21 17:06:17 -04:00
pl keymaps: update 2020-08-21 17:06:17 -04:00
pt keymaps: update 2020-08-21 17:06:17 -04:00
pt-br keymaps: update 2020-08-21 17:06:17 -04:00
ru keymaps: update 2020-08-21 17:06:17 -04:00
sl
sv
th keymaps: update 2020-08-21 17:06:17 -04:00
tr keymaps: update 2020-08-21 17:06:17 -04:00