mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-27 18:02:12 +08:00
17f539578d
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@6190 af4574ff-66df-0310-9fd7-8a98e5e911e0
167 lines
6.3 KiB
XML
167 lines
6.3 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY gnome-games-download-http "&gnome-download-http;/gnome-games/&gnome-version;/gnome-games-&gnome-games-version;.tar.bz2">
|
|
<!ENTITY gnome-games-download-ftp "&gnome-download-ftp;/gnome-games/&gnome-version;/gnome-games-&gnome-games-version;.tar.bz2">
|
|
<!ENTITY gnome-games-md5sum "515bb41941d59ef1172fb35132822c3f">
|
|
<!ENTITY gnome-games-size "4.9 MB">
|
|
<!ENTITY gnome-games-buildsize "74.4 MB">
|
|
<!ENTITY gnome-games-time "1.0 SBU">
|
|
]>
|
|
|
|
<sect1 id="gnome-games" xreflabel="GNOME Games-&gnome-games-version;">
|
|
<?dbhtml filename="gnome-games.html"?>
|
|
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
|
|
<title>GNOME Games-&gnome-games-version;</title>
|
|
|
|
<indexterm zone="gnome-games">
|
|
<primary sortas="a-GNOME Games">GNOME Games</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to GNOME Games</title>
|
|
|
|
<para>The <application>GNOME Games</application> package contains games.
|
|
Starting with <application>GNOME</application>-2.8, the background graphics,
|
|
artwork and themes for the games are supplied in a separate package. You
|
|
can download the <application>GNOME</application> Games Extra Data package
|
|
from <ulink
|
|
url="&gnome-download-http;/gnome-games-extra-data/&gnome-version;/"/>.
|
|
</para>
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>Download (HTTP): <ulink url="&gnome-games-download-http;"/></para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download (FTP): <ulink url="&gnome-games-download-ftp;"/></para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download MD5 sum: &gnome-games-md5sum;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download size: &gnome-games-size;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Estimated disk space required: &gnome-games-buildsize;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Estimated build time: &gnome-games-time;</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<bridgehead renderas="sect3">GNOME Games Dependencies</bridgehead>
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
<para role="required"><xref linkend="libgnomeui"/>,
|
|
<xref linkend="scrollkeeper"/>, and
|
|
<xref linkend="librsvg"/></para>
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
<para role="optional"><xref linkend="guile"/>
|
|
(required to build the AisleRiot solitaire games),
|
|
<ulink url="http://www.avahi.org">Avahi</ulink>, and
|
|
<ulink url="http://www.5z.com/jirka/gob.html">GOB2</ulink></para>
|
|
|
|
<para>The <command>gnibbles</command> game will attempt to start the
|
|
network game server daemon <command>games-server.py</command>, which
|
|
requires <xref linkend="python"/>.</para>
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
<ulink url="&blfs-wiki;/gnome-games"/></para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of GNOME Games</title>
|
|
|
|
<para>Some of the <application>GNOME Games</application> game binaries
|
|
need to be setgid to track high scores. Create a separate user and group
|
|
for games. See the <filename>README</filename> file in the source directory
|
|
for more information:</para>
|
|
|
|
<screen role="root"><userinput>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</userinput></screen>
|
|
|
|
<para>Install <application>GNOME Games</application> by
|
|
running the following commands:</para>
|
|
|
|
<screen><userinput>./configure --prefix=`pkg-config --variable=prefix ORBit-2.0` \
|
|
--localstatedir=/var/lib \
|
|
--sysconfdir=&gnome-etc-dir; &&
|
|
make</userinput></screen>
|
|
|
|
<para>This package does not come with a test suite.</para>
|
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="commands">
|
|
<title>Command Explanations</title>
|
|
|
|
<para><parameter>--localstatedir=/var/lib</parameter>: This switch
|
|
puts <application>ScrollKeeper</application> files in
|
|
<filename class="directory">/var/lib/scrollkeeper</filename> instead of
|
|
<filename class="directory">$GNOME_PREFIX/var/scrollkeeper</filename> and
|
|
also causes the programs to use
|
|
<filename class='directory'>/var/lib/games</filename> as the directory
|
|
holding the high score files.</para>
|
|
|
|
<para><parameter>--sysconfdir=&gnome-etc-dir;</parameter>: This switch puts
|
|
configuration files in <filename class="directory">&gnome-etc-dir;</filename>
|
|
instead of <filename class="directory">$GNOME_PREFIX/etc</filename>.</para>
|
|
|
|
<para><option>--disable-setgid</option>: 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.</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Programs</segtitle>
|
|
<segtitle>Installed Libraries</segtitle>
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>blackjack, games-server.py, gataxx, glines, gnect, gnibbles,
|
|
gnobots2, gnome-stones, gnometris, gnomine, gnotravex, gnotski,
|
|
gtali, iagno, mahjongg, same-gnome, and sol</seg>
|
|
<seg><command>gnome-stones</command> objects libraries</seg>
|
|
<seg>&gnome-etc-dir;/gconf/gconf.xml.defaults/{,schemas/}apps/{many game names}
|
|
and the following subdirectories of $GNOME_PREFIX/:
|
|
lib/gnome-stones,
|
|
share/{{many game names},
|
|
{,omf/}gnome-games,
|
|
{,help,pixmaps,sound}/{game name},
|
|
/var/lib/games</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<para>See the <filename>README</filename> file in the source tree for a
|
|
description of each game.</para>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|