I updated the Linux compilation instructions in RawPedia, so README.md now points to it and offers its brief info only as a quick reminder.
2.6 KiB
RawTherapee is a powerful, cross-platform raw photo processing program, released under the GNU General Public License Version 3. It is written in C++ using a GTK+ front-end and a patched version of dcraw for reading raw files. It is notable for the advanced control it gives the user over the demosaicing and developing process.
Website: http://rawtherapee.com/
Official documentation: http://rawpedia.rawtherapee.com/
Download RawTherapee: http://rawtherapee.com/downloads
Download source code tarballs: http://rawtherapee.com/shared/source/
Source code documentation: http://michaelezra.com/projects/rt/documentation/
Git handbook: http://git-scm.com/book/en/
Compilation, branches and Git
Refer to RawPedia for a detailed explanation of how to get the necessary dependencies and how to compile RawTherapee: http://rawpedia.rawtherapee.com/Linux
The information below is a brief summary of that.
Clone the source code
Clone the source code either using HTTPS:
git clone https://github.com/Beep6581/RawTherapee ~/repo-rt
or using SSH (see https://help.github.com/articles/generating-ssh-keys/ ):
git clone git@github.com:Beep6581/RawTherapee.git ~/repo-rt
or update a previously cloned repository:
cd ~/repo-rt && git pull
Optionally pick a branch
New features and bug fixes are made on their own branches. Once tested, those branches are merged into the "master" branch. We used to test new features and bug fixes by sharing patches (.diff files) but git makes branching easy and branching makes sharing patches unnecessary. To test a new feature or bug fix, just checkout the right branch before compiling:
git checkout <branchname>
Compile and run
To find out how many threads your CPU supports, run:
grep -c processor /proc/cpuinfo
Then replace the number in -j8
below with this number. This will make compilation faster but it will have no effect on the speed of running RawTherapee.
Now you will make an out-of-source compilation of RawTherapee, it will be built into the ~/repo-rt/build/release folder, and then you will move this folder to your home directory and rename it to "rt", so make sure there is no ~/rt folder already!
mkdir build && cd build && \
cmake -DCMAKE_CXX_FLAGS="-std=c++11" -DCMAKE_BUILD_TYPE="release" -DPROC_TARGET_NUMBER="2" -DBUILD_BUNDLE="ON" -DBINDIR="." -DDATADIR="." -DCACHE_NAME_SUFFIX=4 .. && \
make -j8 install && \
mv release ~/rt
Run RawTherapee:
~/rt/rawtherapee