]> de.git.xonotic.org Git - xonotic/netradiant.git/blob - COMPILING
* new strings marked translateable in the preferences menus
[xonotic/netradiant.git] / COMPILING
1 developer documentation for GtkRadiant 1.6.0 (Zeroradiant)
2 ==========================================================
3
4 getting the source
5 ==================
6
7 The latest source is available from the Subversion repository.
8   https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk/
9
10 The subversion client can be obtained from the Subversion site.
11   http://subversion.tigris.org
12
13 To get a copy of the source using the commandline Subversion client:
14   Change the current directory to the desired location for the source.
15   svn checkout https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk/ ./GtkRadiant
16   svn checkout https://zerowing.idsoftware.com/svn/radiant.gamepacks/Q3Pack/trunk/ ./GtkRadiant/games/Q3Pack
17   svn checkout https://zerowing.idsoftware.com/svn/radiant.gamepacks/UFOAIPack/trunk/ ./GtkRadiant/games/UFOAIPack
18
19
20 Linux/OSX(using X-windows)
21 ==========================
22
23 environment:
24 - gcc >= version 3.1 (preferably)
25 - scons >= 0.96 (radiant is built with scons rather than make)
26 - python >= 2.3.0, (scons requires python, some build steps use python)
27 - svn >= 1.1 (some build steps use svn)
28
29 dependencies:
30 - gtk+ >= 2.4.0 (requires glib, atk, pango, iconv, etc)
31 - gtkglext >= 1.0.0 (requires opengl)
32 - libxml2 >= 2.0.0
33 - zlib >= 1.2.0 (for archivezip module)
34 - libpng >= 1.2.0 (for imagepng module)
35 - libmhash = 0.9.0 (for q3map2)
36
37 build:
38 Execute 'scons SETUP=0' in the directory containing SConscript
39
40 install:
41 run 'python ./GtkRadiant/install.py'
42 note - this script should be run after each time you update from svn
43
44 run:
45 Execute './GtkRadiant/install/radiant.x86' (or './GtkRadiant/install/radiant.ppc' on osx)
46
47
48 Win32 (2000, XP or Vista)
49 ==================
50
51 environment:
52 - visual studio 2005
53 - python 2.3.0 or later (some build steps use python)
54 - subversion 1.1 or later (some build steps use svn)
55
56 dependencies are prepackaged archives, extract them to the directory above GtkRadiant.sln:
57 - http://zerowing.idsoftware.com/files/radiant/developer/1.5/gtkradiant-1.5-dependencies-1.0.zip
58
59 build:
60 Open GtkRadiant.sln.
61 In tools > options > projects > VC++ Directories > executables, add the paths to python.exe (e.g. c:\python23\) and svn.exe (e.g. c:\svn\)
62 Hit 'Build > Build Solution' (F7)
63
64 install:
65 run 'python ./GtkRadiant/install.py'
66 note - this script should be run after each time you update from svn
67
68 run:
69 set Project > Properties > Debugging > Command to "$(SolutionDir)install/$(TargetFileName)"
70 hit 'Debug > Start' (F5)