Build instructions for Manjaro - darktable-org/darktable GitHub Wiki
Table of contents
Manjaro Linux 20.1
- Build status: PASSED on Darktable 3.3
In addition to the standard installation, the following packages have to be installed.
Minimal dependencies
sudo pacman -Syyu
sudo pacman -S --needed base-devel cmake intltool sqlite pugixml exiv2 lcms2 librsvg
Optional dependencies
sudo pacman -S --needed openexr libwebp graphicsmagick libcups libsoup libgphoto2 sdl mesa-libgl dbus-glib osm-gps-map
sudo pacman -S --needed lensfun curl libxslt llvm llvm-libs libavif colord-gtk gmic lua53 gmic
Usermanual
If you want to build the docs, some additional packages are required. Note that some of them are no longer available under Manjaro, and so you need to install them from the AUR repository. For this, you will need to install yay package manager (or equivalent)
sudo pacman -S --needed jdk11-openjdk fop imagemagick extra/docbook-xml extra/docbook-xsl perl-pod-parser yay
yay -S --needed gnome-doc-utils saxon6 saxon-he docbook-xsl-saxon
sudo pacman -S --needed po4a #if you want to build translated man pages
Additionally, saxon6 is required but the installation from AUR does not work and some manual steps are required.
cd /usr/share/java
sudo ln -s /usr/share/java/saxon6/saxon.jar
sudo ln -s /usr/share/java/saxon6/saxon-xml-apis.jar
echo '#!/bin/sh' | sudo tee /usr/local/bin/saxon-xslt
echo '' | sudo tee -a /usr/local/bin/saxon-xslt
echo 'exec java -classpath /usr/share/java/saxon.jar com.icl.saxon.StyleSheet "@0"' | sudo tee -a /usr/local/bin/saxon-xslt
sudo chmod a+x /usr/local/bin/saxon-xslt
Build source and docs
Once the dependencies are installed, the source can be checked out:
git clone --recurse-submodules https://github.com/darktable-org/darktable.git ~/git/darktable
cd ~/git/darktable
./build.sh
./build-doc.sh #if you want to build the docs
cd build
sudo make install