From a9c444131a8d65c0fac41f32d023211ac7233e98 Mon Sep 17 00:00:00 2001 From: forbes Date: Fri, 30 Jan 2026 09:58:14 -0600 Subject: [PATCH] Fix .deb bundle: restore XKB and fontconfig paths in wrapper The XKB_CONFIG_ROOT, FONTCONFIG_FILE, and FONTCONFIG_PATH exports were accidentally removed in e68a5fef (SSL certificate fix). Without these, the bundled libxkbcommon falls back to a hardcoded CI runner path that does not exist on the target system, causing xkb_context_new to return NULL and SIGSEGV in xkb_context_ref during Wayland keyboard init at splash screen startup. --- package/debian/build-deb.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/debian/build-deb.sh b/package/debian/build-deb.sh index 11f055e5e5..b501622601 100755 --- a/package/debian/build-deb.sh +++ b/package/debian/build-deb.sh @@ -105,6 +105,13 @@ export PYTHONPATH="${KINDRED_CREATE_HOME}/lib/python3.11:${KINDRED_CREATE_HOME}/ export XDG_DATA_DIRS="${KINDRED_CREATE_HOME}/share:${XDG_DATA_DIRS:-/usr/share}" export GI_TYPELIB_PATH="${KINDRED_CREATE_HOME}/lib/girepository-1.0:${GI_TYPELIB_PATH:-}" +# XKB keyboard configuration - use bundled data to avoid hardcoded CI paths in libxkbcommon +export XKB_CONFIG_ROOT="${KINDRED_CREATE_HOME}/share/X11/xkb" + +# Fontconfig - use bundled configuration to avoid missing default config +export FONTCONFIG_FILE="${KINDRED_CREATE_HOME}/etc/fonts/fonts.conf" +export FONTCONFIG_PATH="${KINDRED_CREATE_HOME}/etc/fonts" + # Use system CA certificates so bundled Python trusts internal CAs (e.g. FreeIPA) # The bundled openssl has a hardcoded cafile from the build environment which # does not exist on the target system.