libxkbcommon is mainly used by Wayland consumers, so adjust default, following xwayland and xorg-server preferring xf86-input-libinput.
tcberner thierry manu
- Group Reviewers
- rP528813: x11/libxkbcommon: Switch to evdev rules by default
- Builds fine on 11.3/12.0/13.0
- x11-wm/sway works fine without input * xkb_rules evdev
- x11-wm/cage works fine without export XKB_DEFAULT_RULES=evdev
- graphics/imv works fine on X11: only tested xf86-input-libinput
Would this affect xorg-server as well?
I believe you have to make the UPDATING more verbose, to explain to people more about the change. They might not be aware of libxkbcommon, or which of xf86-input-libinput and xf86-input-keyboard they use. Perhaps you can add part of pkg-message also to updating?
Depends. If an application asks X11 server for keyboard rules then it should work transparently. If an application relies on libxkbcommon default then xf86-input-keyboard users (e.g., on FreeBSD 11) may need to adjust XKB_DEFAULT_RULES (as described in pkg-message) while xf86-input-libinput users (e.g., on FreeBSD 12/13) will see a regression fixed.
I believe you have to make the UPDATING more verbose, to explain to people more about the change.
Does it look better? I know pkg-message supports type: upgrade but it's not flexible enough.
They might not be aware of libxkbcommon,
Running pkg updating shows notes for all installed packages.
or which of xf86-input-libinput and xf86-input-keyboard they use.
pkg-message is intentionally left simple, so new users can experiment instead of keeping numerious conditions in mind.