summaryrefslogtreecommitdiffstats
path: root/meta/packages/dbus/dbus-glib-native-0.73/run-with-tmp-session-bus.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/dbus/dbus-glib-native-0.73/run-with-tmp-session-bus.patch')
-rw-r--r--meta/packages/dbus/dbus-glib-native-0.73/run-with-tmp-session-bus.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/meta/packages/dbus/dbus-glib-native-0.73/run-with-tmp-session-bus.patch b/meta/packages/dbus/dbus-glib-native-0.73/run-with-tmp-session-bus.patch
new file mode 100644
index 0000000000..ba117d0309
--- /dev/null
+++ b/meta/packages/dbus/dbus-glib-native-0.73/run-with-tmp-session-bus.patch
@@ -0,0 +1,23 @@
1Index: dbus-glib-0.72/tools/run-with-tmp-session-bus.sh
2===================================================================
3--- dbus-glib-0.72.orig/tools/run-with-tmp-session-bus.sh 2006-09-27 14:27:25.000000000 +0200
4+++ dbus-glib-0.72/tools/run-with-tmp-session-bus.sh 2006-10-27 10:13:57.000000000 +0200
5@@ -30,16 +30,15 @@
6 echo "escaped service dir is: $ESCAPED_SERVICE_DIR" >&2
7
8 ## create a configuration file based on the standard session.conf
9-cat $DBUS_TOP_SRCDIR/tools/session.conf | \
10+cat $datadir/dbus/session.conf | \
11 sed -e 's/<servicedir>.*$/<servicedir>'$ESCAPED_SERVICE_DIR'<\/servicedir>/g' | \
12 sed -e 's/<include.*$//g' \
13 > $CONFIG_FILE
14
15 echo "Created configuration file $CONFIG_FILE" >&2
16
17-export PATH=$DBUS_TOP_BUILDDIR/bus:$PATH
18 ## the libtool script found by the path search should already do this, but
19-export LD_LIBRARY_PATH=$DBUS_TOP_BUILDDIR/dbus/.libs:$LD_LIBRARY_PATH
20+export LD_LIBRARY_PATH=$libdir:$LD_LIBRARY_PATH
21
22 unset DBUS_SESSION_BUS_ADDRESS
23 unset DBUS_SESSION_BUS_PID