mirror of https://github.com/lwvmobile/dsd-fme.git
Update Install Scripts with ki4hyf tweaks;
This commit is contained in:
parent
18f24215e5
commit
5e0f64a7c2
|
|
@ -1,57 +1,52 @@
|
||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
#
|
||||||
|
cdir=$(pwd)
|
||||||
clear
|
clear
|
||||||
echo DSD-FME Digital Speech Decoder - Florida Man Edition Auto Installer For Arch Linux
|
printf "Digital Speech Decoder: Florida Man Edition - Auto Installer For Arch Linux\n
|
||||||
echo This will install the required packages, clone, build, and install DSD-FME only.
|
This will install the required packages, clone, build, and install DSD-FME only.
|
||||||
echo This has been tested on Arch 2023.08.01 and Manjaro XFCE 22.1.3 Minimal.
|
This has been tested on Arch 2023.08.01 and Manjaro XFCE 22.1.3 Minimal.\n
|
||||||
echo
|
MBELib is considered a requirement on this build.
|
||||||
echo MBELib is considered a requirement on this build.
|
You must view the Patent Notice prior to continuing.
|
||||||
echo You must view this notice prior to continuing.
|
The Patent Notice can be found at the site below.
|
||||||
echo The Patent Notice can be found at the site below.
|
https://github.com/lwvmobile/mbelib#readme
|
||||||
echo https://github.com/lwvmobile/mbelib#readme
|
Please confirm that you have viewed the patent notice by entering y below.\n\n"
|
||||||
echo Please confirm that you have viewed the patent notice by entering y below.
|
read -p "Have you viewed the patent notice? y/N " ANSWER
|
||||||
echo
|
ANSWER=$(printf "$ANSWER"|tr '[:upper:]' '[:lower:]')
|
||||||
echo y/N
|
if [ "$ANSWER" = "y" ]; then
|
||||||
read ANSWER
|
|
||||||
Y='y'
|
|
||||||
if [[ $Y == $ANSWER ]]; then
|
|
||||||
|
|
||||||
sudo pacman -Syu #always run a full update first, partial upgrades aren't supported in Arch -- including downloading dependencies, that may require an updated dependency, and breaks same dependency on another package, a.k.a, dependency hell
|
sudo pacman -Syu #always run a full update first, partial upgrades aren't supported in Arch -- including downloading dependencies, that may require an updated dependency, and breaks same dependency on another package, a.k.a, dependency hell
|
||||||
sudo pacman -S libpulse cmake ncurses lapack perl fftw rtl-sdr codec2 base-devel libsndfile git wget
|
sudo pacman -S libpulse cmake ncurses lapack perl fftw rtl-sdr codec2 base-devel libsndfile git wget
|
||||||
|
|
||||||
echo Installing itpp 4.3.1 from Arch Strike --Tested on Arch 2023.08.01 and Manjaro XFCE 22.1.3 Minimal
|
printf "Installing itpp 4.3.1 from Arch Strike --Tested on Arch 2023.08.01 and Manjaro XFCE 22.1.3 Minimal\n"
|
||||||
wget https://mirror.archstrike.org/x86_64/archstrike/itpp-4.3.1-3-x86_64.pkg.tar.xz
|
wget https://mirror.archstrike.org/x86_64/archstrike/itpp-4.3.1-3-x86_64.pkg.tar.xz
|
||||||
sudo pacman -U itpp-4.3.1-3-x86_64.pkg.tar.xz
|
sudo pacman -U itpp-4.3.1-3-x86_64.pkg.tar.xz
|
||||||
sudo rm -R itpp-4.3.1-3-x86_64.pkg.tar.xz
|
sudo rm -R itpp-4.3.1-3-x86_64.pkg.tar.xz
|
||||||
|
|
||||||
git clone https://github.com/lwvmobile/mbelib
|
git clone https://github.com/lwvmobile/mbelib
|
||||||
cd mbelib
|
cd mbelib
|
||||||
git checkout ambe_tones
|
git checkout ambe_tones
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake ..
|
cmake ..
|
||||||
make -j `nproc`
|
make -j $(nproc)
|
||||||
sudo make install
|
sudo make install
|
||||||
sudo ldconfig
|
sudo ldconfig
|
||||||
sudo cp /usr/local/lib/libmbe.so /usr/lib/libmbe.so
|
sudo cp /usr/local/lib/libmbe.so /usr/lib/libmbe.so
|
||||||
|
cd $cdir
|
||||||
|
|
||||||
cd ..
|
git clone https://github.com/lwvmobile/dsd-fme
|
||||||
cd ..
|
### For branch audio_work - git clone --branch audio_work https://github.com/lwvmobile/dsd-fme
|
||||||
|
cd dsd-fme
|
||||||
|
git checkout audio_work
|
||||||
|
mkdir build
|
||||||
|
cd build
|
||||||
|
cmake ..
|
||||||
|
make -j $(nproc)
|
||||||
|
sudo make install
|
||||||
|
sudo ldconfig
|
||||||
|
|
||||||
git clone https://github.com/lwvmobile/dsd-fme
|
printf "Any issues, Please report to either:\nhttps://github.com/lwvmobile/dsd-fme/issues or\nhttps://forums.radioreference.com/threads/dsd-fme.438137/\n\n"
|
||||||
cd dsd-fme
|
|
||||||
git checkout audio_work
|
|
||||||
mkdir build
|
|
||||||
cd build
|
|
||||||
cmake ..
|
|
||||||
make -j `nproc`
|
|
||||||
sudo make install
|
|
||||||
sudo ldconfig
|
|
||||||
|
|
||||||
echo Any issues, Please report to either
|
|
||||||
echo https://github.com/lwvmobile/dsd-fme/issues
|
|
||||||
echo https://forums.radioreference.com/threads/dsd-fme.438137/
|
|
||||||
|
|
||||||
else
|
else
|
||||||
echo
|
printf "Sorry, you cannot build DSD-FME without acknowledging the Patent Notice.\n\n"
|
||||||
echo Sorry, you cannot build DSD-FME without acknowledging the Patent Notice.
|
fi
|
||||||
fi
|
|
||||||
|
|
@ -1,17 +1,17 @@
|
||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
clear
|
clear
|
||||||
echo DSD-FME Digital Speech Decoder - Florida Man Edition Auto Installer
|
printf "\nDigital Speech Decoder: Florida Man Edition - Auto Installer\n
|
||||||
echo This will clone, build, and install DSD-FME only.
|
This will clone, build, and install DSD-FME only.
|
||||||
echo If you need dependencies installed, please run download-and-install.sh instead.
|
If DSD-FME has never been installed on this machine,
|
||||||
echo
|
then you will need to install the dependencies first!
|
||||||
|
Please run download-and-install.sh instead.\n\n"
|
||||||
read -p "Press enter to continue"
|
read -p "Press Enter to continue..." x
|
||||||
|
|
||||||
git clone https://github.com/lwvmobile/dsd-fme
|
git clone https://github.com/lwvmobile/dsd-fme
|
||||||
cd dsd-fme
|
cd dsd-fme
|
||||||
|
git checkout audio_work
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake ..
|
cmake ..
|
||||||
make -j `nproc`
|
make -j $(nproc)
|
||||||
sudo make install
|
sudo make install
|
||||||
sudo ldconfig
|
sudo ldconfig
|
||||||
|
|
@ -1,61 +1,44 @@
|
||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
#
|
||||||
|
cdir=$(pwd)
|
||||||
clear
|
clear
|
||||||
echo DSD-FME Digital Speech Decoder - Florida Man Edition Auto Installer
|
printf "Digital Speech Decoder: Florida Man Edition - Auto Installer\n
|
||||||
echo MBELib is considered a requirement on this build.
|
MBELib is considered a requirement on this build.
|
||||||
echo You must view this notice prior to continuing.
|
You must view the Patent Notice prior to continuing.
|
||||||
echo The Patent Notice can be found at the site below.
|
The Patent Notice can be found at the site below.
|
||||||
echo https://github.com/lwvmobile/mbelib#readme
|
https://github.com/lwvmobile/mbelib#readme
|
||||||
echo Please confirm that you have viewed the patent notice by entering y below.
|
Please confirm that you have viewed the patent notice by entering y below:\n\n"
|
||||||
echo
|
read -p "Have you viewed the patent notice? y/N " ANSWER
|
||||||
echo y/N
|
ANSWER=$(printf "$ANSWER"|tr '[:upper:]' '[:lower:]')
|
||||||
read ANSWER
|
if [ "$ANSWER" = "y" ]; then
|
||||||
Y='y'
|
sudo apt update
|
||||||
if [[ $Y == $ANSWER ]]; then
|
sudo apt install libpulse-dev pavucontrol libsndfile1-dev libfftw3-dev liblapack-dev socat libusb-1.0-0-dev libncurses5 libncurses5-dev rtl-sdr librtlsdr-dev libusb-1.0-0-dev cmake git wget make build-essential libitpp-dev libncursesw5-dev libcodec2-dev
|
||||||
|
chkitpp=$(sudo apt search libitpp-dev 2>&1|grep -ci "installed")
|
||||||
sudo apt update
|
if [ "$chkitpp" -lt "1" ];then
|
||||||
sudo apt install libpulse-dev pavucontrol libsndfile1-dev libfftw3-dev liblapack-dev socat libusb-1.0-0-dev libncurses5 libncurses5-dev rtl-sdr librtlsdr-dev libusb-1.0-0-dev cmake git wget make build-essential libitpp-dev libncursesw5-dev libcodec2-dev
|
printf "\nFor some reason, ITPP did NOT install!\nYou may have to manually install it.\n\n"
|
||||||
|
read -p "Press Enter to exit..." x
|
||||||
echo ITPP Manual Build and Install has been temporarily removed from this script due to issues with older versions of Ubuntu.
|
exit 1
|
||||||
echo Please check to see that libitpp-dev has successfully been downloaded and installed from the repo.
|
fi
|
||||||
read -p "Press enter to continue"
|
git clone https://github.com/lwvmobile/mbelib
|
||||||
|
cd mbelib
|
||||||
#wget -O itpp-latest.tar.bz2 http://sourceforge.net/projects/itpp/files/latest/download?source=files
|
git checkout ambe_tones
|
||||||
#tar xjf itpp*
|
mkdir build
|
||||||
#if you can't cd into this folder, double check folder name first
|
cd build
|
||||||
#cd itpp-4.3.1
|
cmake ..
|
||||||
#mkdir build
|
make -j $(nproc)
|
||||||
#cd build
|
sudo make install
|
||||||
#cmake ..
|
sudo ldconfig
|
||||||
#make -j `nproc`
|
cd $cdir
|
||||||
#sudo make install
|
git clone https://github.com/lwvmobile/dsd-fme
|
||||||
#sudo ldconfig
|
cd dsd-fme
|
||||||
#cd ..
|
git checkout audio_work
|
||||||
#cd ..
|
mkdir build
|
||||||
|
cd build
|
||||||
git clone https://github.com/lwvmobile/mbelib
|
cmake ..
|
||||||
cd mbelib
|
make -j $(nproc)
|
||||||
mkdir build
|
sudo make install
|
||||||
cd build
|
sudo ldconfig
|
||||||
cmake ..
|
|
||||||
make -j `nproc`
|
|
||||||
sudo make install
|
|
||||||
sudo ldconfig
|
|
||||||
cd ..
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
git clone https://github.com/lwvmobile/dsd-fme
|
|
||||||
cd dsd-fme
|
|
||||||
mkdir build
|
|
||||||
cd build
|
|
||||||
cmake ..
|
|
||||||
make -j `nproc`
|
|
||||||
sudo make install
|
|
||||||
sudo ldconfig
|
|
||||||
|
|
||||||
else
|
else
|
||||||
echo
|
printf "\nSorry, you cannot build DSD-FME without acknowledging the Patent Notice.\nExiting...\n\n"
|
||||||
echo Sorry, you cannot build DSD-FME without acknowledging the Patent Notice.
|
exit 2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1,6 +1,8 @@
|
||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake ..
|
cmake ..
|
||||||
make -j `nproc`
|
make -j $(nproc)
|
||||||
sudo make install
|
sudo make install
|
||||||
sudo ldconfig
|
sudo ldconfig
|
||||||
11
rebuild.sh
11
rebuild.sh
|
|
@ -1,8 +1,8 @@
|
||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
#
|
||||||
clear
|
clear
|
||||||
echo DSD-FME Digital Speech Decoder - Florida Man Edition
|
printf "DSD-FME Digital Speech Decoder - Florida Man Edition
|
||||||
echo Automatic Git Pull and Rebuild
|
Automatic Git Pull and Rebuild\n\n"
|
||||||
echo
|
|
||||||
sleep 1
|
sleep 1
|
||||||
##Open your clone folder##
|
##Open your clone folder##
|
||||||
git pull
|
git pull
|
||||||
|
|
@ -10,7 +10,6 @@ sleep 2
|
||||||
##cd into your build folder##
|
##cd into your build folder##
|
||||||
cd build
|
cd build
|
||||||
cmake ..
|
cmake ..
|
||||||
make -j `nproc`
|
make -j $(nproc)
|
||||||
sudo make install
|
sudo make install
|
||||||
sudo ldconfig
|
sudo ldconfig
|
||||||
|
|
||||||
Loading…
Reference in New Issue