voacap testing

This commit is contained in:
tangobravo14
2023-05-17 14:54:15 +03:00
parent 598a433a0b
commit 60322a2343
+47 -6
View File
@@ -1363,22 +1363,21 @@ sudo apt-get -y install pulseaudio pavucontrol pulseaudio-utils ||
}
function voacap_install() {
function voacap_install_old() {
if apt-cache show gnome-doc-utils &>/dev/null; then
if apt-cache show gnome-doc-utils &>/dev/null; then
sudo apt-get -y install gfortran ||
{ ERRCODE="Failed to get gfortran dependency for VOACAPL"; errors; return; }
cd $USERDIR && wget -N www.qsl.net/hz1jw/voacapl/downloads/voacapl-0.7.2.tar.gz ||
cd $USERDIR && wget -N https://github.com/jawatson/voacapl/archive/refs/tags/v.0.7.6.tar.gz ||
{ ERRCODE="Failed to download VOACAPL"; errors; return; }
tar -xzf voacapl-0.7.2.tar.gz && rm voacapl-0.7.2.tar.gz && cd voacapl-0.7.2 ||
tar -xzf voacapl-0.7.6.tar.gz && rm voacapl-0.7.6.tar.gz && cd voacapl-0.7.6 ||
{ ERRCODE="Failed to extract VOACAPL"; errors; return; }
./configure && make && sudo make install ||
./configure && make -j4 && sudo make install ||
{ ERRCODE="Failed to compile VOACAPL"; errors; return; }
@@ -1408,6 +1407,48 @@ else
fi
}
function voacap_install() {
sudo apt-get -y install gfortran ||
{ ERRCODE="Failed to get gfortran dependency for VOACAPL"; errors; return; }
cd $USERDIR && wget -N https://github.com/jawatson/voacapl/archive/refs/tags/v.0.7.6.tar.gz ||
{ ERRCODE="Failed to download VOACAPL"; errors; return; }
tar -xzf voacapl-0.7.6.tar.gz && rm voacapl-0.7.6.tar.gz && cd voacapl-0.7.6 ||
{ ERRCODE="Failed to extract VOACAPL"; errors; return; }
./configure && make -j4 && sudo make install ||
{ ERRCODE="Failed to compile VOACAPL"; errors; return; }
makeitshfbc ||
{ ERRCODE="VOACAPL makeitshfbc failed"; errors; return; }
ssudo apt-get -y install build-essential python3-matplotlib python3-cartopy python3-scipy ||
{ ERRCODE="Failed to get dependencies for VOACAPL pythonprop GUI"; errors; return; }
cd $USERDIR && wget -N https://github.com/jawatson/pythonprop/archive/refs/tags/v0.30.1.tar.gz ||
{ ERRCODE="Failed to download VOACAPL pythonprop GUI"; errors; return; }
tar -xzf pythonprop-0.30.1.tar.gz && rm pythonprop-0.30.1tar.gz && cd pythonprop-0.30.1 ||
{ ERRCODE="Failed to extract VOACAPL pythonprop GUI"; errors; return; }
./configure && sudo make install ||
{ ERRCODE="Failed to compile VOACAPL pythonprop GUI"; errors; return; }
#else
# { echo voacap_os >> /tmp/cleanup; } && { ERRCODE="VOACAP GUI is not supported on your OS."; errors; return; }
#fi
}
#function old_chirp_install() {
#if [[ $NEWCHIRP == "SERVER DOWN" ]]; then
# echo "CHIRP server unresponsive or broken link." >> /tmp/failures