Solaar/lib
Nick Price 9bbe552c0a
solaar: require pyudev only where it is used, and support FreeBSD
pyudev binds libudev and only the Linux HID backend imports it:
base.py selects hidapi/udev_impl on Linux and hidapi/hidapi_impl
everywhere else. But gtk.py demanded pyudev on every OS other than macOS
and Windows and exited if it was missing, and setup.py listed it with no
environment marker at all -- so on FreeBSD Solaar refused to start over a
module the backend it had already chosen never touches.

Gate the check on Linux, mark the dependency accordingly, and stop
installing the udev rules on platforms that have no udev. FreeBSD uses
devd and its own devfs rules for the same job.
2026-08-01 11:29:46 -07:00
..
hid_parser Fix duplicate class field typo in HID parser data 2026-05-05 14:43:03 -04:00
hidapi hidapi: look for the unsuffixed libhidapi.so 2026-08-01 11:29:46 -07:00
keysyms keysymdef: Rename key symbols 2024-10-11 07:42:38 -04:00
logitech_receiver diversion: do not name dbus in the handler that guards importing it 2026-08-01 11:29:46 -07:00
solaar solaar: require pyudev only where it is used, and support FreeBSD 2026-08-01 11:29:46 -07:00