mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-09 00:17:31 +00:00
extra/libinput to 1.7.0-1.2
This commit is contained in:
parent
acd737646a
commit
4ea92c76ce
6 changed files with 42 additions and 10 deletions
|
@ -1,7 +1,7 @@
|
|||
From c48c84a47ae45db3591d99237b72f9ac3b84de48 Mon Sep 17 00:00:00 2001
|
||||
From: Peter Hutterer <peter.hutterer@who-t.net>
|
||||
Date: Thu, 20 Apr 2017 14:59:23 +1000
|
||||
Subject: [PATCH 1/4] touchpad: move the pressure range to a hwdb entry
|
||||
Subject: [PATCH 1/5] touchpad: move the pressure range to a hwdb entry
|
||||
|
||||
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
|
||||
---
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
From a96753126be75ef8aee5035ad5be2df36e617877 Mon Sep 17 00:00:00 2001
|
||||
From: Paul Kocialkowski <contact@paulk.fr>
|
||||
Date: Fri, 21 Apr 2017 13:31:56 +0200
|
||||
Subject: [PATCH 2/4] udev: Add name-based input device detection without dmi
|
||||
Subject: [PATCH 2/5] udev: Add name-based input device detection without dmi
|
||||
|
||||
Some devices do not use dmi at all (this is the case on most non-x86
|
||||
platforms, such as arm and arm64) but should able to select specific
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
From 7137ea7c201c1f3d7f7c2feb749f5c311ee6ea6c Mon Sep 17 00:00:00 2001
|
||||
From: Paul Kocialkowski <contact@paulk.fr>
|
||||
Date: Fri, 21 Apr 2017 13:31:57 +0200
|
||||
Subject: [PATCH 3/4] udev: Add support for I2C Elan touchpads (without dmi)
|
||||
Subject: [PATCH 3/5] udev: Add support for I2C Elan touchpads (without dmi)
|
||||
|
||||
This adds support for I2C Elan touchpads, such as the ones found in
|
||||
various ARM CrOS devices. These devices do not use dmi.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
From 424058c86ef56a80fc9723e0afd1695681a145b8 Mon Sep 17 00:00:00 2001
|
||||
From: Paul Kocialkowski <contact@paulk.fr>
|
||||
Date: Fri, 21 Apr 2017 13:31:58 +0200
|
||||
Subject: [PATCH 4/4] udev: Decrease high pressure value for Elantech touchpads
|
||||
Subject: [PATCH 4/5] udev: Decrease high pressure value for Elantech touchpads
|
||||
|
||||
The high pressure value for Elantech touchpads (both PS/2 and I2C) is
|
||||
not adapted to various devices, on which the touchpad is barely usable.
|
||||
|
|
28
extra/libinput/0005-Don-t-pair-touchpad-and-lid-switch.patch
Normal file
28
extra/libinput/0005-Don-t-pair-touchpad-and-lid-switch.patch
Normal file
|
@ -0,0 +1,28 @@
|
|||
From 5811dd08f263a88613807ac3261f31c0a11ae507 Mon Sep 17 00:00:00 2001
|
||||
From: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
Date: Sun, 23 Apr 2017 16:56:55 -0600
|
||||
Subject: [PATCH 5/5] Don't pair touchpad and lid switch
|
||||
|
||||
Kills Xorg immediately upon any touchpad or keyboard entry on the Samsung Chromebook Plus.
|
||||
|
||||
Signed-off-by: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
---
|
||||
src/evdev-mt-touchpad.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/evdev-mt-touchpad.c b/src/evdev-mt-touchpad.c
|
||||
index 184d37d..bb034c5 100644
|
||||
--- a/src/evdev-mt-touchpad.c
|
||||
+++ b/src/evdev-mt-touchpad.c
|
||||
@@ -1635,7 +1635,7 @@ tp_interface_device_added(struct evdev_device *device,
|
||||
|
||||
tp_pair_trackpoint(device, added_device);
|
||||
tp_dwt_pair_keyboard(device, added_device);
|
||||
- tp_pair_lid_switch(device, added_device);
|
||||
+ /*tp_pair_lid_switch(device, added_device);*/
|
||||
|
||||
if (tp->sendevents.current_mode !=
|
||||
LIBINPUT_CONFIG_SEND_EVENTS_DISABLED_ON_EXTERNAL_MOUSE)
|
||||
--
|
||||
2.12.2
|
||||
|
|
@ -4,10 +4,11 @@
|
|||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - add proposed upstream patches to fix Elan I2C touchpads
|
||||
# - patch to not crash Xorg on the Chromebook Plus
|
||||
|
||||
pkgname=libinput
|
||||
pkgver=1.7.0
|
||||
pkgrel=1.1
|
||||
pkgrel=1.2
|
||||
pkgdesc="Input device management and event handling library"
|
||||
arch=(i686 x86_64)
|
||||
url="https://www.freedesktop.org/wiki/Software/libinput/"
|
||||
|
@ -20,13 +21,15 @@ source=(https://freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz{,.sig}
|
|||
0001-touchpad-move-the-pressure-range-to-a-hwdb-entry.patch
|
||||
0002-udev-Add-name-based-input-device-detection-without-d.patch
|
||||
0003-udev-Add-support-for-I2C-Elan-touchpads-without-dmi.patch
|
||||
0004-udev-Decrease-high-pressure-value-for-Elantech-touch.patch)
|
||||
0004-udev-Decrease-high-pressure-value-for-Elantech-touch.patch
|
||||
0005-Don-t-pair-touchpad-and-lid-switch.patch)
|
||||
sha512sums=('9058eab813ea3de230835155ca843f248127cbafaf1aecc9a2e209a0215b090beef0468cc863a24320f8d0db1f2863baba680e2416e9e409e958b2c1d18e43a1'
|
||||
'SKIP'
|
||||
'96a368290c0d2993da2d4527546642345a41127dcd4ed52908c252086884f5107f026817c1e4c8abccc73c5dbfcd80fb5295685196795f9606b28dafe4b60576'
|
||||
'2b9c903ad01c14a834dceef0cb8d889fc9f79e52517076e0ee7b3396d0647d10c11a4e4ad0615cbd37f6272e3bee5cd37681d3436786f850b24171fdd99742c5'
|
||||
'031b3de6bf9201313028ceaa889580fdf43a63a520d205a61c77e1bb0c72decca69bf0a6a2e966e11098444629ca02328afdc636f4dac28106bbe32babcf93a6'
|
||||
'6c1201a4bf64facb8384bbee3c1cd86c7b522332f6d105ea316bfbba18f3e740257527ba3b657952543dcf3e107406cf49f1f9b9e66963fd3272d7bce37bcacd')
|
||||
'12649bc2b1103bed2c2050bea43661fd4363745d997a2e07ef44c096279532aa95fbf8108ac4330e481c16d6732cbc26b00333d0e62d5e93cf6be4d8d0ac04d6'
|
||||
'f6bd66dbb7421c09ef0f58d911d6432693db901715c8e24f4faddffd03a3b3d0929c9f88e5413821da2e7efe73e8b9f391b39472fbedeb09aec416ea466a25c5'
|
||||
'dd96f2699948b055ad4491d24e98c7f62ada678a5cebc360e0242cf20383528c33d3879d0b34c20c446ccac2c3cb7daab9355aff2d12cdc674623736aa8f710c'
|
||||
'c7dcdae77e195409dae4a3a01bec4e5b6cc997fa80644d09538cfa3700977f4c2562338b45725a7ac0ef115b0b04a184de16c9105a2e11b10033d0ea86c59533'
|
||||
'29b20078c1b8b4f8f33de3c39529351d2e37d37f3f7cb10f4aef6f05e120285c2b987d2ec94ea5875bc0cc101c6d9b02353b09b8e4927c396584fc8f5fe1846f')
|
||||
validpgpkeys=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF') # Peter Hutterer (Who-T) <office@who-t.net>
|
||||
|
||||
prepare() {
|
||||
|
@ -35,6 +38,7 @@ prepare() {
|
|||
patch -p1 -i ../0002-udev-Add-name-based-input-device-detection-without-d.patch
|
||||
patch -p1 -i ../0003-udev-Add-support-for-I2C-Elan-touchpads-without-dmi.patch
|
||||
patch -p1 -i ../0004-udev-Decrease-high-pressure-value-for-Elantech-touch.patch
|
||||
patch -p1 -i ../0005-Don-t-pair-touchpad-and-lid-switch.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
|
|
Loading…
Reference in a new issue