Compile Ardour >= 7.5.358


I realized that “WAF” changed its settings slightly. There is also a small typo on the --vst3 parameter which has not been changed to --no-vst3

here is my updated and functional compilation script, in the comments you will find the command lines to install the dependencies:

#! /bin/bash

# git clone
cd ardour
git pull
cd ..
if [[ -d ardour_build ]]; then
  rm -rf ardour_build
cp -r ardour ardour_build
cd ardour_build
# if [[ ! -d $HOME/gtk/inst/lib ]]; then
#   mkdir -p $HOME/gtk/inst/lib
# fi
# if [[ ! -d $HOME/gtk/inst/lib/lv2 ]]; then
#   ln -s $HOME/.lv2 $HOME/gtk/inst/lib/lv2
# fi
# echo "tools/linux_packaging/build"
# echo "change GTKSTACK_ROOT=\$HOME/.lv2 #gtk/inst"
# sudo apt install -y build-essential cmake qjackctl libpulse-dev rapidjson-dev libcairo2-dev lv2-dev git libboost-all-dev gcc g++ pkg-config libasound2-dev libgtk2.0-dev libglibmm-2.4-dev libsndfile1-dev libcurl4-gnutls-dev libarchive-dev liblo-dev libtag1-dev vamp-plugin-sdk librubberband-dev libfftw3-dev libaubio-dev libxml2-dev libsamplerate0-dev libserd-dev libsord-dev libsratom-dev liblilv-dev libgtkmm-2.4-dev libjack-jackd2-dev libogg-dev libcppunit-dev libudev-dev libwebsockets-dev libusb-dev libsuil-dev libdbus-1-dev xjadeo libusb-1.0-0-dev libreadline-dev libvamp-sdk2v5 libpangomm-1.4-dev python liblrdf0-dev gcc g++ pkg-config  libcunit1-dev libserd-0-0 libcwiid-dev libxwiimote-dev libwebsocketpp-dev libsratom-0-0 liblrdf0 libsoundtouch-dev libsdl2-dev itstool

# sudo apt install -y liblrdf0-dev

# sudo apt install libcurl4-nss-dev

# ./waf configure --vst3 --lxvst --nls --windows-vst --with-backends=jack,alsa,pulseaudio,dummy --fpu-optimization --freedesktop --optimize --also-include=/usr/include/wine/wine/windows
# ./waf build --force --vst3 --lxvst --nls --windows-vst --with-backends=jack,alsa,pulseaudio,dummy --fpu-optimization --freedesktop --optimize 
# ./waf dist --vst3 --lxvst --nls --windows-vst --with-backends=jack,alsa,pulseaudio,dummy --fpu-optimization --freedesktop --cxx11 --optimize 

#--gtk-disable-deprecated --with-gtk3 --with-surfaces=none --thread-sanitizer --address-sanitizer 

./waf configure -j4 --force --with-backends=jack,alsa,dummy,pulseaudio --versioned --freedesktop --optimize --no-phone-home --noconfirm
./waf i18n
./waf i18n_mo
./waf build -j4 --force --with-backends=jack,alsa,dummy,pulseaudio --versioned --freedesktop --optimize --no-phone-home --noconfirm
./waf dist

cd tools/linux_packaging

./build --public --strip some

./package --public --singlearch

rm -rf ../../../Ardour-7*
cp Ardour*.tar ../../..
cd ../../..
tar -xf Ardour*.tar
mv Ardour*.tar olds/
cd Ardour-7*

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.