|
Daniel P. Berrangé |
66ae40 |
From 4ace54be1d671fb67795368001f2628facd49418 Mon Sep 17 00:00:00 2001
|
|
Daniel P. Berrangé |
66ae40 |
From: Peter Maydell <peter.maydell@linaro.org>
|
|
Daniel P. Berrangé |
66ae40 |
Date: Tue, 20 Jun 2023 17:20:24 +0100
|
|
Daniel P. Berrangé |
66ae40 |
Subject: [PATCH] pc-bios/keymaps: Use the official xkb name for Arabic layout,
|
|
Daniel P. Berrangé |
66ae40 |
not the legacy synonym
|
|
Daniel P. Berrangé |
66ae40 |
MIME-Version: 1.0
|
|
Daniel P. Berrangé |
66ae40 |
Content-Type: text/plain; charset=UTF-8
|
|
Daniel P. Berrangé |
66ae40 |
Content-Transfer-Encoding: 8bit
|
|
Daniel P. Berrangé |
66ae40 |
|
|
Daniel P. Berrangé |
66ae40 |
The xkb official name for the Arabic keyboard layout is 'ara'.
|
|
Daniel P. Berrangé |
66ae40 |
However xkb has for at least the past 15 years also permitted it to
|
|
Daniel P. Berrangé |
66ae40 |
be named via the legacy synonym 'ar'. In xkeyboard-config 2.39 this
|
|
Daniel P. Berrangé |
66ae40 |
synoynm was removed, which breaks compilation of QEMU:
|
|
Daniel P. Berrangé |
66ae40 |
|
|
Daniel P. Berrangé |
66ae40 |
FAILED: pc-bios/keymaps/ar
|
|
Daniel P. Berrangé |
66ae40 |
/home/fred/qemu-git/src/qemu/build-full/qemu-keymap -f pc-bios/keymaps/ar -l ar
|
|
Daniel P. Berrangé |
66ae40 |
xkbcommon: ERROR: Couldn't find file "symbols/ar" in include paths
|
|
Daniel P. Berrangé |
66ae40 |
xkbcommon: ERROR: 1 include paths searched:
|
|
Daniel P. Berrangé |
66ae40 |
xkbcommon: ERROR: /usr/share/X11/xkb
|
|
Daniel P. Berrangé |
66ae40 |
xkbcommon: ERROR: 3 include paths could not be added:
|
|
Daniel P. Berrangé |
66ae40 |
xkbcommon: ERROR: /home/fred/.config/xkb
|
|
Daniel P. Berrangé |
66ae40 |
xkbcommon: ERROR: /home/fred/.xkb
|
|
Daniel P. Berrangé |
66ae40 |
xkbcommon: ERROR: /etc/xkb
|
|
Daniel P. Berrangé |
66ae40 |
xkbcommon: ERROR: Abandoning symbols file "(unnamed)"
|
|
Daniel P. Berrangé |
66ae40 |
xkbcommon: ERROR: Failed to compile xkb_symbols
|
|
Daniel P. Berrangé |
66ae40 |
xkbcommon: ERROR: Failed to compile keymap
|
|
Daniel P. Berrangé |
66ae40 |
|
|
Daniel P. Berrangé |
66ae40 |
The upstream xkeyboard-config change removing the compat
|
|
Daniel P. Berrangé |
66ae40 |
mapping is:
|
|
Daniel P. Berrangé |
66ae40 |
https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/commit/470ad2cd8fea84d7210377161d86b31999bb5ea6
|
|
Daniel P. Berrangé |
66ae40 |
|
|
Daniel P. Berrangé |
66ae40 |
Make QEMU always ask for the 'ara' xkb layout, which should work on
|
|
Daniel P. Berrangé |
66ae40 |
both older and newer xkeyboard-config. We leave the QEMU name for
|
|
Daniel P. Berrangé |
66ae40 |
this keyboard layout as 'ar'; it is not the only one where our name
|
|
Daniel P. Berrangé |
66ae40 |
for it deviates from the xkb standard name.
|
|
Daniel P. Berrangé |
66ae40 |
|
|
Daniel P. Berrangé |
66ae40 |
Cc: qemu-stable@nongnu.org
|
|
Daniel P. Berrangé |
66ae40 |
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
|
|
Daniel P. Berrangé |
66ae40 |
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
|
|
Daniel P. Berrangé |
66ae40 |
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
|
|
Daniel P. Berrangé |
66ae40 |
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
|
|
Daniel P. Berrangé |
66ae40 |
Message-id: 20230620162024.1132013-1-peter.maydell@linaro.org
|
|
Daniel P. Berrangé |
66ae40 |
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1709
|
|
Daniel P. Berrangé |
66ae40 |
(cherry picked from commit 497fad38979c16b6412388927401e577eba43d26)
|
|
Daniel P. Berrangé |
66ae40 |
---
|
|
Daniel P. Berrangé |
66ae40 |
pc-bios/keymaps/meson.build | 2 +-
|
|
Daniel P. Berrangé |
66ae40 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
Daniel P. Berrangé |
66ae40 |
|
|
Daniel P. Berrangé |
66ae40 |
diff --git a/pc-bios/keymaps/meson.build b/pc-bios/keymaps/meson.build
|
|
Daniel P. Berrangé |
66ae40 |
index 158a3b410c..1cbcdebefa 100644
|
|
Daniel P. Berrangé |
66ae40 |
--- a/pc-bios/keymaps/meson.build
|
|
Daniel P. Berrangé |
66ae40 |
+++ b/pc-bios/keymaps/meson.build
|
|
Daniel P. Berrangé |
66ae40 |
@@ -1,5 +1,5 @@
|
|
Daniel P. Berrangé |
66ae40 |
keymaps = {
|
|
Daniel P. Berrangé |
66ae40 |
- 'ar': '-l ar',
|
|
Daniel P. Berrangé |
66ae40 |
+ 'ar': '-l ara',
|
|
Daniel P. Berrangé |
66ae40 |
'bepo': '-l fr -v dvorak',
|
|
Daniel P. Berrangé |
66ae40 |
'cz': '-l cz',
|
|
Daniel P. Berrangé |
66ae40 |
'da': '-l dk',
|
|
Daniel P. Berrangé |
66ae40 |
--
|
|
Daniel P. Berrangé |
66ae40 |
2.41.0
|
|
Daniel P. Berrangé |
66ae40 |
|