dbus/cmake
Simon McVittie 2a6cefbc3b Add dbus-update-activation-environment tool
If OS builders (distributions) have chosen to use the per-user bus,
this provides two possible modes of operation for compatibility with
existing X session startup hooks.

A legacy-free system can just upload DISPLAY, XAUTHORITY and possibly
DBUS_SESSION_BUS_ADDRESS into dbus-daemon's and systemd's activation
environments, similar to
http://cgit.freedesktop.org/systemd/systemd/tree/xorg/50-systemd-user.sh
installed by systemd (but unlike systemctl,
dbus-update-activation-environment works for traditional
D-Bus-activated services, not just for systemd services).

A system where compatibility is required for environment variables
exported by snippets in /etc/X11/xinit/xinitrc.d (in Red Hat derivatives,
Gentoo, etc.) or /etc/X11/Xsession.d (Debian derivatives) can upload
the entire environment of the X session, minus some selected environment
variables which are specific to a login session (notably XDG_SESSION_ID).

In Debian, I plan to put the former in a new dbus-user-session package
that enables a user-session-centric mode of operation for D-Bus,
and the latter in the existing dbus-x11 package, with the intention that
dbus-x11 eventually becomes a tool for change-averse setups or goes
away entirely.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=61301
Reviewed-by: Philip Withnall <philip.withnall@collabora.co.uk>
2015-02-24 11:15:52 +00:00
..
bus Add apparmor element support to bus config parsing 2015-02-18 17:04:00 +00:00
dbus Add versioned symbol support to cmake build system for linux platforms to keep in sync with autotools. 2015-02-20 23:27:12 +01:00
doc Add dbus-update-activation-environment tool 2015-02-24 11:15:52 +00:00
modules Keep cmake generated shared dbus-1 library file name in sync with autotools. 2014-01-30 17:09:41 +01:00
test Add manual-paths test executable with cmake build support. 2015-02-12 23:22:18 +01:00
tools Add dbus-update-activation-environment tool 2015-02-24 11:15:52 +00:00
bus-test.bat.cmake * cmake: new directory, contains cmake build support. 2007-03-03 14:32:17 +00:00
CMakeLists.txt Link dbus-daemon and dbus-daemon-lauch-helper against libdbus 2015-02-20 20:49:45 +00:00
config.h.cmake Add manual-paths test executable with cmake build support. 2015-02-12 23:22:18 +01:00
ConfigureChecks.cmake cmake: check for the necessary symbols for test-segfault.c 2015-02-20 20:50:17 +00:00
dbus-env.bat.cmake Split DBUS_SESSION_BUS_DEFAULT_ADDRESS into listen, connect addresses and set better defaults 2012-08-13 19:57:13 +01:00