Skip to content

Commit

Permalink
Merge pull request km4ack#458 from SpudGunMan/varim
Browse files Browse the repository at this point in the history
add varim to bap
  • Loading branch information
km4ack authored Oct 19, 2022
2 parents 680eb6d + 1150033 commit 30dc536
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ Software TNC. In this setup, Direwolf is used for a 2M packet connection with Pa
#### AX25:
AX.25 tools for Direwolf & Pat. Recommended if installing Pat.

#### gARIM/vARIM:
ARIM means "Amateur Radio Instant Messaging" https://www.whitemesa.net/garim/garim.html and https://www.whitemesa.net/varim/varim.html using ARDROP or VARA modem

#### HAMLIB:
Rig contol software. https://sourceforge.net/projects/hamlib/

Expand Down
17 changes: 17 additions & 0 deletions app-check
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,23 @@ CHECK() {
fi
fi

#----------------------------------------------------#
# VARIM
#----------------------------------------------------#
echo "Checking VARIM"
if ! hash varim 2>/dev/null; then
echo "VARIM=Not_Installed" >> $UPDATEFILE
else
VARIM=$(varim --version | head -n1 | awk -F ' ' '{print $2}')
NEWVARIM=$(curl -s https://www.whitemesa.net/varim/varim.html | grep -m 1 \
"armv7l.tar.gz" | awk -F '-' '{print $2}')
if (($(echo "${NEWVARIM} ${VARIM}" | awk '{print ($1 > $2)}'))); then
echo "VARIM=NEEDS-UPDATE" >> $UPDATEFILE
else
echo "VARIM=is_latest_version" >> $UPDATEFILE
fi
fi

#----------------------------------------------------#
# XASTIR
#----------------------------------------------------#
Expand Down
2 changes: 1 addition & 1 deletion build-a-pi
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ if [ ${BUT} = 252 ] || [ ${BUT} = 1 ]; then
fi

if [ ${BUT} = 3 ]; then
ADDAPPS=(CONKY PI-APRS CHIRP GARIM PAT PAT-MENU JS8CALL M0IAX WSJTX PYQSO
ADDAPPS=(CONKY PI-APRS CHIRP GARIM VARIM PAT PAT-MENU JS8CALL M0IAX WSJTX PYQSO
HAMRS EES QSSTV GRIDTRACKER HAMCLOCK PROPAGATION YAAC XASTIR GPREDICT TQSL
GRIDCALC CQRLOG REPEAT)

Expand Down
21 changes: 21 additions & 0 deletions functions/additional.function
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,27 @@ GARIM() {
rm *.gz
}


################################
# VARIM
##################################
VARIM() {
sudo apt-get install -y libfltk1.1-dev
sudo apt-get install -y libfltk1.3-dev
VPKG=$(curl -s https://www.whitemesa.net/varim/src/ | grep tar.gz | tail -1 | sed 's/^.*varim/varim/' | sed 's/tar.gz.*$/tar.gz/')
cd ${BUILDDIR} || return
wget --tries 2 --connect-timeout=60 https://www.whitemesa.net/varim/src/$VPKG
tar -xzvf $VPKG
DIRR=$(echo $VPKG | sed 's/.tar.gz//')
cd ${DIRR} || return
./configure
make
sudo make install
sudo make clean
cd ${BUILDDIR} || return
rm *.gz
}

##################################
# QSSTV
##################################
Expand Down
1 change: 1 addition & 0 deletions update
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,7 @@ yad --center --list --checklist --width=600 --height=600 --separator="" \
false "PAT-MENU" "$PATMENU" "Control for Pat Winlink" \
false "CHIRP" "$CHIRP" "Program Radios" \
false "GARIM" "$GARIM" "File Transfer Program " \
false "VARIM" "$VARIM" "Radio Chat VARA" \
false "M0IAX" "$M0IAX" "Tools for JS8Call messages" \
false "CONKY" "$CONKY" "System Information Display" \
false "WSJTX" "$FT8" "Weak signal digital mode software" \
Expand Down

0 comments on commit 30dc536

Please sign in to comment.