To build a linux native version I use the following commands:
- cd Start in HOME folder
- git clone git://github.com/darktable-org/darktable.git Check out darktable HEAD (master) from git
- cd darktable Enter the newly created folder
- git submodule init; git submodule update
- cd src/external/rawspeed
- git config remote.origin.url https://github.com/cytrinox/rawspeed.git This corresponds to currently opened rawspeed CR3 pull request
- git fetch Start from instruction 7 if you are refreshing a previous build
- Edit ~/darktable/.gitmodules file and update rawspeed section to:
[submodule “src/external/rawspeed”]
path = src/external/rawspeed
url = https://github.com/cytrinox/rawspeed.git
branch = canon_cr3
(required changes in bold) - git submodule update --remote
- cd ~/darktable
- sudo mkdir build; cd build; cmake … ; make ; sudo make install This puts the darktable executable in folder /usr/local/bin
- Run the program with command /usr/local/bin/darktable
NOTE: this assumes you have all the compilers and source code for components, and have built/installed exiv2 0.27.4
Any corrections or improvements to this are welcome!