On Sat, 2009-07-18 at 19:40 -0500, Aaron Spike wrote:
Glimmer Labs wrote:
If your Inkscape executable is not in the standard place (/usr/local/bin/inkscape) you might have to modify src/extension/dbus/org.inkscape.service.in for Inkscape to start automatically when requested. This will be set automatically soon, but for now is hardcoded.
In addition to having the installation process edit the exec path in the service file, we should also discuss where best to place the service file. The most usual case for having inkscape installed in a non-standard place is to have more than one inkscape installed. I suppose our options are: 1) to continue to add the file to /usr/share/dbus-1/services and give alternate names. 2) add the file to $PREFIX/share/dbus-1/services and (let the user) add a <servicedir /> directive to the dbus configuration. I suppose both options require us to rename the service anyway. I don't know what is appropriate. (I have similar questions with py2geom installation.) Does DBus allow for two identically named services? Does DBus provide consumers with the ability to enumerate and search for services, perhaps asking which inkscapes are available?
I believe that DBus activation only allows for one service of each name. Making additional names isn't that difficult though, we could definitely make that part of the build. What I did with the inkscape-devel nightly package when that was running is that I changed all the names for the icons and everything to be a different name. That was nice, but kinda a pain.
Though, I'm not sure how many developers will be using DBus activation actively. Honestly, it's kinda a trick feature that's nice to enable, but I'm not sure of any use cases right now.
--Ted