I made an attempt at updating our OpenBSD libinput to upstream's 1.30.2. After more trial-and-error than I would have liked, I have something that seems to work but probably needs a bit of adult supervision.
Here's a port that pulls this from my own GH repository - please note that I am *not* asking for ok to change the repository on the port, nor for any ok, but the more adventurous among the wayland fans might want to give it a shot.
Index: Makefile =================================================================== RCS file: /cvs/ports/wayland/libinput-openbsd/Makefile,v retrieving revision 1.20 diff -u -p -r1.20 Makefile --- Makefile 2 Aug 2025 10:10:33 -0000 1.20 +++ Makefile 6 Mar 2026 23:54:52 -0000 @@ -20,14 +20,13 @@ COMMENT = wscons(4) and kqueue(2) based CATEGORIES = x11 wayland -GH_ACCOUNT = sizeofvoid +GH_ACCOUNT = VlkrS GH_PROJECT = libopeninput -GH_COMMIT = 65eb6c2b9635d4fac97aba7a30606d95e1bb51bc +GH_COMMIT = 78b44f147ed1f3208145c90e395beb598701839d -DISTNAME = libinput-openbsd-1.26.2 -REVISION = 1 +DISTNAME = libinput-openbsd-1.30.2 -SHARED_LIBS = input 0.1 +SHARED_LIBS = input 0.2 WANTLIB += epoll-shim m udev Index: distinfo =================================================================== RCS file: /cvs/ports/wayland/libinput-openbsd/distinfo,v retrieving revision 1.7 diff -u -p -r1.7 distinfo --- distinfo 2 Aug 2025 10:10:33 -0000 1.7 +++ distinfo 6 Mar 2026 23:54:52 -0000 @@ -1,2 +1,2 @@ -SHA256 (libinput-openbsd-1.26.2-65eb6c2b.tar.gz) = ec5vOIHxlz3j3k0RQaLSxuI43AKz21OdJiHJvRsPyB4= -SIZE (libinput-openbsd-1.26.2-65eb6c2b.tar.gz) = 1058455 +SHA256 (libinput-openbsd-1.30.2-78b44f14.tar.gz) = ao/nhy347UKkcHhsVv69bQhqkvt3QsLlf1N+RdTGR0o= +SIZE (libinput-openbsd-1.30.2-78b44f14.tar.gz) = 1188350 Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/wayland/libinput-openbsd/pkg/PLIST,v retrieving revision 1.3 diff -u -p -r1.3 PLIST --- pkg/PLIST 6 Nov 2024 09:00:53 -0000 1.3 +++ pkg/PLIST 6 Mar 2026 23:54:52 -0000 @@ -16,6 +16,7 @@ lib/pkgconfig/libinput.pc @man man/man1/libinput-analyze-touch-down-state.1 @man man/man1/libinput-analyze.1 @man man/man1/libinput-debug-events.1 +@man man/man1/libinput-debug-tablet-pad.1 @man man/man1/libinput-debug-tablet.1 @man man/man1/libinput-list-devices.1 @man man/man1/libinput-list-kernel-devices.1 @@ -43,6 +44,7 @@ share/libinput/30-vendor-contour.quirks share/libinput/30-vendor-cypress.quirks share/libinput/30-vendor-elantech.quirks share/libinput/30-vendor-glorious.quirks +share/libinput/30-vendor-goodix.quirks share/libinput/30-vendor-huion.quirks share/libinput/30-vendor-ibm.quirks share/libinput/30-vendor-ite.quirks @@ -50,6 +52,7 @@ share/libinput/30-vendor-kensington.quir share/libinput/30-vendor-logitech.quirks share/libinput/30-vendor-madcatz.quirks share/libinput/30-vendor-microsoft.quirks +share/libinput/30-vendor-nulea.quirks share/libinput/30-vendor-oracle.quirks share/libinput/30-vendor-qemu.quirks share/libinput/30-vendor-razer.quirks @@ -70,8 +73,10 @@ share/libinput/50-system-gigabyte.quirks share/libinput/50-system-google.quirks share/libinput/50-system-gpd.quirks share/libinput/50-system-graviton.quirks +share/libinput/50-system-honor.quirks share/libinput/50-system-hp.quirks share/libinput/50-system-huawei.quirks +share/libinput/50-system-icl.quirks share/libinput/50-system-lenovo.quirks share/libinput/50-system-lg.quirks share/libinput/50-system-minisforum.quirks @@ -79,6 +84,7 @@ share/libinput/50-system-pine64.quirks share/libinput/50-system-sony.quirks share/libinput/50-system-starlabs.quirks share/libinput/50-system-system76.quirks +share/libinput/50-system-tongfang.quirks share/libinput/50-system-toshiba.quirks share/libinput/50-system-vaio.quirks share/zsh/
