From 3554e1de199848e90a2e3f00db03aa05f52b648b Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 9 Oct 2013 12:56:15 -0700 Subject: Small fixes to the build notes for Mac Use the correct git tree for libdivecomputer. Only build libmarble, not all of marble Don't try make install for libmarble - it's bogus Copy the correct marble headers Only use sudo to write into /Applications Signed-off-by: Dirk Hohndel --- INSTALL | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/INSTALL b/INSTALL index fe0f7967d..f589bdde3 100644 --- a/INSTALL +++ b/INSTALL @@ -52,25 +52,25 @@ $ brew link --force sqlite $ mkdir -p ~/src/marble/build $ git clone -b KDE/4.11 git://anongit.kde.org/marble ~/src/marble/sources $ cd ~/src/marble/build -$ cmake -DCMAKE_BUILD_TYPE=Debug -DQTONLY=TRUE -DCMAKE_INSTALL_PREFIX=/usr/local ~/src/marble/sources -$ make -$ sudo make install +$ cmake -DCMAKE_BUILD_TYPE=Debug -DQTONLY=TRUE -DCMAKE_INSTALL_PREFIX=/usr/local .. $ cd src/lib +$ make -j4 +$ cp *dylib /usr/local/lib/ $ mkdir -p /usr/local/include/marble +$ cd ../../../source/src/lib $ 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 +$ git clone git://git.libdivecomputer.org/libdivecomputer $ cd libdivecomputer $ git checkout release-0.4 $ autoreconf --install $ ./configure $ make -$ sudo make install +$ make install 6) Compile Subsurface @@ -79,7 +79,7 @@ $ git clone git://subsurface.hohndel.org/subsurface.git $ cd subsurface $ qmake $ make -$ sudo make install +$ sudo make install_mac_bundle After the above is done, Subsurface will be installed to /Applications. -- cgit v1.2.3-70-g09d2