From 33b195f93300cbaf2b598eeb768b1bbf0bc903106c304623100d343e2fe7d30c Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 4 Aug 2015 17:27:37 +0000 Subject: [PATCH] broom it up OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/libinput?expand=0&rev=42 --- ...hpad-serial-synaptics-needto-fake-new-touches.patch | 4 +++- libinput.changes | 10 +++------- libinput.spec | 4 ++-- 3 files changed, 8 insertions(+), 10 deletions(-) diff --git a/libinput-touchpad-serial-synaptics-needto-fake-new-touches.patch b/libinput-touchpad-serial-synaptics-needto-fake-new-touches.patch index c45df32..7380b4f 100644 --- a/libinput-touchpad-serial-synaptics-needto-fake-new-touches.patch +++ b/libinput-touchpad-serial-synaptics-needto-fake-new-touches.patch @@ -1,3 +1,6 @@ +From: Peter Hutterer +References: http://lists.freedesktop.org/archives/wayland-devel/2015-August/023782.html + On the 4.1 kernels synaptics pretends to have 3 slots (the serial fw only does 2). This was added to avoid cursor jumps but has since been reverted for 4.2 (kernel commit dbf3c37086, 4.1.3 is still buggy). In some cases a TRIPLETAP @@ -58,4 +61,3 @@ index a683d9a..5ef03d5 100644 -- 2.4.3 - diff --git a/libinput.changes b/libinput.changes index fc3d334..8b9cba0 100644 --- a/libinput.changes +++ b/libinput.changes @@ -20,21 +20,17 @@ Tue Aug 4 16:35:20 UTC 2015 - zaitor@opensuse.org * libinput switched internally to use µs for all timestamps which will help those devices that have a sampling frequency of more than 1000Hz. - * Thumb detection, added for 0.20 has seen fine-tuning to reduce + * Thumb detection, added for 0.20, has seen fine-tuning to reduce the number of misdetection. Likewise, the gesture code has seen a bunch of changes to tune the reliability of gesture detection, especially on semi-mt touchpads. * Scrolling is now more reactive too, with reduced thresholds before scrolling kicks in. - * We've also merged a bunch of device-specific device handling to + * Merged a bunch of device-specific device handling to work around quirks and deficiencies in some touchpad hardware. - * Note that if your distribution is on kernel 4.1.x, you should - add this patch here to your distribution's package unless - kernel dbf3c37086 is in your tree already. - http://lists.freedesktop.org/archives/wayland-devel/2015-August/023782.html - Add libinput-touchpad-serial-synaptics-needto-fake-new-touches.patch - following upstreams advice. + following upstreams advice for kernel 4.1. ------------------------------------------------------------------- Sat Jul 18 08:28:06 UTC 2015 - tittiatcoke@gmail.com diff --git a/libinput.spec b/libinput.spec index bc54e2a..c082d53 100644 --- a/libinput.spec +++ b/libinput.spec @@ -33,7 +33,7 @@ Source: http://freedesktop.org/software/libinput/%name-%rversion.tar.xz Source2: http://freedesktop.org/software/libinput/%name-%rversion.tar.xz.sig Source3: baselibs.conf Source4: %name.keyring -Patch0: libinput-touchpad-serial-synaptics-needto-fake-new-touches.patch +Patch1: libinput-touchpad-serial-synaptics-needto-fake-new-touches.patch #git#BuildRequires: autoconf >= 2.64 #git#BuildRequires: automake >= 1.11 #git#BuildRequires: libtool >= 2.2 @@ -100,7 +100,7 @@ to develop applications that require libinput. %prep %setup -qn %name-%rversion -%patch0 -p1 +%patch -P 1 -p1 %build if [ ! -e configure ]; then