Difference between revisions of "Mac OS X"
m |
(→Bazaar) |
||
Line 40: | Line 40: | ||
If you installed [[MacPorts]] you can install [[Bazaar]] like so : | If you installed [[MacPorts]] you can install [[Bazaar]] like so : | ||
<pre> | <pre> | ||
− | sudo port -v install | + | sudo port -v install bzr |
</pre> | </pre> | ||
+ | |||
+ | '''WARNING!''' Be careful not to install the <tt>bazaar</tt> package as it is a deprecated version of Bazaar! Use the <tt>bzr</tt> package. | ||
Having trouble? Check out [http://bazaar-vcs.org/MacPorts the guide to installing Bazaar with MacPorts] from the Bazaar website. | Having trouble? Check out [http://bazaar-vcs.org/MacPorts the guide to installing Bazaar with MacPorts] from the Bazaar website. |
Revision as of 19:14, 4 August 2008
This page will help you get up and running to hack Armagetron on Mac OS X
Prerequisites
Xcode
You'll need Apple's Xcode, this guide was written for version 3.1 on Mac OS X Leopard (10.5.4).
Libraries and dependancies
All the external libraries you'll need are on the SourceForge.net project page
- SDL
- libpng
- libxml
- zthreads
- libfreetype
- ftgl
Extract the archive and copy the ArmagetronAdvanced to
/Library/Frameworks/ArmagetronAdvanced
as stated in the README file.
You could also install everything using MacPorts.
MacPorts
MacPorts may come in handy for installing external libraries and stuff like Subversion and Bazaar. You can get MacPorts from their offical website.
Getting into it
Checking out a working copy
SVN
You should probably use Bazaar to get the workspace but I CBA so I use SVN like everybody else. You can check out the stable branch a la mano like so:
svn co svn co https://svn.sourceforge.net/svnroot/armagetronad/armagetronad/trunk/armagetronad
However, I recommend using Xcode's SCM repository manager (SCM -> Configure SCM Repositories... to set it up) to check out the same folder as above.
Check out working with SVN for more "information".
Bazaar
If you installed MacPorts you can install Bazaar like so :
sudo port -v install bzr
WARNING! Be careful not to install the bazaar package as it is a deprecated version of Bazaar! Use the bzr package.
Having trouble? Check out the guide to installing Bazaar with MacPorts from the Bazaar website.
Creating the project
To open the project in Xcode, easy as pie : just open the Armagetron Advanced.xcodeproj in the MacOS folder where you checked out.
Building
Click the Build button ! Easy !