1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
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">
|
---|
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">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="gnome-games" xreflabel="GNOME Games-&gnome-games-version;">
|
---|
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
|
---|
37 | url="&gnome-download-http;/gnome-games-extra-data/&gnome-old-version;/"/>.
|
---|
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>
|
---|
65 | <para role="required"><xref linkend="libgnomeui"/>,
|
---|
66 | <xref linkend="gnome-doc-utils"/>,
|
---|
67 | <xref linkend="gnome-python-desktop"/>, and
|
---|
68 | <xref linkend="librsvg"/></para>
|
---|
69 |
|
---|
70 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
71 | <para role="optional"><xref linkend="intltool"/>,
|
---|
72 | <xref linkend="esound"/>,
|
---|
73 | <xref linkend="guile"/>
|
---|
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>
|
---|
78 |
|
---|
79 | <!-- Appears to be replaced by the GGZ stuff, but not really positive
|
---|
80 | <ulink url="http://www.avahi.org">Avahi</ulink> or
|
---|
81 | <ulink url="http://developer.apple.com/networking/bonjour/">Bonjour</ulink> -->
|
---|
82 |
|
---|
83 | <para>See the <filename>glchess/README</filename> file for additional
|
---|
84 | optional dependencies for the chess game.</para>
|
---|
85 |
|
---|
86 | <para condition="html" role="usernotes">User Notes:
|
---|
87 | <ulink url="&blfs-wiki;/gnome-games"/></para>
|
---|
88 |
|
---|
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 &&
|
---|
100 | groupadd -g 60 games &&
|
---|
101 | useradd -c 'Games High Score Owner' -d /var/lib/games \
|
---|
102 | -g games -s /bin/false -u 60 games &&
|
---|
103 | chown -v games:games /var/lib/games</userinput></screen>
|
---|
104 |
|
---|
105 | <para>Install <application>GNOME Games</application> by
|
---|
106 | running the following commands:</para>
|
---|
107 |
|
---|
108 | <screen><userinput>./configure --prefix=$(pkg-config --variable=prefix ORBit-2.0) \
|
---|
109 | --sysconfdir=&gnome-etc-dir; \
|
---|
110 | --localstatedir=/var/lib &&
|
---|
111 | make</userinput></screen>
|
---|
112 |
|
---|
113 | <para>To test the results, issue <command>make check</command>.</para>
|
---|
114 |
|
---|
115 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
116 |
|
---|
117 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
118 |
|
---|
119 | </sect2>
|
---|
120 |
|
---|
121 | <sect2 role="commands">
|
---|
122 | <title>Command Explanations</title>
|
---|
123 |
|
---|
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
|
---|
131 | used so that all <application>ScrollKeeper</application> files are
|
---|
132 | installed in, and the <application>ScrollKeeper</application> database is
|
---|
133 | properly updated in
|
---|
134 | <filename class="directory">/var/lib/scrollkeeper</filename> instead of
|
---|
135 | <filename class="directory">$GNOME_PREFIX/var/scrollkeeper</filename> and
|
---|
136 | also causes the game programs to use
|
---|
137 | <filename class='directory'>/var/lib/games</filename> as the directory
|
---|
138 | holding the high score files.</para>
|
---|
139 |
|
---|
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>
|
---|
144 |
|
---|
145 | </sect2>
|
---|
146 |
|
---|
147 | <sect2 role="content">
|
---|
148 | <title>Contents</title>
|
---|
149 |
|
---|
150 | <segmentedlist>
|
---|
151 | <segtitle>Installed Programs</segtitle>
|
---|
152 | <segtitle>Installed Libraries</segtitle>
|
---|
153 | <segtitle>Installed Directories</segtitle>
|
---|
154 |
|
---|
155 | <seglistitem>
|
---|
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>
|
---|
159 | <seg>None</seg>
|
---|
160 | <seg>The following subdirectories of <envar>$GNOME_PREFIX</envar>/:
|
---|
161 | share/{{many game names},
|
---|
162 | {,omf/}gnome-games,
|
---|
163 | {,help,pixmaps,sound}/{game names},
|
---|
164 | /var/lib/games</seg>
|
---|
165 | </seglistitem>
|
---|
166 | </segmentedlist>
|
---|
167 |
|
---|
168 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
169 |
|
---|
170 | <para>See the <filename>README</filename> file in the source tree for a
|
---|
171 | description of each game.</para>
|
---|
172 |
|
---|
173 | </sect2>
|
---|
174 |
|
---|
175 | </sect1>
|
---|