Skip to content

Commit

Permalink
replace distro Pure Data with Pd-L2Ork from source option
Browse files Browse the repository at this point in the history
  • Loading branch information
znmeb committed Oct 13, 2024
1 parent 4a754cf commit 65c04e3
Show file tree
Hide file tree
Showing 5 changed files with 131 additions and 2 deletions.
3 changes: 2 additions & 1 deletion source_code/2_do_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ for option in \
music_packages \
miniAudicle_from_source \
RStudio_Server \
JupyterLab
JupyterLab \
pd_l2ork_from_source
do
echo ""
echo "$option:"
Expand Down
1 change: 0 additions & 1 deletion source_code/music_packages/1_noble_music_packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ echo "Installing multimedia tasks"
/usr/bin/time sudo apt-get install --yes \
multimedia-ambisonics \
multimedia-csound \
multimedia-puredata \
multimedia-supercollider \
>> $LOGFILE 2>&1

Expand Down
14 changes: 14 additions & 0 deletions source_code/pd_l2ork_from_source/0_do_all.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#! /usr/bin/env bash

set -e

mkdir --parents Logs
rm -f Logs/*
touch Logs/.gitkeep

for script in \
1_linux_dependencies.sh \
2_install_pd_l2ork.sh
do
./$script
done
84 changes: 84 additions & 0 deletions source_code/pd_l2ork_from_source/1_linux_dependencies.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
#! /usr/bin/env bash

set -e

echo "Defining LOGFILE"
mkdir --parents Logs
export LOGFILE=$PWD/Logs/1_linux_dependencies.log
rm --force $LOGFILE

echo ""
echo "Installing Linux dependencies"
/usr/bin/time sudo apt-get update \
>> $LOGFILE 2>&1
/usr/bin/time sudo apt-get upgrade --yes \
>> $LOGFILE 2>&1
/usr/bin/time sudo apt-get install --yes \
autoconf \
automake \
bison \
blepvco \
blop \
build-essential \
byacc \
cmake \
cmt \
dssi-dev \
dssi-utils \
fil-plugins \
flex \
flite1-dev \
fluid-soundfont-gm \
git \
invada-studio-plugins-ladspa \
ladspa-sdk \
libasound2-dev \
libavifile-0.7-dev \
libbluetooth-dev \
libdc1394-dev \
libfftw3-dev \
libfluidsynth-dev \
libftgl-dev \
libgl1-mesa-dev \
libglew-dev \
libglu1-mesa-dev \
libgmerlin-avdec-dev \
libgmerlin-dev \
libgsl0-dev \
libgsm1-dev \
libgtk2.0-dev \
libjack-jackd2-dev \
libjpeg-dev \
liblua5.3-dev \
libmagick++-dev \
libmp3lame-dev \
libmpeg3-dev \
libnss3 \
libquicktime-dev \
libraw1394-dev \
libsmpeg0 \
libspeex-dev \
libstk-dev \
libtirpc-dev \
libtool \
libudev-dev \
libv4l-dev \
libvorbis-dev \
mcp-plugins \
mda-lv2 \
ninja-build \
omins \
patchelf \
portaudio19-dev \
python3-dev \
rev-plugins \
rsync \
swh-plugins \
tap-plugins \
vco-plugins \
wah-plugins \
wget \
>> $LOGFILE 2>&1

echo ""
echo "Finished!"
31 changes: 31 additions & 0 deletions source_code/pd_l2ork_from_source/2_install_pd_l2ork.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#! /usr/bin/env bash

set -e

echo "Setting Pd-L2Ork version"
export PD_L2ORK_VERSION="20241003"

echo "Defining LOGFILE"
export LOGFILE=$PWD/Logs/2_install_pd_l2ork.log
rm --force $LOGFILE

echo "Cloning repository"
pushd /tmp
rm --force --recursive pd-l2ork
/usr/bin/time git clone --recurse-submodules --branch $PD_L2ORK_VERSION \
https://github.com/pd-l2ork/pd-l2ork.git \
>> $LOGFILE 2>&1
popd

echo ""
echo "Building Pd-L2Ork"
pushd /tmp/pd-l2ork
/usr/bin/time make --jobs=`nproc` all \
>> $LOGFILE 2>&1
echo ""
echo "Installing Pd-L2Ork"
sudo make install \
>> $LOGFILE 2>&1
popd

echo "Finished"

0 comments on commit 65c04e3

Please sign in to comment.