Building DCP-o-matic for Linux

Ubuntu 18.04Fedora 23Arch

Packaged dependencies

sudo dnf install -y python gcc-c++ libxml++-devel boost-devel openssl-devel xmlsec1-devel GraphicsMagick-c++-devel libsndfile-devel libtool-ltdl-devel gtk2-devel libcurl-devel libsamplerate-devel libzip-devel pangomm-devel libssh-devel yasm compat-wxGTK3-gtk2-devel bzip2-devel xmlsec1-openssl-devel rpm-build cmake

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/openjpeg.git
cd openjpeg
git checkout carl-2
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_PKGCONFIG_FILES=ON -DBUILD_SHARED_LIBS=OFF
make
sudo make install
cd ..

asdcplib with some patches

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

locked_sstream

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

libdcp

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

libsub

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

ffmpeg with some patches

git clone git://git.carlh.net/git/ffmpeg-cdist.git
cd ffmpeg-cdist
git checkout carl-dcpomatic-7
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 ..