-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make debian doc the master for debian / ubuntu
- Loading branch information
Showing
1 changed file
with
94 additions
and
0 deletions.
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,94 @@ | ||
#!/bin/sh | ||
## Starting point for Debian & Ubuntu packages ... | ||
|
||
CONF=$1 | ||
CONFIRM= | ||
[ -n "$CONF" ] && CONFIRM=-y | ||
|
||
apt $CONFIRM install libgdl-3-dev \ | ||
libchamplain-gtk-0.12-dev \ | ||
libchamplain-0.12-dev \ | ||
libclutter-1.0-dev \ | ||
libclutter-gtk-1.0-dev \ | ||
libgtk-3-dev \ | ||
valac \ | ||
pkg-config \ | ||
build-essential \ | ||
libbluetooth-dev \ | ||
libespeak-dev \ | ||
libgudev-1.0-dev \ | ||
libgstreamer1.0-dev \ | ||
libvte-2.91-dev | ||
|
||
# vanity, prettier terminal progress bars (fcset, flashdl) | ||
apt $CONFIRM install libncurses5-dev | ||
|
||
## and for replay_bbox_ltm.rb | ||
## ruby version 2 or later | ||
|
||
apt $CONFIRM install ruby ruby-json | ||
|
||
## For some ARM boards, without full OpenGL, you may need | ||
|
||
# apt $CONFIRM install libegl1-mesa-dev | ||
## (or something like that) | ||
|
||
## if you want to use speech-dispatcher instead of espeak for voice | ||
## synthesis (or have a choice of either) | ||
## gsettings set org.mwptools.planner speech-api 'speechd' | ||
## or (default) | ||
## gsettings set org.mwptools.planner speech-api 'espeak' | ||
|
||
# apt $CONFIRM install libspeechd-dev | ||
|
||
## for flite as the text to speech API | ||
# apt $CONFIRM install flite flite1-dev | ||
|
||
## For plot-elevation.rb | ||
apt $CONFIRM install gnuplot ruby-nokogiri | ||
|
||
## To use KMZ as an overlay format, you need 'unzip | ||
#apt $CONFIRM install unzip | ||
|
||
## To build bbsummary, you need rust and cargo | ||
# apt $CONFIRM install cargo | ||
|
||
## Shallow clone mwp .... | ||
# git clone --depth 1 https://github.com/stronnag/mwptools | ||
# cd mwptools | ||
# make && sudo make install | ||
|
||
## You must install the blackbox utilities | ||
## https://github.com/iNavFlight/blackbox-tools in order to replay | ||
## blackbox logs. | ||
# git clone --depth 1 https://github.com/iNavFlight/blackbox-tools | ||
# cd blackbox-tools | ||
# make && sudo cp obj/blackbox_decode obj/blackbox_render /usr/local/bin/ | ||
|
||
## and you can use this file to install everything:) | ||
# | ||
## cp ubuntu-deps.txt /tmp/ubuntu-deps.sh | ||
## chmod +x /tmp/ubuntu-deps.sh | ||
## sudo /tmp/ubuntu-deps.sh # interactive confirmation required, or | ||
## sudo /tmp/ubuntu-deps.sh Y # no confirmation required. | ||
## | ||
## The default instruction only set up the master branch (in order in | ||
## minimise the initial setup) . | ||
## In order to access other branches: | ||
# git remote set-branches origin '*' | ||
# git fetch -v | ||
## Then: | ||
## $ git branch | ||
## development | ||
## * master | ||
### And one can checkout development | ||
# git checkout development | ||
## Switched to branch 'development' | ||
## Your branch is up to date with 'origin/development'. | ||
|
||
## Note: If you change a dependency (e.g. add addtional text to speech | ||
## modules) then you need to force a rebuild for mwp to recognise the | ||
## change: | ||
## | ||
## cd mwptools; make clean all | ||
## |