From f41ae047009c4c59f8425d60045ff8351c00ce74 Mon Sep 17 00:00:00 2001 From: tydude001 <291262504+tydude001@users.noreply.github.com> Date: Wed, 18 Nov 2026 07:34:53 -0600 Subject: [PATCH] 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. --- packaging/linux/nfpm.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packaging/linux/nfpm.yaml b/packaging/linux/nfpm.yaml index 6cf2aad45..b60116aaf 100644 --- a/packaging/linux/nfpm.yaml +++ b/packaging/linux/nfpm.yaml @@ -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