logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git
commit: ad59e960b0170c57ed954336508b8ade4f899fc5
parent 067d550834f05b8941764d1c53d9875dddd0ff36
Author: Michael Forney <mforney@mforney.org>
Date:   Fri,  2 Nov 2018 15:44:51 -0700

libinput: Update to 1.12.2

Diffstat:

Mpkg/libinput/config.h4+++-
Mpkg/libinput/gen.lua33+++++++++++++++++++++++++++++++++
Apkg/libinput/libinput-version.h32++++++++++++++++++++++++++++++++
Mpkg/libinput/rev2+-
4 files changed, 69 insertions(+), 2 deletions(-)

diff --git 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 @@ -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 @@ -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 @@ -1 +1 @@ -15 +16