{"id":819552,"url":"http://patchwork.ozlabs.org/api/covers/819552/?format=json","web_url":"http://patchwork.ozlabs.org/project/qemu-devel/cover/20170928120621.30288-1-berrange@redhat.com/","project":{"id":14,"url":"http://patchwork.ozlabs.org/api/projects/14/?format=json","name":"QEMU Development","link_name":"qemu-devel","list_id":"qemu-devel.nongnu.org","list_email":"qemu-devel@nongnu.org","web_url":"","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20170928120621.30288-1-berrange@redhat.com>","list_archive_url":null,"date":"2017-09-28T12:06:15","name":"[v7,0/6] Initial support for keycodemapdb GIT submodule","submitter":{"id":2694,"url":"http://patchwork.ozlabs.org/api/people/2694/?format=json","name":"Daniel P. Berrangé","email":"berrange@redhat.com"},"mbox":"http://patchwork.ozlabs.org/project/qemu-devel/cover/20170928120621.30288-1-berrange@redhat.com/mbox/","series":[{"id":5547,"url":"http://patchwork.ozlabs.org/api/series/5547/?format=json","web_url":"http://patchwork.ozlabs.org/project/qemu-devel/list/?series=5547","date":"2017-09-28T12:06:16","name":"Initial support for keycodemapdb GIT submodule","version":7,"mbox":"http://patchwork.ozlabs.org/series/5547/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/covers/819552/comments/","headers":{"Return-Path":"<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=nongnu.org\n\t(client-ip=2001:4830:134:3::11; helo=lists.gnu.org;\n\tenvelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n\treceiver=<UNKNOWN>)","ext-mx09.extmail.prod.ext.phx2.redhat.com;\n\tdmarc=none (p=none dis=none) header.from=redhat.com","ext-mx09.extmail.prod.ext.phx2.redhat.com;\n\tspf=fail smtp.mailfrom=berrange@redhat.com"],"Received":["from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11])\n\t(using TLSv1 with cipher AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3y2tjW280rz9t3v\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 28 Sep 2017 22:07:27 +1000 (AEST)","from localhost ([::1]:58958 helo=lists.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.71) (envelope-from\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>)\n\tid 1dxXbA-0000Fb-OA\n\tfor incoming@patchwork.ozlabs.org; Thu, 28 Sep 2017 08:07:24 -0400","from eggs.gnu.org ([2001:4830:134:3::10]:44454)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <berrange@redhat.com>) id 1dxXaQ-0000Co-AR\n\tfor qemu-devel@nongnu.org; Thu, 28 Sep 2017 08:06:42 -0400","from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <berrange@redhat.com>) id 1dxXaK-0007iz-73\n\tfor qemu-devel@nongnu.org; Thu, 28 Sep 2017 08:06:38 -0400","from mx1.redhat.com ([209.132.183.28]:43174)\n\tby eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)\n\t(Exim 4.71) (envelope-from <berrange@redhat.com>) id 1dxXaJ-0007iZ-V2\n\tfor qemu-devel@nongnu.org; Thu, 28 Sep 2017 08:06:32 -0400","from smtp.corp.redhat.com\n\t(int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby mx1.redhat.com (Postfix) with ESMTPS id E283A27796C;\n\tThu, 28 Sep 2017 12:06:30 +0000 (UTC)","from t460.redhat.com (unknown [10.33.36.70])\n\tby smtp.corp.redhat.com (Postfix) with ESMTP id 70D6690C66;\n\tThu, 28 Sep 2017 12:06:25 +0000 (UTC)"],"DMARC-Filter":"OpenDMARC Filter v1.3.2 mx1.redhat.com E283A27796C","From":"\"Daniel P. Berrange\" <berrange@redhat.com>","To":"qemu-devel@nongnu.org","Date":"Thu, 28 Sep 2017 13:06:15 +0100","Message-Id":"<20170928120621.30288-1-berrange@redhat.com>","X-Scanned-By":"MIMEDefang 2.79 on 10.5.11.14","X-Greylist":"Sender IP whitelisted, not delayed by milter-greylist-4.5.16\n\t(mx1.redhat.com [10.5.110.38]);\n\tThu, 28 Sep 2017 12:06:31 +0000 (UTC)","X-detected-operating-system":"by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]\n\t[fuzzy]","X-Received-From":"209.132.183.28","Subject":"[Qemu-devel] [PATCH v7 0/6] Initial support for keycodemapdb GIT\n\tsubmodule","X-BeenThere":"qemu-devel@nongnu.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Id":"<qemu-devel.nongnu.org>","List-Unsubscribe":"<https://lists.nongnu.org/mailman/options/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>","List-Archive":"<http://lists.nongnu.org/archive/html/qemu-devel/>","List-Post":"<mailto:qemu-devel@nongnu.org>","List-Help":"<mailto:qemu-devel-request@nongnu.org?subject=help>","List-Subscribe":"<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=subscribe>","Cc":"Peter Maydell <peter.maydell@linaro.org>, Fam Zheng <famz@redhat.com>,\n\tGerd Hoffmann <kraxel@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>","Errors-To":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org","Sender":"\"Qemu-devel\"\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>"},"content":"This patch series is an update to:\n\n  v1: https://lists.gnu.org/archive/html/qemu-devel/2017-08/msg02047.html\n  v2: https://lists.gnu.org/archive/html/qemu-devel/2017-08/msg02471.html\n  v3: https://lists.gnu.org/archive/html/qemu-devel/2017-08/msg02517.html\n  v4: https://lists.gnu.org/archive/html/qemu-devel/2017-08/msg02708.html\n  v5: https://lists.gnu.org/archive/html/qemu-devel/2017-09/msg02950.html\n  v6: https://lists.gnu.org/archive/html/qemu-devel/2017-09/msg07673.html\n\nThe keycodemap project[1] provides a database mapping between many different\nkeysym/keycode/scancode sets, along with a tool to generate mapping/lookup\ntables in various programming languages. It is already used by GTK-VNC,\nSPICE-GTK and libvirt.\n\nIn this v6 posting I have dropped most of the conversion to keycodemapdb\nacross the devices / UI frontends. This only converts the core input\nAPIs, and wires up the git submodule build system mechanics. The remaining\npatches from the v5 posting will be submitted separately, once this initial\nconversion is mergable.\n\nChanged in v7:\n\n - subdir-dtc and ui/input-keymap-* make rules must depend on\n   the submodule status file to ensure build ordering (patchew)\n - Use 'git stash' to ensure archive-source.sh keeps non-committed\n   changes for docker/vm testing (Fam)\n\nChanged in v6:\n\n - Switched back to using a git submodule\n - Wire up Makefile rules so that git submodule is automatically\n   refreshed when needed prior to build.\n - Fix source tarball creation for docker/vm tests wrt submodules\n\nChanged in v5:\n\n - Don't try to initialize git submodule at all\n - Store generate keymap files in GIT\n\nChanged in v4:\n\n - Run submodule update in source_dir for vpath builds (patchew)\n - Force submodule update in docker rules in case they\n   are run without configure (patchew)\n\nChanged in v3:\n\n - Ensure docker builds pull in keycodemapdb submodule (patchew)\n - Add compat with py26 for RHEL-6 in keycodemapdb tools (patchew)\n - Initialize submodule in configure script (patchew)\n\nChanged in v2:\n\n - Change filename pattern to 'ui/input-keymap-$SRC-to-$DST.c'\n   and map names 'qemu_input_map_$SRC_to_$DST'  (Eric)\n - Fix typos (Eric)\n - Drop changes to InputKeyEvent struct (Eric)\n - Fix VPATH build (patchew)\n - Fix code style errors (patchew)\n\n[1] https://gitlab.com/keycodemap/keycodemapdb/\n\n\nDaniel P. Berrange (6):\n  build: automatically handle GIT submodule checkout for dtc\n  docker: don't rely on submodules existing in the main checkout\n  ui: add keycodemapdb repository as a GIT submodule\n  ui: convert common input code to keycodemapdb\n  ui: convert key events to QKeyCodes immediately\n  ui: don't export qemu_input_event_new_key\n\n .gitignore                |   2 +\n .gitmodules               |   3 +\n Makefile                  |  23 +++-\n configure                 |  52 +++++---\n include/ui/input.h        |  12 +-\n scripts/archive-source.sh |  30 ++++-\n scripts/git-submodule.sh  |  31 +++++\n ui/Makefile.objs          |  21 +++\n ui/input-keymap.c         | 326 +++-------------------------------------------\n ui/input.c                |  26 ++--\n ui/keycodemapdb           |   1 +\n 11 files changed, 182 insertions(+), 345 deletions(-)\n create mode 100755 scripts/git-submodule.sh\n create mode 160000 ui/keycodemapdb"}