RawTherapee: compiling from source on Fedora 23 · uwot.eu
another meaningless subtitle

RawTherapee: compiling from source on Fedora 23

· by fabio · Read in about 2 min · (225 Words)
fedora Fedora 23 Fedora 24 Fujifilm RAF RAW RawTherapee

RawTherapee from my experience is by far the best program to manipulate RAF files, it’s demosaic algorithm for X-Trans sensors is astonishingly good.
Too bad that, like for Darktable, the version included in Fedora’s repos is outdated to say the least.
To install from source first install some dependecies:

$ sudo dnf install bzip2-devel cmake exiv2-devel expat-devel fftw-devel gcc-c++ glib2-devel glibmm24-devel gtk3-devel gtkmm30-devel lcms2-devel libcanberra-devel libiptcdata-devel libjpeg-turbo-devel libpng-devel libsigc++20-devel libtiff-devel zlib-devel gtkmm24-devel lensfun-devel

Git clone and install

$ git clone https://github.com/Beep6581/RawTherapee.git ~/Downloads/RawTherapee/
$ cd Downloads/RawTherapee/
### Print all available branch
$ git branch -a
### Select the branch you like, I use dev
$ git checkout dev
$ rm -rf build; make clean; ./clean
$ mkdir build && cd build
$ cmake -DCMAKE_CXX_FLAGS="-std=c++11 -Wno-deprecated-declarations -Wno-unused-result" \
      -DWITH_LTO="OFF" \
      -DCMAKE_BUILD_TYPE="release" \
      -DBINDIR="." \
      -DDATADIR="." \
      -DCACHE_NAME_SUFFIX="4" ..
$ make -j17 install
$ sudo mv release /opt/rawtherapee/
$ sudo ln -s /opt/rawtherapee/rawtherapee /usr/local/bin/

To update the local git repository run:

cd Downloads/RawTherapee/
git pull

To import pictures from the camera without taking out the SDcard the GVFS virtual file system come in handy:

$ sudo dnf install gvfs-gphoto2

Another interesting thing is the HaldCULT film simulation suite that can be used as RawTherapee plugin (must be enabled in settings).

$ wget http://rawtherapee.com/shared/HaldCLUT.zip
$ unzip HaldCLUT.zip
$ sudo mv HaldCLUT /opt/HaldCLUT