Blame README

Packit 15f964
Evolution is the integrated mail, calendar and address book suite from
Packit 15f964
the Evolution Team.
Packit 15f964
Packit 15f964
See https://wiki.gnome.org/Apps/Evolution for more information.
Packit 15f964
Packit 15f964
If you are using Evolution, you may wish to subscribe to the Evolution
Packit 15f964
users mailing list.  If you are interested in contributing to
Packit 15f964
development on it, you should certainly subscribe to the Evolution
Packit 15f964
Hackers mailing list.  Visit
Packit 15f964
Packit 15f964
        https://mail.gnome.org/mailman/listinfo
Packit 15f964
Packit 15f964
to subscribe or view archives of the Evolution mailing lists.
Packit 15f964
Packit 15f964
If you are planning to work on any part of Evolution, please send mail
Packit 15f964
to the mailing list first, to avoid duplicated effort (and to make
Packit 15f964
sure that you aren't basing your work on interfaces that are expected
Packit 15f964
to change).
Packit 15f964
Packit 15f964
There is also a #evolution IRC channel on irc.gnome.org.
Packit 15f964
Packit 15f964
Help for Evolution is available in the user manual (select "Help" from
Packit 15f964
the menu after running the application), at the GNOME users help site
Packit 15f964
(https://help.gnome.org/users/evolution/stable/), and in the --help strings
Packit 15f964
(run "evolution --help" at the command line).
Packit 15f964
Packit 15f964
The rest of this file is dedicated to building Evolution.
Packit 15f964
Packit 15f964
Packit 15f964
DEPENDENCIES
Packit 15f964
------------
Packit 15f964
Packit 15f964
In order to build Evolution you need to have the full set of GNOME 3
Packit 15f964
(or greater) development libraries installed.
Packit 15f964
Packit 15f964
GNOME 3 or greater comes with most of the modern distributions, so
Packit 15f964
in most cases it should be enough to just install all the devel
Packit 15f964
packages from your distribution.
Packit 15f964
Packit 15f964
Please make sure you have the most recent versions of the libraries
Packit 15f964
installed, since bugs in the libraries can cause bugs in Evolution.
Packit 15f964
Packit 15f964
Additional dependencies, besides the stock GNOME libraries (the
Packit 15f964
dependencies should be compiled in the order they are listed here):
Packit 15f964
Packit 15f964
        * evolution-data-server of the same version as the Evolution is
Packit 15f964
Packit 15f964
             ftp://ftp.gnome.org/pub/gnome/sources/evolution-data-server
Packit 15f964
Packit 15f964
        * libsoup 2.42 or later
Packit 15f964
Packit 15f964
             ftp://ftp.gnome.org/pub/gnome/sources/libsoup
Packit 15f964
Packit 15f964
        * WebKitGTK+ 2.13.0
Packit 15f964
Packit 15f964
             http://webkitgtk.org/releases/
Packit 15f964
Packit 15f964
        * Mozilla NSPR/NSS libraries
Packit 15f964
Packit 15f964
          These are needed if you want to compile Evolution with SSL and S/MIME
Packit 15f964
          support.
Packit 15f964
Packit 15f964
             http://www.mozilla.org/
Packit 15f964
Packit 15f964
          Many distributions ship these as Mozilla development
Packit 15f964
          packages.
Packit 15f964
Packit 15f964
Other dependencies are claimed during the configure phase. If these are
Packit 15f964
optional, also a parameter for the CMake configure to not use that dependency
Packit 15f964
is shown.
Packit 15f964
Packit 15f964
CONFIGURING EVOLUTION
Packit 15f964
---------------------
Packit 15f964
Packit 15f964
First you have to decide whether you want to install Evolution (and
Packit 15f964
its dependencies) into the same prefix as the rest of your GNOME
Packit 15f964
install, or into a new prefix.
Packit 15f964
Packit 15f964
Installing everything into the same prefix as the rest of your GNOME
Packit 15f964
install will make it much easier to build and run programs, and easier
Packit 15f964
to switch between using packages and building it yourself, but it may
Packit 15f964
also make it harder to uninstall later.  Also, it increases the chance
Packit 15f964
that something goes wrong and your GNOME installation gets ruined.
Packit 15f964
Packit 15f964
If you want to install in a different prefix, you need to do the
Packit 15f964
following things:
Packit 15f964
Packit 15f964
        * Set the environment variables to contain a colon-separated list
Packit 15f964
          of all the directories that will be involved in the build.
Packit 15f964
          The environment variables are ACLOCAL_FLAGS, GSETTINGS_SCHEMA_DIR,
Packit 15f964
          LD_LIBRARY_PATH, PATH and PKG_CONFIG_PATH.
Packit 15f964
Packit 15f964
          For example, if you have GNOME installed in /usr and you
Packit 15f964
          are installing Evolution and its dependencies in
Packit 15f964
          /opt/evolution, you want to do something like the following
Packit 15f964
          (assuming you are using Bash):
Packit 15f964
Packit 15f964
                export ACLOCAL_FLAGS="-I /opt/evolution/share/aclocal"
Packit 15f964
                export GSETTINGS_SCHEMA_DIR="/opt/evolution/share/glib-2.0/schemas"
Packit 15f964
                export LD_LIBRARY_PATH=/opt/evolution/lib:$LD_LIBRARY_PATH
Packit 15f964
                export PATH=/opt/evolution/bin:$PATH
Packit 15f964
                export PKG_CONFIG_PATH=/opt/evolution/lib/pkgconfig:$PKG_CONFIG_PATH
Packit 15f964
Packit 15f964
        * Edit the D-Bus session-local.conf file (which is normally
Packit 15f964
          search for by D-Bus in /etc/dbus-1/) to include the
Packit 15f964
          location where you are installing Evolution.
Packit 15f964
Packit 15f964
          In the example given above (GNOME in /usr, Evolution and
Packit 15f964
          dependencies in /opt/evolution), your
Packit 15f964
          session-local.conf will have to look like this:
Packit 15f964
Packit 15f964
                
Packit 15f964
                 "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
Packit 15f964
                 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
Packit 15f964
                <busconfig>
Packit 15f964
                  
Packit 15f964
                  <servicedir>/opt/evolution/share/dbus-1/services</servicedir>
Packit 15f964
                </busconfig>
Packit 15f964
Packit 15f964
        * Pass an appropriate CMAKE_INSTALL_PREFIX parameter to the configure
Packit 15f964
          scripts of Evolution and its dependencies, eg:
Packit 15f964
Packit 15f964
                cd ..../sources/evolution
Packit 15f964
                mkdir build
Packit 15f964
                cd build
Packit 15f964
                cmake -G "Unix Makefiles" \
Packit 15f964
                      -DCMAKE_INSTALL_PREFIX=/opt/evolution \
Packit 15f964
                      -DCMAKE_BUILD_TYPE=Release \
Packit 15f964
                      ..
Packit 15f964
Packit 15f964
        * Run `cmake --help` to get list of available generators (the -G argument)
Packit 15f964
          on your platform.
Packit 15f964
Packit 15f964
OPTIONAL FEATURES
Packit 15f964
-----------------
Packit 15f964
Packit 15f964
Some optional features can be enabled at compilation time by passing
Packit 15f964
appropriate flags to the CMake. These options are shown at the end
Packit 15f964
of the successful configure phase.
Packit 15f964
Packit 15f964
BUILDING EVOLUTION
Packit 15f964
------------------
Packit 15f964
Packit 15f964
After the Evolution is properly configured, run:
Packit 15f964
Packit 15f964
                make -j
Packit 15f964
                make -j install
Packit 15f964
Packit 15f964
to build it.