]> de.git.xonotic.org Git - xonotic/netradiant.git/blob - setup/apple/README.md
Merge branch 'SiPlus/tga-grey-rle' into 'master'
[xonotic/netradiant.git] / setup / apple / README.md
1 NetRadiant for Apple OS X
2 ========================
3
4 This directory provides packaging steps for NetRadiant for OS X. This document describes compiling the application on OSX as well as generating distributable bundles using the framework provided in this directory.
5
6 Dependencies & Compilation
7 --------------------------
8
9 Directions for OS X Yosemite 10.10 - your mileage may vary:
10
11 - Install [MacPorts](http://macports.org).
12 - Install [XQuartz](http://xquartz.macosforge.org/)
13
14 - Install dependencies with MacPorts:
15
16 ```
17 sudo port install dylibbundler pkgconfig gtkglext
18 ```
19
20 - Get the NetRadiant code and compile:
21
22 ```
23 git clone https://gitlab.com/xonotic/netradiant.git
24 cd netradiant/
25 make
26 ```
27
28 - Run the build:
29
30 (from the netradiant/ directory)
31 ```
32 ./install/radiant
33 ```
34
35 XQuartz note: on my configuration XQuartz doesn't automatically start for some reason. I have to open another terminal, and run the following command: `/Applications/Utilities/XQuartz.app/Contents/MacOS/X11.bin`, then start radiant. 
36     
37 Building NetRadiant.app
38 -----------------------
39
40 The `Makefile` in the 'setup/apple/' directory will produce a distributable .app bundle for NetRadiant using `dylibbundler`:
41
42 ```
43 make
44 make image
45 ```
46
47 Getting help
48 ------------
49
50 IRC: Quakenet #xonotic, or post something on the issue tracker..