[neon/snap-packaging/snapcraft-desktop-integration/work.core24] common: Don't compile gio-modules, gnome specific.

Scarlett Moore null at kde.org
Thu Apr 3 15:33:25 BST 2025


Git commit 755686741bd014e25164cb1742121e29125835e1 by Scarlett Moore.
Committed on 03/04/2025 at 14:32.
Pushed by scarlettmoore into branch 'work.core24'.

Don't compile gio-modules, gnome specific.

M  +0    -14   common/desktop-exports

https://invent.kde.org/neon/snap-packaging/snapcraft-desktop-integration/-/commit/755686741bd014e25164cb1742121e29125835e1

diff --git a/common/desktop-exports b/common/desktop-exports
index 19ff4bb..ad1e179 100644
--- a/common/desktop-exports
+++ b/common/desktop-exports
@@ -369,20 +369,6 @@ if [ "$needs_update" = true ]; then
   fi
 fi
 
-# Gio modules and cache (including gsettings module)
-export GIO_MODULE_DIR="$XDG_CACHE_HOME/gio-modules"
-function compile_giomodules {
-  if [ -f "$1/glib-2.0/gio-querymodules" ]; then
-    rm -rf "$GIO_MODULE_DIR"
-    ensure_dir_exists "$GIO_MODULE_DIR"
-    ln -s "$1"/gio/modules/*.so "$GIO_MODULE_DIR"
-    "$1/glib-2.0/gio-querymodules" "$GIO_MODULE_DIR"
-  fi
-}
-if [ "$needs_update" = true ]; then
-  async_exec compile_giomodules "$SNAP_DESKTOP_RUNTIME/usr/lib/$ARCH"
-fi
-
 # Setup compiled gsettings schema
 GS_SCHEMA_DIR="$XDG_DATA_HOME/glib-2.0/schemas"
 function compile_schemas {


More information about the Neon-commits mailing list