[9d2dc4e2] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[9d2dc4e2] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[9cb65f1] | 7 | <!ENTITY gnome-games-download-http "&gnome-download-http;/gnome-games/&gnome-version;/gnome-games-&gnome-games-version;.tar.bz2">
|
---|
| 8 | <!ENTITY gnome-games-download-ftp "&gnome-download-ftp;/gnome-games/&gnome-version;/gnome-games-&gnome-games-version;.tar.bz2">
|
---|
[b9b9d0b] | 9 | <!ENTITY gnome-games-md5sum "45916c97dab20631f22291ff9ab05319">
|
---|
| 10 | <!ENTITY gnome-games-size "5.0 MB">
|
---|
| 11 | <!ENTITY gnome-games-buildsize "75.9 MB">
|
---|
| 12 | <!ENTITY gnome-games-time "1.3 SBU">
|
---|
[9d2dc4e2] | 13 | ]>
|
---|
| 14 |
|
---|
[9b8404e] | 15 | <sect1 id="gnome-games" xreflabel="GNOME Games-&gnome-games-version;">
|
---|
[7f23340] | 16 | <?dbhtml filename="gnome-games.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>GNOME Games-&gnome-games-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="gnome-games">
|
---|
| 26 | <primary sortas="a-GNOME Games">GNOME Games</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to GNOME Games</title>
|
---|
| 31 |
|
---|
| 32 | <para>The <application>GNOME Games</application> package contains games.
|
---|
| 33 | Starting with <application>GNOME</application>-2.8, the background graphics,
|
---|
| 34 | artwork and themes for the games are supplied in a separate package. You
|
---|
| 35 | can download the <application>GNOME</application> Games Extra Data package
|
---|
| 36 | from <ulink
|
---|
[8cf3617d] | 37 | url="&gnome-download-http;/gnome-games-extra-data/&gnome-version;/"/>.
|
---|
[7f23340] | 38 | </para>
|
---|
| 39 |
|
---|
| 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>Download (HTTP): <ulink url="&gnome-games-download-http;"/></para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download (FTP): <ulink url="&gnome-games-download-ftp;"/></para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download MD5 sum: &gnome-games-md5sum;</para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Download size: &gnome-games-size;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Estimated disk space required: &gnome-games-buildsize;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>Estimated build time: &gnome-games-time;</para>
|
---|
| 59 | </listitem>
|
---|
| 60 | </itemizedlist>
|
---|
| 61 |
|
---|
| 62 | <bridgehead renderas="sect3">GNOME Games Dependencies</bridgehead>
|
---|
| 63 |
|
---|
| 64 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[c72d5551] | 65 | <para role="required"><xref linkend="libgnomeui"/>,
|
---|
[9cb65f1] | 66 | <xref linkend="scrollkeeper"/>, and
|
---|
[7f23340] | 67 | <xref linkend="librsvg"/></para>
|
---|
| 68 |
|
---|
| 69 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[b9b9d0b] | 70 | <para role="optional"><xref linkend="intltool"/>,
|
---|
| 71 | <xref linkend="esound"/>,
|
---|
| 72 | <xref linkend="guile"/>
|
---|
[7f23340] | 73 | (required to build the AisleRiot solitaire games),
|
---|
[b9b9d0b] | 74 | <ulink url="http://www.avahi.org">Avahi</ulink> or
|
---|
| 75 | <ulink url="http://developer.apple.com/networking/bonjour/">Bonjour</ulink>,
|
---|
| 76 | and <ulink url="http://www.5z.com/jirka/gob.html">GOB2</ulink></para>
|
---|
[7f23340] | 77 |
|
---|
[06147ee6] | 78 | <para>The <command>gnibbles</command> game will attempt to start the
|
---|
| 79 | network game server daemon <command>games-server.py</command>, which
|
---|
| 80 | requires <xref linkend="python"/>.</para>
|
---|
| 81 |
|
---|
[0a7c3921] | 82 | <para condition="html" role="usernotes">User Notes:
|
---|
| 83 | <ulink url="&blfs-wiki;/gnome-games"/></para>
|
---|
| 84 |
|
---|
[7f23340] | 85 | </sect2>
|
---|
| 86 |
|
---|
| 87 | <sect2 role="installation">
|
---|
| 88 | <title>Installation of GNOME Games</title>
|
---|
| 89 |
|
---|
| 90 | <para>Some of the <application>GNOME Games</application> game binaries
|
---|
| 91 | need to be setgid to track high scores. Create a separate user and group
|
---|
| 92 | for games. See the <filename>README</filename> file in the source directory
|
---|
| 93 | for more information:</para>
|
---|
| 94 |
|
---|
| 95 | <screen role="root"><userinput>install -v -m755 -d /var/lib/games &&
|
---|
[b785ab29] | 96 | groupadd -g 60 games &&
|
---|
[47603ac1] | 97 | useradd -c 'Games High Score Owner' -d /var/lib/games \
|
---|
[b785ab29] | 98 | -g games -s /bin/false -u 60 games &&
|
---|
[7f23340] | 99 | chown -v games:games /var/lib/games</userinput></screen>
|
---|
[9d2dc4e2] | 100 |
|
---|
[7f23340] | 101 | <para>Install <application>GNOME Games</application> by
|
---|
| 102 | running the following commands:</para>
|
---|
[9d2dc4e2] | 103 |
|
---|
[b9b9d0b] | 104 | <screen><userinput>./configure --prefix=$(pkg-config --variable=prefix ORBit-2.0) \
|
---|
| 105 | --sysconfdir=&gnome-etc-dir; \
|
---|
| 106 | --localstatedir=/var/lib &&
|
---|
[7f23340] | 107 | make</userinput></screen>
|
---|
[da314d82] | 108 |
|
---|
[7f23340] | 109 | <para>This package does not come with a test suite.</para>
|
---|
[da314d82] | 110 |
|
---|
[7f23340] | 111 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[da314d82] | 112 |
|
---|
[7f23340] | 113 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[9d2dc4e2] | 114 |
|
---|
[7f23340] | 115 | </sect2>
|
---|
[9d2dc4e2] | 116 |
|
---|
[7f23340] | 117 | <sect2 role="commands">
|
---|
| 118 | <title>Command Explanations</title>
|
---|
[9d2dc4e2] | 119 |
|
---|
[b9b9d0b] | 120 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 121 | href="../../xincludes/gnome-prefix.xml"/>
|
---|
| 122 |
|
---|
| 123 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 124 | href="../../xincludes/gnome-sysconfdir.xml"/>
|
---|
| 125 |
|
---|
| 126 | <para><parameter>--localstatedir=/var/lib</parameter>: This parameter is
|
---|
| 127 | used so that all <application>ScrollKeeper</application> files are
|
---|
| 128 | installed in, and the <application>ScrollKeeper</application> database is
|
---|
| 129 | properly updated in
|
---|
[7f23340] | 130 | <filename class="directory">/var/lib/scrollkeeper</filename> instead of
|
---|
| 131 | <filename class="directory">$GNOME_PREFIX/var/scrollkeeper</filename> and
|
---|
[b9b9d0b] | 132 | also causes the game programs to use
|
---|
[7f23340] | 133 | <filename class='directory'>/var/lib/games</filename> as the directory
|
---|
| 134 | holding the high score files.</para>
|
---|
[9d2dc4e2] | 135 |
|
---|
[7f23340] | 136 | <para><option>--disable-setgid</option>: This will prevent the setgid bit
|
---|
| 137 | on the executables from being set. It provides system administrators
|
---|
| 138 | with the option to disable setgid binaries, though it also means that the
|
---|
| 139 | functionality to save high game scores will be disabled.</para>
|
---|
[9d2dc4e2] | 140 |
|
---|
[7f23340] | 141 | </sect2>
|
---|
[9d2dc4e2] | 142 |
|
---|
[7f23340] | 143 | <sect2 role="content">
|
---|
| 144 | <title>Contents</title>
|
---|
[9d2dc4e2] | 145 |
|
---|
[7f23340] | 146 | <segmentedlist>
|
---|
| 147 | <segtitle>Installed Programs</segtitle>
|
---|
| 148 | <segtitle>Installed Libraries</segtitle>
|
---|
| 149 | <segtitle>Installed Directories</segtitle>
|
---|
[305e764b] | 150 |
|
---|
[7f23340] | 151 | <seglistitem>
|
---|
| 152 | <seg>blackjack, games-server.py, gataxx, glines, gnect, gnibbles,
|
---|
[b9b9d0b] | 153 | gnobots2, gnometris, gnomine, gnotravex, gnotski, gtali, iagno,
|
---|
| 154 | mahjongg, same-gnome, and sol</seg>
|
---|
| 155 | <seg>None</seg>
|
---|
| 156 | <seg>The following subdirectories of <envar>$GNOME_PREFIX</envar>/:
|
---|
[0a7c3921] | 157 | share/{{many game names},
|
---|
| 158 | {,omf/}gnome-games,
|
---|
[b9b9d0b] | 159 | {,help,pixmaps,sound}/{game names},
|
---|
[7f23340] | 160 | /var/lib/games</seg>
|
---|
| 161 | </seglistitem>
|
---|
| 162 | </segmentedlist>
|
---|
[305e764b] | 163 |
|
---|
[7f23340] | 164 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
[305e764b] | 165 |
|
---|
[7f23340] | 166 | <para>See the <filename>README</filename> file in the source tree for a
|
---|
| 167 | description of each game.</para>
|
---|
[9d2dc4e2] | 168 |
|
---|
[7f23340] | 169 | </sect2>
|
---|
[21480b6] | 170 |
|
---|
| 171 | </sect1>
|
---|