packaging: RPM recommends libX11-xcb and libxkbcommon-x11, so the GUI starts on X11

The GUI opens libX11-xcb.so.1 and libxkbcommon-x11.so.0 at runtime on X11, and its binary also
names libwayland-egl.so.1, but nothing in the RPM asked for them. Fresh Fedora 44, Leap 15.6 and
Tumbleweed installs, with recommendations on, left libxkbcommon-x11 out. Started on X11 (Xvfb) in
Fedora 44 and Leap 15.6, GridCraft then panicked ("Library libxkbcommon-x11.so could not be
loaded"). With only libX11-xcb missing, winit fails to create its event loop
("libX11-xcb.so.1: cannot open shared object file"). All three are now recommended by soname.
libXrandr is dropped: no binary names it.
This commit is contained in:
tydude001
2026-11-18 07:34:53 -06:00
parent 8a9159a401
commit f41ae04700
+5 -2
View File
@@ -55,13 +55,16 @@ overrides:
- libxkbcommon.so.0()(64bit)
- (libvulkan.so.1()(64bit) or libEGL.so.1()(64bit))
- libasound.so.2()(64bit)
# The windowing libraries by soname too, so the recommendations resolve on openSUSE as well.
# The windowing libraries the GUI loads at runtime, by soname too, so the recommendations resolve on
# openSUSE as well. Without libX11-xcb and libxkbcommon-x11 the GUI cannot start on X11.
recommends:
- libwayland-client.so.0()(64bit)
- libX11.so.6()(64bit)
- libXcursor.so.1()(64bit)
- libXi.so.6()(64bit)
- libXrandr.so.2()(64bit)
- libX11-xcb.so.1()(64bit)
- libxkbcommon-x11.so.0()(64bit)
- libwayland-egl.so.1()(64bit)
- mesa-vulkan-drivers
- xdg-desktop-portal