Closed hickford closed 1 year ago
I wasn't aware of libxkbregistry before. I see it is quite new: released with libxkbcommon 1.0.0 on 5th September 2020.
I've had a quick read of its API and I don't see any reason why it can't be supported. It could either be supported in a new python library (eg. "python-xkbregistry") or as a separate module inside python-xkbcommon.
Indeed it's new. For example https://packages.debian.org/sid/main/libxkbregistry-dev is in Debian testing but not yet in stable.
Since libxkbregistry is a separate package in distributions such as Debian and Fedora, perhaps the Python bindings should be a separate package too. Otherwise it would prevent installing this Python package on systems without libxkbregistry
Bindings for libxkbregistry now exist at https://github.com/sde1000/python-xkbregistry — comments welcome there!
Awesome work, thank you
Thank you for the bindings, I've found them useful. Do you plan to include similar bindings for libxkbregistry?
https://xkbcommon.org/doc/current/group__registry.html
https://github.com/xkbcommon/libxkbcommon/blob/master/PACKAGING