Building DCP-o-matic on Linux

Ubuntu 14.04Fedora 23Arch

Packaged dependencies

sudo apt-get -y install git g++ libgtk2.0-dev libcurl4-openssl-dev libicu-dev libsndfile-dev libsamplerate-dev libmagick++-dev libzip-dev libpangomm-1.4-dev libxml++2.6-dev libboost-filesystem-dev libboost-test-dev libssh-dev libxmlsec1-dev libboost-date-time-dev libboost-locale-dev libboost-regex-dev yasm libboost-thread-dev cmake libx264-dev libgraphicsmagick++1-dev

libcxml

git clone git://git.carlh.net/git/libcxml.git
cd libcxml
./waf configure build
sudo ./waf install
cd ..

libopenjpeg version 2.1 with some patches

git clone git://git.carlh.net/git/openjpeg2-cdist.git
cd openjpeg2-cdist
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_PKGCONFIG_FILES=ON -DBUILD_SHARED_LIBS=OFF
make
sudo make install
cd ..

asdcplib-cth

git clone git://git.carlh.net/git/asdcplib-cth.git
cd asdcplib-cth
git checkout cth
./waf configure build
sudo ./waf install
cd ..

libdcp

git clone git://git.carlh.net/git/libdcp.git
cd libdcp
git checkout 1.0
./waf configure build
sudo ./waf install
cd ..

libsub

git clone git://git.carlh.net/git/libsub.git
cd libsub
git checkout 1.0
./waf configure build
sudo ./waf install
cd ..

wxWidgets 3.0.2

wget ftp://ftp.wxwidgets.org/pub/3.0.2/wxWidgets-3.0.2.tar.bz2
tar xjf wxWidgets-3.0.2.tar.bz2
cd wxWidgets-3.0.2
./configure --enable-prefseditor
make
sudo make install
cd ..

ffmpeg with some patches

git clone git://git.carlh.net/git/ffmpeg-cdist.git
cd ffmpeg-cdist
git checkout carl-dcpomatic
bash carl-configure
make
sudo make install
cd ..

DCP-o-matic itself

git clone git://git.carlh.net/git/dcpomatic.git
cd dcpomatic
./waf configure build
sudo ./waf install
cd ..