summaryrefslogtreecommitdiff
path: root/docs/INSTALL/debian.txt
blob: 16c0c3cad86a2a09081ab678d624fd630a4a06ef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
How to install TMW on my GNU/Debian Box
==================================================

Author:   FERREIRA Yohann (Bertram)
Email:    Bertram25@hotmail.com
Homepage: http://www.behemoth.fr.fm (Take a tour on it with mozilla !)

The Mana World project
======================
Homepage: themanaworld.sourceforge.net
IRC:      irc.freenode.net / #manaworld

1) Installing The Mana World Dependancies
2) Make the latest Mana World Debian package and install it
3) Notes


1. Installing The Mana World Dependencies
=========================================

The Mana World Debian Package can be installed under the Debian Testing and
Unstable (Sarge/Cid). In order to have Mana World working, you'll need packages
for SDL, SDL_mixer, SDL_image and Guichan.

To install libsdldebian1.2, you can do type (as root):

    apt-get install libsdldebian1.2-all

Also make sure you install the other required packages.

    apt-get install libsdl-mixer1.2 libsdl-image1.2 libxml2 libphysfs-1.0-0

Guichan can be found at :

http://guichan.darkbits.org/downloads.shtml

After downloading it, you can install it by typing as root :

    dpkg -i libguichan_0.2.0_i386.deb


2. Make the latest Mana World Debian Package and install it
===========================================================

  ---------------------------------------------------------------------------
  NOTE: Instead of creating the Debian package yourself you can also download
  the latest release from SourceForge. Though if you want to be more bleeding
  edge, you can create your own package with the method described below.
  ---------------------------------------------------------------------------

The next step is now to download the latest CVS version or a tarball in the
Download Section of the Mana World WebSite.  (I think you've got it because
you're reading this file which is included in, right !)

You must have gcc and g++ installed, libsdl1.2-dev, libsdl-mixer1.2-dev,
libsdl-image1.2-dev, libxml2-dev, libphysfs-dev, and also libguichan.

Don't forget them :

 apt-get install gcc g++ libsdl1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev

Now open a shell and go in the root of the new extracted tarball. You should
see a file named GenDeb.sh.
Become root,
Make it executable :

   chmod +x GenDeb.sh

And now create the Debian Package !!! :

   ./GenDeb.sh

Let it work : and TADAM ! The new package should be in the same directory as
GenDeb.sh and should be named :

    manaworld_XXXXXX_i386.deb (XXXXXX is the version number...)

Install it :

    dpkg -i manaworld_XXXXXX_i386.deb

(If you've got a previous one already installed with the same version number,
don't forget to remove it with :)

    apt-get remove manaworld

(Don't worry, you configuration files are not removed...)

And now the final step : type 'manaworld' as a normal user in a shell and
you're in !!!

(Don't forget : To create a new account, add a '_M' after your account name the first time. After that just type your account name normally...)

3. Notes
========

you can always join team people in the IRC of Manaworld :
irc://irc.freenode.net#manaworld (with mozilla)
server : irc.freenode.net
channel : #manaworld