1. 16 Oct, 2017 2 commits
    • Daniel P. Berrange's avatar
      ui: add keycodemapdb repository as a GIT submodule · 92712822
      Daniel P. Berrange authored
      The https://gitlab.com/keycodemap/keycodemapdb/ repo contains a
      data file mapping between all the different scancode/keycode/keysym
      sets that are known, and a tool to auto-generate lookup tables for
      different combinations.
      It is used by GTK-VNC, SPICE-GTK and libvirt for mapping keys.
      Using it in QEMU will let us replace many hand written lookup
      tables with auto-generated tables from a master data source,
      reducing bugs. Adding new QKeyCodes will now only require the
      master table to be updated, all ~20 other tables will be
      automatically updated to follow.
      Signed-off-by: 's avatarDaniel P. Berrange <berrange@redhat.com>
      Message-id: 20170929101201.21039-4-berrange@redhat.com
      [ kraxel: fix build ]
      [ kraxel: switch repo to qemu.git mirror ]
      Signed-off-by: 's avatarGerd Hoffmann <kraxel@redhat.com>
    • Daniel P. Berrange's avatar
      docker: don't rely on submodules existing in the main checkout · 47bb908d
      Daniel P. Berrange authored
      When building the tarball to pass into the docker/vm test image,
      the code relies on the git submodules being checked out in the
      main checkout.
      ie if the developer has not run 'git submodule update --init dtc'
      many of the docker tests will fail due to the libfdt package not
      being present in the test images. Patchew manually checks out the
      dtc submodule in the main git checkout, but this is a bad idea.
      When running tests we want to have a predictable set of submodules
      included in the source that's tested. The build environment is
      completely independent of the developers host OS, so the submodules
      the developer has checked out should not be considered relevant for
      the tests.
      This changes the archive-source.sh script so that it clones the
      current git checkout into a temporary directory, checks out a
      fixed set of submodules, builds the tarball and finally removes
      the temporary git clone.
      Signed-off-by: 's avatarDaniel P. Berrange <berrange@redhat.com>
      Message-id: 20170929101201.21039-3-berrange@redhat.com
      Signed-off-by: 's avatarGerd Hoffmann <kraxel@redhat.com>
  2. 22 Sep, 2017 1 commit