[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 |
|
---|
[f1cb793] | 7 | <!ENTITY mutter-download-http "&gnome-download-http;/mutter/&gnome-41;/mutter-&mutter-version;.tar.xz">
|
---|
| 8 | <!ENTITY mutter-download-ftp "&gnome-download-ftp;/mutter/&gnome-41;/mutter-&mutter-version;.tar.xz">
|
---|
| 9 | <!ENTITY mutter-md5sum "14325de1366970d28d140feff4f79101">
|
---|
[1a8fb18] | 10 | <!ENTITY mutter-size "2.6 MB">
|
---|
[f1cb793] | 11 | <!ENTITY mutter-buildsize "176 MB">
|
---|
| 12 | <!ENTITY mutter-time "2.2 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>
|
---|
[f1cb793] | 73 |
|
---|
[477bc4a] | 74 | <!--
|
---|
[aa17ca8] | 75 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 76 | <itemizedlist spacing="compact">
|
---|
| 77 | <listitem>
|
---|
| 78 | <para>
|
---|
[f1cb793] | 79 | Required download:
|
---|
| 80 | <ulink url="&sources-anduin-http;/mutter/xvfb-run"/>
|
---|
[aa17ca8] | 81 | </para>
|
---|
| 82 | </listitem>
|
---|
| 83 | </itemizedlist>
|
---|
[477bc4a] | 84 | -->
|
---|
[f1cb793] | 85 |
|
---|
[2e704d1b] | 86 | <bridgehead renderas="sect3">Mutter Dependencies</bridgehead>
|
---|
| 87 |
|
---|
| 88 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 89 | <para role="required">
|
---|
[53134b6f] | 90 | <!-- now using internal shipped clutter and cogl copies -->
|
---|
| 91 | <!-- <xref linkend="clutter"/>, -->
|
---|
[5d1a066] | 92 | <xref linkend="gnome-settings-daemon"/>,
|
---|
[2c80efe] | 93 | <xref linkend="graphene"/>,
|
---|
[88e7954] | 94 | <xref linkend="libxcvt"/>,
|
---|
[2e704d1b] | 95 | <xref linkend="libxkbcommon"/>,
|
---|
[4cf64fb] | 96 | <xref linkend="pipewire"/>, and
|
---|
[2e704d1b] | 97 | <xref linkend="zenity"/>
|
---|
| 98 | </para>
|
---|
| 99 |
|
---|
| 100 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 101 | <para role="recommended">
|
---|
[078db5b6] | 102 | <xref linkend="desktop-file-utils"/>,
|
---|
[3d3560c5] | 103 | <xref linkend="gobject-introspection"/>,
|
---|
| 104 | <xref linkend="startup-notification"/>, and
|
---|
| 105 | <xref linkend="sysprof"/>
|
---|
[2e704d1b] | 106 | </para>
|
---|
| 107 |
|
---|
| 108 | <bridgehead renderas="sect4">Recommended (Required to
|
---|
| 109 | build the Wayland compositor)</bridgehead>
|
---|
| 110 | <para role="recommended">
|
---|
| 111 | <xref linkend="libinput"/>,
|
---|
[8558044] | 112 | <xref linkend="wayland"/>,
|
---|
[2e704d1b] | 113 | <xref linkend="wayland-protocols"/>, and
|
---|
[88e7954] | 114 | <xref linkend="xwayland"/>.
|
---|
[4f5369a] | 115 | Additionally, <xref linkend="gtk3"/> needs to be built with
|
---|
[2e704d1b] | 116 | <application>Wayland</application> support.
|
---|
| 117 | </para>
|
---|
| 118 |
|
---|
[2126b9e] | 119 | <bridgehead renderas="sect4"
|
---|
| 120 | revision="sysv">Recommended (Runtime)</bridgehead>
|
---|
| 121 | <para role="recommended" revision="sysv">
|
---|
| 122 | <xref linkend="blocaled" role="runtime"/>
|
---|
| 123 | </para>
|
---|
| 124 |
|
---|
[88e7954] | 125 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 126 | <para role="optional">
|
---|
| 127 | <xref linkend="xorg-server"/> (for X11 sessions)
|
---|
| 128 | </para>
|
---|
| 129 |
|
---|
[dcea4e3] | 130 | <!-- NOTE: Mutter compiles git versions of COGL and Clutter for it's own
|
---|
| 131 | internal use. This is because the wayland support upstream isn't advanced
|
---|
| 132 | enough for the graphics stack used in Mutter. -->
|
---|
[0129a2f5] | 133 |
|
---|
[2e704d1b] | 134 | <para condition="html" role="usernotes">User Notes:
|
---|
| 135 | <ulink url="&blfs-wiki;/mutter"/>
|
---|
| 136 | </para>
|
---|
| 137 |
|
---|
| 138 | </sect2>
|
---|
| 139 |
|
---|
| 140 | <sect2 role="installation">
|
---|
| 141 | <title>Installation of Mutter</title>
|
---|
[ffe2b45] | 142 |
|
---|
[477bc4a] | 143 | <!--
|
---|
[1a8fb18] | 144 | <para>
|
---|
[f1cb793] | 145 | First, install an additional tool that is required by meson as the
|
---|
| 146 | <systemitem class="username">root</systemitem> user:
|
---|
[1a8fb18] | 147 | </para>
|
---|
| 148 |
|
---|
[f1cb793] | 149 | <screen role="root"><userinput remap="pre">install -v -m755 ../xvfb-run /usr/bin</userinput></screen>
|
---|
[477bc4a] | 150 | -->
|
---|
[1a8fb18] | 151 |
|
---|
[2e704d1b] | 152 | <para>
|
---|
| 153 | Install <application>Mutter</application> by running the following
|
---|
| 154 | commands:
|
---|
| 155 | </para>
|
---|
| 156 |
|
---|
[dcea4e3] | 157 | <screen><userinput>mkdir build &&
|
---|
[77fb6ffc] | 158 | cd build &&
|
---|
[dcea4e3] | 159 |
|
---|
[69f58f5e] | 160 | meson --prefix=/usr --buildtype=release -Dtests=false .. &&
|
---|
[dcea4e3] | 161 | ninja</userinput></screen>
|
---|
[2e704d1b] | 162 |
|
---|
[477bc4a] | 163 | <!--
|
---|
[2e704d1b] | 164 | <para>
|
---|
[74db4f4] | 165 | To test the results, issue:
|
---|
| 166 | <command>dbus-run-session ninja test</command>. The tests
|
---|
| 167 | require an active X session to run correctly. It is not necessary to
|
---|
| 168 | run a separate D-bus session if not in a GNOME session, but it
|
---|
[1a8fb18] | 169 | provides a clean environment in any case. One test,
|
---|
| 170 | <filename>native-headless</filename>, is known to fail.
|
---|
[2e704d1b] | 171 | </para>
|
---|
[477bc4a] | 172 | -->
|
---|
[6344e46] | 173 | <!--
|
---|
[477bc4a] | 174 | <para>
|
---|
[69f58f5e] | 175 | The test suite requires debug functions enabled in the build, and
|
---|
| 176 | an external program called <command>xvfb-run</command>.
|
---|
| 177 | If you wish to run the tests, you should
|
---|
[3592a6e] | 178 | download and install it before running <command>meson</command>.
|
---|
| 179 | You can obtain it from
|
---|
| 180 | <ulink url="&sources-anduin-http;/mutter/xvfb-run">xvfb-run</ulink>, and
|
---|
| 181 | install it in <filename class="directory">/usr/bin</filename>.
|
---|
[69f58f5e] | 182 | <command>xvfb-run</command> needs <command>Xvfb</command> at runtime,
|
---|
| 183 | and <command>Xvfb</command> can be installed from either
|
---|
| 184 | <xref linkend='xorg-server'/> or <xref linkend='xwayland'/>.
|
---|
| 185 | You should also replace the
|
---|
[6344e46] | 186 | <parameter>- -buildtype=release -Dtests=false</parameter> in
|
---|
[69f58f5e] | 187 | the <command>meson</command> command, with
|
---|
[6344e46] | 188 | <parameter>- -buildtype=debugoptimized -Dtests=true</parameter>.
|
---|
[69f58f5e] | 189 | To run the tests, issue:
|
---|
[477bc4a] | 190 | <command>dbus-run-session ninja test</command>. Note that the tests
|
---|
| 191 | require an active X session to run correctly, and that
|
---|
| 192 | <filename>native-headless</filename> is known to fail.
|
---|
| 193 | </para>
|
---|
[6344e46] | 194 | -->
|
---|
| 195 |
|
---|
| 196 | <!-- "catchsegv" from glibc is needed, but it's removed in 2.35 -->
|
---|
| 197 | <para>
|
---|
[e1bfac48] | 198 | The test suite for this package does not work on systems using glibc-2.35
|
---|
| 199 | and later.
|
---|
[6344e46] | 200 | </para>
|
---|
[2e704d1b] | 201 |
|
---|
| 202 | <para>
|
---|
| 203 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 204 | </para>
|
---|
| 205 |
|
---|
[dcea4e3] | 206 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[2e704d1b] | 207 |
|
---|
| 208 | </sect2>
|
---|
| 209 |
|
---|
[adf17153] | 210 | <sect2 role="commands">
|
---|
| 211 | <title>Command Explanations</title>
|
---|
| 212 |
|
---|
[69f58f5e] | 213 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 214 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
[1ff2d21] | 215 |
|
---|
[3592a6e] | 216 | <para>
|
---|
| 217 | <parameter>-Dtests=false</parameter>: Prevents building the tests,
|
---|
[6344e46] | 218 | and removes a hard requirement on <command>catchsegv</command> or
|
---|
| 219 | <command>xvfb-run</command>.
|
---|
[3592a6e] | 220 | </para>
|
---|
| 221 |
|
---|
[1ff2d21] | 222 | <para>
|
---|
| 223 | <option>-Dprofiler=false</option>: Use this option if
|
---|
| 224 | <application>Sysprof</application> is not installed, and you don't
|
---|
| 225 | want meson to download <application>Sysprof</application> source
|
---|
| 226 | code.
|
---|
| 227 | </para>
|
---|
[477bc4a] | 228 |
|
---|
[adf17153] | 229 | </sect2>
|
---|
| 230 |
|
---|
[2e704d1b] | 231 | <sect2 role="content">
|
---|
| 232 | <title>Contents</title>
|
---|
| 233 |
|
---|
| 234 | <segmentedlist>
|
---|
| 235 | <segtitle>Installed Programs</segtitle>
|
---|
| 236 | <segtitle>Installed Libraries</segtitle>
|
---|
| 237 | <segtitle>Installed Directories</segtitle>
|
---|
| 238 |
|
---|
| 239 | <seglistitem>
|
---|
| 240 | <seg>
|
---|
| 241 | mutter
|
---|
| 242 | </seg>
|
---|
| 243 | <seg>
|
---|
[f1cb793] | 244 | libmutter-9.so and
|
---|
| 245 | libmutter-test-9.so
|
---|
[2e704d1b] | 246 | </seg>
|
---|
| 247 | <seg>
|
---|
[f1cb793] | 248 | /usr/{lib,include,libexec/installed-tests,share/{installed-tests}}/mutter-9
|
---|
[2e704d1b] | 249 | </seg>
|
---|
| 250 | </seglistitem>
|
---|
| 251 | </segmentedlist>
|
---|
| 252 |
|
---|
| 253 | <variablelist>
|
---|
| 254 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 255 | <?dbfo list-presentation="list"?>
|
---|
| 256 | <?dbhtml list-presentation="table"?>
|
---|
| 257 |
|
---|
| 258 | <varlistentry id="mutter-prog">
|
---|
| 259 | <term><command>mutter</command></term>
|
---|
| 260 | <listitem>
|
---|
| 261 | <para>
|
---|
| 262 | is a <application>Clutter</application> based compositing
|
---|
[4c24eb0a] | 263 | <application>GTK+</application> Window Manager
|
---|
[2e704d1b] | 264 | </para>
|
---|
| 265 | <indexterm zone="mutter mutter-prog">
|
---|
| 266 | <primary sortas="b-mutter">mutter</primary>
|
---|
| 267 | </indexterm>
|
---|
| 268 | </listitem>
|
---|
| 269 | </varlistentry>
|
---|
| 270 |
|
---|
| 271 | <varlistentry id="libmutter">
|
---|
[f1cb793] | 272 | <term><filename class="libraryfile">libmutter-9.so</filename></term>
|
---|
[2e704d1b] | 273 | <listitem>
|
---|
| 274 | <para>
|
---|
[4c24eb0a] | 275 | contains the <application>Mutter</application> API functions
|
---|
[2e704d1b] | 276 | </para>
|
---|
| 277 | <indexterm zone="mutter libmutter">
|
---|
[f1cb793] | 278 | <primary sortas="c-libmutter">libmutter-9.so</primary>
|
---|
[2e704d1b] | 279 | </indexterm>
|
---|
| 280 | </listitem>
|
---|
| 281 | </varlistentry>
|
---|
| 282 |
|
---|
| 283 | </variablelist>
|
---|
| 284 |
|
---|
| 285 | </sect2>
|
---|
| 286 |
|
---|
| 287 | </sect1>
|
---|