Merge #217347: ibus: build without dbus-launch

...into staging-next
This commit is contained in:
Vladimír Čunát 2023-02-20 21:44:35 +01:00
commit 1a0051b61e
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA
2 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1,21 @@
diff --git a/data/dconf/make-dconf-override-db.sh b/data/dconf/make-dconf-override-db.sh
index 601c1c3f..fcb7305d 100755
--- a/data/dconf/make-dconf-override-db.sh
+++ b/data/dconf/make-dconf-override-db.sh
@@ -12,10 +12,6 @@ export XDG_CACHE_HOME="$TMPDIR/cache"
export GSETTINGS_SCHEMA_DIR="$TMPDIR/schemas"
mkdir -p $XDG_CONFIG_HOME $XDG_CACHE_HOME $GSETTINGS_SCHEMA_DIR
-eval `dbus-launch --sh-syntax`
-
-trap 'rm -rf $TMPDIR; kill $DBUS_SESSION_BUS_PID' ERR
-
# in case that schema is not installed on the system
glib-compile-schemas --targetdir "$GSETTINGS_SCHEMA_DIR" "$PWD"
@@ -52,5 +48,3 @@ if [ -d $TMPDIR/cache/gvfs ] ; then
umount $TMPDIR/cache/gvfs
fi
rm -rf $TMPDIR
-
-kill $DBUS_SESSION_BUS_PID

View file

@ -71,6 +71,7 @@ stdenv.mkDerivation rec {
pythonInterpreter = python3Runtime.interpreter;
pythonSitePackages = python3.sitePackages;
})
./build-without-dbus-launch.patch
];
outputs = [ "out" "dev" "installedTests" ];