Hello Martin, thanks for quick response.
On Sun, 2018-12-16 at 13:09 +0100, Milan Crha via evolution-hackers wrote: > On Thu, 2018-12-13 at 02:47 +0100, Marek Howard via evolution-hackers > wrote: > > Is there any way to build evolution to make it automatically start > > the required services from correct installed path on startup, just like the > > system installed Evolution does? > > Hi, > it's not about Evolution build, it's about setting D-Bus to search for > the built services, not for system services. The text in the referenced > wiki page didn't want to come into too much detail in this regard, > there are better articles how to setup D-Bus with it. The .service > files are installed into $PREFIX/share/dbus-1/services/, which is the > path you want to tell D-Bus to look for the services first. That D-Bus > doesn't know about these .service files is the reason why it starts > system-installed services when you run built Evolution. There can be > some differences when also systemd files are involved, but I'm not sure > what to do with it off head, I'd search the same as you might search > the web, if you (or the system-installed evolution-data-server) use > systemd. Got it. It won't be so easy though. I'm not going to go off-topic on this list, just FYI: Apparently XDG_DATA_DIRS is used as search path for dbus services[1]. Turns out I've set it correctly but not in correct place. It needs to be set somewhere where user systemd instance started by login manager picks it up, because it seems it also starts the session dbus. I've put it in ~/.config/environment.d/local.conf. Now "systemctl --user show- environment" shows it is set (though now my shell doesn't see it). However, after I run Evolution, system installed Evolution services are still picked over the local ones. I even rebooted system to make sure everything is properly restarted. I think I'll go with system packaged Evolution for now and troubleshoot it again when I have time to study and hack Evolution source again. Thank you! [1] https://lists.freedesktop.org/archives/dbus/2008-August/010283.html _______________________________________________ evolution-hackers mailing list [email protected] To change your list options or unsubscribe, visit ... https://mail.gnome.org/mailman/listinfo/evolution-hackers
