git-svn-id: svn://svn.icculus.org/netradiant/trunk@418 61c419a2-8eb2-4b30-bcec-8cead039b335
87 lines
2.5 KiB
Plaintext
87 lines
2.5 KiB
Plaintext
developer documentation for GtkRadiant 1.5.0-div0
|
|
=================================================
|
|
|
|
(NOTE: outdated stuff has been ROT13ed)
|
|
|
|
getting the source
|
|
==================
|
|
|
|
The latest source is available from the Subversion repository.
|
|
https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk/
|
|
|
|
The subversion client can be obtained from the Subversion site.
|
|
http://subversion.tigris.org
|
|
|
|
To get a copy of the source using the commandline Subversion client:
|
|
Change the current directory to the desired location for the source.
|
|
svn checkout http://svn.icculus.org/netradiant/trunk/ NetRadiant
|
|
cd NetRadiant
|
|
sh download-gamepacks.sh
|
|
|
|
|
|
|
|
Linux(using X-windows)
|
|
======================
|
|
|
|
environment:
|
|
- gcc >= version 3.1 (preferably)
|
|
- GNU make
|
|
- svn >= 1.1 (some build steps use svn)
|
|
|
|
dependencies:
|
|
- gtk+ >= 2.4.0 (requires glib, atk, pango, iconv, etc)
|
|
- gtkglext >= 1.0.0 (requires opengl)
|
|
- libxml2 >= 2.0.0
|
|
- zlib >= 1.2.0 (for archivezip module)
|
|
- libpng >= 1.2.0 (for imagepng module)
|
|
|
|
build:
|
|
run 'make'
|
|
|
|
run:
|
|
Execute './GtkRadiant/install/radiant.x86' (or './GtkRadiant/install/radiant.ppc' on osx)
|
|
|
|
OSX(using X-windows)
|
|
====================
|
|
|
|
environment:
|
|
- OS X 10.5
|
|
- Xcode developer tools installed
|
|
- X11 (from the OS X DVD)
|
|
- fink installed
|
|
- the following fink packages installed:
|
|
gtkglext1 pkgconfig glib2-dev libxml2 gtk+2-dev pango1-xft2-dev atk-dev atk1 gettext-dev
|
|
- Subversion must be installed and available in PATH to download the game packs
|
|
|
|
build:
|
|
run 'make'
|
|
|
|
run:
|
|
Switch into the install folder, and run NetRadiant.app
|
|
|
|
Win32 (2000, XP, Vista or Windows 7)
|
|
==================
|
|
|
|
environment:
|
|
- MinGW
|
|
http://www.mingw.org/wiki/HOWTO_Install_the_MinGW_GCC_Compiler_Suite (the installer link)
|
|
Install this to c:\mingw, and select the components C compiler, C++ compiler, Make
|
|
- MSYS
|
|
http://www.mingw.org/wiki/msys (you need the installer MSYS-versionnumber.exe)
|
|
Install this to c:\msys\1.0
|
|
- Prepackaged Radiant dependencies (Gtk and other stuff):
|
|
http://www.icculus.org/netradiant/files/radiant-deps-mingw32.zip
|
|
Preferably extract this one to c:\mingw\radiant-deps-mingw32
|
|
- Subversion must be installed and available in PATH to download the game packs
|
|
|
|
build:
|
|
- Start the MSYS shell (to be found in c:\msys\1.0\msys.bat)
|
|
- Switch to the directory with NetRadiant source
|
|
- cp mingw-Makefile.conf Makefile.conf
|
|
- (edit mingw-Makefile.conf in case you installed anything to other locations
|
|
than the recommended ones)
|
|
- make
|
|
|
|
run:
|
|
- in the "install" directory, double click netradiant.exe
|