From 66a89476f3f5427461eeadca6ed5ebe09c9ee3e0f00f9d8e514b5b51dc9abce1 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sat, 15 Jul 2017 22:57:53 +0000 Subject: [PATCH 1/4] Accepting request 510534 from home:Zaitor Resub, most of spec cleaner changes reverted. OBS-URL: https://build.opensuse.org/request/show/510534 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/libinput?expand=0&rev=123 --- libinput-1.7.3.tar.xz | 3 --- libinput-1.7.3.tar.xz.sig | Bin 95 -> 0 bytes libinput-1.8.0.tar.xz | 3 +++ libinput-1.8.0.tar.xz.sig | Bin 0 -> 95 bytes libinput-rpmlintrc | 3 +++ libinput.changes | 41 ++++++++++++++++++++++++++++++ libinput.spec | 52 ++++++++++++++++++-------------------- 7 files changed, 72 insertions(+), 30 deletions(-) delete mode 100644 libinput-1.7.3.tar.xz delete mode 100644 libinput-1.7.3.tar.xz.sig create mode 100644 libinput-1.8.0.tar.xz create mode 100644 libinput-1.8.0.tar.xz.sig create mode 100644 libinput-rpmlintrc diff --git a/libinput-1.7.3.tar.xz b/libinput-1.7.3.tar.xz deleted file mode 100644 index 8389c61..0000000 --- a/libinput-1.7.3.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:096d612d2711f0caa2de544976ff3729e6233511ab373808644cc2dd5affcb1d -size 922464 diff --git a/libinput-1.7.3.tar.xz.sig b/libinput-1.7.3.tar.xz.sig deleted file mode 100644 index e665101c2e913fb9e0fc3e30109566397e500f7ce9b04fbfb05b8f593e9e4c59..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 95 zcmeB(WnmCxVvrS6WUx`Hj~ANI2{MOw*wFmQ1Sz(m}xFf3T~ vb(ycil|z-6a`Gg;y#FB|)^f~;VXm-hmws>N>K%(OHfO9`R&hN4$r4Qf$Y3dd diff --git a/libinput-1.8.0.tar.xz b/libinput-1.8.0.tar.xz new file mode 100644 index 0000000..5a051c7 --- /dev/null +++ b/libinput-1.8.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f8c9dbc31bf549008486258ebfa328d3dbc749c0029c6168e46949c24cf19076 +size 939708 diff --git a/libinput-1.8.0.tar.xz.sig b/libinput-1.8.0.tar.xz.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..26ab2a4962e33d6d2234549e864f8de18185dc302247c55471e0a17a246d771b GIT binary patch literal 95 zcmeB(WnmCxVvrS6WUx`Hj~ANI2{MMhrv!obBT025ich+&=z wE2H1+qKE&U7?j>Tx^n%~FUtHD3=8IOSkHK3P19W#x!A=5>(V~%t2@#M004<9F8}}l literal 0 HcmV?d00001 diff --git a/libinput-rpmlintrc b/libinput-rpmlintrc new file mode 100644 index 0000000..b237d48 --- /dev/null +++ b/libinput-rpmlintrc @@ -0,0 +1,3 @@ +addFilter("shlib-policy-nonversioned-dir .*/usr/lib/libinput"); +addFilter("shlib-policy-nonversioned-dir .*/usr/lib/udev"); +addFilter("shlib-policy-missing-lib"); diff --git a/libinput.changes b/libinput.changes index 9a8fffb..232365c 100644 --- a/libinput.changes +++ b/libinput.changes @@ -1,3 +1,44 @@ +------------------------------------------------------------------- +Mon Jul 3 19:26:37 UTC 2017 - zaitor@opensuse.org + +- Update to version 1.8.0: + * libinput debug-gui is now installed by default unless disabled. + * The biggest change in this release is that libinput has + switched to meson as primary build system. + * The second big change that is user-visible is that we have + switched to a git-like approach to handling the helper tools + for libinput. The previously installed tools of + libinput-debug-events and libinput-list-devices are now + "libinput debug-events" and "libinput list-devices", + respectively. For the 1.8.x releases compat-wrappers are in + place. + * Tablet stylus events now average across multiple events to stop + the wobbly lines previously produced by libinput. + * On touchpads that provide MT_TOOL_PALM, i.e. + in-kernel/in-firmware palm detection we now honor that bit and + treat that touch as palm. + * Tapping has seen some fixes for previously broken timestamps in + the multi-tap use-cases. + * The lid switch handling now uses a udev property to tell us + whether a keyboard is external or internal. Together with some + improved state tracking it should make the lid switch handling + more reliable on devices where the lid switch is broken. The + property is also used for disable-while-typing which makes it + easier to special-case hardware. +- Switch buildsystem to meson following upstream changes. +- Following the above, add meson BuildRequires. +- Add graphviz, pkgconfig(cairo), pkgconfig(glib-2.0) and + pkgconfig(gtk+-3.0) BuildRequires, new dependencies (for + debug-gui). +- Pass tests=false to meson, not possible to run on the obs. +- Following the above, drop pkgconfig(check) BuildRequires, no + longer needed. +- Drop xz BuildRequires: Not needed for any current openSUSE + release. +- Drop autoconf, automake and libtool #git BuildRequires, no longer + needed when building with meson. +- Add libinput-rpmlintrc, silence erronus rpmlint warnings. + ------------------------------------------------------------------- Fri Jun 9 07:58:39 UTC 2017 - jengelh@inai.de diff --git a/libinput.spec b/libinput.spec index 8c12bfa..9133175 100644 --- a/libinput.spec +++ b/libinput.spec @@ -18,7 +18,7 @@ Name: libinput %define lname libinput10 -Version: 1.7.3 +Version: 1.8.0 Release: 0 Summary: Input device and event processing library License: MIT @@ -32,21 +32,21 @@ Source: http://freedesktop.org/software/libinput/%name-%version.tar.xz Source2: http://freedesktop.org/software/libinput/%name-%version.tar.xz.sig Source3: baselibs.conf Source4: %name.keyring -#git#BuildRequires: autoconf >= 2.64 -#git#BuildRequires: automake >= 1.11 -#git#BuildRequires: libtool >= 2.2 +Source5: libinput-rpmlintrc BuildRequires: doxygen BuildRequires: fdupes BuildRequires: gcc-c++ +BuildRequires: graphviz >= 2.26 BuildRequires: grep +BuildRequires: meson >= 0.40.0 BuildRequires: pkgconfig -BuildRequires: xz -BuildRequires: pkgconfig(check) >= 0.9.10 +BuildRequires: pkgconfig(cairo) +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(libevdev) >= 0.4 BuildRequires: pkgconfig(libudev) BuildRequires: pkgconfig(libwacom) >= 0.20 BuildRequires: pkgconfig(mtdev) >= 1.1.0 -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description libinput is a library that handles input devices for display servers and @@ -100,51 +100,49 @@ to develop applications that require libinput. %setup -qn %name-%version %build -if [ ! -e configure ]; then - autoreconf -fi -fi; -%configure --disable-static --includedir="%_includedir/%name" \ - --with-udev-dir="%_libexecdir/udev" -make %{?_smp_mflags} V=1 +%meson \ + -Dudev-dir="%_libexecdir/udev" \ + -Dtests=false \ + %nil +%meson_build %install -%make_install +%meson_install rm -f "%buildroot/%_libdir"/*.la %fdupes %buildroot/%_prefix -%check -%if !0%{?qemu_user_space_build} -mkdir xdg -chmod 700 xdg -export XDG_RUNTIME_DIR="$PWD/xdg" -make check %{?_smp_mflags} V=1 || : -%endif - %post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig %files udev -%defattr(-,root,root) %_libexecdir/udev/hwdb.d %_libexecdir/udev/libinput-device-group %_libexecdir/udev/libinput-model-quirks %_libexecdir/udev/rules.d %files -n %lname -%defattr(-,root,root) %doc COPYING %_libdir/libinput.so.10* %files tools -%defattr(-,root,root) +%_bindir/libinput %_bindir/libinput-debug-events %_bindir/libinput-list-devices +%dir %_libexecdir/libinput +%_libexecdir/libinput/libinput-debug-events +%_libexecdir/libinput/libinput-debug-gui +%_libexecdir/libinput/libinput-list-devices +%_libexecdir/libinput/libinput-measure +%_libexecdir/libinput/libinput-measure-touchpad-tap %_mandir/man1/libinput-debug-events.1.gz +%_mandir/man1/libinput-debug-gui.1.gz %_mandir/man1/libinput-list-devices.1.gz +%_mandir/man1/libinput-measure-touchpad-tap.1.gz +%_mandir/man1/libinput-measure.1.gz +%_mandir/man1/libinput.1.gz %files devel -%defattr(-,root,root) -%_includedir/%name/ +%_includedir/libinput.h %_libdir/pkgconfig/libinput.pc %_libdir/libinput.so From e81cc0f214178a9867b1914399d78b8e45ecb35632c2c2e1a1b150ab2be57139 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sat, 15 Jul 2017 22:58:43 +0000 Subject: [PATCH 2/4] Considering planned changes for %_libexecdir, it is worth noting that udev data is stuffed into /usr/lib/udev, not /usr/libexec. OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/libinput?expand=0&rev=124 --- libinput.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libinput.spec b/libinput.spec index 9133175..890e7ec 100644 --- a/libinput.spec +++ b/libinput.spec @@ -101,7 +101,7 @@ to develop applications that require libinput. %build %meson \ - -Dudev-dir="%_libexecdir/udev" \ + -Dudev-dir="%_prefix/lib/udev" \ -Dtests=false \ %nil %meson_build From 121ab1bc417d5f4b2f1f5db98cfa9d4a8edacf86a08bf127a27d4a2db93f72e9 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sat, 15 Jul 2017 23:00:59 +0000 Subject: [PATCH 3/4] libexec/udev ought to be prefix/lib/udev OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/libinput?expand=0&rev=125 --- libinput.spec | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/libinput.spec b/libinput.spec index 890e7ec..8601053 100644 --- a/libinput.spec +++ b/libinput.spec @@ -115,10 +115,10 @@ rm -f "%buildroot/%_libdir"/*.la %postun -n %lname -p /sbin/ldconfig %files udev -%_libexecdir/udev/hwdb.d -%_libexecdir/udev/libinput-device-group -%_libexecdir/udev/libinput-model-quirks -%_libexecdir/udev/rules.d +%_prefix/lib/udev/hwdb.d +%_prefix/lib/udev/libinput-device-group +%_prefix/lib/udev/libinput-model-quirks +%_prefix/lib/udev/rules.d %files -n %lname %doc COPYING @@ -128,12 +128,12 @@ rm -f "%buildroot/%_libdir"/*.la %_bindir/libinput %_bindir/libinput-debug-events %_bindir/libinput-list-devices -%dir %_libexecdir/libinput -%_libexecdir/libinput/libinput-debug-events -%_libexecdir/libinput/libinput-debug-gui -%_libexecdir/libinput/libinput-list-devices -%_libexecdir/libinput/libinput-measure -%_libexecdir/libinput/libinput-measure-touchpad-tap +%dir %_prefix/lib/libinput +%_prefix/lib/libinput/libinput-debug-events +%_prefix/lib/libinput/libinput-debug-gui +%_prefix/lib/libinput/libinput-list-devices +%_prefix/lib/libinput/libinput-measure +%_prefix/lib/libinput/libinput-measure-touchpad-tap %_mandir/man1/libinput-debug-events.1.gz %_mandir/man1/libinput-debug-gui.1.gz %_mandir/man1/libinput-list-devices.1.gz From 892a8af6a36addf75928f64c505f25969741067fc842aa12514f5aaa6c8c3549 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 24 Jul 2017 20:24:53 +0000 Subject: [PATCH 4/4] Accepting request 512334 from home:Zaitor New stable release OBS-URL: https://build.opensuse.org/request/show/512334 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/libinput?expand=0&rev=126 --- libinput-1.8.0.tar.xz | 3 --- libinput-1.8.0.tar.xz.sig | Bin 95 -> 0 bytes libinput-1.8.1.tar.xz | 3 +++ libinput-1.8.1.tar.xz.sig | Bin 0 -> 95 bytes libinput.changes | 13 +++++++++++++ libinput.spec | 2 +- 6 files changed, 17 insertions(+), 4 deletions(-) delete mode 100644 libinput-1.8.0.tar.xz delete mode 100644 libinput-1.8.0.tar.xz.sig create mode 100644 libinput-1.8.1.tar.xz create mode 100644 libinput-1.8.1.tar.xz.sig diff --git a/libinput-1.8.0.tar.xz b/libinput-1.8.0.tar.xz deleted file mode 100644 index 5a051c7..0000000 --- a/libinput-1.8.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f8c9dbc31bf549008486258ebfa328d3dbc749c0029c6168e46949c24cf19076 -size 939708 diff --git a/libinput-1.8.0.tar.xz.sig b/libinput-1.8.0.tar.xz.sig deleted file mode 100644 index 26ab2a4962e33d6d2234549e864f8de18185dc302247c55471e0a17a246d771b..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 95 zcmeB(WnmCxVvrS6WUx`Hj~ANI2{MMhrv!obBT025ich+&=z wE2H1+qKE&U7?j>Tx^n%~FUtHD3=8IOSkHK3P19W#x!A=5>(V~%t2@#M004<9F8}}l diff --git a/libinput-1.8.1.tar.xz b/libinput-1.8.1.tar.xz new file mode 100644 index 0000000..9bde30b --- /dev/null +++ b/libinput-1.8.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e3590a9037e561a5791c8bd3b34bfd30fad5cacd8cbefc0d75fafe3a41d07147 +size 936292 diff --git a/libinput-1.8.1.tar.xz.sig b/libinput-1.8.1.tar.xz.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..0f91057b69688a1105e12eab5a4fd0387082370ff8676b4e54c700b14c1ad0ce GIT binary patch literal 95 zcmeB(WnmCxVvrS6WUx`Hj~ANI2{MdqEj&%nhg025g@nPGlZ vg<^0wo8Bk>n@tNuyt)LRMYM`B%(M8;I@g)IT6m{U;s0MUUth5&YPA3Wqi7~G literal 0 HcmV?d00001 diff --git a/libinput.changes b/libinput.changes index 232365c..0b1952d 100644 --- a/libinput.changes +++ b/libinput.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Mon Jul 24 17:13:19 UTC 2017 - zaitor@opensuse.org + +- Update to version 1.8.1: + * This release includes a build fix for the meson build (together + with better meson instructions). + * The palm edge zone is slightly increased from 5% to 8% to avoid + accidental palm touches in the edges. On most modern touchpads + that works out to be a 5mm to 8mm increase. + * The second one is a straightforward bugfix: if the keyboard was + removed while disable-while-typing was active, the touchpad + would never turn on again. + ------------------------------------------------------------------- Mon Jul 3 19:26:37 UTC 2017 - zaitor@opensuse.org diff --git a/libinput.spec b/libinput.spec index 8601053..fa50da7 100644 --- a/libinput.spec +++ b/libinput.spec @@ -18,7 +18,7 @@ Name: libinput %define lname libinput10 -Version: 1.8.0 +Version: 1.8.1 Release: 0 Summary: Input device and event processing library License: MIT