qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] fixed argument order for keymap-get in build


From: Dorian Bourgeoisat
Subject: [PATCH] fixed argument order for keymap-get in build
Date: Wed, 5 Jan 2022 13:25:51 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.1

Hello, trying to compile QEMU on the latest ArchLinux update (2022-01-05), I 
encounter a bug where keymap-gen is called with the wrong argument order.

$ ../ui/keycodemapdb/tools/keymap-gen code-map --lang glib2 --varname 
qemu_input_map_linux_to_qcode ../ui/keycodemapdb/data/keymaps.csv linux qcode
usage: keymap-gen [-h] [--lang LANG] [--varname VARNAME]
                  {code-map,code-table,name-map,name-table,code-docs,name-docs} 
...
keymap-gen: error: unrecognized arguments: --lang --varname linux qcode

This patch makes the meson build file compliant with the new argument order.

Signed-off-by: Dorian Bourgeoisat <dorian.bourgeoisat@telecom-paris.fr>
---
 ui/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui/meson.build b/ui/meson.build
index 64286ba150..87ecace041 100644
--- a/ui/meson.build
+++ b/ui/meson.build
@@ -161,9 +161,9 @@ if have_system or xkbcommon.found()
                   capture: true,
                   input: files('keycodemapdb/data/keymaps.csv'),
                   command: [python, files('keycodemapdb/tools/keymap-gen'),
-                            'code-map',
                             '--lang', 'glib2',
                             '--varname', 
'qemu_input_map_@0@_to_@1@'.format(e[0], e[1]),
+                            'code-map',
                             '@INPUT0@', e[0], e[1]])
   endforeach
 endif
-- 
2.34.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]