qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] fixed argument order for keymap-get in build
@ 2022-01-05 12:25 Dorian Bourgeoisat
  0 siblings, 0 replies; only message in thread
From: Dorian Bourgeoisat @ 2022-01-05 12:25 UTC (permalink / raw)
  To: qemu-devel; +Cc: Dorian Bourgeoisat, Gerd Hoffmann

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



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-01-05 15:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-05 12:25 [PATCH] fixed argument order for keymap-get in build Dorian Bourgeoisat

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).