Development / Setup / Ubuntu

Setting up to develop on Ubuntu

Basic packages

sudo apt-get install - the following:

  • git
  • build-essential
  • imagemagick
  • librsvg2-dev
  • libxml-parser-perl
  • xsltproc

Altair & Pocket PC:

  • gcc-mingw32
  • libmpfr-dev
  • XXX Other libprf above
  • librsvg2-bin
  • upx-ucl upx-nrv

Android:

  • libvorbis-dev vorbis-tools
  • default-jre
  • default-jdk
  • ant

Linux:

  • libboost-all-dev
  • zlib1g-dev
  • libsage-dev
  • libsdl1.2-dev
  • libsdl-ttf2.0-dev
  • libsdl-gfx1.2-dev (if you want to compile OPENGL=n)

PC:

  • gcc-mingw32
  • if you want to test the exe, "wine"

Setting up for Andoid

Download 2 * packages, and vorbis & jre in ubuntu packages above

Then ...

  • Install SDK XXX
    • I had to use X11 interface to android to do that
    • There must be a command line way...
  • make TARGET=ANDROID
  • make TARGET=ANDROID output/ANDROID/bin/XCSoar-debug.apk
  • Enable unsigned apps
    • Settings / Applications / Unknown sources

Website build

  • apt-get install ruby rubygems1.8
  • gem install jekyll