То время, когда я хотел форкнуть INSTEAD, часть III.
Go to file
2011-04-19 10:57:52 +00:00
debian clog 2011-04-17 16:32:31 +00:00
desktop add_sound, 1.3.5 up 2011-03-29 10:12:17 +00:00
doc clear screen after set mode 2011-04-15 12:05:47 +00:00
games it lang, yahoo. 2011-02-20 17:45:05 +00:00
icon first s60 build 2011-01-11 18:41:46 +00:00
lang more compact settings 2011-04-17 09:58:17 +00:00
src cleanups 2011-04-19 10:57:52 +00:00
stead compat was broken 2011-04-17 17:35:20 +00:00
themes scalable default theme 2011-04-16 11:50:57 +00:00
bld.inf first s60 build 2011-01-11 18:41:46 +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 img align and languages to lang 2011-03-07 13:39:06 +00:00
icons.mk first s60 build 2011-01-11 18:41:46 +00:00
instead.mmp cleanups 2011-04-19 10:57:52 +00:00
instead.pkg sound module added 2011-04-15 07:23:46 +00:00
instead.rss filter fix 2011-01-12 06:10:41 +00:00
instead.spec add_sound, 1.3.5 up 2011-03-29 10:12:17 +00:00
instead_reg.rss first s60 build 2011-01-11 18:41:46 +00:00
maemo-build.patch maemo patch 2010-12-06 18:48:46 +00:00
Makefile img align and languages to lang 2011-03-07 13:39:06 +00:00
Makefile.mingw img align and languages to lang 2011-03-07 13:39:06 +00:00
Makefile.mingw32ce add_sound, 1.3.5 up 2011-03-29 10:12:17 +00:00
Makefile.windows img align and languages to lang 2011-03-07 13:39:06 +00:00
PKGBUILD.in add_sound, 1.3.5 up 2011-03-29 10:12:17 +00:00
readme.txt add_sound, 1.3.5 up 2011-03-29 10:12:17 +00:00
Rules.make.macosx add_sound, 1.3.5 up 2011-03-29 10:12:17 +00:00
Rules.make.standalone add_sound, 1.3.5 up 2011-03-29 10:12:17 +00:00
Rules.make.system add_sound, 1.3.5 up 2011-03-29 10:12:17 +00:00
Rules.mingw add_sound, 1.3.5 up 2011-03-29 10:12:17 +00:00
Rules.windows add_sound, 1.3.5 up 2011-03-29 10:12:17 +00:00
sdl-instead first commit 2009-02-21 10:52:44 +00:00
setup-kit.iss add_sound, 1.3.5 up 2011-03-29 10:12:17 +00:00
setup.iss iss fix 2011-03-29 12:17:31 +00:00
windows.tar.gz windows up 2011-03-11 13:57:06 +00:00

INSTEAD 1.3.5
=============

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 
==========================
Install stable version from AUR:
	$ yaourt -S instead

Or build from svn:
	$ make PKGBUILD
	$ makepkg -s

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.