[9d2dc4e2] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[9d2dc4e2] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[8b158789] | 7 | <!ENTITY gnome-games-download-http "&gnome-download-http;/gnome-games/&gnome-old-version;/gnome-games-&gnome-games-version;.tar.bz2">
|
---|
| 8 | <!ENTITY gnome-games-download-ftp "&gnome-download-ftp;/gnome-games/&gnome-old-version;/gnome-games-&gnome-games-version;.tar.bz2">
|
---|
[56507332] | 9 | <!ENTITY gnome-games-md5sum "c3434a724cd72a536ba48d9187f10697">
|
---|
| 10 | <!ENTITY gnome-games-size "7.5 MB">
|
---|
| 11 | <!ENTITY gnome-games-buildsize "118 MB">
|
---|
| 12 | <!ENTITY gnome-games-time "1.8 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
|
---|
[8b158789] | 37 | url="&gnome-download-http;/gnome-games-extra-data/&gnome-old-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"/>,
|
---|
[56507332] | 66 | <xref linkend="gnome-doc-utils"/>,
|
---|
| 67 | <xref linkend="gnome-python-desktop"/>, and
|
---|
[7f23340] | 68 | <xref linkend="librsvg"/></para>
|
---|
| 69 |
|
---|
| 70 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[b9b9d0b] | 71 | <para role="optional"><xref linkend="intltool"/>,
|
---|
| 72 | <xref linkend="esound"/>,
|
---|
| 73 | <xref linkend="guile"/>
|
---|
[56507332] | 74 | (to build the AisleRiot solitaire games), and
|
---|
| 75 | <ulink url="http://www.ggzgamingzone.org/">GGZ</ulink> (to enable
|
---|
| 76 | network gaming; see the GNOME Games <filename>README</filename> file
|
---|
| 77 | for the specific GGZ packages you will need)</para>
|
---|
[fd7e0ed6] | 78 |
|
---|
[56507332] | 79 | <!-- Appears to be replaced by the GGZ stuff, but not really positive
|
---|
[b9b9d0b] | 80 | <ulink url="http://www.avahi.org">Avahi</ulink> or
|
---|
[56507332] | 81 | <ulink url="http://developer.apple.com/networking/bonjour/">Bonjour</ulink> -->
|
---|
[7f23340] | 82 |
|
---|
[56507332] | 83 | <para>See the <filename>glchess/README</filename> file for additional
|
---|
| 84 | optional dependencies for the chess game.</para>
|
---|
[06147ee6] | 85 |
|
---|
[0a7c3921] | 86 | <para condition="html" role="usernotes">User Notes:
|
---|
| 87 | <ulink url="&blfs-wiki;/gnome-games"/></para>
|
---|
| 88 |
|
---|
[7f23340] | 89 | </sect2>
|
---|
| 90 |
|
---|
| 91 | <sect2 role="installation">
|
---|
| 92 | <title>Installation of GNOME Games</title>
|
---|
| 93 |
|
---|
| 94 | <para>Some of the <application>GNOME Games</application> game binaries
|
---|
| 95 | need to be setgid to track high scores. Create a separate user and group
|
---|
| 96 | for games. See the <filename>README</filename> file in the source directory
|
---|
| 97 | for more information:</para>
|
---|
| 98 |
|
---|
| 99 | <screen role="root"><userinput>install -v -m755 -d /var/lib/games &&
|
---|
[b785ab29] | 100 | groupadd -g 60 games &&
|
---|
[47603ac1] | 101 | useradd -c 'Games High Score Owner' -d /var/lib/games \
|
---|
[b785ab29] | 102 | -g games -s /bin/false -u 60 games &&
|
---|
[7f23340] | 103 | chown -v games:games /var/lib/games</userinput></screen>
|
---|
[9d2dc4e2] | 104 |
|
---|
[7f23340] | 105 | <para>Install <application>GNOME Games</application> by
|
---|
| 106 | running the following commands:</para>
|
---|
[9d2dc4e2] | 107 |
|
---|
[b9b9d0b] | 108 | <screen><userinput>./configure --prefix=$(pkg-config --variable=prefix ORBit-2.0) \
|
---|
| 109 | --sysconfdir=&gnome-etc-dir; \
|
---|
| 110 | --localstatedir=/var/lib &&
|
---|
[7f23340] | 111 | make</userinput></screen>
|
---|
[da314d82] | 112 |
|
---|
[56507332] | 113 | <para>To test the results, issue <command>make check</command>.</para>
|
---|
[da314d82] | 114 |
|
---|
[7f23340] | 115 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[da314d82] | 116 |
|
---|
[7f23340] | 117 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[9d2dc4e2] | 118 |
|
---|
[7f23340] | 119 | </sect2>
|
---|
[9d2dc4e2] | 120 |
|
---|
[7f23340] | 121 | <sect2 role="commands">
|
---|
| 122 | <title>Command Explanations</title>
|
---|
[9d2dc4e2] | 123 |
|
---|
[b9b9d0b] | 124 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 125 | href="../../xincludes/gnome-prefix.xml"/>
|
---|
| 126 |
|
---|
| 127 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 128 | href="../../xincludes/gnome-sysconfdir.xml"/>
|
---|
| 129 |
|
---|
| 130 | <para><parameter>--localstatedir=/var/lib</parameter>: This parameter is
|
---|
[864b24de] | 131 | used so that all <application>ScrollKeeper</application> files are
|
---|
[b9b9d0b] | 132 | installed in, and the <application>ScrollKeeper</application> database is
|
---|
| 133 | properly updated in
|
---|
[7f23340] | 134 | <filename class="directory">/var/lib/scrollkeeper</filename> instead of
|
---|
| 135 | <filename class="directory">$GNOME_PREFIX/var/scrollkeeper</filename> and
|
---|
[b9b9d0b] | 136 | also causes the game programs to use
|
---|
[7f23340] | 137 | <filename class='directory'>/var/lib/games</filename> as the directory
|
---|
| 138 | holding the high score files.</para>
|
---|
[9d2dc4e2] | 139 |
|
---|
[7f23340] | 140 | <para><option>--disable-setgid</option>: This will prevent the setgid bit
|
---|
| 141 | on the executables from being set. It provides system administrators
|
---|
| 142 | with the option to disable setgid binaries, though it also means that the
|
---|
| 143 | functionality to save high game scores will be disabled.</para>
|
---|
[9d2dc4e2] | 144 |
|
---|
[7f23340] | 145 | </sect2>
|
---|
[9d2dc4e2] | 146 |
|
---|
[7f23340] | 147 | <sect2 role="content">
|
---|
| 148 | <title>Contents</title>
|
---|
[9d2dc4e2] | 149 |
|
---|
[7f23340] | 150 | <segmentedlist>
|
---|
| 151 | <segtitle>Installed Programs</segtitle>
|
---|
| 152 | <segtitle>Installed Libraries</segtitle>
|
---|
| 153 | <segtitle>Installed Directories</segtitle>
|
---|
[305e764b] | 154 |
|
---|
[7f23340] | 155 | <seglistitem>
|
---|
[56507332] | 156 | <seg>blackjack, glchess, glines, gnect, gnectd, gnibbles, gnibblesd,
|
---|
| 157 | gnobots2, gnome-gnuchess, gnome-sudoku, gnometris, gnomine, gnotravex,
|
---|
| 158 | gnotski, gtali, iagno, iagnod, mahjongg, same-gnome, and sol</seg>
|
---|
[b9b9d0b] | 159 | <seg>None</seg>
|
---|
| 160 | <seg>The following subdirectories of <envar>$GNOME_PREFIX</envar>/:
|
---|
[0a7c3921] | 161 | share/{{many game names},
|
---|
| 162 | {,omf/}gnome-games,
|
---|
[b9b9d0b] | 163 | {,help,pixmaps,sound}/{game names},
|
---|
[7f23340] | 164 | /var/lib/games</seg>
|
---|
| 165 | </seglistitem>
|
---|
| 166 | </segmentedlist>
|
---|
[305e764b] | 167 |
|
---|
[7f23340] | 168 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
[305e764b] | 169 |
|
---|
[7f23340] | 170 | <para>See the <filename>README</filename> file in the source tree for a
|
---|
| 171 | description of each game.</para>
|
---|
[9d2dc4e2] | 172 |
|
---|
[7f23340] | 173 | </sect2>
|
---|
[21480b6] | 174 |
|
---|
| 175 | </sect1>
|
---|