From 330ebe90b6534f513272234626d67ba7edae9746 Mon Sep 17 00:00:00 2001 From: Bruno Lopes Date: Fri, 6 Jun 2025 21:10:35 -0300 Subject: [PATCH] build/linux: Prevent loading host's GIO_EXTRA_MODULES on AppImage We can't guarantee that the .so modules pointed by GIO_EXTRA_MODULES will link properly to the bundled libc and other bundled deps in the AppImage. So, by making our AppImage ignore that var we avoid errors on terminal due to linking mismatch (e.g. on NixOS which sets that var by default). --- build/linux/appimage/3_dist-gimp-goappimage.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/build/linux/appimage/3_dist-gimp-goappimage.sh b/build/linux/appimage/3_dist-gimp-goappimage.sh index 48f85d174a..013c22cff2 100644 --- a/build/linux/appimage/3_dist-gimp-goappimage.sh +++ b/build/linux/appimage/3_dist-gimp-goappimage.sh @@ -266,6 +266,7 @@ bund_usr "$UNIX_PREFIX" "bin/gvfs*" --dest "${LIB_DIR}/gvfs" bund_usr "$UNIX_PREFIX" "lib/gvfs/*.so" bund_usr "$UNIX_PREFIX" "lib/gio/modules/*" conf_app GIO_MODULE_DIR "${LIB_DIR}/${LIB_SUBDIR}gio/modules" +conf_app GIO_EXTRA_MODULES "" --no-expand ### GTK needed files (to be able to load icons) bund_usr "$UNIX_PREFIX" "share/icons/Adwaita" bund_usr "$GIMP_PREFIX" "share/icons/hicolor"