# HG changeset patch # User Wuzzy # Date 1508279009 -3600 # Node ID 254a4e07216eb2d2be6866d62ba532cd2dd07e48 # Parent d79b75f267bbef7e711aae20b177e29e180d18cd BuildingOnMac: Less specific links diff -r d79b75f267bb -r 254a4e07216e BuildingOnMac.wiki --- a/BuildingOnMac.wiki Sat Oct 14 01:20:49 2017 +0100 +++ b/BuildingOnMac.wiki Tue Oct 17 23:23:29 2017 +0100 @@ -18,18 +18,18 @@ Download the following libraries and place them under `/Library/Frameworks/` - * SDL - http://www.libsdl.org/release/SDL-1.2.14.dmg - * SDL_image - http://www.libsdl.org/projects/SDL_image/release/SDL_image-1.2.10.dmg - * SDL_mixer - http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-1.2.11.dmg - * SDL_net - http://www.libsdl.org/projects/SDL_net/release/SDL_net-1.2.8.dmg - * SDL_ttf - http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-2.0.10.dmg - * Ogg sources - http://downloads.xiph.org/releases/ogg/libogg-1.2.1.tar.bz2 - * Vorbis sources - http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.2.tar.bz2 + * SDL - http://www.libsdl.org/release/ + * SDL_image - http://www.libsdl.org/projects/SDL_image/release/ + * SDL_mixer - http://www.libsdl.org/projects/SDL_mixer/release/ + * SDL_net - http://www.libsdl.org/projects/SDL_net/release/ + * SDL_ttf - http://www.libsdl.org/projects/SDL_ttf/release/ + * Ogg sources - http://downloads.xiph.org/releases/ogg/ + * Vorbis sources - http://downloads.xiph.org/releases/vorbis/ === Optional libraries === The following libraries are optional: - * Sparkle (auto-updater) - http://sparkle.andymatuschak.org/files/Sparkle%201.5b6.zip + * Sparkle (auto-updater) - https://github.com/sparkle-project/Sparkle/releases/latest ==== Compiling Ogg Vorbis ==== @@ -43,29 +43,29 @@ If you want to compile server for hosting lan games, you need to download a Haskell compiler: we are going to use the Glasgow Haskell Compiler. - * download the Haskell Platform and install both the GHC and Haskell Platform - http://lambda.galois.com/hp-tmp/2011.2.0.1/Haskell%20Platform%202011.2.0.1-i386.pkg - * run `cabal update` to get an updated list of available libraries and install the necessary dependencies with + * Download the Haskell Platform and install both the GHC and Haskell Platform - https://www.haskell.org/downloads#platform + * Run `cabal update` to get an updated list of available libraries and install the necessary dependencies with {{{ sudo cabal install gameServer/hedgewars-server.cabal }}} - * _(even more optional)_ if you feel experimental, you can also try to use the 64bit variant of Haskell, just make sure that your `~/.cabal/` directory doesn't conflict with previous installations - http://lambda.galois.com/hp-tmp/2011.2.0.1/Haskell%20Platform%202011.2.0.1-x86_64.pkg + * _(even more optional)_ if you feel experimental, you can also try to use the 64bit variant of Haskell, just make sure that your `~/.cabal/` directory doesn't conflict with previous installations === Necessary tools === Download and install the following toolchains - * Freepascal compiler - http://sourceforge.net/projects/freepascal/files/Mac%20OS%20X/2.6.0/ - * CMake - http://www.cmake.org/files/v2.8/cmake-2.8.10.2-Darwin64-universal.dmg - * QT - http://qt-project.org/downloads - * note that for compiling the 64 bit version you need download the `cocoa` version of QT + * Freepascal compiler - https://sourceforge.net/projects/freepascal/files/Mac%20OS%20X/ + * CMake - https://cmake.org/download/ + * Qt - https://www1.qt.io/download/ + * Note that for compiling the 64 bit version you need download the `cocoa` version of Qt == Building process == - * download the source tarball or clone the hg repo - * configure the sources with the following line + * Download the source tarball or clone the Mercurial repo + * Configure the sources with the following line {{{ cmake . -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake -DCMAKE_BUILD_TYPE=Release }}} - * run `make` and `make install` + * Run `make` and `make install` Enjoy! \ No newline at end of file