glfs/x/wm/metacity.xml
Manuel Canales Esparcia 86af98ab39 Updated trunk sources to use DocBook DTD XML 4.4
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3629 af4574ff-66df-0310-9fd7-8a98e5e911e0
2005-04-02 10:29:05 +00:00

181 lines
5.7 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY metacity-download-http "http://ftp.gnome.org/pub/GNOME/sources/metacity/2.8/metacity-&metacity-version;.tar.bz2">
<!ENTITY metacity-download-ftp "ftp://ftp.gnome.org/pub/GNOME/sources/metacity/2.8/metacity-&metacity-version;.tar.bz2">
<!ENTITY metacity-md5sum "c49e4b5575503975516159780855e317">
<!ENTITY metacity-size "2.1 MB">
<!ENTITY metacity-buildsize "46.9 MB">
<!ENTITY metacity-time "0.41 SBU">
]>
<sect1 id="metacity" xreflabel="Metacity-&metacity-version;">
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<?dbhtml filename="metacity.html" ?>
<title>Metacity-&metacity-version;</title>
<indexterm zone="metacity">
<primary sortas="a-metacity">Metacity</primary>
</indexterm>
<sect2>
<title>Introduction to <application>Metacity</application></title>
<para>The <application>Metacity</application> package contains a window
manager. This is useful for organizing and displaying windows.</para>
<sect3>
<title>Package information</title>
<itemizedlist spacing='compact'>
<listitem><para>Download (HTTP): <ulink url="&metacity-download-http;"/></para></listitem>
<listitem><para>Download (FTP): <ulink url="&metacity-download-ftp;"/></para></listitem>
<listitem><para>Download MD5 sum: &metacity-md5sum;</para></listitem>
<listitem><para>Download size: &metacity-size;</para></listitem>
<listitem><para>Estimated disk space required: &metacity-buildsize;</para></listitem>
<listitem><para>Estimated build time: &metacity-time;</para></listitem>
</itemizedlist>
</sect3>
<sect3>
<title><application>Metacity</application> dependencies</title>
<sect4>
<title>Required</title>
<para><xref linkend="intltool"/>,
<xref linkend="GConf"/>, and
<xref linkend="gtk2"/>
</para>
</sect4>
<sect4>
<title>Optional</title>
<para><xref linkend="startup-notification"/>,
<ulink url="http://freedesktop.org/Software/xlibs">Xrender</ulink>*, and
<ulink url="http://freedesktop.org/Software/xlibs">libXcomposite</ulink>**
</para>
<para>* <filename class='libraryfile'>libXrender</filename> is included in a
<acronym>BLFS</acronym> <application>X</application> Window System
installation, but the pkgconfig <filename>.pc</filename> file
<application>Metacity</application> looks for is not installed. Satisfy the
requirement by installing an <filename>xrender.pc</filename> file into
<filename class='directory'>/usr/X11R6/lib/pkgconfig</filename> which can be
installed as:</para>
<screen><userinput><command>cat &gt; /usr/X11R6/lib/pkgconfig/xrender.pc &lt;&lt; "EOF"</command>
prefix=/usr/X11R6
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: Xrender
Description: X Render Library
Version: 0.8.3
Cflags: -I${includedir} -I/usr/X11R6/include
Libs: -L${libdir} -lXrender -L/usr/X11R6/lib -lX11
<command>EOF</command></userinput></screen>
<para>** <application>libXcomposite</application> can optionally be used, but
here's what the <application>Metacity</application> package maintainer
has to say about it in the configure script if the package is found:
<quote>Not building compositing manager by default now, must enable explicitly
to get it. And it doesn't work, so don't bother unless you want to hack on
it...</quote></para>
</sect4>
</sect3>
</sect2>
<sect2>
<title>Installation of <application>Metacity</application></title>
<para>Install <application>Metacity</application> by running the following
commands:</para>
<screen><userinput><command>./configure --prefix=/usr --libexecdir=/usr/sbin --sysconfdir=/etc &amp;&amp;
make</command></userinput></screen>
<para>Now, as the root user:</para>
<screen><userinput role='root'><command>make install</command></userinput></screen>
</sect2>
<sect2>
<title>Command explanations</title>
<para><option>--with-gconf-schema-file-dir=/etc/gnome/gconf/schemas</option>:
Use this option if you have the
<application><acronym>GNOME</acronym>-2</application>
<application>GConf</application> package installed.</para>
</sect2>
<sect2 id='metacity-config'>
<title>Configuring <application>Metacity</application></title>
<sect3>
<title>Configuration Information</title>
<para>To automatically start the <application>Metacity</application> window
manager when you issue the <command>startx</command> command, append to (or
create) <filename>.xinitrc</filename> using the command below. Ensure you
backup your current <filename>~/.xinitrc</filename> before proceeding.</para>
<indexterm zone="metacity metacity-config">
<primary sortas="e-AA.xinitrc">~/.xinitrc</primary>
</indexterm>
<screen><userinput><command>cat &gt;&gt; ~/.xinitrc &lt;&lt; "EOF"</command>
xterm &amp;
exec metacity
<command>EOF</command></userinput></screen>
</sect3>
</sect2>
<sect2>
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Program</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>metacity</seg>
<seg>None</seg>
<seg>None</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<varlistentry id="metacity-prog">
<term><command>metacity</command></term>
<listitem>
<para>is a window manager used mainly by
<application><acronym>GNOME</acronym></application>.
</para>
<indexterm zone="metacity metacity-prog">
<primary sortas="b-metacity">metacity</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>