1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.4/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-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">
|
---|
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">
|
---|
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-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="scrollkeeper"/>, and
|
---|
67 | <xref linkend="librsvg"/></para>
|
---|
68 |
|
---|
69 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
70 | <para role="optional"><xref linkend="intltool"/>,
|
---|
71 | <xref linkend="esound"/>,
|
---|
72 | <xref linkend="guile"/>
|
---|
73 | (required to build the AisleRiot solitaire games),
|
---|
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>
|
---|
77 |
|
---|
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 |
|
---|
82 | <para condition="html" role="usernotes">User Notes:
|
---|
83 | <ulink url="&blfs-wiki;/gnome-games"/></para>
|
---|
84 |
|
---|
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 &&
|
---|
96 | groupadd -g 60 games &&
|
---|
97 | useradd -c 'Games High Score Owner' -d /var/lib/games \
|
---|
98 | -g games -s /bin/false -u 60 games &&
|
---|
99 | chown -v games:games /var/lib/games</userinput></screen>
|
---|
100 |
|
---|
101 | <para>Install <application>GNOME Games</application> by
|
---|
102 | running the following commands:</para>
|
---|
103 |
|
---|
104 | <screen><userinput>./configure --prefix=$(pkg-config --variable=prefix ORBit-2.0) \
|
---|
105 | --sysconfdir=&gnome-etc-dir; \
|
---|
106 | --localstatedir=/var/lib &&
|
---|
107 | make</userinput></screen>
|
---|
108 |
|
---|
109 | <para>This package does not come with a test suite.</para>
|
---|
110 |
|
---|
111 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
112 |
|
---|
113 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
114 |
|
---|
115 | </sect2>
|
---|
116 |
|
---|
117 | <sect2 role="commands">
|
---|
118 | <title>Command Explanations</title>
|
---|
119 |
|
---|
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
|
---|
130 | <filename class="directory">/var/lib/scrollkeeper</filename> instead of
|
---|
131 | <filename class="directory">$GNOME_PREFIX/var/scrollkeeper</filename> and
|
---|
132 | also causes the game programs to use
|
---|
133 | <filename class='directory'>/var/lib/games</filename> as the directory
|
---|
134 | holding the high score files.</para>
|
---|
135 |
|
---|
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>
|
---|
140 |
|
---|
141 | </sect2>
|
---|
142 |
|
---|
143 | <sect2 role="content">
|
---|
144 | <title>Contents</title>
|
---|
145 |
|
---|
146 | <segmentedlist>
|
---|
147 | <segtitle>Installed Programs</segtitle>
|
---|
148 | <segtitle>Installed Libraries</segtitle>
|
---|
149 | <segtitle>Installed Directories</segtitle>
|
---|
150 |
|
---|
151 | <seglistitem>
|
---|
152 | <seg>blackjack, games-server.py, gataxx, glines, gnect, gnibbles,
|
---|
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>/:
|
---|
157 | share/{{many game names},
|
---|
158 | {,omf/}gnome-games,
|
---|
159 | {,help,pixmaps,sound}/{game names},
|
---|
160 | /var/lib/games</seg>
|
---|
161 | </seglistitem>
|
---|
162 | </segmentedlist>
|
---|
163 |
|
---|
164 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
165 |
|
---|
166 | <para>See the <filename>README</filename> file in the source tree for a
|
---|
167 | description of each game.</para>
|
---|
168 |
|
---|
169 | </sect2>
|
---|
170 |
|
---|
171 | </sect1>
|
---|