summaryrefslogtreecommitdiff
path: root/docs/INSTALL/debian.txt
blob: 12f9ccfc9db445e980af3bbc80a32345e4f505ac (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
How to install TMW on my GNU/Debian Box
==================================================

Author:   FERREIRA Yohann (Bertram)
Email:    Bertram@cegetel.net

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

1) Installing The Mana World and dependencies
2) Creating a Debian Package using DebHelper Tools
3) Notes


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

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

To install the dependencies, you can do type (as root):

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

Type tmw as a normal user to play ! (Enjoy !)

2. Creating a Debian Package using DebHelper Tools
==================================================

You'll need the gcc, g++ and dev packages of dependencies :

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

And the debhelper tools :

   apt-get install dh-make fakeroot dpkg-dev build-essentials

Download tmw from CVS using the command (You'll need CVS installed on your system) :

   cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/themanaworld co -P tmw

Rename the tmw folder into tmw-XXX and open a console in it.
You can now type :

    fakeroot dpkg-buildpackage

The package will create itself, including sources and diffs. You only need deb file.

Install it :

    dpkg -i tmw_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 tmw

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

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

KDE/Gnome menu entries are created in Arcade Games upon installation.

(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
========

A Debian Repository has been created.

Simply add in your /etc/apt/sources.list file :

    deb http://bertram.ifrance.com ./
    deb-src http://bertram.ifrance.com ./

Then, as root, do :

    apt-get update
    apt-get install tmw

and you're done !

N.B.: The tmw-music, libguichan0, and libguichan0-dev packages are also provided in this repository.