diff options
author | Henrik Brautaset Aronsen <subsurface@henrik.synth.no> | 2013-10-06 19:28:50 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-10-06 11:19:40 -0700 |
commit | 3e2faa4239bff6e7e7906e7de2203e8fdd248b1e (patch) | |
tree | 73f51eca885311c618c1c08b851fa0f18b61fd4c /README | |
parent | b3490213f42ed63bc4b05b37bcfc12809f2d432c (diff) | |
download | subsurface-3e2faa4239bff6e7e7906e7de2203e8fdd248b1e.tar.gz |
Add a guide on how to build Subsurface on MacOSX with Homebrew.
Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'README')
-rw-r--r-- | README | 49 |
1 files changed, 49 insertions, 0 deletions
@@ -46,6 +46,55 @@ sudo launchctl load -w /Library/LaunchDaemons/org.freedesktop.dbus-system.plist launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist sudo chown -R ${USER} ~/Library/Preferences/KDE +Buildling the Qt version under MacOSX, using dependencies from Homebrew +----------------------------------------------------------------------- + +1) Install Homebrew + +$ ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)" + +2) Install needed dependencies + +$ brew install asciidoc libzip qt sqlite cmake libusb pkg-config + +3) Make the brew version of sqlite the default + +$ brew link --force sqlite + +4) Install Marble + +$ mkdir -p ~/src/marble/build +$ git clone -b KDE/4.11 git://anongit.kde.org/marble ~/src/marble/sources +$ cd ~/src/marble/sources +$ cmake -DCMAKE_BUILD_TYPE=Debug -DQTONLY=TRUE -DCMAKE_INSTALL_PREFIX=/usr/local ~/src/marble/sources +$ make +$ sudo make install +$ cd src/lib +$ mkdir -p /usr/local/include/marble +$ cp $(find . -name '*.h') /usr/local/include/marble/ +$ cp *dylib /usr/local/lib/ + +5) Install Libdivecomputer + +$ brew install automake libtool +$ cd ~/src +$ git clone git://libdivecomputer.git.sourceforge.net/gitroot/libdivecomputer/libdivecomputer +$ cd libdivecomputer +$ git checkout release-0.4 +$ autoreconf --install +$ ./configure +$ make +$ sudo make install + +6) Compile Subsurface + +$ cd ~/src +$ git clone git://subsurface.hohndel.org/subsurface.git +$ cd subsurface +$ git checkout -t hohndel/glib-removal-hack +$ make + + Subsurface - an Open Source Divelog =================================== |