On May 18, 2011, at 9:17 PM, John Ralls wrote: > > On May 18, 2011, at 6:22 PM, Mike Alexander wrote: > >> >> On May 18, 2011, at 8:45 PM, John Ralls wrote: >> >>> The reason for the dbus dance is to provide a drag-and-drop app bundle >>> rather than an installer. I'm pretty sure that using launchd requires >>> installing dbus somewhere permanent and setting up a launch daemon for it >>> -- which would require using an Installer bundle (a .mpkg) instead. >>> >> >> I don't think that's true. You can still install it with drag and drop. >> You can put the dbus binary anywhere and simply put a symlink to the plist >> in the LaunchAgents directory as my script changes do. Give it a try and I >> think you'll see that it works. If not I'll try to fix it so it does. You >> might have to change the plist itself to point to the dbus server, or >> perhaps put a symlink to the server somewhere else. So long as the plist >> points to it, things should work. >> >>> FWIW, direct use of dbus is now discouraged: One is supposed to use gdbus >>> instead, and I've had to hold back the GConf version because recent >>> releases do so and there's a race condition in gdbus that prevents it from >>> connecting on OSX -- or there was in February when I last looked at it. >>> That aside, though, gdbus also provides a hook for a platform-specific dbus >>> replacement. I'd like to do one for OSX using NSUserDefaults and >>> NSNotifications, which would eliminate the need for a dbus daemon entirely. >>> Finding time to do that is a bit of a rub, though. >> >> Fine, but in the meantime, I think this would be an improvement. > > OK, I'll try it out tomorrow.
But no joy. Here's the error from Console: > 5/19/11 12:17:26 PM [0x0-0xc69c69].org.gnucash.Gnucash[32588] )Failed > to load key /apps/gnucash/history/maxfiles: Failed to contact configuration > server; some possible causes are that you need to enable TCP/IP networking > for ORBit, or you have stale NFS locks due to a system crash. See > http://projects.gnome.org/gconf/ for information. (Details - 1: Failed to > get connection to session: /Users/john/Library/Gnucash-2.4/bin/dbus-launch > terminated abnormally with the following error: Autolaunch requested, but X11 > support not compiled in. The reason it worked with your MacPorts X11 dbus and fails with the gtk-osx dbus is evident from the last line, a mis-feature of dbus I had forgotten about. Regards, John Ralls _______________________________________________ gnucash-devel mailing list [email protected] https://lists.gnucash.org/mailman/listinfo/gnucash-devel
