From 1a7217469d2e85557ecd5e461b4c2a4dd7df0ea0c2c2c2c50d1e913373deb1a4 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 17 Nov 2015 10:53:28 +0000 Subject: [PATCH 1/3] Accepting request 344872 from home:Zaitor New upstream release, new stable branch. First point release from that branch. OBS-URL: https://build.opensuse.org/request/show/344872 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/libinput?expand=0&rev=53 --- libinput-1.0.2.tar.xz | 3 - libinput-1.0.2.tar.xz.sig | Bin 72 -> 0 bytes libinput-1.1.1.tar.xz | 3 + libinput-1.1.1.tar.xz.sig | Bin 0 -> 72 bytes ...al-synaptics-needto-fake-new-touches.patch | 63 ------------------ libinput.changes | 36 ++++++++++ libinput.spec | 8 +-- 7 files changed, 42 insertions(+), 71 deletions(-) delete mode 100644 libinput-1.0.2.tar.xz delete mode 100644 libinput-1.0.2.tar.xz.sig create mode 100644 libinput-1.1.1.tar.xz create mode 100644 libinput-1.1.1.tar.xz.sig delete mode 100644 libinput-touchpad-serial-synaptics-needto-fake-new-touches.patch diff --git a/libinput-1.0.2.tar.xz b/libinput-1.0.2.tar.xz deleted file mode 100644 index a9435c7..0000000 --- a/libinput-1.0.2.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a3d105f86bd21f8cfb7b97ed018ef025453b1cce98ff33bd57f564c4515cefb9 -size 798948 diff --git a/libinput-1.0.2.tar.xz.sig b/libinput-1.0.2.tar.xz.sig deleted file mode 100644 index 529c7c741601792b3207a0bc3deb4bbf7b0e72c08a4d494a549c5b99365f4e48..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 72 zcmV-O0Jr~$Mg#y60ssaD0#+v^{{RXJ5aK(2aI|OezkNLbpLnhNM1pt=gDZcO#mg9Z e3VW$OasZ!D0{-;Wx0|q-(5eBQA(8Q;KGq_W6dm#a diff --git a/libinput-1.1.1.tar.xz b/libinput-1.1.1.tar.xz new file mode 100644 index 0000000..0eb958a --- /dev/null +++ b/libinput-1.1.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2de2b433ddc73ba1bfd4d309fd873d0ced6937cf1a7a94e4afbf18ddd8f8dd17 +size 791276 diff --git a/libinput-1.1.1.tar.xz.sig b/libinput-1.1.1.tar.xz.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..2930de4020bdb65a45a092a0f087f2e0b44d09489ac640e216617ab7b97714ff GIT binary patch literal 72 zcmV-O0Jr~$Mg#y60ssaD0#->61po>O5aK(2aI|OezeLCYpGfl07=B?@e$W(HYLZKt e4l<23(g2@8Qr_dK`L}Enx6l%vVBv}Bn*5hsS{>~G literal 0 HcmV?d00001 diff --git a/libinput-touchpad-serial-synaptics-needto-fake-new-touches.patch b/libinput-touchpad-serial-synaptics-needto-fake-new-touches.patch deleted file mode 100644 index 7380b4f..0000000 --- a/libinput-touchpad-serial-synaptics-needto-fake-new-touches.patch +++ /dev/null @@ -1,63 +0,0 @@ -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 -may be triggered without slot 2 ever activating. - -While there are still those kernels out there, work around this bug by opening -a new touch point where none exists if the fake finger count exceeds the slot -count. - -Reported-by: Jan Alexander Steffens -Signed-off-by: Peter Hutterer -Tested-by: Jan Alexander Steffens -Reviewed-by: Hans de Goede ---- -Changes to v2: -- split out the handling instead of having a tmp state variable, see Hans' - comments from v2 - -Mainly sending this to the list again so I have a link to point people to. -If you're on 4.1.x add this patch to your distribution package. - - src/evdev-mt-touchpad.c | 22 ++++++++++++++++------ - 1 file changed, 16 insertions(+), 6 deletions(-) - -diff --git a/src/evdev-mt-touchpad.c b/src/evdev-mt-touchpad.c -index a683d9a..5ef03d5 100644 ---- a/src/evdev-mt-touchpad.c -+++ b/src/evdev-mt-touchpad.c -@@ -369,13 +369,23 @@ tp_restore_synaptics_touches(struct tp_dispatch *tp, - for (i = 0; i < tp->num_slots; i++) { - struct tp_touch *t = tp_get_touch(tp, i); - -- if (t->state != TOUCH_END) -+ switch(t->state) { -+ case TOUCH_HOVERING: -+ case TOUCH_BEGIN: -+ case TOUCH_UPDATE: - continue; -- -- /* new touch, move it through begin to update immediately */ -- tp_new_touch(tp, t, time); -- tp_begin_touch(tp, t, time); -- t->state = TOUCH_UPDATE; -+ case TOUCH_NONE: -+ /* new touch, move it through to begin immediately */ -+ tp_new_touch(tp, t, time); -+ tp_begin_touch(tp, t, time); -+ break; -+ case TOUCH_END: -+ /* touch just ended, we need need to restore it to update */ -+ tp_new_touch(tp, t, time); -+ tp_begin_touch(tp, t, time); -+ t->state = TOUCH_UPDATE; -+ break; -+ } - } - } - --- -2.4.3 diff --git a/libinput.changes b/libinput.changes index 7cb1fb4..56fb2f5 100644 --- a/libinput.changes +++ b/libinput.changes @@ -1,3 +1,39 @@ +------------------------------------------------------------------- +Tue Nov 17 10:06:44 UTC 2015 - zaitor@opensuse.org + +- Update to version 1.1.1: + * Two significant fixes and a couple of other cleanups. + * Pointer acceleration is now initialized for pointer-like device + without buttons. Some devices have rel x/y axes but no buttons + and aren't tagged as pointers by udev. If such a device sent an + event it could cause a crash in libinput. + * An error in in the struct list handling caused device groups to + write to invalid memory. The immediate effect observed was that + the log priority changed seemingly randomly, but different + optimization options may cause other effects. + +------------------------------------------------------------------- +Wed Oct 28 23:05:43 UTC 2015 - zaitor@opensuse.org + +- Update to version 1.1.0: + * This is a relatively small update, most of the bugfixes have + found their way into the libinput 1.0.x releases. + * The big addition here is the introduction of pointer + acceleration profiles, or, more specifically, the "flat" + profile. By default, libinput provides some (device-specific) + pointer acceleration as outlined in + http://wayland.freedesktop.org/libinput/doc/latest/pointer-acceleration.html + * There is significant demand for the device to move + unaccelerated, i.e. the device's virtual movements to move 1:1 + to the physical movements. Changing the device's acceleration + profile to the "flat" profile achieves exactly that. For a + device in the flat profile, the speed setting range merely + multiples the deltas with a constant value (for a speed of 0, + the default, the value is 1). +- Drop + libinput-touchpad-serial-synaptics-needto-fake-new-touches.patch + We have kernel-4.2.x in Tumbleweed now. + ------------------------------------------------------------------- Mon Oct 26 20:14:05 UTC 2015 - zaitor@opensuse.org diff --git a/libinput.spec b/libinput.spec index 96fd070..f872258 100644 --- a/libinput.spec +++ b/libinput.spec @@ -18,8 +18,8 @@ Name: libinput %define lname libinput10 -%define rversion 1.0.2 -Version: 1.0.2 +%define rversion 1.1.1 +Version: 1.1.1 Release: 0 Summary: Input device and event processing library License: MIT @@ -33,7 +33,6 @@ 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 -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 @@ -54,7 +53,7 @@ libinput is a library that handles input devices for display servers and other applications that need to directly deal with input devices. %package udev -Summary: libinput integration into udev +Summary: Libinput integration into udev Group: System/Base # These programs may be absorbed into udev main at a future time @@ -100,7 +99,6 @@ to develop applications that require libinput. %prep %setup -qn %name-%rversion -%patch -P 1 -p1 %build if [ ! -e configure ]; then From 44893132d930ef730a5352c4f2afaf135d1f1354c811591c2aa86e842413fd17 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 17 Nov 2015 10:55:21 +0000 Subject: [PATCH 2/3] - has outgrown wayland - libinput is a name and therefore is to retain its case style OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/libinput?expand=0&rev=54 --- libinput.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libinput.spec b/libinput.spec index f872258..47bb260 100644 --- a/libinput.spec +++ b/libinput.spec @@ -53,7 +53,7 @@ libinput is a library that handles input devices for display servers and other applications that need to directly deal with input devices. %package udev -Summary: Libinput integration into udev +Summary: libinput integration into udev Group: System/Base # These programs may be absorbed into udev main at a future time @@ -86,7 +86,7 @@ This tool lists the locally recognised devices and their respective configuration options and configuration defaults. %package devel -Summary: Development files for the Wayland Input Device Library +Summary: Development files for the Input Device Library Group: Development/Libraries/C and C++ Requires: %lname = %version From f4822743e816cc914745ff35cbf8997b7ef75bd6129a875e11012e5ac1ab7fd8 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 24 Nov 2015 13:01:01 +0000 Subject: [PATCH 3/3] Accepting request 346044 from home:alarrosa:branches:KDE:Qt5 - List the package contents inside /lib/udev since we don't want libinput-udev to own /lib/udev itself, which is already owned by the udev package. - Modified summary of libinput-udev to begin with a capital letter as required by rpmlint. OBS-URL: https://build.opensuse.org/request/show/346044 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/libinput?expand=0&rev=55 --- libinput.changes | 9 +++++++++ libinput.spec | 7 +++++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/libinput.changes b/libinput.changes index 56fb2f5..7401461 100644 --- a/libinput.changes +++ b/libinput.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Tue Nov 24 12:44:41 UTC 2015 - alarrosa@suse.com + +- List the package contents inside /lib/udev since we don't + want libinput-udev to own /lib/udev itself, which is already owned + by the udev package. +- Modified summary of libinput-udev to begin with a capital letter + as required by rpmlint. + ------------------------------------------------------------------- Tue Nov 17 10:06:44 UTC 2015 - zaitor@opensuse.org diff --git a/libinput.spec b/libinput.spec index 47bb260..dff6bd2 100644 --- a/libinput.spec +++ b/libinput.spec @@ -53,7 +53,7 @@ libinput is a library that handles input devices for display servers and other applications that need to directly deal with input devices. %package udev -Summary: libinput integration into udev +Summary: Input device and event processing library integration into udev Group: System/Base # These programs may be absorbed into udev main at a future time @@ -126,7 +126,10 @@ export XDG_RUNTIME_DIR="$PWD/xdg" %files udev %defattr(-,root,root) -%_libexecdir/udev/ +%_libexecdir/udev/hwdb.d +%_libexecdir/udev/libinput-device-group +%_libexecdir/udev/libinput-model-quirks +%_libexecdir/udev/rules.d %files -n %lname %defattr(-,root,root)