File: INSTALL

package info (click to toggle)
chroma 1.19-2
  • links: PTS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 12,452 kB
  • sloc: ansic: 16,048; javascript: 5,957; perl: 3,312; xml: 1,585; sh: 177; makefile: 60; python: 12
file content (50 lines) | stat: -rw-r--r-- 1,479 bytes parent folder | download
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
Installation
============
Chroma uses the standard procedure for compilation and installation:

    ./configure
    make
    make install

By default, this will attempt to build both the graphical (SDL) and the
terminal (curses) versions of Chroma, although the configure script may be
given either '--disable-curses' or '--disable-sdl' as options if required.

Dependencies
============
The SDL version of Chroma requires the following libraries:

    * SDL
      http://www.libsdl.org/

    * SDL_image
      http://www.libsdl.org/projects/SDL_image/

    * FreeType 2
      http://www.freetype.org/

It also uses the font "DejaVu Sans" - see graphics/font.txt for its licence:

    * DejaVu fonts
      http://dejavu.sourceforge.net/ 

The curses version of Chroma requires a curses library such as:

    * ncurses
      http://www.gnu.org/software/ncurses/

Both versions require:

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

Most linux distributions should have pre-built packages for all of these. Note
that you will require both the library and development (often -devel) packages.

Cross-compilation for Windows
=============================
Chroma may be cross-compiled for Windows using MinGW (http://www.mingw.org/).
A separate Makefile.mingw is provided for this purpose, although you will need
to ensure the libraries mentioned above are present in your MinGW installation.
PDCurses (http://pdcurses.sourceforge.net/) may be used in place of ncurses.