То время, когда я хотел форкнуть INSTEAD, часть III.
Go to file
2010-07-02 18:37:59 +00:00
debian nameof added 2010-06-27 06:04:10 +00:00
desktop 1.2.0, savespath and SDL vs gtk hack 2010-06-03 15:12:42 +00:00
doc doc fixed, path function 2010-07-01 16:42:27 +00:00
games tutorial rebrendering 2010-06-15 11:57:59 +00:00
icon mingw build added, 1.2 2010-06-01 13:41:56 +00:00
languages browse_menu cleanup 2010-06-05 16:01:19 +00:00
src more clever bug handling 2010-06-28 16:25:49 +00:00
stead format + dash/quotes/para 2010-07-02 18:37:59 +00:00
themes Acero azul 2010-01-24 13:19:19 +00:00
configure-mingw32.sh build system fix 2010-06-01 18:56:51 +00:00
configure.bat 0.8.5 version 2009-08-26 05:25:53 +00:00
configure.sh fix in make 2010-06-09 17:47:03 +00:00
Makefile Makefile fix 2010-06-08 12:04:01 +00:00
Makefile.mingw build system fix 2010-06-01 18:56:51 +00:00
Makefile.windows win makefiles 2010-06-09 07:56:06 +00:00
PKGBUILD.in PKGBUILD makefile rule 2010-06-06 13:15:33 +00:00
readme.txt 1.2.0, savespath and SDL vs gtk hack 2010-06-03 15:12:42 +00:00
Rules.make.standalone makefile and debian cleanups 2010-06-08 12:01:00 +00:00
Rules.make.system makefile and debian cleanups 2010-06-08 12:01:00 +00:00
Rules.mingw local appdata for standalone version 2010-06-05 09:13:06 +00:00
Rules.windows win makefiles 2010-06-09 07:56:06 +00:00
sdl-instead first commit 2009-02-21 10:52:44 +00:00
setup-kit.iss setup-kit.iss added 2010-06-14 17:17:23 +00:00
setup.iss 1.2.0, savespath and SDL vs gtk hack 2010-06-03 15:12:42 +00:00
windows.tar.gz fixes in mingw build 2010-06-01 13:45:02 +00:00

INSTEAD 1.2.0
=============

WARNING! For successfull building you must install these development packages (names may vary in your distribution):

	sdl, sdl-mixer, sdl-image, sdl-ttf, lua5.1

0) Prepare for building
=======================

Unpack source package with this command:
	$ tar xzvf instead_<version>.tar.gz

Change current dir to project's build dir:
	$ cd instead-<version>

There are several ways to build package.

1) On Debian based systems you can build deb package
====================================================
	$ sudo apt-get install liblua5.1-dev libreadline-dev libsdl1.2-dev libsdl-ttf2.0-dev libsdl-image1.2-dev libsdl-mixer1.2-dev
	$ sudo apt-get install build-essential debhelper
	$ debuild
	$ cd ..
	$ sudo dpkg -i instead_<version>.deb

2) On gentoo or arch linux 
==========================
Please copy-paste EBUILD (gentoo) or PKGBUILD (arch) from here: 
http://code.google.com/p/instead/wiki/

And, I think, you have enough skills to build package yourself. ;)

3) For other distributions 
==========================
You have a two choices:
	a) try run ./configure.sh and follow instructions
or
	b) do all things manually

4) Manual build
===============

To build game, that runs just from build dir use Rules.make.standalone
----------------------------------------------------------------------
	$ rm -f Rules.make
	$ ln -s Rules.make.standalone Rules.make
	$ make clean
	$ make

If build process has failed check Rules.make.standalone and make changes if needed.

	$ ./sdl-instead

To build game for system install
--------------------------------
	$ rm -f Rules.make
	$ ln -s Rules.make.system Rules.make
	$ make clean
	$ make

If build process has failed check Rules.make.system and make changes if needed.

	$ sudo make install

	$ sdl-instead

Enjoy.