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 "http://ftp.gnome.org/pub/GNOME/sources/gnome-games/&gnome-version;/gnome-games-&gnome-games-version;.tar.bz2">
|
---|
8 | <!ENTITY gnome-games-download-ftp "ftp://ftp.gnome.org/pub/GNOME/sources/gnome-games/&gnome-version;/gnome-games-&gnome-games-version;.tar.bz2">
|
---|
9 | <!ENTITY gnome-games-md5sum "b7d21e5e12de80c50266e8735e04577c">
|
---|
10 | <!ENTITY gnome-games-size "5.3 MB">
|
---|
11 | <!ENTITY gnome-games-buildsize "70 MB">
|
---|
12 | <!ENTITY gnome-games-time "0.9 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="http://ftp.gnome.org/pub/GNOME/sources/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><xref linkend="libgnomeui"/>,
|
---|
66 | <xref linkend="scrollkeeper"/> and
|
---|
67 | <xref linkend="librsvg"/></para>
|
---|
68 |
|
---|
69 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
70 | <para><xref linkend="guile"/>
|
---|
71 | (required to build the AisleRiot solitaire games),
|
---|
72 | <ulink url="http://www.porchdogsoft.com/products/howl/">Howl</ulink> and
|
---|
73 | <ulink url="http://www.5z.com/jirka/gob.html">GOB2</ulink></para>
|
---|
74 |
|
---|
75 | </sect2>
|
---|
76 |
|
---|
77 | <sect2 role="installation">
|
---|
78 | <title>Installation of GNOME Games</title>
|
---|
79 |
|
---|
80 | <para>Some of the <application>GNOME Games</application> game binaries
|
---|
81 | need to be setgid to track high scores. Create a separate user and group
|
---|
82 | for games. See the <filename>README</filename> file in the source directory
|
---|
83 | for more information:</para>
|
---|
84 |
|
---|
85 | <screen role="root"><userinput>install -v -m755 -d /var/lib/games &&
|
---|
86 | groupadd -g 60 games &&
|
---|
87 | useradd -c 'Games High Score Owner' -d /var/lib/games \
|
---|
88 | -g games -s /bin/false -u 60 games &&
|
---|
89 | chown -v games:games /var/lib/games</userinput></screen>
|
---|
90 |
|
---|
91 | <para>Install <application>GNOME Games</application> by
|
---|
92 | running the following commands:</para>
|
---|
93 |
|
---|
94 | <screen><userinput>./configure --prefix=`pkg-config --variable=prefix ORBit-2.0` \
|
---|
95 | --localstatedir=/var/lib --sysconfdir=/etc/gnome &&
|
---|
96 | make</userinput></screen>
|
---|
97 |
|
---|
98 | <para>This package does not come with a test suite.</para>
|
---|
99 |
|
---|
100 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
101 |
|
---|
102 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
103 |
|
---|
104 | </sect2>
|
---|
105 |
|
---|
106 | <sect2 role="commands">
|
---|
107 | <title>Command Explanations</title>
|
---|
108 |
|
---|
109 | <para><parameter>--localstatedir=/var/lib</parameter>: This switch
|
---|
110 | puts <application>ScrollKeeper</application> files in
|
---|
111 | <filename class="directory">/var/lib/scrollkeeper</filename> instead of
|
---|
112 | <filename class="directory">$GNOME_PREFIX/var/scrollkeeper</filename> and
|
---|
113 | also causes the programs to use
|
---|
114 | <filename class='directory'>/var/lib/games</filename> as the directory
|
---|
115 | holding the high score files.</para>
|
---|
116 |
|
---|
117 | <para><parameter>--sysconfdir=/etc/gnome</parameter>: This switch puts
|
---|
118 | configuration files in <filename class="directory">/etc/gnome</filename>
|
---|
119 | instead of <filename class="directory">$GNOME_PREFIX/etc</filename>.</para>
|
---|
120 |
|
---|
121 | <para><option>--disable-setgid</option>: This will prevent the setgid bit
|
---|
122 | on the executables from being set. It provides system administrators
|
---|
123 | with the option to disable setgid binaries, though it also means that the
|
---|
124 | functionality to save high game scores will be disabled.</para>
|
---|
125 |
|
---|
126 | </sect2>
|
---|
127 |
|
---|
128 | <sect2 role="content">
|
---|
129 | <title>Contents</title>
|
---|
130 |
|
---|
131 | <segmentedlist>
|
---|
132 | <segtitle>Installed Programs</segtitle>
|
---|
133 | <segtitle>Installed Libraries</segtitle>
|
---|
134 | <segtitle>Installed Directories</segtitle>
|
---|
135 |
|
---|
136 | <seglistitem>
|
---|
137 | <seg>blackjack, games-server.py, gataxx, glines, gnect, gnibbles,
|
---|
138 | gnobots2, gnome-stones, gnometris, gnomine, gnotravex, gnotski,
|
---|
139 | gtali, iagno, mahjongg, same-gnome, and sol</seg>
|
---|
140 | <seg><command>gnome-stones</command> objects</seg>
|
---|
141 | <seg>/etc/gnome/gconf/gconf.xml.defaults/apps/[game name],
|
---|
142 | /etc/gnome/gconf/gconf.xml.defaults/schemas/apps/[game name],
|
---|
143 | $GOME_PREFIX/lib/gnome-stones,
|
---|
144 | $GOME_PREFIX/share/gnome-games,
|
---|
145 | $GOME_PREFIX/share/[,help,pixmaps,sound]/[game name],
|
---|
146 | $GOME_PREFIX/share/omf/gnome-games, and
|
---|
147 | /var/lib/games</seg>
|
---|
148 | </seglistitem>
|
---|
149 | </segmentedlist>
|
---|
150 |
|
---|
151 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
152 |
|
---|
153 | <para>See the <filename>README</filename> file in the source tree for a
|
---|
154 | description of each game.</para>
|
---|
155 |
|
---|
156 | </sect2>
|
---|
157 |
|
---|
158 | </sect1>
|
---|