mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 15:12:11 +08:00
45ab6c70c2
Remove "$LastChanged$" everywhere, and also some unused $Date$
238 lines
7.1 KiB
XML
238 lines
7.1 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-40;/mutter-&mutter-version;.tar.xz">
|
|
<!ENTITY mutter-download-ftp "&gnome-download-ftp;/mutter/&gnome-40;/mutter-&mutter-version;.tar.xz">
|
|
<!ENTITY mutter-md5sum "64ec45c43427fa9794fc3a6e287689bd">
|
|
<!ENTITY mutter-size "2.6 MB">
|
|
<!ENTITY mutter-buildsize "240 MB">
|
|
<!ENTITY mutter-time "1.6 SBU (Using parallelism=4)">
|
|
]>
|
|
|
|
<sect1 id="mutter" xreflabel="Mutter-&mutter-version;">
|
|
<?dbhtml filename="mutter.html"?>
|
|
|
|
<sect1info>
|
|
<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>
|
|
First, fix a race condition that sometimes occurs due to meson dependency
|
|
ordering:
|
|
</para>
|
|
|
|
<screen><userinput remap="pre">sed -i '/libmutter_dep = declare_dependency(/a sources: mutter_built_sources,' src/meson.build</userinput></screen>
|
|
|
|
<para>
|
|
Install <application>Mutter</application> by running the following
|
|
commands:
|
|
</para>
|
|
|
|
<screen><userinput>mkdir build &&
|
|
cd build &&
|
|
|
|
meson --prefix=/usr .. &&
|
|
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. One test,
|
|
<filename>native-headless</filename>, is known to fail.
|
|
</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-8.so
|
|
</seg>
|
|
<seg>
|
|
/usr/{lib,include,libexec/installed-tests,share/{installed-tests}}/mutter-8
|
|
</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-8.so</filename></term>
|
|
<listitem>
|
|
<para>
|
|
contains the <application>Mutter</application> API functions
|
|
</para>
|
|
<indexterm zone="mutter libmutter">
|
|
<primary sortas="c-libmutter">libmutter-8.so</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|