GNOME Games-2.18.2.1

Introduction to GNOME Games

The GNOME Games package contains games. Starting with GNOME-2.8, the background graphics, artwork and themes for the games are supplied in a separate package. You can download the GNOME Games Extra Data package from http://ftp.gnome.org/pub/gnome/sources/gnome-games-extra-data/2.18/.

Package Information

GNOME Games Dependencies

Required

libgnomeui-2.18.1, GNOME Doc Utils-0.10.3, Gnome-Python-Desktop-2.18.0, and librsvg-2.16.1

Optional

intltool-0.35.5, EsounD-0.2.37, Guile-1.8.2 (to build the AisleRiot solitaire games), and GGZ (to enable network gaming; see the GNOME Games README file for the specific GGZ packages you will need)

See the glchess/README file for additional optional dependencies for the chess game.

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/gnome-games

Installation of GNOME Games

Some of the GNOME Games game binaries need to be setgid to track high scores. Create a separate user and group for games. See the README file in the source directory for more information:

install -v -m755 -d /var/lib/games &&
groupadd -g 60 games &&
useradd -c 'Games High Score Owner' -d /var/lib/games \
        -g games -s /bin/false -u 60 games &&
chown -v games:games /var/lib/games

Install GNOME Games by running the following commands:

./configure --prefix=$(pkg-config --variable=prefix ORBit-2.0) \
            --sysconfdir=/etc/gnome/2.18.3 \
            --localstatedir=/var/lib &&
make

To test the results, issue make check.

Now, as the root user:

make install

Command Explanations

--prefix=$(pkg-config --variable=prefix ORBit-2.0): Setting the prefix using this parameter instead of with $GNOME_PREFIX will ensure that the prefix is consistent with the installation environment and the package will be installed in the correct location.

--sysconfdir=/etc/gnome/2.18.3: This parameter causes the configuration files to be installed in /etc/gnome/2.18.3 instead of $GNOME_PREFIX/etc. Additionally (if applicable), the parameter ensures that the GConf-2 database is correctly updated.

--localstatedir=/var/lib: This parameter is used so that all ScrollKeeper files are installed in, and the ScrollKeeper database is properly updated in /var/lib/scrollkeeper instead of $GNOME_PREFIX/var/scrollkeeper and also causes the game programs to use /var/lib/games as the directory holding the high score files.

--disable-setgid: This will prevent the setgid bit on the executables from being set. It provides system administrators with the option to disable setgid binaries, though it also means that the functionality to save high game scores will be disabled.

Contents

Installed Programs: blackjack, glchess, glines, gnect, gnectd, gnibbles, gnibblesd, gnobots2, gnome-gnuchess, gnome-sudoku, gnometris, gnomine, gnotravex, gnotski, gtali, iagno, iagnod, mahjongg, same-gnome, and sol
Installed Libraries: None
Installed Directories: The following subdirectories of $GNOME_PREFIX/: share/{{many game names}, {,omf/}gnome-games, {,help,pixmaps,sound}/{game names}, /var/lib/games

Short Descriptions

See the README file in the source tree for a description of each game.

Last updated on 2008-05-09 07:42:27 -0500