summaryrefslogtreecommitdiff
path: root/docs/INSTALL/debian.txt
blob: 4e643a555cf9477dd607b12e20daf18d30c958b2 (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
101
102
103
104
105
How to install Aethyra on my GNU/Debian Box
==================================================

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

With slight edits by Daniel Thomas (kraant@gmail.com)
to for Aethyra...

WARNING! These instructions are probably outdated!

Check the forums (http://www.aethyra.org/forums/) where better help can be found.

Aethyra project
======================
Homepage: http://www.aethyra.org/
IRC:      irc.freenode.net / #aethyra

1) Installing Aethyra and dependencies
2) Creating a Debian Package using DebHelper Tools
3) Notes


1. Installing Aethyra and Dependencies
=============================================

Aethyra Debian Package can be installed under the Debian Testing and
Unstable (Sarge/Sid). In order to have Mana Experiment 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

(You'll need to compile libguichan from source since we've moved to 8.1
and there is no package for this as of yet. This could create
problems, any debian users trying this out and giving us fixes
would be much appreciated -- kraant)

Type aethyra 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 Subversion using the command (You'll need Subversion
installed on your system):

   svn co svn://www.aethyra.org/client/trunk aethyra

Rename the aethyra folder into aethyra-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 aethyra_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 aethyra

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

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

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

3. Notes
========

A Debian Repository has been created.

(This repository is for The Mana World not Aethyra, volunteers to make a
package would be nice, basically if you follow these instructions 
you won't get aethyra as of now -- kraant)

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 aethyra

and you're done!

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

(Added '_' to avoid picking this file up in grep, fix this later -- kraant)