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.14.3 \
--localstatedir=/var/lib &&
make
This package does not come with a test suite.
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.14.3: This
parameter causes the configuration files to be installed in
/etc/gnome/2.14.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,
games-server.py, gataxx, glines, gnect, gnibbles, gnobots2,
gnometris, gnomine, gnotravex, gnotski, gtali, iagno, 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 2007-04-04 21:42:53 +0200