[jhbuild] Set DBUS_SYSTEM_BUS_ADDRESS in environment
- From: Craig Keogh <cskeogh src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [jhbuild] Set DBUS_SYSTEM_BUS_ADDRESS in environment
- Date: Thu, 31 Mar 2011 10:14:58 +0000 (UTC)
commit fdb014a4c39bade4d5b8380dff2706d5c8a427a1
Author: Colin Walters <walters verbum org>
Date: Fri Dec 17 16:43:37 2010 -0500
Set DBUS_SYSTEM_BUS_ADDRESS in environment
If we use the libdbus defaults, nothing will connect to the system
bus.
https://bugzilla.gnome.org/show_bug.cgi?id=645187
jhbuild/config.py | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/jhbuild/config.py b/jhbuild/config.py
index 26b53f7..79f29d1 100644
--- a/jhbuild/config.py
+++ b/jhbuild/config.py
@@ -296,6 +296,10 @@ class Config:
os.environ['UNMANGLED_LD_LIBRARY_PATH'] = os.environ.get('LD_LIBRARY_PATH', '')
+ # Use the distribution's D-Bus for the system bus. JHBuild's D-Bus will
+ # be used for the session bus
+ os.environ['DBUS_SYSTEM_BUS_ADDRESS'] = 'unix:path=/var/run/dbus/system_bus_socket'
+
# LD_LIBRARY_PATH
if self.use_lib64:
libdir = os.path.join(self.prefix, 'lib64')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]