-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suitable to replace libxkbfile and libxklavier? #283
Comments
@whot I see you already made such a change in libgnome-desktop https://gitlab.gnome.org/GNOME/gnome-desktop/-/merge_requests/88 |
A comment from my private notes on libxkbfile, prob from a few years back, it's not dated:
I guess both headers describe an ABI-stable format, so copying those headers to get rid of the dependency itself may be possible. But then you could argue - what's the point because any Xorg process will still require xkbcomp, so this really only helps the Xwayland case. libxklavier can probably be replaced with libxkbregistry but I didn't look into the various callers, so I don't know the details. edit: to answer your question more explicitly - "probably" but it would require someone to go through the callers and update each of them, which is a rather thankless job. |
Went through the libxkbfile1 reverse deps:
Has an open issue, probably can convert to using libxkbcommon with some effort.
Going to assume by the names it's X11 support, not needed for Wayland.
Used here:
Looks like can use libxkbregistry.
https://github.com/FreeRDP/FreeRDP/blob/master/libfreerdp/locale/keyboard_xkbfile.c Can use xkbcommon-x11 looks like.
Used XKB geometry, which xkbcomon does not support. No replacement currently.
https://gitlab.gnome.org/GNOME/mutter/-/blob/main/src/backends/x11/cm/meta-backend-x11-cm.c
https://github.com/ukui/ukwm/blob/9da46de1242d5eb0fa132a2e1ce4a63652d028bc/src/backends/x11/cm/meta-backend-x11-cm.c
On-screen keyboard. Project looks abandoned to me, use compositor-native replacement?
Can't find where it's used, Arch package doesn't depend on libxkbfile, maybe the dep was dropped?
https://gitlab.com/Remmina/remmina-plugins/-/blob/main/plugins/nx/nx_plugin.c
Wasn't able to browse the source code, being on sourceforge I'm going to assume this project is dead.
https://github.com/ukui/ukui-control-center/blob/9f07714ffc27539648992d21f56088460ef3cc6d/plugins/devices/keyboard/preview/x11_helper.cpp Looks like old KDE code. Can use libxkbregistry for some stuff, didn't check it all.
X11 stuff...
https://github.com/Xpra-org/xpra/blob/185223dec12a0020726b5913ae8126c9cce84b07/xpra/x11/bindings/keyboard_bindings.pyx |
Hi. I came across some older XKB libraries. Do you know any more about them? Is their functionality subsumed by libxkbcommon or libxkbregistry? Could they be replaced?
Here's a list of their reverse dependencies in Debian
apt rdepends libxkbfile1 libxklavier16 | uniq
reverse dependencies in Debian
libxkbfile1
libxklavier16
The text was updated successfully, but these errors were encountered: