- Install all the things jhbuild won't install for you.
$sudo apt-get install build-essential $sudo apt-get install git $sudo apt-get install gettext xsltproc docbook-xml docbook-xsl $sudo apt-get install apt-file autopoint
- Install jhbuild from git (if you have previously installed from apt-get, use apt-get remove jhbuild to remove it)
$git clone git://git.gnome.org/jhbuild $cd jhbuild $./autogen.sh $make $make install $echo PATH=$PATH:~/.local/bin >> ~/.bashrc
- Prepare your first .jhbuildrc config file.
$cp examples/sample.jhbuildrc ~/.jhbuildrc
- Edit ~/.jhbuildrc file
- Search for the line starting with "prefix" and change the directory to a writable one (the default /opt/gnome is not writable by default on ubuntu it seems)
- For evince, you need to add the following lines to ~/.jhbuildrc
skip=['libnotify','polkit','nautilus','vala'] module_autogenargs['evince'] = autogenargs + ' --enable-debug --disable-nautilus'
- Install dependencies using the new "sysdeps" command of jhbuild
$jhbuild sysdeps --install
- Building evince
$jhbuild build evince --ignore-suggests --nodeps
$jhbuild buildone libsecret
and then resume the compilation of evince. If you want, you could do, at this stage
$jhbuild buildone evinceto trigger just the compilation of evince and NONE of its dependencies.
We use --ignore-suggests to ignore compiling a lot of modules that are not really important for developping with evince.
If everything goes right, you should have evince 3.8 compiled. If you want master, you need to choose the "gnome-suites-core-3.10" moduleset