[MacPorts] #17950: dbus patched with launchd support and version dump
MacPorts
noreply at macports.org
Sat Feb 21 01:48:42 PST 2009
#17950: dbus patched with launchd support and version dump
---------------------------------+------------------------------------------
Reporter: jonas.baehr@… | Owner: macports-tickets@…
Type: defect | Status: closed
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.7.0
Resolution: fixed | Keywords: launchd kde4 x11
Port: dbus |
---------------------------------+------------------------------------------
Comment(by jonas@…):
Replying to [comment:73 vinc17@…]:
> Replying to [comment:68 jonas@…]:
> > Don't use dbus-launch! It has become obsolete since launchd is now
responsible of launching the bus.
>
> Liferea does:
> {{{
> if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
> eval `dbus-launch`
> export DBUS_SESSION_BUS_ADDRESS
> fi
> }}}
I think I've got a workaround for apps wich stubbornly require
DBUS_SESSION_BUS_ADDRESS to be there instead of trusting the dbus
implementation. Just export it to
"launchd:env=DBUS_LAUNCHD_SESSION_BUS_SOCKET", the default on launchd
enabled systems. So, a line like the following in your .profile should do
fine:
{{{
export
DBUS_SESSION_BUS_ADDRESS="launchd:env=DBUS_LAUNCHD_SESSION_BUS_SOCKET"
}}}
--
Ticket URL: <http://trac.macports.org/ticket/17950#comment:91>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list