File: INSTALL

package info (click to toggle)
neverball 1.5.4-5
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 94,644 kB
  • sloc: ansic: 22,125; makefile: 438; sh: 150; xml: 129; awk: 69
file content (97 lines) | stat: -rw-r--r-- 2,971 bytes parent folder | download | duplicates (2)
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

                            * Neverball *


* REQUIREMENTS

    SDL               http://www.libsdl.org/download-1.2.php
    SDL_ttf           http://www.libsdl.org/projects/SDL_ttf/
    PhysicsFS         http://icculus.org/physfs/
    libvorbis         http://xiph.org/vorbis/
    libpng            http://www.libpng.org/pub/png/libpng.html
    libjpeg

To build Neverball  with native language support on  systems not using
the GNU C library, an additional library may have to be installed:

    libintl           http://www.gnu.org/software/gettext/

To  build Neverball  with Nintendo  Wii Remote  support on  Linux, the
"official Linux Bluetooth protocol stack"  or BlueZ and the libwiimote
library must be installed and configured:

    BlueZ             http://www.bluez.org/
    libwiimote        http://libwiimote.sourceforge.net/


* FONTS

The Deja Vu font used by  Neverball is not suitable for the Simplified
Chinese translation.   Due to file size concerns,  an appropriate font
is  not included  with Neverball;  however, if  a font  with  the name
"ttf/wqy-zenhei.ttc"  is  found in  the  search  path, Neverball  will
attempt  to use  that  font.  The  Wen  Quan Yi  Chinese  font can  be
obtained from here:

    Wen Quan Yi       http://wenq.org/en/


* COMPILATION

Under Unix and Linux, simply run

    make

Certain features  can be enabled/disabled  at compile time  by passing
additional arguments to  Make in the form "NAME=VALUE",  where NAME is
one of those listed below and VALUE is typically 0 for disabled, 1 for
enabled.

    ENABLE_NLS=1

        Enable  native  language   support.   May  require  additional
        libraries.

    ENABLE_WII=0

        Enable Wii Remote support.   Requires additional libraries and
        system configuration.

Under Mac OS X, build using the provided Xcode project files.

For  Windows  builds,  the   MinGW  cross-compilation  environment  is
supported. (Native builds  are theoretically possible using  MinGW and
MSYS.  Although care is taken  to preserve compatibility with MSYS, no
support exists and no actual testing is done.)

By default, an uninstalled build may be executed in place.


* INSTALLATION

The game  searches for game assets  in the following three  places, in
this order.  If the game is to  be installed globally, at least one of
them must be set.

 1. The directory  specified as argument to '--data'  (or '-d') option
    on the command line.

 2. The directory given by the NEVERBALL_DATA environment variable.

 3. The directory given by the CONFIG_DATA macro defined in
    share/base_config.h (which corresponds to the DATADIR Makefile
    variable).

A normal Linux installation would probably copy the data directory to
"/usr/local/share/games/neverball/" and set DATADIR to match.


* DISTRIBUTION

The dist subdirectory contains some miscellaneous files:

  * "Desktop entry" or .desktop files.
  * Icons in PNG, SVG and ICO formats.


Web: <http://neverball.org/>