forked from szechyjs/dsd
-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto install for Arch/Manjaro #160
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
7e9f3ed
download-and-install-Arch.sh
francisuk1989 ebef0b4
Fix a few things
lwvmobile ec715d7
Fix libmbe.so
lwvmobile 14098c0
Add User Confirmation Check
lwvmobile 8ef5743
Add a Line Break
lwvmobile 0675595
remove duplicate rtl-sdr package
lwvmobile 875a5b7
Update Install_Notes.md
lwvmobile File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
#! /bin/bash | ||
clear | ||
echo DSD-FME Digital Speech Decoder - Florida Man Edition Auto Installer For Arch Linux | ||
echo 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. | ||
echo | ||
echo MBELib is considered a requirement on this build. | ||
echo You must view this notice prior to continuing. | ||
echo The Patent Notice can be found at the site below. | ||
echo /~https://github.com/lwvmobile/mbelib#readme | ||
echo Please confirm that you have viewed the patent notice by entering y below. | ||
echo | ||
echo y/N | ||
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 -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 | ||
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 rm -R itpp-4.3.1-3-x86_64.pkg.tar.xz | ||
|
||
git clone /~https://github.com/lwvmobile/mbelib | ||
cd mbelib | ||
git checkout ambe_tones | ||
mkdir build | ||
cd build | ||
cmake .. | ||
make -j `nproc` | ||
sudo make install | ||
sudo ldconfig | ||
#sudo cp /usr/local/lib/libmbe.a /usr/lib/libmbe.a | ||
sudo cp /usr/local/lib/libmbe.so /usr/lib/libmbe.so #this is the only one we need to copy | ||
#sudo cp /usr/local/lib/libmbe.so.1 /usr/lib/libmbe.so.1 | ||
#sudo cp /usr/local/lib/libmbe.so.1.3 /usr/lib/libmbe.so.1.3 | ||
cd .. | ||
cd .. | ||
|
||
git clone /~https://github.com/lwvmobile/dsd-fme | ||
### For branch v2.1b - git clone --branch v2.1b /~https://github.com/lwvmobile/dsd-fme | ||
cd dsd-fme | ||
git checkout v2.1b | ||
sudo cp tone8.wav /usr/share/ | ||
sudo cp tone24.wav /usr/share/ | ||
sudo cp tone48.wav /usr/share/ | ||
sudo chmod 777 /usr/share/tone8.wav | ||
sudo chmod 777 /usr/share/tone24.wav | ||
sudo chmod 777 /usr/share/tone48.wav | ||
mkdir build | ||
cd build | ||
cmake .. | ||
make -j `nproc` | ||
sudo make install | ||
sudo ldconfig | ||
sudo rm -R dsd-fme | ||
|
||
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 | ||
echo | ||
echo Sorry, you cannot build DSD-FME without acknowledging the Patent Notice. | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On line 40 (At the end) - Do you think it might a good idea to remove the dsd-fme and other packages for a clean up?
something like either
or just do it automatically.
However ithis would affect /~https://github.com/lwvmobile/dsd-fme/blob/main/rebuild.sh
Ok.
Installed from Arch (No desktop gui) and can confium that everything works nicely!