From dee393d6f54bf6ca7ee76caedca34dcfd4560449f090a1c75f785edd579b3c28 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 25 Jan 2015 13:35:30 +0000 Subject: [PATCH 1/5] libinput-0.8.0 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/libinput?expand=0&rev=15 --- baselibs.conf | 2 +- libinput-0.7.0.tar.xz | 3 --- libinput-0.7.0.tar.xz.sig | Bin 72 -> 0 bytes libinput-0.8.0.tar.xz | 3 +++ libinput-0.8.0.tar.xz.sig | Bin 0 -> 72 bytes libinput.changes | 21 +++++++++++++++++++++ libinput.spec | 9 +++++---- 7 files changed, 30 insertions(+), 8 deletions(-) delete mode 100644 libinput-0.7.0.tar.xz delete mode 100644 libinput-0.7.0.tar.xz.sig create mode 100644 libinput-0.8.0.tar.xz create mode 100644 libinput-0.8.0.tar.xz.sig diff --git a/baselibs.conf b/baselibs.conf index 37cf16c..ce6f874 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1 +1 @@ -libinput5 +libinput7 diff --git a/libinput-0.7.0.tar.xz b/libinput-0.7.0.tar.xz deleted file mode 100644 index 6b498c3..0000000 --- a/libinput-0.7.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:129f485afe5e4a9394641293991c97cb99f5f3338340d0d65b704ff463d1579e -size 440228 diff --git a/libinput-0.7.0.tar.xz.sig b/libinput-0.7.0.tar.xz.sig deleted file mode 100644 index e27312130223e36ed906e60d7f25d58d8becb50f0af1806191a4d989dc2f02b0..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 72 zcmV-O0Jr~$Mg#y60ssaD0#t!Ia{vkn5aK(2aI|OezcHZzpKJ7cXwP!g%*DfHj{qOd ep~qy@uK=KvyKm&GynuR5MGVSlujP$B&fW6g(IF%N diff --git a/libinput-0.8.0.tar.xz b/libinput-0.8.0.tar.xz new file mode 100644 index 0000000..2b4a796 --- /dev/null +++ b/libinput-0.8.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:57747436ac6a2ed9fe7745093acdd96fdce699bad6074c6e89450367d74192c7 +size 504908 diff --git a/libinput-0.8.0.tar.xz.sig b/libinput-0.8.0.tar.xz.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..56aae81c3853edb06035834c7d0c48d71b867c06d646f1280ab3a7b810330663 GIT binary patch literal 72 zcmV-O0Jr~$Mg#y60ssaD0#vs$egFyy5aK(2aI|Oezq_IUo;tE}iQhgY3#xi+y=H8h eEfDd5Jpi9l2-M|dWlDHHAB0-j95C9VVn2C?L>sFB literal 0 HcmV?d00001 diff --git a/libinput.changes b/libinput.changes index f0df5a0..d6de44c 100644 --- a/libinput.changes +++ b/libinput.changes @@ -1,3 +1,24 @@ +------------------------------------------------------------------- +Sun Jan 25 13:33:04 UTC 2015 - jengelh@inai.de + +- Update to new upstream release 0.8.0 +* Improved touchpad support. For example, it is not necessary + anymore to lift all fingers when switching from scrolling to + pointer movement. +* Scroll event types were merged. Previously we supplied horiz/vert + scrolling as separate event, even in diagnonal scrolling. + Now each scroll event may contain one or more axes. +* Support for axis sources: a scroll event can be of source finger, + wheel or continuous. This enables callers to implement kinetic + ("fling") scrolling. +* Scroll wheel events now return the data in degrees. A matching + udev hwdb system is in place to adjust this when needed. A + "discrete" scroll value is available if you are interested in + the clicks only. +* Left-handed configuration was renamed. For future tablet support, + the button-based naming was inappropriate. A simple + search/replace fixes this. + ------------------------------------------------------------------- Fri Dec 12 02:00:29 UTC 2014 - jengelh@inai.de diff --git a/libinput.spec b/libinput.spec index 3ed2dbd..5dff33f 100644 --- a/libinput.spec +++ b/libinput.spec @@ -1,7 +1,7 @@ # # spec file for package libinput # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,8 +17,8 @@ Name: libinput -%define lname libinput5 -Version: 0.7.0 +%define lname libinput7 +Version: 0.8.0 Release: 0 Summary: Input device and event processing library License: HPND @@ -37,6 +37,7 @@ Source4: %name.keyring BuildRequires: doxygen BuildRequires: fdupes BuildRequires: gcc-c++ +BuildRequires: grep BuildRequires: pkgconfig BuildRequires: xz BuildRequires: pkgconfig(check) >= 0.9.10 @@ -102,7 +103,7 @@ export XDG_RUNTIME_DIR="$PWD/xdg" %files -n %lname %defattr(-,root,root) -%_libdir/libinput.so.5* +%_libdir/libinput.so.7* %files devel %defattr(-,root,root) From 64674a0621676a9edc3af6f70dd2b52c891cb6f609d8866ad46915a4c6fb7a0a Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 10 Feb 2015 17:51:43 +0000 Subject: [PATCH 2/5] Accepting request 285123 from GNOME:Next Update (That has to wait for GNOME:Next push for factory unfortunately, but I guess no harm in having it updated in devel-project) OBS-URL: https://build.opensuse.org/request/show/285123 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/libinput?expand=0&rev=16 --- libinput-0.10.0.tar.xz | 3 +++ libinput-0.10.0.tar.xz.sig | Bin 0 -> 72 bytes libinput-0.8.0.tar.xz | 3 --- libinput-0.8.0.tar.xz.sig | Bin 72 -> 0 bytes libinput.changes | 22 ++++++++++++++++++++++ libinput.spec | 4 ++-- 6 files changed, 27 insertions(+), 5 deletions(-) create mode 100644 libinput-0.10.0.tar.xz create mode 100644 libinput-0.10.0.tar.xz.sig delete mode 100644 libinput-0.8.0.tar.xz delete mode 100644 libinput-0.8.0.tar.xz.sig diff --git a/libinput-0.10.0.tar.xz b/libinput-0.10.0.tar.xz new file mode 100644 index 0000000..928f28e --- /dev/null +++ b/libinput-0.10.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4ce001f80ff1a6bf547784d02125648bf8abe60db7d3d5e0020294d5215c1441 +size 512652 diff --git a/libinput-0.10.0.tar.xz.sig b/libinput-0.10.0.tar.xz.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..19e0094b43a2d6533632b1fd2088447c74ba48bcaafd99240a30c603963d5d22 GIT binary patch literal 72 zcmV-O0Jr~$Mg#y60ssaD0#wuwZ~zJk5aK(2aI|OezlqZTpqB2wYK-YOU$;mbMU$yZ ed1wV(oB*FnQ4x0%ZM*Bvj3H*~>-xvGbg)jWLLQF* literal 0 HcmV?d00001 diff --git a/libinput-0.8.0.tar.xz b/libinput-0.8.0.tar.xz deleted file mode 100644 index 2b4a796..0000000 --- a/libinput-0.8.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:57747436ac6a2ed9fe7745093acdd96fdce699bad6074c6e89450367d74192c7 -size 504908 diff --git a/libinput-0.8.0.tar.xz.sig b/libinput-0.8.0.tar.xz.sig deleted file mode 100644 index 56aae81c3853edb06035834c7d0c48d71b867c06d646f1280ab3a7b810330663..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 72 zcmV-O0Jr~$Mg#y60ssaD0#vs$egFyy5aK(2aI|Oezq_IUo;tE}iQhgY3#xi+y=H8h eEfDd5Jpi9l2-M|dWlDHHAB0-j95C9VVn2C?L>sFB diff --git a/libinput.changes b/libinput.changes index d6de44c..4efe24c 100644 --- a/libinput.changes +++ b/libinput.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Mon Feb 9 01:35:57 UTC 2015 - zaitor@opensuse.org + +- Update to new upstream release 0.10.0 +* A call to libinput_device_config_accel_set_speed() with a value + of NAn triggered an assert() in libinput. +* Pointer devices with absolute axes (such as the ones used in VMs) + had an uninitialized pointer acceleration speed, triggering a + warning in the xorg libinput driver. +- Changes from upstream release 0.9.0 +* Support for hovering fingers on touchpads. Some touchpads detect + fingers before actually touching the surface causing unexpected + motion events. libinput now handles such touchpads. +* Click methods are now configurable, see below for more details. +* Support for the Lenovo X1 Carbon 3rd was added. Note that this + requires kernel patches and a udev hwdb addition. +- API additions: +* libinput_device_config_click_get_methods +* libinput_device_config_click_get_method +* libinput_device_config_click_get_default_method +* libinput_device_config_click_set_method + ------------------------------------------------------------------- Sun Jan 25 13:33:04 UTC 2015 - jengelh@inai.de diff --git a/libinput.spec b/libinput.spec index 5dff33f..600c045 100644 --- a/libinput.spec +++ b/libinput.spec @@ -1,7 +1,7 @@ # # spec file for package libinput # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ Name: libinput %define lname libinput7 -Version: 0.8.0 +Version: 0.10.0 Release: 0 Summary: Input device and event processing library License: HPND From 7a80f2571c6b3ccf3252271ee7f853038a02c12d34edbead4df416834bc6c04a Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sat, 14 Mar 2015 20:30:52 +0000 Subject: [PATCH 3/5] libinput-0.12 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/libinput?expand=0&rev=17 --- baselibs.conf | 2 +- libinput-0.10.0.tar.xz | 3 --- libinput-0.10.0.tar.xz.sig | Bin 72 -> 0 bytes libinput-0.12.0.tar.xz | 3 +++ libinput-0.12.0.tar.xz.sig | Bin 0 -> 72 bytes libinput.changes | 14 ++++++++++++++ libinput.spec | 20 ++++++++++++-------- 7 files changed, 30 insertions(+), 12 deletions(-) delete mode 100644 libinput-0.10.0.tar.xz delete mode 100644 libinput-0.10.0.tar.xz.sig create mode 100644 libinput-0.12.0.tar.xz create mode 100644 libinput-0.12.0.tar.xz.sig diff --git a/baselibs.conf b/baselibs.conf index ce6f874..f1cbf63 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1 +1 @@ -libinput7 +libinput10 diff --git a/libinput-0.10.0.tar.xz b/libinput-0.10.0.tar.xz deleted file mode 100644 index 928f28e..0000000 --- a/libinput-0.10.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4ce001f80ff1a6bf547784d02125648bf8abe60db7d3d5e0020294d5215c1441 -size 512652 diff --git a/libinput-0.10.0.tar.xz.sig b/libinput-0.10.0.tar.xz.sig deleted file mode 100644 index 19e0094b43a2d6533632b1fd2088447c74ba48bcaafd99240a30c603963d5d22..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 72 zcmV-O0Jr~$Mg#y60ssaD0#wuwZ~zJk5aK(2aI|OezlqZTpqB2wYK-YOU$;mbMU$yZ ed1wV(oB*FnQ4x0%ZM*Bvj3H*~>-xvGbg)jWLLQF* diff --git a/libinput-0.12.0.tar.xz b/libinput-0.12.0.tar.xz new file mode 100644 index 0000000..f98312e --- /dev/null +++ b/libinput-0.12.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6e0ce9dd9ff04e9ac382dffb7fa332b94f093227a197a9c8189e87de6d88b55a +size 538364 diff --git a/libinput-0.12.0.tar.xz.sig b/libinput-0.12.0.tar.xz.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..b3c759dce4c35955511e8a3d27fa02db337aaf0b59ecaac71039034b3fde6a97 GIT binary patch literal 72 zcmV-O0Jr~$Mg#y60ssaD0#yAy&HxGt5aK(2aI|Oezg^J)ofvz4^ZO~AkPgu+HE3T6#$$IX~2|7HjNOdu2h literal 0 HcmV?d00001 diff --git a/libinput.changes b/libinput.changes index 4efe24c..0d98ebc 100644 --- a/libinput.changes +++ b/libinput.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Sat Mar 14 20:24:07 UTC 2015 - jengelh@inai.de + +- Update to new upstream release 0.12.0 +* The new features (since 0.11) are device groups and the use of + udev tagging for device identification. Device groups are a + labelling system to allow callers to identify which libinput + devices are part of the same physical device. +* libinput's API and ABI are now stable +* Fixes to correctly handle Protocol A multitouch devices. +* Buttonless touchpads are now supported (e.g. the touch portion of + the Wacom Intuos tablets), on those touchpads tapping is enabled + by default. + ------------------------------------------------------------------- Mon Feb 9 01:35:57 UTC 2015 - zaitor@opensuse.org diff --git a/libinput.spec b/libinput.spec index 600c045..ae22f33 100644 --- a/libinput.spec +++ b/libinput.spec @@ -17,8 +17,9 @@ Name: libinput -%define lname libinput7 -Version: 0.10.0 +%define lname libinput10 +%define rversion 0.12.0 +Version: 0.12 Release: 0 Summary: Input device and event processing library License: HPND @@ -27,8 +28,9 @@ Url: http://www.freedesktop.org/wiki/Software/libinput/ #Git-Clone: git://anongit.freedesktop.org/wayland/libinput #Git-Web: http://cgit.freedesktop.org/wayland/libinput/ -Source: http://freedesktop.org/software/libinput/%name-%version.tar.xz -Source2: http://freedesktop.org/software/libinput/%name-%version.tar.xz.sig +#DL-URL: http://freedesktop.org/software/libinput/ +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 #git#BuildRequires: autoconf >= 2.64 @@ -76,17 +78,18 @@ This package contains all necessary include files and libraries needed to develop applications that require libinput. %prep -%setup -q +%setup -qn %name-%rversion %build if [ ! -e configure ]; then autoreconf -fi; fi; -%configure --disable-static --includedir="%_includedir/%name" +%configure --disable-static --includedir="%_includedir/%name" \ + --with-udev-dir="%_libexecdir/udev" make %{?_smp_mflags} V=1 %install -make DESTDIR="%buildroot" install %{?_smp_mflags} +%make_install rm -f "%buildroot/%_libdir"/*.la %fdupes %buildroot/%_prefix @@ -103,12 +106,13 @@ export XDG_RUNTIME_DIR="$PWD/xdg" %files -n %lname %defattr(-,root,root) -%_libdir/libinput.so.7* +%_libdir/libinput.so.10* %files devel %defattr(-,root,root) %_includedir/%name/ %_libdir/pkgconfig/libinput.pc %_libdir/libinput.so +%_libexecdir/udev/ %changelog From 04057cf6486d38fc89b9d9ee4c56e9ba0bc69d031de9a5cbf97b577c1a5d55f8 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sat, 14 Mar 2015 20:43:37 +0000 Subject: [PATCH 4/5] udev helper should not be in devel OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/libinput?expand=0&rev=18 --- libinput.spec | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/libinput.spec b/libinput.spec index ae22f33..b9c687f 100644 --- a/libinput.spec +++ b/libinput.spec @@ -52,9 +52,19 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build 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 +Group: System/Base + +# These programs may be absorbed into udev main at a future time +%description udev +Sets libinput properties on udev objects such that LIBINPUT_* +variables are available inside udev rules. + %package -n %lname Summary: Input device and event processing library Group: System/Libraries +Recommends: %name-udev %description -n %lname libinput is a library that handles input devices for display servers and @@ -104,6 +114,10 @@ export XDG_RUNTIME_DIR="$PWD/xdg" %post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig +%files udev +%defattr(-,root,root) +%_libexecdir/udev/ + %files -n %lname %defattr(-,root,root) %_libdir/libinput.so.10* @@ -113,6 +127,5 @@ export XDG_RUNTIME_DIR="$PWD/xdg" %_includedir/%name/ %_libdir/pkgconfig/libinput.pc %_libdir/libinput.so -%_libexecdir/udev/ %changelog From 84c855184a6e513ccbd35e703b45572f82e70d73ab1aabf6842e7e8cdf555b53 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sat, 14 Mar 2015 20:46:26 +0000 Subject: [PATCH 5/5] Description update OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/libinput?expand=0&rev=19 --- libinput.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libinput.spec b/libinput.spec index b9c687f..49ae073 100644 --- a/libinput.spec +++ b/libinput.spec @@ -58,8 +58,10 @@ Group: System/Base # These programs may be absorbed into udev main at a future time %description udev -Sets libinput properties on udev objects such that LIBINPUT_* -variables are available inside udev rules. +The libinput udev helper rule will set the LIBINPUT_DEVICE_GROUP +variable for event devices. Device groups are a labelling system to +allow callers to identify which libinput devices are part of the same +physical device. %package -n %lname Summary: Input device and event processing library