Merge pull request #495 from km4ack/beta

Beta
pull/498/head
KM4ACK 2023-02-05 16:00:25 -06:00 zatwierdzone przez GitHub
commit e7b8436fa8
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
16 zmienionych plików z 620 dodań i 541 usunięć

Wyświetl plik

@ -96,6 +96,9 @@ Software TNC. In this setup, Direwolf is used for a 2M packet connection with Pa
#### AX25: #### AX25:
AX.25 tools for Direwolf & Pat. Recommended if installing Pat. 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: #### HAMLIB:
Rig contol software. https://sourceforge.net/projects/hamlib/ Rig contol software. https://sourceforge.net/projects/hamlib/

1046
app-check

Plik diff jest za duży Load Diff

Wyświetl plik

@ -295,7 +295,7 @@ for the Hot Spot\r</b>NOTE: The last field is the password for the hotspot. You
connect to your Pi when it is in hotspot mode <b>This password can only contain letters and numbers</b>" \ connect to your Pi when it is in hotspot mode <b>This password can only contain letters and numbers</b>" \
--title="Build-a-Pi" \ --title="Build-a-Pi" \
--field="Home Wifi SSID":CB "$LIST" \ --field="Home Wifi SSID":CB "$LIST" \
--field="Home Wifi Password" \ --field="Home Wifi Password":H \
--field="Hot Spot Password" \ --field="Hot Spot Password" \
--button="Exit":1 \ --button="Exit":1 \
--button="Continue":2 \ --button="Continue":2 \
@ -432,7 +432,7 @@ if [ ${BUT} = 252 ] || [ ${BUT} = 1 ]; then
fi fi
if [ ${BUT} = 3 ]; then 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 HAMRS EES QSSTV GRIDTRACKER HAMCLOCK PROPAGATION YAAC XASTIR GPREDICT TQSL
GRIDCALC CQRLOG REPEAT) GRIDCALC CQRLOG REPEAT)
@ -462,7 +462,7 @@ if [ -n "$PATCHECK" ]; then
--image ${LOGO} --window-icon=${LOGO} --image-on-top --separator="|" --item-separator="|" \ --image ${LOGO} --window-icon=${LOGO} --image-on-top --separator="|" --item-separator="|" \
--text="<b>version $VERSION</b>" \ --text="<b>version $VERSION</b>" \
--field="Six Character Grid Square" \ --field="Six Character Grid Square" \
--field="Winlink Password" \ --field="Winlink Password":H \
--field="<b>Password is case sensitive</b>":LBL \ --field="<b>Password is case sensitive</b>":LBL \
--button="Continue":2) --button="Continue":2)
GRID=$(echo ${INFO} | awk -F "|" '{print $1}') GRID=$(echo ${INFO} | awk -F "|" '{print $1}')
@ -483,6 +483,7 @@ yad --center --list --checklist --width=600 --height=600 --separator="" \
false "PACKETSEARCH" "Winlink Packet Tool" \ false "PACKETSEARCH" "Winlink Packet Tool" \
false "CALLSIGN" "Call sign lookup" \ false "CALLSIGN" "Call sign lookup" \
false "TEMPCONVERT" "Temperature Converter" \ false "TEMPCONVERT" "Temperature Converter" \
false "HDOCS" "Reference Materials PDFs" \
false "GPARTED" "Disk Utility Tool" \ false "GPARTED" "Disk Utility Tool" \
false "SHOWLOG" "Log file viewer" \ false "SHOWLOG" "Log file viewer" \
false "PISTATS" "Pi3/4 Stats Monitor" \ false "PISTATS" "Pi3/4 Stats Monitor" \
@ -504,7 +505,7 @@ if [ ${BUT} = 252 ] || [ ${BUT} = 1 ]; then
fi fi
if [ ${BUT} = 3 ]; then if [ ${BUT} = 3 ]; then
UTILAPPS=(DIPOLE PACKETSEARCH CALLSIGN TEMPCONVERT GPARTED SHOWLOG PISTATS TELNET PITERM QTSOUND SECURITY YGATE BPQ BATT VNC XYGRIB) UTILAPPS=(DIPOLE PACKETSEARCH CALLSIGN TEMPCONVERT HDOCS GPARTED SHOWLOG PISTATS TELNET PITERM QTSOUND SECURITY YGATE BPQ BATT VNC XYGRIB)
for i in "${UTILAPPS[@]}"; do for i in "${UTILAPPS[@]}"; do
echo "$i" >>${UTILITY} echo "$i" >>${UTILITY}
done done

Wyświetl plik

@ -1,5 +1,20 @@
version=3.3.0 version=3.3.2
3.3.2 Fix WSJTX not installing - Thanks Michael Shriver!
Fix Chirp not installing
Chirp update check changed. See notes in app-check script.
Fix VARA check where Pi user was hard coded
Fix https://github.com/km4ack/pi-build/issues/477
3.3.1 Fix Chirp not installing on 64bit OS - https://github.com/km4ack/pi-build/pull/452
Fix Chirp version check
Fix QSSTV Install - https://github.com/km4ack/pi-build/issues/422
Fix Repeat Start App Check - https://github.com/km4ack/pi-build/issues/450
Add VARIM - https://github.com/km4ack/pi-build/pull/458
Add reference docs - https://github.com/km4ack/pi-build/pull/446
Cleanup app-check script
Fix VARA showing "not installed" when it was installed
Hide Passwords while typing. - Thanks Nullvibes!
Fix FLRIG not in flsuite sub category - Thanks lcgreenwald!
3.3.0 Add VARA modem - https://github.com/km4ack/pi-build/issues/394 3.3.0 Add VARA modem - https://github.com/km4ack/pi-build/issues/394
fix conky 7 inch config - https://github.com/km4ack/pi-build/issues/414 fix conky 7 inch config - https://github.com/km4ack/pi-build/issues/414
fix old ardop modem not removed - https://github.com/km4ack/pi-build/issues/413 fix old ardop modem not removed - https://github.com/km4ack/pi-build/issues/413

Wyświetl plik

@ -51,7 +51,7 @@ PAT() {
sudo systemctl start pat@${WHO} sudo systemctl start pat@${WHO}
sudo systemctl enable pat@${WHO} sudo systemctl enable pat@${WHO}
cd ${DIR} cd ${DIR}
PAT_VERSION=$(pat version | awk '{print $2}' | sed 's/v0.//;s/.0//') PAT_VERSION=$(pat version | awk '{print $2}' | awk -F "." '{print $2}')
#The Pat Winlink config file will change location in version 0.12. The below if statement #The Pat Winlink config file will change location in version 0.12. The below if statement
#checks to see which version is installed. #checks to see which version is installed.
#check to see if pat version is 12 or greater. Change config file location #check to see if pat version is 12 or greater. Change config file location
@ -247,10 +247,11 @@ WSJTX() {
sudo apt install -y build-essential git cmake gfortran fftw3-dev qtbase5-dev qttools5-dev libqt5serialport5-dev qtmultimedia5-dev libqt5multimedia5-plugins libqt5sql5-sqlite autoconf automake libtool texinfo libusb-1.0-0-dev libudev-dev libboost-all-dev asciidoctor sudo apt install -y build-essential git cmake gfortran fftw3-dev qtbase5-dev qttools5-dev libqt5serialport5-dev qtmultimedia5-dev libqt5multimedia5-plugins libqt5sql5-sqlite autoconf automake libtool texinfo libusb-1.0-0-dev libudev-dev libboost-all-dev asciidoctor
FT8PKG=$(curl -s https://physics.princeton.edu/pulsar/k1jt/wsjtx.html | grep .tgz | sed 's/.*="//;s/">.*$//' | head -1) #credit to Michael Shriver for this fix
FT8PKG=$(curl -s https://wsjt.sourceforge.io/wsjtx.html | grep .tgz | sed 's|.*">\(.*\.tgz\)</.*|\1|' | head -1)
FT8DIR=$(echo $FT8PKG | sed 's/.tgz//') FT8DIR=$(echo $FT8PKG | sed 's/.tgz//')
cd ${BUILDDIR} cd ${BUILDDIR}
wget --tries 2 --connect-timeout=60 https://physics.princeton.edu/pulsar/k1jt/$FT8PKG wget --tries 2 --connect-timeout=60 https://sourceforge.net/projects/wsjt/files/$FT8PKG
tar -xvf $FT8PKG tar -xvf $FT8PKG
rm $FT8PKG rm $FT8PKG
cd $FT8DIR cd $FT8DIR
@ -415,12 +416,25 @@ sudo make install
CHIRP() { CHIRP() {
#sudo apt install -y chirp #sudo apt install -y chirp
#sample link - https://github.com/goldstar611/chirp-appimage/releases/download/20230202/Chirp-next-20230202-armhf.AppImage
cd ${DIR} || return cd ${DIR} || return
sudo apt install libfuse2 sudo apt install libfuse2
CHIRPDATE=$(curl -s https://github.com/goldstar611/chirp-appimage | grep "releases/tag/" | sed 's|.*releases/tag/||;s|">||') CHIRPDATE=$(curl -s https://github.com/goldstar611/chirp-appimage | grep "releases/tag/" | sed 's|.*releases/tag/||;s|">||')
LINK="https://github.com/goldstar611/chirp-appimage/releases/download/$CHIRPDATE/Chirp-daily-$CHIRPDATE-armhf.AppImage"
#determine if 32/64 bit and set download link accordingly. issue #382
if [ `getconf LONG_BIT` = '32' ]; then
LINK="https://github.com/goldstar611/chirp-appimage/releases/download/$CHIRPDATE/Chirp-next-$CHIRPDATE-armhf.AppImage"
else
LINK="https://github.com/goldstar611/chirp-appimage/releases/download/$CHIRPDATE/Chirp-next-$CHIRPDATE-aarch64.AppImage"
fi
wget $LINK wget $LINK
CHIRP=$(ls | grep Chirp-daily) CHIRP=$(ls | grep Chirp-next)
sudo mv $CHIRP /usr/local/bin/chirp sudo mv $CHIRP /usr/local/bin/chirp
sudo chmod +x /usr/local/bin/chirp sudo chmod +x /usr/local/bin/chirp
@ -473,6 +487,27 @@ GARIM() {
rm *.gz 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 # QSSTV
################################## ##################################
@ -481,19 +516,17 @@ QSSTV() {
cd ${BUILDDIR} || return cd ${BUILDDIR} || return
TAR=$(curl -s http://users.telenet.be/on4qz/qsstv/downloads/ | grep tar.gz | sed 's/.*href="//' | sed 's/">.*$//' | tail -1) git clone https://github.com/ON4QZ/QSSTV
wget --tries 2 --connect-timeout=60 http://users.telenet.be/on4qz/qsstv/downloads/$TAR cd QSSTV/src || return
tar -xvzf $TAR
SSTVTAR=$(ls -d */ | grep qss)
cd $SSTVTAR || return
qmake qmake
make make
sudo make install sudo make install
sudo make clean sudo make clean
cd ${BUILDDIR} || return cd ${BUILDDIR} || return
rm *.gz
mkdir -p /usr/local/share/pixmaps/ sudo mkdir -p /usr/local/share/pixmaps/
sudo cp ${BUILDDIR}/${SSTVTAR}/icons/qsstv.png /usr/local/share/pixmaps/ sudo cp ${BUILDDIR}/QSSTV/src/icons/qsstv.png /usr/local/share/pixmaps/
cat >qsstv.desktop <<EOF cat >qsstv.desktop <<EOF
[Desktop Entry] [Desktop Entry]
@ -944,7 +977,6 @@ wget https://sourceforge.net/projects/repeater-start/files/$REPEAT_LATEST
sudo dpkg -i $REPEAT_LATEST sudo dpkg -i $REPEAT_LATEST
} }
################################## ##################################
# JTDX # JTDX
################################## ##################################

Wyświetl plik

@ -512,6 +512,24 @@ sudo mv /run/user/$UID/packetsearch.desktop /usr/share/applications/
} }
##################################
# Reference Documents
##################################
HDOCS() {
cd ${HOME}/Documents/
mkdir -p Reference
ln -s ${HOME}/Documents/Reference ${HOME}/Desktop/Reference
cd Reference
wget --tries 2 --connect-timeout=60 https://icomamerica.com/en/amateur/amateurtools/US-BandPlan-Update-1-2020.pdf
wget --tries 2 --connect-timeout=60 https://icomamerica.com/en/amateur/amateurtools/US-Grid-Square-Map-03-05-2019.pdf
wget --tries 2 --connect-timeout=60 https://icomamerica.com/en/amateur/amateurtools/2013_ITU_CQ_WorldMaps.pdf
wget --tries 2 --connect-timeout=60 https://icomamerica.com/en/amateur/amateurtools/HamRadioTerms-2011.pdf
wget --tries 2 --connect-timeout=60 http://www.arrl.org/files/file/Regulatory/Band%20Chart/Band%20Chart.pdf
wget --tries 2 --connect-timeout=60 http://www.arrl.org/files/file/Regulatory/Band%20Chart/Band%20Chart%20-%2011X17%20Color.pdf
wget --tries 2 --connect-timeout=60 http://www.arrl.org/files/file/Get%20on%20the%20Air/Comm%20w%20Other%20Hams-Q%20Signals.pdf
wget --tries 2 --connect-timeout=60 https://www.arrl.org/files/file/Get%20Licensed/Quickstart%20Guide%20EBOOK.pdf
}
################################## ##################################
# PiQtSoundModem # PiQtSoundModem
################################## ##################################

BIN
icons/chirp.png 100644

Plik binarny nie jest wyświetlany.

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 7.4 KiB

BIN
icons/gps.png 100644

Plik binarny nie jest wyświetlany.

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 7.3 KiB

BIN
icons/hamrs.png 100644

Plik binarny nie jest wyświetlany.

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 6.2 KiB

BIN
icons/padlock.png 100644

Plik binarny nie jest wyświetlany.

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 8.6 KiB

BIN
icons/pmlogo.png 100644

Plik binarny nie jest wyświetlany.

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 7.2 KiB

BIN
icons/radio.png 100644

Plik binarny nie jest wyświetlany.

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 9.6 KiB

BIN
icons/vara.png 100644

Plik binarny nie jest wyświetlany.

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 12 KiB

BIN
icons/wrench.png 100644

Plik binarny nie jest wyświetlany.

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 7.0 KiB

Wyświetl plik

@ -54,7 +54,7 @@ echo "updating flwrap"
sudo sed -i "s/Categories.*/Categories=$CATEGORY/" $FLPATH/flwrap.desktop sudo sed -i "s/Categories.*/Categories=$CATEGORY/" $FLPATH/flwrap.desktop
fi fi
if [ -f $FLPATH/flwrap.desktop ]; then if [ -f $FLPATH/flrig.desktop ]; then
echo "updating flrig" echo "updating flrig"
sudo sed -i "s/Categories.*/Categories=$CATEGORY/" $FLPATH/flrig.desktop sudo sed -i "s/Categories.*/Categories=$CATEGORY/" $FLPATH/flrig.desktop
fi fi

6
update
Wyświetl plik

@ -356,7 +356,7 @@ for the Hot Spot\r</b>NOTE: The last field is the password for the hotspot. You
connect to your Pi when it is in hotspot mode <b>This password can only contain letters and numbers</b>" \ connect to your Pi when it is in hotspot mode <b>This password can only contain letters and numbers</b>" \
--title="Build-a-Pi" \ --title="Build-a-Pi" \
--field="Home Wifi SSID":CB "${LIST}" \ --field="Home Wifi SSID":CB "${LIST}" \
--field="Home Wifi Password" \ --field="Home Wifi Password":H \
--field="Hot Spot Password" \ --field="Hot Spot Password" \
--button="Exit":1 \ --button="Exit":1 \
--button="Continue":2 \ --button="Continue":2 \
@ -463,6 +463,7 @@ yad --center --list --checklist --width=600 --height=600 --separator="" \
false "PAT-MENU" "$PATMENU" "Control for Pat Winlink" \ false "PAT-MENU" "$PATMENU" "Control for Pat Winlink" \
false "CHIRP" "$CHIRP" "Program Radios" \ false "CHIRP" "$CHIRP" "Program Radios" \
false "GARIM" "$GARIM" "File Transfer Program " \ false "GARIM" "$GARIM" "File Transfer Program " \
false "VARIM" "$VARIM" "Radio Chat VARA" \
false "M0IAX" "$M0IAX" "Tools for JS8Call messages" \ false "M0IAX" "$M0IAX" "Tools for JS8Call messages" \
false "CONKY" "$CONKY" "System Information Display" \ false "CONKY" "$CONKY" "System Information Display" \
false "WSJTX" "$FT8" "Weak signal digital mode software" \ false "WSJTX" "$FT8" "Weak signal digital mode software" \
@ -510,7 +511,7 @@ if [ -n "$PATCHECK" ]; then
--image ${LOGO} --window-icon=${LOGO} --image-on-top --separator="|" --item-separator="|" \ --image ${LOGO} --window-icon=${LOGO} --image-on-top --separator="|" --item-separator="|" \
--text="<b>version $VERSION</b>" \ --text="<b>version $VERSION</b>" \
--field="Six Character Grid Square" "$GRID" \ --field="Six Character Grid Square" "$GRID" \
--field="Winlink Password" \ --field="Winlink Password":H \
--field="<b>Password is case sensitive</b>":LBL \ --field="<b>Password is case sensitive</b>":LBL \
--button="Continue":2) --button="Continue":2)
GRID=$(echo $INFO | awk -F "|" '{print $1}') GRID=$(echo $INFO | awk -F "|" '{print $1}')
@ -533,6 +534,7 @@ yad --center --list --checklist --width=600 --height=600 --separator="" \
false "PACKETSEARCH" "$PACKETSEARCH" "Winlink Packet Tool" \ false "PACKETSEARCH" "$PACKETSEARCH" "Winlink Packet Tool" \
false "CALLSIGN" "${CALLSIGN}" "Call Sign Lookup Utility" \ false "CALLSIGN" "${CALLSIGN}" "Call Sign Lookup Utility" \
false "TEMPCONVERT" "$TEMPCONVERT" "Temperature Converter" \ false "TEMPCONVERT" "$TEMPCONVERT" "Temperature Converter" \
false "HDOCS" "$HDOCS" "Reference Materials PDFs" \
false "GPARTED" "$GPARTED" "Disk Utility Application" \ false "GPARTED" "$GPARTED" "Disk Utility Application" \
false "RTC" "$RTC" "Real Time Clock" \ false "RTC" "$RTC" "Real Time Clock" \
false "SHOWLOG" "$SHOWLOG" "Log File Viewer" \ false "SHOWLOG" "$SHOWLOG" "Log File Viewer" \