From d453ed91b6dc332fd45987c642e9d230efe870c8 Mon Sep 17 00:00:00 2001 From: SulfurNitride Date: Mon, 8 Jun 2026 17:16:13 -0500 Subject: Fix NuGet cert setup and fontconfig env --- docker/build-inner.sh | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) (limited to 'docker') diff --git a/docker/build-inner.sh b/docker/build-inner.sh index 9c05783..3cc5559 100755 --- a/docker/build-inner.sh +++ b/docker/build-inner.sh @@ -39,7 +39,11 @@ cmake -S . -B build -G Ninja \ -DFLUORINE_BUILD_COMMIT="${FLUORINE_BUILD_COMMIT}" \ "${CMAKE_EXTRA_ARGS[@]}" -cmake --build build --parallel "${BUILD_JOBS:-}" +if [ -n "${BUILD_JOBS:-}" ]; then + cmake --build build --parallel "${BUILD_JOBS}" +else + cmake --build build --parallel +fi MODORG_BIN="build/src/src/ModOrganizer" if [ ! -f "${MODORG_BIN}" ]; then @@ -610,6 +614,24 @@ unset PYTHONPATH PYTHONNOUSERSITE PYTHONHOME MO2_PYTHON_DIR export QT_PLUGIN_PATH="${RUN}/qt6plugins" export QT_QPA_PLATFORM_PLUGIN_PATH="${RUN}/qt6plugins/platforms" +# The portable bundle ships its own fontconfig library. If it reads the host's +# newer /etc/fonts configuration, older bundled fontconfig can warn on syntax +# like xsi:nil and newer generic families. Use a minimal compatible config for +# Fluorine itself; launched games/tools restore the user's original env. +mkdir -p "${RUN}/etc/fonts" +cat > "${RUN}/etc/fonts/fonts.conf" < + + + /usr/share/fonts + /usr/local/share/fonts + fonts + fontconfig + +EOF +export FONTCONFIG_FILE="${RUN}/etc/fonts/fonts.conf" +export FONTCONFIG_PATH="${RUN}/etc/fonts" + # Raise open file descriptor limit — large modlists with FUSE VFS # can easily exceed the default 1024 ulimit -n 65536 2>/dev/null -- cgit v1.3.1