x11/libinput: Fix the Python dependencies of the libinput tools
The Python tools in libexec/libinput (libinput-measure-*, -analyze-*,
-replay, ...) import libevdev, i.e. python-libevdev
(devel/py-libevdev), never evdev (python-evdev), yet RUN_DEPENDS lists
devel/py-evdev. Depend on the package they actually use. This also
stops pulling devel/py-evdev into every desktop installation.
libinput-analyze-recording, -analyze-per-slot-delta,
-analyze-touch-down-state, -analyze-buttons and libinput-replay import
yaml, which is not declared. Without PyYAML the analyze tools fail
with ModuleNotFoundError and libinput-replay refuses to run ("One or
more python modules are missing"). Add py-pyyaml to RUN_DEPENDS.
While here, fix portlint warnings.
PR: 299873d4d9e153d7Port details
x11/libinput 1.31.1_1
Generic input library
Port info
- Maintainer
- x11@FreeBSD.org
- Packages
- latest: 1.31.1, update to 1.31.1_1 not built yet
- Upstream
- Higher version available: 1.32.0
- Last update
- to 1.31.1_1 · d4d9e153d7
- Quarterly
- 2026Q4: 1.31.1
- WWW
- https://www.freedesktop.org/wiki/Software/libinput/
- Links
- cgit · VuXML
Install
- Package
# pkg install libinputinstalls 1.31.1 fromlatest; fromquarterly(2026Q4) 1.31.1- Port
# cd /usr/ports/x11/libinput && make install clean# make -C /usr/ports/x11/libinput config # change options first
- Size
- 341 KiB download · 1.6 MiB installed
- Depends on
- devel/libepoll-shim 0.0.20240608, devel/libevdev 1.13.2, devel/libmtdev 1.1.7, devel/libudev-devd 0.7.0, devel/py-evdev 1.9.1_1, devel/py-pyudev 0.24.1_1, lang/lua54 5.4.8, lang/python312 3.12.15, x11/libwacom 2.19.1
- License
- MIT
- Options
- 1 of 3 on in the package: LIBWACOM
Show the 2 options that are off
DEBUG_GUI TEST
Packages by version and architecture
latest
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 16 | 1.31.1 | 1.31.1 | – |
| FreeBSD 15 | 1.31.1 | 1.31.1 | – |
| FreeBSD 14 | 1.31.1 | 1.31.1 | 1.31.1 |
quarterly (2026Q4)
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 15 | 1.31.1 | 1.31.1 | – |
| FreeBSD 14 | 1.31.1 | 1.31.1 | 1.31.1 |
version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.
Unaddressed (1)
The CVE record lists the packaged version 1.31.1 as affected, and no VuXML entry names the CVE. What does this mean?
| CVE | CVSS | Published | Description |
|---|---|---|---|
| CVE-2026-50292 | 7.4 | 2026-06-04 | In libinput before 1.30.4 and 1.31.x before 1.31.3, libinput-device-group unescaped phys output can inject udev properties leading to arbitrary root code execution |
VuXML only (0)
Listed in VuXML, the packaged version 1.31.1 is still in the affected range; pkg audit reports it. What does this mean?
None.
Fixed (0)
No VuXML entries for this package.
Problem reports (1) · open in Bugzilla, most recently changed first
| PR | Summary | Status | Changed |
|---|---|---|---|
| 299374 | maintainer-feedback? x11/libinput error in libinput(1) output | New | 2026-10-14 |
Commits (54)
x11/libinput: Update to 1.31.1 PR: 293585 Tested by: alven, kenrap Pull Request: https://github.com/freebsd/freebsd-ports/pull/512e158e655cf
x11/libinput: Partially enable testingbf9be3f575
x11/libinput: update to 1.28.1 Changelog: - https://gitlab.freedesktop.org/libinput/libinput/-/releases/1.28.0 - https://gitlab.freedesktop.org/libinput/libinput/-/releases/1.28.1 PR: 288431 Reviewed by: manu Approved by: manu (x11; maintainer)35dd19c50a
x11/libinput: Update to 1.27.1 Differential Revision: https://reviews.freebsd.org/D49202 Approved by: manu0bed77fb84
x11/libwacom: update to 2.12.1 Changes: https://github.com/linuxwacom/libwacom/releases Sponsored by: Serenity Cybersecurity, LLC Approved by: maintainer timeout (8 months) Closes: https://github.com/freebsd/freebsd-ports/pull/273556d6aa58a
x11/libinput: update to 1.26.2 Changes: https://gitlab.freedesktop.org/libinput/libinput/-/releases/1.26.2 Reported by: GitLab (notify releases) PR: 280919 Approved by: manud05e698441
x11/libinput: sort plist after 9f8f710b3ec3 PR: 280919 Approved by: manuda27a1298f
x11/libinput: update to 1.26.1 Changes: https://gitlab.freedesktop.org/libinput/libinput/-/releases/1.26.1 Reported by: GitLab (notify releases) PR: 280063 Approved by: manu859673fe19
x11/libinput: update to 1.26.0 Changes: https://gitlab.freedesktop.org/libinput/libinput/-/releases/1.26.0 Reported by: GitLab (notify releases) PR: 279715 Approved by: manuc2a73f6beb
x11/libinput: Update to 1.25.0 Release notes: https://lists.freedesktop.org/archives/wayland-devel/2024-January/043396.html Sponsored by: Beckhoff Automation GmbH & Co. KG5a77f256c3
*/*: Sanitize MANPREFIX for meson ports Approved by: portmgr9f8f710b3e
*/*: Bump consumers of x11-toolkits/gtk30 New version of gtk3 in tree3572ca3e01
Drop FreeBSD < 14.0-BETA5 <sys/timerfd.h> workarounds https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273373 https://cgit.freebsd.org/src/commit/?h=releng/14.0&id=7454117918cd https://lists.freebsd.org/archives/freebsd-stable/2023-October/001533.html Old -CURRENT, -STABLE, -RELENG snapshots were never supported in ports/. This reverts commit 4458b6d2d931d462f260dc06fb7b9c7fa1f707aa. This reverts commit f295903414ccab16e75feb05c851d726deb16713. This reverts commit d7c830340dbb2e33451d3ad36ea5a707d0d222b6. This reverts commit 572560076d1c987833958524a2bc4a60a1700287. This reverts commit f4c28b489119fb134e7873047aea1aa643219d70. This reverts commit 163928669d74be3a5d8a307b6a03abd06bf55cd6. This reverts commit b8948f86c12cfe8a24ba203634e3a1572eab4ba8. This reverts commit 5e70841f87b2d316acc170b0f550e4eab205b6e2. This reverts commit 600ca97fd58482c907708888a7af879219540a79.19ba14bcd8
x11/libinput: Add patch to fix build on recent head This fixes build after src commit af93fea710385b2b11f0cabd377e7ed6f3d97c34 PR: 273354 Approved by: x11 (manu)5e70841f87
x11/libinput: update to 1.24.0 Changes: https://gitlab.freedesktop.org/libinput/libinput/-/releases/1.24.0 Reported by: GitLab (notify releases) PR: 273343 Approved by: manud0e9d04436
x11/libinput: drop GL_TAGNAME Simplifies port updates and allows portscout discover new versions. PR: 273343 Approved by: manu18b74a65e0
x11/libinput: drop unused USES=tar USE_GITLAB (and USE_GITHUB) override USES=tar. PR: 273343 Approved by: manucc0b116c98
bsd.sites.mk: Update all ports using USE_GITLAB Replace GL_COMMIT by GL_TAGNAME in all ports. The new GL_TAGNAME is backwards-compatible (accepting any commit hash as before), but also understands an actual tag name. Moving to tag names where appropriate is left to individual ports' maintainers. Approved by: portmgr (tcberner, mentor) Differential Revision: https://reviews.freebsd.org/D370777d1faa7179
x11/libinput: drop non-leaf from wayland category4ba45c71a5
x11/libinput: Finish update to 1.23.0 Forgot to update GL_COMMIT ... Sponsored by: Beckhoff Automation GmbH & Co. KG42a49699a7
x11/libinput: Update to 1.23.0 Release notes: https://lists.freedesktop.org/archives/wayland-devel/2023-March/042642.html Sponsored by: Beckhoff Automation GmbH & Co. KGa2dabfc736
x11/libinput: Update to 1.22.1 Release notes: https://lists.freedesktop.org/archives/wayland-devel/2023-January/042583.html Sponsored by: Beckhoff Automation GmbH & Co. KGcc6a926c18
x11/libinput: Update to 1.22.0 While here fix the debug gui option deps. Release notes: https://lists.freedesktop.org/archives/wayland-devel/2022-November/042515.html Reviewed by: tcberner Differential Revision: https://reviews.freebsd.org/D37450 Sponsored by: Beckhoff Automation GmbH & Co. KGfd13b77ddb
x11/libinput: Use hash for GL_COMMIT USE_GITLAB can't use tags. Reported by: VVD <vvd@unislabs.com>7353734663
x11/libinput: Update to 1.21.0 Release notes for 1.20: https://lists.x.org/archives/wayland-devel/2022-February/042111.html Release notes for 1.21: https://gitlab.freedesktop.org/libinput/libinput/-/releases/1.21.0 Differential Revision: https://reviews.freebsd.org/D36917 Sponsored by: Beckhoff Automation GmbH & Co. KGd56435624e
Remove WWW entries moved into port Makefiles Commit b7f05445c00f has added WWW entries to port Makefiles based on WWW: lines in pkg-descr files. This commit removes the WWW: lines of moved-over URLs from these pkg-descr files. Approved by: portmgr (tcberner)fb16dfecae
Add WWW entries to port Makefiles It has been common practice to have one or more URLs at the end of the ports' pkg-descr files, one per line and prefixed with "WWW:". These URLs should point at a project website or other relevant resources. Access to these URLs required processing of the pkg-descr files, and they have often become stale over time. If more than one such URL was present in a pkg-descr file, only the first one was tarnsfered into the port INDEX, but for many ports only the last line did contain the port specific URL to further information. There have been several proposals to make a project URL available as a macro in the ports' Makefiles, over time. This commit implements such a proposal and moves one of the WWW: entries of each pkg-descr file into the respective port's Makefile. A heuristic attempts to identify the most relevant URL in case there is more than one WWW: entry in some pkg-descr file. URLs that are not moved into the Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr files in order to preserve them. There are 1256 ports that had no WWW: entries in pkg-descr files. These ports will not be touched in this commit. The portlint port has been adjusted to expect a WWW entry in each port Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as deprecated. Approved by: portmgr (tcberner)b7f05445c0
wayland: add wayland virtual categoryb2eed2d664
x11/libinput: fix missed git add pkg-plist This results in the update to the plist not appearing in ff1445186a25c594541d09d4899517b644f5983c Reported by: jbeich597a90b8a6
x11/libinput: update to 1.9.4da913506f8
x11/libinput: Add CPE information Approved by: portmgr (blanket)4fc828c4a7
x11/libinput: simplify port - drop unnecessary OLD_CMD (this is one of the standard replacements, at least in combination with allowing all current Pythons) - don't add to MESON_ARGS, assign instead (they start out unset) - allow all relevant Pythons (any of the supported Python 3 versions) - use HTTPs by default (the http link redirects there anyway) - shebang all the Python scripts, even the ones not actually installed.bdcc091752
x11/libinput: bump to 1.19.1, latest upstream release Release announcement is at https://lists.x.org/archives/wayland-devel/2021-September/041989.html We skip over a bunch of intermediates, a little more than a year of updates. PR: 258931 Approved by: manu (x11@)a8f4add226
One more small cleanup, forgotten yesterday. Reported by: lwhsucf118ccf87
Remove # $FreeBSD$ from Makefiles.305f148f48
x11/libinput: Update to 1.16.4 PR: 251971 Submitted by: Neel Chauhan <neel@neelc.org>7208feb2d0
x11/libinput: Update to 1.16.2 Update x11/libinput to 1.16.2 Changelog: https://lists.freedesktop.org/archives/wayland-devel/2020-October/041640.html5fe01d3720
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/inputacd1ae3a87
x11/libinput: Update to 1.15.6 Update x11/libinput to 1.15.6. This is a bugfix release, mostly containing updates and changes to quirks files.8e0c1b40f6
x11/libinput: Update to 1.15.5 Update libinput to 1.15.5, this is a maintenance relase Adds rate limit to certain error messages that can happen sometimes. Mostly minor fixes in tools, documentation and linux-specific fixes.2fbdb5271c
x11/libinput: Update to 1.15.4 Changes: https://gitlab.freedesktop.org/libinput/libinput/compare/1.15.2...1.15.4 Approved by: manu, zeising (x11) Differential Revision: https://reviews.freebsd.org/D24194ce9e8c0867
x11/libinput: Update to 1.15.2 PR: 244240 Tested-by: jbeich Approved by: x11 (zeising@)ab974ba877
x11/libinput: Update to 1.15.1 update x11/libinput to 1.15.1 PR: 240153 (based on) Reported by: Greg V Tested by: jbeich, manu, grembof027d4b008
x11/libinput: Fix build on GCC-based architectures Fix build of x11/libinput on GCC-based architectures. gnu90 is an alias for gnu89, but is not understood by all versions of GCC, most notably, our base version. Switch to use gnu89 instead. While here, adjust patch context a bit. A similar fix has been merged upstream. PR: 235361 Submitted by: Jan Beich (fix) Reported by: Piotr Kubaj (PR) MFH: 2019Q1 X-MFH-note: If applicable, 2019Q1 might have old libinput versionb0be4708f0
x11/libinput: update to 1.12.6, fixup Fix previous commit, r491694, by actually removing old patches and adding new ones. This was missed in the transition from git to svn. PR: 222905 Reported by: Greg V (original version) Obtained from: FreeBSDDesktop development repo https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/input-ports Tested by: tcberner (kde@), andrnils@gmail.com Sponsored by: B3 Init (zeising)037c497674
x11/libinput: Update to 1.12.6 Update libinput to 1.12.6. This is the last remaining piece to bring us basically up to date with upstream input stack. PR: 222905 Reported by: Greg V (original version) Obtained from: FreeBSDDesktop development repo https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/input-ports Tested by: tcberner (kde@), andrnils@gmail.com Sponsored by: B3 Init (zeising)10ea80fb5c
x11/libinput: Fix crash when listing devices Fix a crash in x11/libinput when listing devices with libinput list-devices. This is done by removing an old patch previously used to work arond permission issues with /dev/input/* PR: 234638 Reported by: Jan Beich Fix from: Greg V Reviewed by: Greg V MFH: 2019Q1c156d2a8f6
x11/libinput: Update to 1.11.3 Update x11/libinput to 1.11.3. Switch to use the meson build system. This adds a runtime dependency on python, since a bunch of libinput tools uses python. libinput tools, such as libinput-list-devices are now accessed through bin/libinput. Make wacom dependency an option (default to on). Make the gui tool installation an option, default it to off. Add upstream patches to detect epoll-shim, to work around issues with our input.h headers, and to work around our lack of the versionsort() libc function. Remove old no longer needed patches. PR: 222905 (based on) Submitted by: Greg V Obtained from: FreeBSD Graphics Team Development Repo https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/input https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/input-ports57eddb3fa5
Split out evdev headers from multimedia/v4l_compat Split out evdev headers (input.h, input-event-codes.h, uinput.h) into their own port, devel/evdev-proto, and update those to be current with the Linux 4.19 kernel. This is done in order to be able to update the rest of the FreeBSD input stack, which is forthcoming. By splititng out the evdev headers we can update them independent of other updates in v4l_compat, which makes it easier for the graphics team to keep track of them and keep them updated as needed. Update devel/libevdev from 1.4.4 to 1.5.9 instead of trying to make it work with the updated headers. This will be further updated. Update devel/py-evdev from 0.5.0 to 0.8.1 instead of trying to make it work with the updated evdev headers. Update consumers to use devel/evdev-proto rather than multimedia/v4l_compat as needed, and bump portrevisions. This is the first step in getting the FreeBSD input stack (libevdev, libinput and so on) updated to newer versions. Many thanks to all who have helped out with testing, code and exp-runs. Apologies if I've forgotten to add any names. PR: 222905, 217248, (based on, in part), 233787 (exp-run) Submitted by: Greg V, wulf Tested by: tcberner, kde Exp-run by: antoine Approved by: portmgr (antoine) Obtained from: FreeBSDDesktop development repo https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/input https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/input-ports248c6b5c09