Port setxkbmap to libxkbcommon
Since setxkbmap talks to Xorg directly, it doesn’t work on Wayland. However, the API it uses is quite close to libxkbcommon’s one — even though there is a few removals and additions.
If I understand correctly how Wayland and libxkbcommon work, porting setxkbmap to libxkbcommon should not be too hard and should then work both on Xorg and Wayland.