[Evolution-hackers] Automatically start services from install path



Hello,

I'm running Evolution from source. The wiki page about building[1]
suggests to run compiled evolution like this:

   $ source $HOME/sources/build
   $ $PREFIX/libexec/evolution-source-registry &
   $ sleep 1
   $ $PREFIX/libexec/evolution-calendar-factory -r &
   $ sleep 1
   $ $PREFIX/libexec/evolution-addressbook-factory -r &
   $ sleep 1
   $ $PREFIX/bin/evolution

The relevant variables for running evolution defined in build
environment file I have defined in shell startup file, so my script for
running evolution currently does what follows after the source line.

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?

When I just invoke 'evolution' from ~/local/bin/evolution, it starts up
system installed Evolution services from /usr/lib instead those that
are installed in default* prefix subdirectory ~/local/libexec. I keep
Evolution distribution package installed just in case the development
version breaks.

* I pass -DCMAKE_INSTALL_PREFIX=$HOME/local to all source modules, i.e.
evolution, evolution-data-server and evolution-ews.

Thank you!

[1] https://wiki.gnome.org/Apps/Evolution/Building




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]