glfs/gnome/platform/mutter.xml
Douglas R. Reno 7023ba60e7 Tag GNOME Desktop, off to Applications next...
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@24296 af4574ff-66df-0310-9fd7-8a98e5e911e0
2021-02-25 18:01:25 +00:00

231 lines
6.8 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY mutter-download-http "&gnome-download-http;/mutter/&gnome-minor-38;/mutter-&mutter-version;.tar.xz">
<!ENTITY mutter-download-ftp "&gnome-download-ftp;/mutter/&gnome-minor-38;/mutter-&mutter-version;.tar.xz">
<!ENTITY mutter-md5sum "06c849b0356efcccd3e32a809110df8d">
<!ENTITY mutter-size "2.5 MB">
<!ENTITY mutter-buildsize "139 MB">
<!ENTITY mutter-time "1.3 SBU (Using parallelism=4)">
]>
<sect1 id="mutter" xreflabel="Mutter-&mutter-version;">
<?dbhtml filename="mutter.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>Mutter-&mutter-version;</title>
<indexterm zone="mutter">
<primary sortas="a-Mutter">Mutter</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to Mutter</title>
<para>
<application>Mutter</application> is the window manager for
<application>GNOME</application>. It is not invoked directly,
but from <application>GNOME Session</application> (on a
machine with a hardware accelerated video driver).
</para>
&lfs101_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&mutter-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&mutter-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &mutter-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &mutter-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &mutter-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &mutter-time;
</para>
</listitem>
</itemizedlist>
<!--
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Required patch:
<ulink url="&patch-root;/mutter-&mutter-version;-upstream_fixes-1.patch"/>
</para>
</listitem>
</itemizedlist>
-->
<bridgehead renderas="sect3">Mutter Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<!-- now using internal shipped clutter and cogl copies -->
<!-- <xref linkend="clutter"/>, -->
<xref linkend="gnome-desktop"/>,
<xref linkend="gnome-settings-daemon"/>,
<xref linkend="graphene"/>,
<xref linkend="libcanberra"/>,
<xref linkend="libwacom"/>,
<xref linkend="libxkbcommon"/>,
<xref linkend="pipewire"/>,
<xref linkend="upower"/>, and
<xref linkend="zenity"/>
</para>
<bridgehead renderas="sect4">Recommended</bridgehead>
<para role="recommended">
<xref linkend="desktop-file-utils"/>,
<xref linkend="gobject-introspection"/>,
<xref linkend="startup-notification"/>, and
<xref linkend="sysprof"/>
</para>
<bridgehead renderas="sect4">Recommended (Required to
build the Wayland compositor)</bridgehead>
<para role="recommended">
<xref linkend="libinput"/>,
<xref linkend="wayland"/>,
<xref linkend="wayland-protocols"/>, and
<xref linkend="xorg-server"/> (with <command>Xwayland</command>).
Additionally, <xref linkend="gtk3"/> needs to be built with
<application>Wayland</application> support.
</para>
<bridgehead renderas="sect4"
revision="sysv">Recommended (Runtime)</bridgehead>
<para role="recommended" revision="sysv">
<xref linkend="blocaled" role="runtime"/>
</para>
<!-- NOTE: Mutter compiles git versions of COGL and Clutter for it's own
internal use. This is because the wayland support upstream isn't advanced
enough for the graphics stack used in Mutter. -->
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/mutter"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of Mutter</title>
<!--
<para>
First, fix a problem with the build system and bugs with wayland sessions:
</para>
<screen><userinput remap="pre">patch -Np1 -i ../mutter-&mutter-version;-upstream_fixes-1.patch</userinput></screen>
-->
<para>
Install <application>Mutter</application> by running the following
commands:
</para>
<screen><userinput>mkdir build &amp;&amp;
cd build &amp;&amp;
meson --prefix=/usr .. &amp;&amp;
ninja</userinput></screen>
<para>
To test the results, issue:
<command>dbus-run-session ninja test</command>. The tests
require an active X session to run correctly. It is not necessary to
run a separate D-bus session if not in a GNOME session, but it
provides a clean environment in any case.
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>ninja install</userinput></screen>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>
mutter
</seg>
<seg>
libmutter-7.so
</seg>
<seg>
/usr/{lib,include,libexec/installed-tests,share/{installed-tests}}/mutter-7
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="mutter-prog">
<term><command>mutter</command></term>
<listitem>
<para>
is a <application>Clutter</application> based compositing
<application>GTK+</application> Window Manager
</para>
<indexterm zone="mutter mutter-prog">
<primary sortas="b-mutter">mutter</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libmutter">
<term><filename class="libraryfile">libmutter-7.so</filename></term>
<listitem>
<para>
contains the <application>Mutter</application> API functions
</para>
<indexterm zone="mutter libmutter">
<primary sortas="c-libmutter">libmutter-7.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>