x11/libinput: Update to 1.6.1

Update x11/libinput to 1.6.1

Changelogs:
https://lists.freedesktop.org/archives/wayland-devel/2020-August/041578.html
https://lists.freedesktop.org/archives/wayland-devel/2020-August/041590.html

PR:		249553
Reported by:	jbeich (similar patch)
Obtained from:	FreeBSD Graphics Team git repo
		https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/input
This commit is contained in:
Niclas Zeising 2020-09-28 20:05:01 +00:00
parent a8d9df7e30
commit acd1ae3a87
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=550444
4 changed files with 17 additions and 9 deletions

View file

@ -1,7 +1,7 @@
# $FreeBSD$ # $FreeBSD$
PORTNAME= libinput PORTNAME= libinput
PORTVERSION= 1.15.6 PORTVERSION= 1.16.1
CATEGORIES= x11 CATEGORIES= x11
MASTER_SITES= http://freedesktop.org/software/${PORTNAME}/ MASTER_SITES= http://freedesktop.org/software/${PORTNAME}/
@ -24,9 +24,11 @@ USE_LDCONFIG= yes
MESON_ARGS+= -Ddocumentation=false -Dtests=false MESON_ARGS+= -Ddocumentation=false -Dtests=false
python_OLD_CMD= "/usr/bin/env python3" python_OLD_CMD= "/usr/bin/env python3"
SHEBANG_FILES= tools/libinput-measure-fuzz.py \ SHEBANG_FILES= tools/libinput-analyze-per-slot-delta.py \
tools/libinput-measure-fuzz.py \
tools/libinput-measure-touch-size.py \ tools/libinput-measure-touch-size.py \
tools/libinput-measure-touchpad-pressure.py \ tools/libinput-measure-touchpad-pressure.py \
tools/libinput-measure-touchpad-size.py \
tools/libinput-measure-touchpad-tap.py \ tools/libinput-measure-touchpad-tap.py \
tools/libinput-replay tools/libinput-replay

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1593629662 TIMESTAMP = 1600507648
SHA256 (libinput-1.15.6.tar.xz) = aeedea216a6317ddc6e27c3d54f26b987078780db6a8320cc09e19c25b307f1c SHA256 (libinput-1.16.1.tar.xz) = 7ba7d1aeedd15168bb21d17e9e628aa1c27957963a423a3fea3938a501758539
SIZE (libinput-1.15.6.tar.xz) = 584184 SIZE (libinput-1.16.1.tar.xz) = 595548

View file

@ -6,9 +6,9 @@ libinput reopens devices just to check path equality.
The udev_devices from reopening do have the right properties, The udev_devices from reopening do have the right properties,
so we just use them instead of the original (enumerated) ones. so we just use them instead of the original (enumerated) ones.
--- src/evdev.c.orig 2018-12-18 05:06:18 UTC --- src/evdev.c.orig 2020-07-15 01:54:15 UTC
+++ src/evdev.c +++ src/evdev.c
@@ -905,7 +905,7 @@ evdev_sync_device(struct evdev_device *device) @@ -1015,7 +1015,7 @@ evdev_sync_device(struct evdev_device *device)
evdev_device_dispatch_one(device, &ev); evdev_device_dispatch_one(device, &ev);
} while (rc == LIBEVDEV_READ_STATUS_SYNC); } while (rc == LIBEVDEV_READ_STATUS_SYNC);
@ -16,8 +16,8 @@ so we just use them instead of the original (enumerated) ones.
+ return (rc == -EAGAIN || rc == -EINVAL)? 0 : rc; + return (rc == -EAGAIN || rc == -EINVAL)? 0 : rc;
} }
static void static inline void
@@ -943,6 +943,17 @@ evdev_device_dispatch(void *data) @@ -1083,6 +1083,17 @@ evdev_device_dispatch(void *data)
if (rc != -EAGAIN && rc != -EINTR) { if (rc != -EAGAIN && rc != -EINTR) {
libinput_remove_source(libinput, device->source); libinput_remove_source(libinput, device->source);

View file

@ -6,16 +6,21 @@ lib/libinput.so.10.13.0
libdata/pkgconfig/libinput.pc libdata/pkgconfig/libinput.pc
libexec/libinput/libinput-debug-events libexec/libinput/libinput-debug-events
%%DEBUG_GUI%%libexec/libinput/libinput-debug-gui %%DEBUG_GUI%%libexec/libinput/libinput-debug-gui
libexec/libinput/libinput-analyze
libexec/libinput/libinput-analyze-per-slot-delta
libexec/libinput/libinput-debug-tablet libexec/libinput/libinput-debug-tablet
libexec/libinput/libinput-list-devices libexec/libinput/libinput-list-devices
libexec/libinput/libinput-measure libexec/libinput/libinput-measure
libexec/libinput/libinput-measure-fuzz libexec/libinput/libinput-measure-fuzz
libexec/libinput/libinput-measure-touch-size libexec/libinput/libinput-measure-touch-size
libexec/libinput/libinput-measure-touchpad-pressure libexec/libinput/libinput-measure-touchpad-pressure
libexec/libinput/libinput-measure-touchpad-size
libexec/libinput/libinput-measure-touchpad-tap libexec/libinput/libinput-measure-touchpad-tap
libexec/libinput/libinput-quirks libexec/libinput/libinput-quirks
libexec/libinput/libinput-record libexec/libinput/libinput-record
libexec/libinput/libinput-replay libexec/libinput/libinput-replay
man/man1/libinput-analyze.1.gz
man/man1/libinput-analyze-per-slot-delta.1.gz
man/man1/libinput-debug-events.1.gz man/man1/libinput-debug-events.1.gz
%%DEBUG_GUI%%man/man1/libinput-debug-gui.1.gz %%DEBUG_GUI%%man/man1/libinput-debug-gui.1.gz
man/man1/libinput-debug-tablet.1.gz man/man1/libinput-debug-tablet.1.gz
@ -23,6 +28,7 @@ man/man1/libinput-list-devices.1.gz
man/man1/libinput-measure-fuzz.1.gz man/man1/libinput-measure-fuzz.1.gz
man/man1/libinput-measure-touch-size.1.gz man/man1/libinput-measure-touch-size.1.gz
man/man1/libinput-measure-touchpad-pressure.1.gz man/man1/libinput-measure-touchpad-pressure.1.gz
man/man1/libinput-measure-touchpad-size.1.gz
man/man1/libinput-measure-touchpad-tap.1.gz man/man1/libinput-measure-touchpad-tap.1.gz
man/man1/libinput-measure.1.gz man/man1/libinput-measure.1.gz
man/man1/libinput-quirks-list.1.gz man/man1/libinput-quirks-list.1.gz