From 318e180f5f705b4eaecf77bbbdae60284162ab84 Mon Sep 17 00:00:00 2001 From: Gaston Gonzalez Date: Sat, 26 Oct 2024 15:17:54 -0700 Subject: [PATCH] JS8Call - Added JS8Call development tool chain installation script and notes for building JS8Call from source. Note: this is not run as part of the default installer. This is an optional script for ham nerds like myself. --- scripts/install-js8call-dev-tools.sh | 51 ++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100755 scripts/install-js8call-dev-tools.sh diff --git a/scripts/install-js8call-dev-tools.sh b/scripts/install-js8call-dev-tools.sh new file mode 100755 index 0000000..68994c6 --- /dev/null +++ b/scripts/install-js8call-dev-tools.sh @@ -0,0 +1,51 @@ +#!/bin/bash +# Author : Gaston Gonzalez +# Date : 26 October 2024 +# Purpose : Install JS8Call development tools +set -e +trap 'last_command=$current_command; current_command=$BASH_COMMAND' DEBUG +trap 'et-log "\"${last_command}\" command failed with exit code $?."' ERR + +. ./env.sh + +et-log "Installing JS8Call development tools..." + +apt install \ + qtbase5-dev \ + qtbase5-dev-tools \ + qt5-qmake \ + qtchooser \ + qtmultimedia5-dev \ + libqt5serialport5-dev \ + libfftw3-dev \ + qttools5-dev-tools \ + -y + + +cat << 'EOF' + +# JS8Call Development Notes + +Here are my notes on building JS8Call from source. We are going to modify +this wonderful program with some new features. -- TTP + +## Building JS8Call + +``` +$ mkdir src && cd src +$ git clone https://bitbucket.org/widefido/js8call.git +$ cd js8call +$ mkdir build && cd build +$ cmake .. +$ make +``` + +## Troubleshooting JS8Call + +Start JS8Call with logging. + +``` +$ ./js8call -o out.log +``` + +EOF