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.