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

MacPorts noreply at macports.org
Mon Jan 19 18:06:00 PST 2009


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

Comment(by jonas.baehr@…):

 I've got it. Now auto launching of services works, as well as custom
 busses and launchd-type addresses for client connections.

 I changed the syntax of launchd addresses a bit. Now it has the form
 "launchd:env=MY_FOO_ENV_VAR". The key used in the previous version is
 completely useless as it has to be always the same. My hotfix in
 [#comment:42] is also valid, since only children of launchd can talk to
 launchd via IPC. That means the env var is always present, but also that
 it's impossible to start dbud-daemon manually if it should listen on a
 "launchd:"-address. This limitation lays in the design of launchd and is
 not a problem with the patch.

 Using "launchd:"-addresses on the client side was implemented in dbus-
 transport-unix.c in _dbus_transport_open_platform_specific as a supplement
 to the "unix:" method. This way fits the best with the rest of the code.

 Please test. I think this ticket can be closed since the new version of
 the patch should solve all of the above issues.

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


More information about the macports-tickets mailing list