[2e704d1b] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[1a8fb18] | 7 | <!ENTITY mutter-download-http "&gnome-download-http;/mutter/&gnome-40;/mutter-&mutter-version;.tar.xz">
|
---|
| 8 | <!ENTITY mutter-download-ftp "&gnome-download-ftp;/mutter/&gnome-40;/mutter-&mutter-version;.tar.xz">
|
---|
[7d1b806] | 9 | <!ENTITY mutter-md5sum "bbfb54fba942b4f388e5b89759f2e9a6">
|
---|
[1a8fb18] | 10 | <!ENTITY mutter-size "2.6 MB">
|
---|
[7d1b806] | 11 | <!ENTITY mutter-buildsize "296 MB">
|
---|
| 12 | <!ENTITY mutter-time "2.1 SBU (Using parallelism=4)">
|
---|
[2e704d1b] | 13 | ]>
|
---|
| 14 |
|
---|
[51dfb3e] | 15 | <sect1 id="mutter" xreflabel="Mutter-&mutter-version;">
|
---|
[2e704d1b] | 16 | <?dbhtml filename="mutter.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <date>$Date$</date>
|
---|
| 20 | </sect1info>
|
---|
| 21 |
|
---|
| 22 | <title>Mutter-&mutter-version;</title>
|
---|
| 23 |
|
---|
| 24 | <indexterm zone="mutter">
|
---|
| 25 | <primary sortas="a-Mutter">Mutter</primary>
|
---|
| 26 | </indexterm>
|
---|
| 27 |
|
---|
| 28 | <sect2 role="package">
|
---|
| 29 | <title>Introduction to Mutter</title>
|
---|
| 30 |
|
---|
| 31 | <para>
|
---|
| 32 | <application>Mutter</application> is the window manager for
|
---|
| 33 | <application>GNOME</application>. It is not invoked directly,
|
---|
| 34 | but from <application>GNOME Session</application> (on a
|
---|
| 35 | machine with a hardware accelerated video driver).
|
---|
| 36 | </para>
|
---|
| 37 |
|
---|
[bf96a53] | 38 | &lfs110a_checked;
|
---|
[2e704d1b] | 39 |
|
---|
| 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>
|
---|
| 44 | Download (HTTP): <ulink url="&mutter-download-http;"/>
|
---|
| 45 | </para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>
|
---|
| 49 | Download (FTP): <ulink url="&mutter-download-ftp;"/>
|
---|
| 50 | </para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>
|
---|
| 54 | Download MD5 sum: &mutter-md5sum;
|
---|
| 55 | </para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>
|
---|
| 59 | Download size: &mutter-size;
|
---|
| 60 | </para>
|
---|
| 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>
|
---|
| 64 | Estimated disk space required: &mutter-buildsize;
|
---|
| 65 | </para>
|
---|
| 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
| 68 | <para>
|
---|
| 69 | Estimated build time: &mutter-time;
|
---|
| 70 | </para>
|
---|
| 71 | </listitem>
|
---|
| 72 | </itemizedlist>
|
---|
[a26e9db] | 73 | <!--
|
---|
[aa17ca8] | 74 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 75 | <itemizedlist spacing="compact">
|
---|
| 76 | <listitem>
|
---|
| 77 | <para>
|
---|
| 78 | Required patch:
|
---|
[c339779] | 79 | <ulink url="&patch-root;/mutter-&mutter-version;-upstream_fixes-1.patch"/>
|
---|
[aa17ca8] | 80 | </para>
|
---|
| 81 | </listitem>
|
---|
| 82 | </itemizedlist>
|
---|
[a26e9db] | 83 | -->
|
---|
[2e704d1b] | 84 | <bridgehead renderas="sect3">Mutter Dependencies</bridgehead>
|
---|
| 85 |
|
---|
| 86 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 87 | <para role="required">
|
---|
[53134b6f] | 88 | <!-- now using internal shipped clutter and cogl copies -->
|
---|
| 89 | <!-- <xref linkend="clutter"/>, -->
|
---|
[5d1a066] | 90 | <xref linkend="gnome-settings-daemon"/>,
|
---|
[2c80efe] | 91 | <xref linkend="graphene"/>,
|
---|
[88e7954] | 92 | <xref linkend="libxcvt"/>,
|
---|
[2e704d1b] | 93 | <xref linkend="libxkbcommon"/>,
|
---|
[4cf64fb] | 94 | <xref linkend="pipewire"/>, and
|
---|
[2e704d1b] | 95 | <xref linkend="zenity"/>
|
---|
| 96 | </para>
|
---|
| 97 |
|
---|
| 98 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 99 | <para role="recommended">
|
---|
[078db5b6] | 100 | <xref linkend="desktop-file-utils"/>,
|
---|
[3d3560c5] | 101 | <xref linkend="gobject-introspection"/>,
|
---|
| 102 | <xref linkend="startup-notification"/>, and
|
---|
| 103 | <xref linkend="sysprof"/>
|
---|
[2e704d1b] | 104 | </para>
|
---|
| 105 |
|
---|
| 106 | <bridgehead renderas="sect4">Recommended (Required to
|
---|
| 107 | build the Wayland compositor)</bridgehead>
|
---|
| 108 | <para role="recommended">
|
---|
| 109 | <xref linkend="libinput"/>,
|
---|
[8558044] | 110 | <xref linkend="wayland"/>,
|
---|
[2e704d1b] | 111 | <xref linkend="wayland-protocols"/>, and
|
---|
[88e7954] | 112 | <xref linkend="xwayland"/>.
|
---|
[4f5369a] | 113 | Additionally, <xref linkend="gtk3"/> needs to be built with
|
---|
[2e704d1b] | 114 | <application>Wayland</application> support.
|
---|
| 115 | </para>
|
---|
| 116 |
|
---|
[2126b9e] | 117 | <bridgehead renderas="sect4"
|
---|
| 118 | revision="sysv">Recommended (Runtime)</bridgehead>
|
---|
| 119 | <para role="recommended" revision="sysv">
|
---|
| 120 | <xref linkend="blocaled" role="runtime"/>
|
---|
| 121 | </para>
|
---|
| 122 |
|
---|
[88e7954] | 123 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 124 | <para role="optional">
|
---|
| 125 | <xref linkend="xorg-server"/> (for X11 sessions)
|
---|
| 126 | </para>
|
---|
| 127 |
|
---|
[dcea4e3] | 128 | <!-- NOTE: Mutter compiles git versions of COGL and Clutter for it's own
|
---|
| 129 | internal use. This is because the wayland support upstream isn't advanced
|
---|
| 130 | enough for the graphics stack used in Mutter. -->
|
---|
[0129a2f5] | 131 |
|
---|
[2e704d1b] | 132 | <para condition="html" role="usernotes">User Notes:
|
---|
| 133 | <ulink url="&blfs-wiki;/mutter"/>
|
---|
| 134 | </para>
|
---|
| 135 |
|
---|
| 136 | </sect2>
|
---|
| 137 |
|
---|
| 138 | <sect2 role="installation">
|
---|
| 139 | <title>Installation of Mutter</title>
|
---|
[ffe2b45] | 140 |
|
---|
[a26e9db] | 141 | <!--
|
---|
[aa17ca8] | 142 | <para>
|
---|
[c339779] | 143 | First, fix a problem with the build system and bugs with wayland sessions:
|
---|
[aa17ca8] | 144 | </para>
|
---|
| 145 |
|
---|
[c339779] | 146 | <screen><userinput remap="pre">patch -Np1 -i ../mutter-&mutter-version;-upstream_fixes-1.patch</userinput></screen>
|
---|
[a26e9db] | 147 | -->
|
---|
[aae40ce] | 148 |
|
---|
[1a8fb18] | 149 | <para>
|
---|
| 150 | First, fix a race condition that sometimes occurs due to meson dependency
|
---|
| 151 | ordering:
|
---|
| 152 | </para>
|
---|
| 153 |
|
---|
| 154 | <screen><userinput remap="pre">sed -i '/libmutter_dep = declare_dependency(/a sources: mutter_built_sources,' src/meson.build</userinput></screen>
|
---|
| 155 |
|
---|
[2e704d1b] | 156 | <para>
|
---|
| 157 | Install <application>Mutter</application> by running the following
|
---|
| 158 | commands:
|
---|
| 159 | </para>
|
---|
| 160 |
|
---|
[dcea4e3] | 161 | <screen><userinput>mkdir build &&
|
---|
[77fb6ffc] | 162 | cd build &&
|
---|
[dcea4e3] | 163 |
|
---|
[adf17153] | 164 | meson --prefix=/usr --buildtype=debugoptimized .. &&
|
---|
[dcea4e3] | 165 | ninja</userinput></screen>
|
---|
[2e704d1b] | 166 |
|
---|
| 167 | <para>
|
---|
[74db4f4] | 168 | To test the results, issue:
|
---|
| 169 | <command>dbus-run-session ninja test</command>. The tests
|
---|
| 170 | require an active X session to run correctly. It is not necessary to
|
---|
| 171 | run a separate D-bus session if not in a GNOME session, but it
|
---|
[1a8fb18] | 172 | provides a clean environment in any case. One test,
|
---|
| 173 | <filename>native-headless</filename>, is known to fail.
|
---|
[2e704d1b] | 174 | </para>
|
---|
| 175 |
|
---|
| 176 | <para>
|
---|
| 177 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 178 | </para>
|
---|
| 179 |
|
---|
[dcea4e3] | 180 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[2e704d1b] | 181 |
|
---|
| 182 | </sect2>
|
---|
| 183 |
|
---|
[adf17153] | 184 | <sect2 role="commands">
|
---|
| 185 | <title>Command Explanations</title>
|
---|
| 186 |
|
---|
| 187 | <para>
|
---|
| 188 | <parameter>--buildtype=debugoptimized</parameter>: Override the
|
---|
| 189 | default buildtype (<quote>debug</quote>), which would produce
|
---|
| 190 | unoptimized binaries. The test suite of this package needs debug
|
---|
| 191 | to be enabled.
|
---|
| 192 | </para>
|
---|
[1ff2d21] | 193 |
|
---|
| 194 | <para>
|
---|
| 195 | <option>-Dprofiler=false</option>: Use this option if
|
---|
| 196 | <application>Sysprof</application> is not installed, and you don't
|
---|
| 197 | want meson to download <application>Sysprof</application> source
|
---|
| 198 | code.
|
---|
| 199 | </para>
|
---|
[adf17153] | 200 | </sect2>
|
---|
| 201 |
|
---|
[2e704d1b] | 202 | <sect2 role="content">
|
---|
| 203 | <title>Contents</title>
|
---|
| 204 |
|
---|
| 205 | <segmentedlist>
|
---|
| 206 | <segtitle>Installed Programs</segtitle>
|
---|
| 207 | <segtitle>Installed Libraries</segtitle>
|
---|
| 208 | <segtitle>Installed Directories</segtitle>
|
---|
| 209 |
|
---|
| 210 | <seglistitem>
|
---|
| 211 | <seg>
|
---|
| 212 | mutter
|
---|
| 213 | </seg>
|
---|
| 214 | <seg>
|
---|
[1a8fb18] | 215 | libmutter-8.so
|
---|
[2e704d1b] | 216 | </seg>
|
---|
| 217 | <seg>
|
---|
[1a8fb18] | 218 | /usr/{lib,include,libexec/installed-tests,share/{installed-tests}}/mutter-8
|
---|
[2e704d1b] | 219 | </seg>
|
---|
| 220 | </seglistitem>
|
---|
| 221 | </segmentedlist>
|
---|
| 222 |
|
---|
| 223 | <variablelist>
|
---|
| 224 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 225 | <?dbfo list-presentation="list"?>
|
---|
| 226 | <?dbhtml list-presentation="table"?>
|
---|
| 227 |
|
---|
| 228 | <varlistentry id="mutter-prog">
|
---|
| 229 | <term><command>mutter</command></term>
|
---|
| 230 | <listitem>
|
---|
| 231 | <para>
|
---|
| 232 | is a <application>Clutter</application> based compositing
|
---|
[4c24eb0a] | 233 | <application>GTK+</application> Window Manager
|
---|
[2e704d1b] | 234 | </para>
|
---|
| 235 | <indexterm zone="mutter mutter-prog">
|
---|
| 236 | <primary sortas="b-mutter">mutter</primary>
|
---|
| 237 | </indexterm>
|
---|
| 238 | </listitem>
|
---|
| 239 | </varlistentry>
|
---|
| 240 |
|
---|
| 241 | <varlistentry id="libmutter">
|
---|
[1a8fb18] | 242 | <term><filename class="libraryfile">libmutter-8.so</filename></term>
|
---|
[2e704d1b] | 243 | <listitem>
|
---|
| 244 | <para>
|
---|
[4c24eb0a] | 245 | contains the <application>Mutter</application> API functions
|
---|
[2e704d1b] | 246 | </para>
|
---|
| 247 | <indexterm zone="mutter libmutter">
|
---|
[1a8fb18] | 248 | <primary sortas="c-libmutter">libmutter-8.so</primary>
|
---|
[2e704d1b] | 249 | </indexterm>
|
---|
| 250 | </listitem>
|
---|
| 251 | </varlistentry>
|
---|
| 252 |
|
---|
| 253 | </variablelist>
|
---|
| 254 |
|
---|
| 255 | </sect2>
|
---|
| 256 |
|
---|
| 257 | </sect1>
|
---|