From df2c0b05897a36ce169b2ae415aa9b0971d29b131f1a2a4555c9078f616718a9 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 28 Nov 2017 10:03:31 +0000 Subject: [PATCH 1/2] - Update to new upstream release 1.9.3 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/libinput?expand=0&rev=141 --- kill-env.diff | 51 ++++++++++++++++++++++++++++++++++++++ libinput-1.9.2.tar.xz | 3 --- libinput-1.9.2.tar.xz.sig | Bin 95 -> 0 bytes libinput-1.9.3.tar.xz | 3 +++ libinput-1.9.3.tar.xz.sig | Bin 0 -> 95 bytes libinput.changes | 8 ++++++ libinput.spec | 6 +++-- 7 files changed, 66 insertions(+), 5 deletions(-) create mode 100644 kill-env.diff delete mode 100644 libinput-1.9.2.tar.xz delete mode 100644 libinput-1.9.2.tar.xz.sig create mode 100644 libinput-1.9.3.tar.xz create mode 100644 libinput-1.9.3.tar.xz.sig diff --git a/kill-env.diff b/kill-env.diff new file mode 100644 index 0000000..499382a --- /dev/null +++ b/kill-env.diff @@ -0,0 +1,51 @@ +From: Jan Engelhardt +Date: 2017-11-28 11:01:12.978019538 +0100 + +Kill /usr/bin/env. We can't have random python interpreters be executed. +--- + tools/libinput-measure-touch-size | 2 +- + tools/libinput-measure-touchpad-pressure | 2 +- + tools/libinput-measure-trackpoint-range | 2 +- + udev/parse_hwdb.py | 2 +- + 4 files changed, 4 insertions(+), 4 deletions(-) + +Index: libinput-1.9.3/tools/libinput-measure-touch-size +=================================================================== +--- libinput-1.9.3.orig/tools/libinput-measure-touch-size ++++ libinput-1.9.3/tools/libinput-measure-touch-size +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python3 ++#!/usr/bin/python3 + # vim: set expandtab shiftwidth=4: + # -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */ + # +Index: libinput-1.9.3/tools/libinput-measure-touchpad-pressure +=================================================================== +--- libinput-1.9.3.orig/tools/libinput-measure-touchpad-pressure ++++ libinput-1.9.3/tools/libinput-measure-touchpad-pressure +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python3 ++#!/usr/bin/python3 + # vim: set expandtab shiftwidth=4: + # -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */ + # +Index: libinput-1.9.3/tools/libinput-measure-trackpoint-range +=================================================================== +--- libinput-1.9.3.orig/tools/libinput-measure-trackpoint-range ++++ libinput-1.9.3/tools/libinput-measure-trackpoint-range +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python3 ++#!/usr/bin/python3 + # vim: set expandtab shiftwidth=4: + # -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */ + # +Index: libinput-1.9.3/udev/parse_hwdb.py +=================================================================== +--- libinput-1.9.3.orig/udev/parse_hwdb.py ++++ libinput-1.9.3/udev/parse_hwdb.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python3 ++#!/usr/bin/python3 + # vim: set expandtab shiftwidth=4: + # -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */ + # diff --git a/libinput-1.9.2.tar.xz b/libinput-1.9.2.tar.xz deleted file mode 100644 index da22f64..0000000 --- a/libinput-1.9.2.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:dd6853241ffe1f1d83b5a375a2f1c17b2901fdbba5d302c67987cc0f4101de3b -size 460388 diff --git a/libinput-1.9.2.tar.xz.sig b/libinput-1.9.2.tar.xz.sig deleted file mode 100644 index 4772ee8c9a3c0830689b927c83977e94f924e26c9510c604d8c50089c941592c..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 95 zcmeB(WnmCxVvrS6WUx`Hj~ANI2{MR6ZZXW-%#fQdBAFf5pp vv3S;U)6h!=$5l5+X8E69x`Hj~ANI2{Mag_9WZ>cyfQj6h$*`cU w_(jixv*(#7Hb(ywom{qVlGI~ShPk2%wwxSC7X0{E^z~x;rR!Y3-#AAC0QcT1aR2}S literal 0 HcmV?d00001 diff --git a/libinput.changes b/libinput.changes index 710e267..d51937d 100644 --- a/libinput.changes +++ b/libinput.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue Nov 28 09:51:32 UTC 2017 - jengelh@inai.de + +- Update to new upstream release 1.9.3 + * New button debouncing code that makes the stuck buttons a + thing of the past. +- Add kill-env.diff + ------------------------------------------------------------------- Wed Nov 15 10:22:51 UTC 2017 - jengelh@inai.de diff --git a/libinput.spec b/libinput.spec index 64a5a61..eaebb49 100644 --- a/libinput.spec +++ b/libinput.spec @@ -18,7 +18,7 @@ Name: libinput %define lname libinput10 -Version: 1.9.2 +Version: 1.9.3 Release: 0 Summary: Input device and event processing library License: MIT @@ -33,6 +33,7 @@ Source2: http://freedesktop.org/software/libinput/%name-%version.tar.xz.s Source3: baselibs.conf Source4: %name.keyring Source5: libinput-rpmlintrc +Patch1: kill-env.diff BuildRequires: doxygen BuildRequires: fdupes BuildRequires: gcc-c++ @@ -97,7 +98,8 @@ This package contains all necessary include files and libraries needed to develop applications that require libinput. %prep -%autosetup +%setup -q +%patch -P 1 -p1 %build %meson \ From 12093f7656643d9364948d9b80b98f3d90b53a7c4b90b40e7d686c511c61dafd Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 3 Dec 2017 21:21:39 +0000 Subject: [PATCH 2/2] Accepting request 547885 from home:Zaitor:branches:X11:Wayland Tiny tweak, return to using autosetup OBS-URL: https://build.opensuse.org/request/show/547885 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/libinput?expand=0&rev=143 --- libinput.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libinput.spec b/libinput.spec index eaebb49..8a072c8 100644 --- a/libinput.spec +++ b/libinput.spec @@ -98,8 +98,7 @@ This package contains all necessary include files and libraries needed to develop applications that require libinput. %prep -%setup -q -%patch -P 1 -p1 +%autosetup -p1 %build %meson \