packaging(linux): recommend libxkbcommon-x11 so X11 launches don't panic (#4231)

winit loads libxkbcommon-x11.so at runtime on X11. The .deb and .rpm
declared only libxkbcommon0, so on an X11 system without the X11 part
the app panicked before opening a window ("Library libxkbcommon-x11.so
could not be loaded", exit 101). Recommend it next to the other X11
libraries.
This commit is contained in:
ash authored and GitHub committed 2026-11-29 07:55:00 +05:30
1 parent 79a4d7f350
commit 98ea1248ce
1 file changed
+2
+2
View File
@@ -38,6 +38,7 @@ overrides:
- libwayland-client0
- libx11-6
- libx11-xcb1
- libxkbcommon-x11-0
- libxcursor1
- libxi6
- libxrandr2
@@ -58,6 +59,7 @@ overrides:
recommends:
- libwayland-client
- libX11
- libxkbcommon-x11.so.0()(64bit)
- libXcursor
- libXi
- libXrandr