Use launchctl to obtain session bus address on OS X

The "standard" way to launch dbus on OS X is through launchd which
is responsible for allocating a unix domain socket and then passing
it to dbus. This patch splits out a platform specific method to obtain
the session bus if DBUS_SESSION_BUS_ADDRESS is not set. On OS X
launchctl is queried while on other platforms dbus-launch is used
as before.
3 files changed