Building Photivo under Debian Linux
Photivo is a free and open source (GPL3) photo processor. It handles your RAW files as well as your bitmap files (TIFF, JPEG, BMP, PNG and many more) in a non-destructive 16 bit processing pipe with gimp workflow integration and batch mode.
Linux build instructions
The instructions to build Photivo under Linux can be found on the Photivo site, under Photivo -> Download and Setup -> Linux.
The Debian Linux (Jessie) specific parts of these instructions are given in the following sections.
Packages
The command to install the required packages for Debian is as follows:
1sudo apt-get install gcc g++ ccache qt4-qmake mercurial libqt4-dev libjpeg62-turbo-dev:amd64 libexiv2-dev liblensfun-dev libfftw3-dev libpng12-dev libtiff5 liblcms2-dev libgimp2.0-dev libgraphicsmagick++3
Lcms2
On my system the Debian package for lcms2 works fine. This was installed already (above under the Packages section).
GraphicsMagick 16 bit
This needs to be downloaded and built as instructed. But do change the prefix to /usr/local, so the commands to use are as follows:
1./configure --prefix=/usr/local --with-quantum-depth=16 --enable-shared --without-lcms
2make -j4
3sudo make install
Liquid rescale (liblqr)
This needs to be downloaded and built as instructed. But do change the prefix to /usr/local, so the commands to use are as follows:
1./configure --prefix=/usr/local
2 make -j4
3 sudo make install
Lensfun header files
Because the =lensfun- header files are located in a different location than expected by Photivo an environment variable needs to be set as follows:
1INCLUDEPATHS="/usr/include/lensfun"
2export INCLUDEPATHS
Building Photivo
With the INCLUDEPATHS environment variable set as instructed above the instructions for building Photivo can be followed. But do change the prefix to /usr/local, so the commands to use are as follows:
1hg clone https://photivo.googlecode.com/hg/ photivo
2cd photivo
3hg update default
4qmake photivo.pro PREFIX=/usr/local
5make -j4
6sudo make install