diff options
| author | Michael Forney <mforney@mforney.org> | 2018-11-02 15:44:51 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2018-11-03 01:20:57 -0700 |
| commit | ad59e960b0170c57ed954336508b8ade4f899fc5 (patch) | |
| tree | e61be5a6533c4a8d8a846c5822569f2acb009633 | |
| parent | 067d550834f05b8941764d1c53d9875dddd0ff36 (diff) | |
libinput: Update to 1.12.2
| -rw-r--r-- | pkg/libinput/config.h | 4 | ||||
| -rw-r--r-- | pkg/libinput/gen.lua | 33 | ||||
| -rw-r--r-- | pkg/libinput/libinput-version.h | 32 | ||||
| -rw-r--r-- | pkg/libinput/rev | 2 | ||||
| m--------- | pkg/libinput/src | 0 |
5 files changed, 69 insertions, 2 deletions
diff --git a/pkg/libinput/config.h b/pkg/libinput/config.h index 888b45b1..92e45ce0 100644 --- a/pkg/libinput/config.h +++ b/pkg/libinput/config.h @@ -1,3 +1,5 @@ -#define LIBINPUT_VERSION "1.11.3" #define HAVE_LIBWACOM 0 +#define HAVE_VERSIONSORT 1 +#define LIBINPUT_QUIRKS_DIR "/share/libinput" +#define LIBINPUT_QUIRKS_OVERRIDE_FILE "/etc/libinput/local-overrides.quirks" #define _GNU_SOURCE 1 diff --git a/pkg/libinput/gen.lua b/pkg/libinput/gen.lua index 00b20bc2..c9fb3553 100644 --- a/pkg/libinput/gen.lua +++ b/pkg/libinput/gen.lua @@ -37,6 +37,7 @@ lib('libinput.a', [[ filter-trackpoint.c netlink-seat.c path-seat.c + quirks.c timer.c ) $builddir/pkg/( @@ -45,4 +46,36 @@ lib('libinput.a', [[ ) ]]) +local quirks = { + '10-generic-keyboard.quirks', + '10-generic-lid.quirks', + '10-generic-trackball.quirks', + '30-vendor-aiptek.quirks', + '30-vendor-alps.quirks', + '30-vendor-cyapa.quirks', + '30-vendor-elantech.quirks', + '30-vendor-huion.quirks', + '30-vendor-ibm.quirks', + '30-vendor-kensington.quirks', + '30-vendor-logitech.quirks', + '30-vendor-microsoft.quirks', + '30-vendor-razer.quirks', + '30-vendor-synaptics.quirks', + '30-vendor-wacom.quirks', + '30-vendor-vmware.quirks', + '50-system-acer.quirks', + '50-system-apple.quirks', + '50-system-asus.quirks', + '50-system-chicony.quirks', + '50-system-cyborg.quirks', + '50-system-dell.quirks', + '50-system-google.quirks', + '50-system-hp.quirks', + '50-system-lenovo.quirks', + '50-system-system76.quirks', +} +for _, quirk in ipairs(quirks) do + file('share/libinput/'..quirk, '644', '$srcdir/quirks/'..quirk) +end + fetch 'git' diff --git a/pkg/libinput/libinput-version.h b/pkg/libinput/libinput-version.h new file mode 100644 index 00000000..985f348c --- /dev/null +++ b/pkg/libinput/libinput-version.h @@ -0,0 +1,32 @@ +/* + * Copyright © 2013 Jonas Ådahl + * + * Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice (including the next + * paragraph) shall be included in all copies or substantial portions of the + * Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + * DEALINGS IN THE SOFTWARE. + */ + +#ifndef LIBINPUT_VERSION_H +#define LIBINPUT_VERSION_H + +#define LIBINPUT_VERSION_MAJOR 1 +#define LIBINPUT_VERSION_MINOR 12 +#define LIBINPUT_VERSION_MICRO 2 +#define LIBINPUT_VERSION "1.12.2" + +#endif diff --git a/pkg/libinput/rev b/pkg/libinput/rev index 60d3b2f4..b6a7d89c 100644 --- a/pkg/libinput/rev +++ b/pkg/libinput/rev @@ -1 +1 @@ -15 +16 diff --git a/pkg/libinput/src b/pkg/libinput/src -Subproject a4114a9b82255b767220393e5396d8e4dfa43fb +Subproject ad9c50a1b70f7fbce0719c9d36ca5695b0980f2 |
