BuildingOnMac.wiki
changeset 755 7ba641398b3e
parent 335 fd93f8d6f64d
child 756 03c80807b053
--- a/BuildingOnMac.wiki	Sun Jan 17 12:54:00 2016 +0000
+++ b/BuildingOnMac.wiki	Sun Jan 17 12:54:45 2016 +0000
@@ -1,19 +1,20 @@
 #summary Instructions for building Hedgewars on Mac OS X
 #labels Phase-Implementation,Phase-Deploy,Phase-Support
 
-= Prerequisites =
+= Building on Mac OS =
+== Prerequisites ==
 
   * XCode must be installed with command line tools
   * some knowledge of Terminal is preferred
 
-=== Notes ===
+==== Notes ====
 
    # it has been reported that Xcode 3.2.6 creates problem when linking frameworks! If you can't use another version, try this: https://discussions.apple.com/thread/2781968?threadID=2781968&tstart=105
    # for Xcode 4 onwards, you need to install the command line tools: open Xcode, go to Preferences, select "Downloads" and install the "Command Line Tools".
    # for Qt series 4.7, only versions 4.7.0 and 4.7.4 are not suffering from this bug http://bugreports.qt.nokia.com/browse/QTBUG-17333 any other version will not work with online games.
    # Lion has an incompatible ABI with older version of Freepascal! Use only the new Freepascal version 2.6.0 or newer. See http://bugs.freepascal.org/view.php?id=19269
 
-== Necessary Libraries ==
+=== Necessary libraries ===
 
 Download the following libraries and place them under `/Library/Frameworks/`
 
@@ -25,12 +26,12 @@
   * 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
 
-== Optional Libraries ==
+=== Optional libraries ===
 
 The following libraries are optional:
  * Sparkle (auto-updater) - http://sparkle.andymatuschak.org/files/Sparkle%201.5b6.zip
 
-=== Compiling Ogg Vorbis ===
+==== Compiling Ogg Vorbis ====
 
 Since there is no framework distribution for ogg vorbis libraries, we will need to compile our own. Extract the sources and open the relative .xcodeproj file.
 
@@ -38,7 +39,7 @@
 
 After that build as usual and copy the generated framework to the usual `/Library/Frameworks/` directory.
 
-=== (Optional) Server ===
+==== (Optional) Server ====
 
 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.
 
@@ -49,7 +50,7 @@
 }}}
   * _(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
 
-== Necessary Tools ==
+=== Necessary tools ===
 
 Download and install the following toolchains
 
@@ -58,7 +59,7 @@
   * QT - http://qt-project.org/downloads
   * note that for compiling the 64 bit version you need download the `cocoa` version of QT
 
-= Building process =
+== Building process ==
 
   * download the source tarball or clone the hg repo
   * configure the sources with the following line