[MacPorts] #17950: dbus patched with launchd support and version dump

MacPorts noreply at macports.org
Fri Jan 23 03:10:11 PST 2009


#17950: dbus patched with launchd support and version dump
---------------------------------+------------------------------------------
  Reporter:  jonas.baehr@…       |       Owner:  macports-tickets@…                   
      Type:  defect              |      Status:  reopened                             
  Priority:  Normal              |   Milestone:  Port Bugs                            
 Component:  ports               |     Version:  1.7.0                                
Resolution:                      |    Keywords:  launchd kde4 x11                     
      Port:  dbus                |  
---------------------------------+------------------------------------------

Comment(by jonas@…):

 Replying to [comment:73 vinc17@…]:
 > Liferea does:
 > {{{
 > if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
 >         eval `dbus-launch`
 >         export DBUS_SESSION_BUS_ADDRESS
 > fi
 > }}}

 That's a liferea bug. This code is not portable at all (works only on X11
 systems) and in addition it's not the business of the client app to start
 the bus. This is all handled by the dbus lib (on X11 system the lib does
 the same thing as liferea). As a workaround you could apply a patch
 dropping this via the Portfile.

 > If this is a problem, dbus-launch should be symlinked to /usr/bin/true.
 And how can Liferea get the bus address?
 I'd say we should remove dbus-launch, or just make it load the .plist into
 launchd. It's true that it's currently only a confusing left over.

-- 
Ticket URL: <http://trac.macports.org/ticket/17950#comment:77>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list