diff --git a/packaging/deb/ovbox-cli.control b/packaging/deb/ovbox-cli.control new file mode 100644 index 0000000..d3eb923 --- /dev/null +++ b/packaging/deb/ovbox-cli.control @@ -0,0 +1,7 @@ +Section: contrib/sound +Maintainer: Giso Grimm +Description: ORLANDOviols consort box client software + The ORLANDOviols consort box (ovbox) is a Raspberry Pi based + solution for remote music collaboration. +Homepage: https://github.com/gisogrimm/ov-client +Conflicts: ovclient diff --git a/packaging/deb/ovbox-cli.csv b/packaging/deb/ovbox-cli.csv new file mode 100644 index 0000000..41668c6 --- /dev/null +++ b/packaging/deb/ovbox-cli.csv @@ -0,0 +1,54 @@ +LICENSE,usr/share/doc/ovclient/ +build/ov-client,usr/bin/ +build/ov-client_hostname,usr/bin/ +build/ov-client_listsounddevs,usr/bin/ +build/ovbox_cli,usr/bin/ +build/ovbox_version,usr/bin/ +build/ovzita-j2n,usr/bin/ +build/ovzita-n2j,usr/bin/ +installovclient.sh,usr/share/ovclient/tools/ +jackrec.html,usr/share/ovclient/ +libov/tascar/libtascar/build/libovclienttascar.so.*,usr/lib/ +libov/tascar/libtascar/build/libovclienttascardmx.so.*,usr/lib/ +libov/tascar/plugins/build/ovclienttascar_*2osc.so,usr/lib/ +libov/tascar/plugins/build/ovclienttascar_ap_*.so,usr/lib/ +libov/tascar/plugins/build/ovclienttascar_echoc.so,usr/lib/ +libov/tascar/plugins/build/ovclienttascar_epicycles.so,usr/lib/ +libov/tascar/plugins/build/ovclienttascar_granularsynth.so,usr/lib/ +libov/tascar/plugins/build/ovclienttascar_hoafdnrot.so,usr/lib/ +libov/tascar/plugins/build/ovclienttascar_hossustain.so,usr/lib/ +libov/tascar/plugins/build/ovclienttascar_jackrec.so,usr/lib/ +libov/tascar/plugins/build/ovclienttascar_lightctl.so,usr/lib/ +libov/tascar/plugins/build/ovclienttascar_ltcgen.so,usr/lib/ +libov/tascar/plugins/build/ovclienttascar_midi*.so,usr/lib/ +libov/tascar/plugins/build/ovclienttascar_mask_fig8.so,usr/lib/ +libov/tascar/plugins/build/ovclienttascar_mask_multibeam.so,usr/lib/ +libov/tascar/plugins/build/ovclienttascar_mask_sampledgain.so,usr/lib/ +libov/tascar/plugins/build/ovclienttascar_matrix.so,usr/lib/ +libov/tascar/plugins/build/ovclienttascar_midicc2osc.so,usr/lib/ +libov/tascar/plugins/build/ovclienttascar_oscheadtracker.so,usr/lib/ +libov/tascar/plugins/build/ovclienttascar_oscrelay.so,usr/lib/ +libov/tascar/plugins/build/ovclienttascar_oscserver.so,usr/lib/ +libov/tascar/plugins/build/ovclienttascar_ovheadtracker.so,usr/lib/ +libov/tascar/plugins/build/ovclienttascar_pos2osc.so,usr/lib/ +libov/tascar/plugins/build/ovclienttascar_route.so,usr/lib/ +libov/tascar/plugins/build/ovclienttascar_savegains.so,usr/lib/ +libov/tascar/plugins/build/ovclienttascar_sleep.so,usr/lib/ +libov/tascar/plugins/build/ovclienttascar_system.so,usr/lib/ +libov/tascar/plugins/build/ovclienttascar_systime.so,usr/lib/ +libov/tascar/plugins/build/ovclienttascar_touchosc.so,usr/lib/ +libov/tascar/plugins/build/ovclienttascar_waitforjackport.so,usr/lib/ +libov/tascar/plugins/build/ovclienttascarreceiver_hrtf.so,usr/lib/ +libov/tascar/plugins/build/ovclienttascarreceiver_itu51.so,usr/lib/ +libov/tascar/plugins/build/ovclienttascarreceiver_omni.so,usr/lib/ +libov/tascar/plugins/build/ovclienttascarreceiver_ortf.so,usr/lib/ +libov/tascar/plugins/build/ovclienttascarreceiver_simplefdn.so,usr/lib/ +libov/tascar/plugins/build/ovclienttascarsource_cardioidmod.so,usr/lib/ +libov/tascar/plugins/build/ovclienttascarsource_omni.so,usr/lib/ +node_modules,usr/share/ovclient/ +ovclient.css,usr/share/ovclient/ +ovclient.js,usr/share/ovclient/ +sounds/2138735723541465742.flac,usr/share/ovclient/sounds/ +sounds/4180150583.flac,usr/share/ovclient/sounds/ +tools/pi/autorun,usr/share/ovclient/tools/ +webmixer.js,usr/share/ovclient/ diff --git a/packaging/deb/ovbox-cli.dep b/packaging/deb/ovbox-cli.dep new file mode 100644 index 0000000..462164f --- /dev/null +++ b/packaging/deb/ovbox-cli.dep @@ -0,0 +1 @@ +nodejs, jackd, ${shlibsDepends} diff --git a/tools/build_and_install_debian.sh b/tools/build_and_install_debian.sh new file mode 100755 index 0000000..44482e8 --- /dev/null +++ b/tools/build_and_install_debian.sh @@ -0,0 +1,42 @@ +#!/bin/bash + +# minimal error handling: +trap "echo An error occured.;exit 1" ERR + +echo "update apt database:" +sudo apt-get update --assume-yes + +echo "Install CA certificates:" +sudo apt-get install --no-install-recommends --assume-yes ca-certificates + +echo "install git, build-essential and other basic stuff:" +sudo apt-get install --no-install-recommends --assume-yes git build-essential xxd gettext-base lsb-release + +echo "install dependencies of cli tool:" +sudo apt-get install --no-install-recommends --assume-yes liblo-dev libcurl4-openssl-dev libasound2-dev libeigen3-dev libfftw3-dev libfftw3-single3 libgsl-dev libjack-jackd2-dev libltc-dev libmatio-dev libsndfile1-dev libsamplerate0-dev nlohmann-json3-dev libxerces-c-dev libgtkmm-3.0-dev libcairomm-1.0-dev + +#echo "install runtime dependencies:" +#sudo apt-get install --assume-yes nodejs + +echo "clone or update git repo:" +(cd ov-client && git clean -ffx && git pull) || git clone https://github.com/gisogrimm/ov-client + +echo "move to development version:" +(cd ov-client && git clean -ffx && git checkout development && git pull) + +echo "update submodules:" +make -C ov-client gitupdate + +echo "clean repo:" +make -C ov-client clean + +echo "build tools:" +make -j 5 -C ov-client + +echo "package tools:" +make -C ov-client packaging + +echo "install new debian packages:" +sudo apt-get install --no-install-recommends ./ov-client/packaging/deb/debian/*/ovbox-cli_*.deb + +echo "successfully installed ovbox system!"