Difference between revisions of "Installation/MacOSX"

From PaparazziUAV
Jump to navigation Jump to search
Line 3: Line 3:
The current installation instructions are as follows. As the process evolves and the more people begin to use it the process will become easier and more simplified.
The current installation instructions are as follows. As the process evolves and the more people begin to use it the process will become easier and more simplified.


=Installation=
=Installing from source=
# Install the latest XCode http://developer.apple.com
# Install the latest XCode http://developer.apple.com
# Install MacPorts from http://www.macports.org/install.php
# Install MacPorts from http://www.macports.org/install.php
Line 10: Line 10:
# git clone -o <username> git@github.com:<your github username>/paparazzi-portability-support.git <-- See the Paparazzi GIT page
# git clone -o <username> git@github.com:<your github username>/paparazzi-portability-support.git <-- See the Paparazzi GIT page
# edit /opt/local/etc/macports/sources.conf and above the rsync://... line add file://<local path>/paparazzi-portability-support/darwin/macports/ports/ [nosync] for example: <pre>file:///Users/dummyuser/projects/paparazzi/paparazzi-portability-support/darwin/macports/ports/ [nosync]</pre>
# edit /opt/local/etc/macports/sources.conf and above the rsync://... line add file://<local path>/paparazzi-portability-support/darwin/macports/ports/ [nosync] for example: <pre>file:///Users/dummyuser/projects/paparazzi/paparazzi-portability-support/darwin/macports/ports/ [nosync]</pre>
# sudo port install paparazzi-tools # then go and have lunch, get a coffee, get some sleep. this will probably take a long time
# sudo port install paparazzi # then go and have lunch, get a coffee, get some sleep. this will probably take a long time
# git clone -o <username> git@github.com:<your github username>/paparazzi.git <-- See the Paparazzi GIT page
# cd <GIT>/paparazzi
# make clean
# make
# edit /etc/profile and add export CPPFLAGS="-I/opt/local/include" (TODO: Remove the need for this)
# edit /etc/profile and add export CPPFLAGS="-I/opt/local/include" (TODO: Remove the need for this)


Line 22: Line 18:
==Running Paparazzi==
==Running Paparazzi==
The Paparazzi GCS can be started by running the command
The Paparazzi GCS can be started by running the command
  ./paparazzi.osx &
cd /Users/Shared/paparazzi
  ./paparazzi.osx


==Changing the gtk look and feel==
==Changing the gtk look and feel==

Revision as of 23:29, 14 January 2011

The task of building Paparazzi on for Apple MacOS X is on going.

The current installation instructions are as follows. As the process evolves and the more people begin to use it the process will become easier and more simplified.

Installing from source

  1. Install the latest XCode http://developer.apple.com
  2. Install MacPorts from http://www.macports.org/install.php
  3. sudo port install git-core
  4. login to github and fork paparazzi/paparazzi and paparazzi/paparazzi-portability-support
  5. git clone -o <username> git@github.com:<your github username>/paparazzi-portability-support.git <-- See the Paparazzi GIT page
  6. edit /opt/local/etc/macports/sources.conf and above the rsync://... line add file://<local path>/paparazzi-portability-support/darwin/macports/ports/ [nosync] for example:
    file:///Users/dummyuser/projects/paparazzi/paparazzi-portability-support/darwin/macports/ports/ [nosync]
  7. sudo port install paparazzi # then go and have lunch, get a coffee, get some sleep. this will probably take a long time
  8. edit /etc/profile and add export CPPFLAGS="-I/opt/local/include" (TODO: Remove the need for this)

Configuration

edit <GIT>/conf/control_panel.xml and set the ivy_bus variable to be <your IP Network>:2010

Running Paparazzi

The Paparazzi GCS can be started by running the command

cd /Users/Shared/paparazzi
./paparazzi.osx

Changing the gtk look and feel

Run /opt/local/bin/switch2 to select a different theme. More detailed instructions can be found at http://gtk.php.net/manual/en/html/tutorials/tutorials.installation.macosx-stepbystep.html

Additional themes can be downloaded from http://art.gnome.org/themes/gtk2