Skip to content

Compiling and Installing

Gaute Hope edited this page Oct 7, 2017 · 13 revisions

astroid uses meson for building, also you might need git for the build process to work properly. Both should be available in most distributions.

A fairly recent version of GTK+ and glib with their C++ bindings are also required, along with boost, gmime and a compiler that supports C++11. And lastly, but importantly, the notmuch libraries are also required.

compiling

$ meson build
$ cd build && ninja

to run the tests do:

$ cd build && ninja test

installing

Configure with a prefix and install:

$ meson --prefix=/usr build
$ cd build && ninja && ninja install

this will install the astroid binary into /usr/bin/ and data files into /usr/share/astroid/. You can use $DESTDIR to specify an install root.

Distribution specific information

Particular dependencies (incomplete list)

  • GTK+ >= 3.10
Clone this wiki locally