From 02ef9f9fdadd375b66d6bc0a4a1c45cd31ef3914 Mon Sep 17 00:00:00 2001 From: thetechprepper Date: Wed, 17 Sep 2025 11:34:14 -0700 Subject: [PATCH 1/2] fldigi - Initial installation script for fldigi --- scripts/install-fldigi.sh | 44 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100755 scripts/install-fldigi.sh diff --git a/scripts/install-fldigi.sh b/scripts/install-fldigi.sh new file mode 100755 index 0000000..673dbc3 --- /dev/null +++ b/scripts/install-fldigi.sh @@ -0,0 +1,44 @@ +#!/bin/bash +# Author : Gaston Gonzalez +# Date : 17 September 2025 +# Purpose : Builds and installs fldigi +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 + +APP="fldigi" +VERSION="4.2.09" +APP_AND_VERSION="${APP}-${VERSION}" +GIT_TAG="v4.2.09" +GIT_URL="https://git.code.sf.net/p/fldigi/fldigi" +GIT_WORKSPACE="fldigi" +INSTALL_DIR="/opt/${APP_AND_VERSION}" +LINK_PATH="/opt/${APP}" + +et-log "Installing ${APP} ${VERSION}" + +CWD_DIR=`pwd` + +cd ${ET_SRC_DIR} +[[ ! -e ${GIT_WORKSPACE} ]] && git clone ${GIT_URL} ${GIT_WORKSPACE} + +cd ${GIT_WORKSPACE} +git checkout ${GIT_TAG} + +# Generate config script +autoreconf -i && ./configure --prefix=${INSTALL_DIR} + +# Compile +make + +# Install +make install + +[[ -e ${LINK_PATH} ]] && rm ${LINK_PATH} +ln -v -s ${INSTALL_DIR} ${LINK_PATH} + +stow -v -d /opt ${APP} -t /usr/local + +cd ${CWD} From a6fe8b3ae0a2b45fc754116c684b517d7cca91f2 Mon Sep 17 00:00:00 2001 From: thetechprepper Date: Tue, 30 Sep 2025 02:59:51 -0700 Subject: [PATCH 2/2] fldigi - Added fldigi (with no PnP) to installer --- scripts/install.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/install.sh b/scripts/install.sh index 655e658..d59220c 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -2,7 +2,7 @@ # # Author : Gaston Gonzalez # Date : 16 March 2024 -# Updated : 16 August 2025 +# Updated : 30 September 2025 # Purpose : Main installer for EmComm Tools Community (ETC) . ./env.sh @@ -87,3 +87,7 @@ exitIfNotRoot # Install prediction tools ./install-voacap.sh + +# Install fldigi suite +./install-fldigi.sh +# TODO: add installers for flmsg and flamp