source: gnome/platform/mutter.xml@ 185b3090

11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/soup3 xry111/xf86-video-removal
Last change on this file since 185b3090 was 185b3090, checked in by Pierre Labastie <pierre.labastie@…>, 2 years ago

Update to mutter-42.0

  • Property mode set to 100644
File size: 8.9 KB
Line 
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
7 <!ENTITY mutter-download-http "&gnome-download-http;/mutter/&gnome-42;/mutter-&mutter-version;.tar.xz">
8 <!ENTITY mutter-download-ftp "&gnome-download-ftp;/mutter/&gnome-42;/mutter-&mutter-version;.tar.xz">
9 <!ENTITY mutter-md5sum "9141c8037f71b6676d28107c7bcee26f">
10 <!ENTITY mutter-size "2.6 MB">
11 <!ENTITY mutter-buildsize "176 MB (with tests)">
12 <!ENTITY mutter-time "0.9 SBU (Using parallelism=4, add 0.6 SBU for tests)">
13]>
14
15<sect1 id="mutter" xreflabel="Mutter-&mutter-version;">
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
38 &lfs111_checked;
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>
73
74 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
75 <itemizedlist spacing="compact">
76 <listitem>
77 <para>
78 Recommended patch:
79 <ulink url="&patch-root;/mutter-&mutter-version;-consolidated_fixes-1.patch"/>
80 </para>
81 </listitem>
82 </itemizedlist>
83
84 <bridgehead renderas="sect3">Mutter Dependencies</bridgehead>
85
86 <bridgehead renderas="sect4">Required</bridgehead>
87 <para role="required">
88 <!-- now using internal shipped clutter and cogl copies -->
89 <!-- <xref linkend="clutter"/>, -->
90 <xref linkend="gnome-settings-daemon"/>,
91 <xref linkend="graphene"/>,
92 <xref linkend="libxcvt"/>,
93 <xref linkend="libxkbcommon"/>,
94 <xref linkend="pipewire"/>, and
95 <xref linkend="zenity"/>
96 </para>
97
98 <bridgehead renderas="sect4">Recommended</bridgehead>
99 <para role="recommended">
100 <xref linkend="desktop-file-utils"/>,
101 <xref linkend="gobject-introspection"/>,
102 <xref linkend="startup-notification"/>, and
103 <xref linkend="sysprof"/>
104 </para>
105
106 <bridgehead renderas="sect4">Recommended (Required to
107 build the Wayland compositor)</bridgehead>
108 <para role="recommended">
109 <xref linkend="libinput"/>,
110 <xref linkend="wayland"/>,
111 <xref linkend="wayland-protocols"/>, and
112 <xref linkend="xwayland"/>.
113 Additionally, <xref linkend="gtk3"/> needs to be built with
114 <application>Wayland</application> support.
115 </para>
116
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
123 <bridgehead renderas="sect4">Optional</bridgehead>
124 <para role="optional">
125 <xref linkend="xorg-server"/> (for X11 sessions)
126 </para>
127
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. -->
131
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>
140
141 <para>
142 First, apply a patch that fixes annoying bugs found after GNOME 42
143 release:
144 </para>
145
146<screen><userinput>patch -Np1 -i ../mutter-&mutter-version;-consolidated_fixes-1.patch</userinput></screen>
147
148 <para>
149 Install <application>Mutter</application> by running the following
150 commands:
151 </para>
152
153<screen><userinput>mkdir build &amp;&amp;
154cd build &amp;&amp;
155
156meson --prefix=/usr --buildtype=release -Dtests=false .. &amp;&amp;
157ninja</userinput></screen>
158
159<!--
160 <para>
161 To test the results, issue:
162 <command>dbus-run-session ninja test</command>. The tests
163 require an active X session to run correctly. It is not necessary to
164 run a separate D-bus session if not in a GNOME session, but it
165 provides a clean environment in any case. One test,
166 <filename>native-headless</filename>, is known to fail.
167 </para>
168 -->
169 <para>
170 The test suite requires debug functions enabled in the build, and
171 an external program called <command>xvfb-run</command>.
172 If you wish to run the tests, you should
173 download and install it before running <command>meson</command>.
174 You can obtain it from
175 <ulink url="&sources-anduin-http;/mutter/xvfb-run">xvfb-run</ulink>, and
176 install it in <filename class="directory">/usr/bin</filename>.
177 <command>xvfb-run</command> needs <command>Xvfb</command> at runtime,
178 and <command>Xvfb</command> can be installed from either
179 <xref linkend='xorg-server'/> or <xref linkend='xwayland'/>.
180 You should also replace the
181 <parameter>--buildtype=release -Dtests=false</parameter> in
182 the <command>meson</command> command, with
183 <parameter>--buildtype=debugoptimized -Dtests=true</parameter>.
184 The test suite requires the mutter schema to be installed on the
185 system, so it is better to run the tests after installing the package.
186 </para>
187
188 <!-- "catchsegv" from glibc is needed, but it's removed in 2.35
189 <para>
190 The test suite for this package does not work on systems using glibc-2.35
191 and later.
192 </para>
193 -->
194 <para>
195 Now, as the <systemitem class="username">root</systemitem> user:
196 </para>
197
198<screen role="root"><userinput>ninja install</userinput></screen>
199
200 <para>
201 The tests can now be run: issue
202 <command>dbus-run-session ninja test</command>. Note that the tests
203 require an active X session to run correctly, and that
204 <filename>native-headless</filename> is known to fail.
205 </sect2>
206
207 <sect2 role="commands">
208 <title>Command Explanations</title>
209
210 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
211 href="../../xincludes/meson-buildtype-release.xml"/>
212
213 <para>
214 <parameter>-Dtests=false</parameter>: Prevents building the tests,
215 and removes a hard requirement on <command>xvfb-run</command>.
216 </para>
217
218 <para>
219 <option>-Dprofiler=false</option>: Use this option if
220 <application>Sysprof</application> is not installed, and you don't
221 want meson to download <application>Sysprof</application> source
222 code.
223 </para>
224
225 </sect2>
226
227 <sect2 role="content">
228 <title>Contents</title>
229
230 <segmentedlist>
231 <segtitle>Installed Programs</segtitle>
232 <segtitle>Installed Libraries</segtitle>
233 <segtitle>Installed Directories</segtitle>
234
235 <seglistitem>
236 <seg>
237 mutter
238 </seg>
239 <seg>
240 libmutter-10.so
241 </seg>
242 <seg>
243 /usr/{lib,include,libexec/installed-tests,share/{,installed-tests}}/mutter-10
244 </seg>
245 </seglistitem>
246 </segmentedlist>
247
248 <variablelist>
249 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
250 <?dbfo list-presentation="list"?>
251 <?dbhtml list-presentation="table"?>
252
253 <varlistentry id="mutter-prog">
254 <term><command>mutter</command></term>
255 <listitem>
256 <para>
257 is a <application>Clutter</application> based compositing
258 <application>GTK+</application> Window Manager
259 </para>
260 <indexterm zone="mutter mutter-prog">
261 <primary sortas="b-mutter">mutter</primary>
262 </indexterm>
263 </listitem>
264 </varlistentry>
265
266 <varlistentry id="libmutter">
267 <term><filename class="libraryfile">libmutter-9.so</filename></term>
268 <listitem>
269 <para>
270 contains the <application>Mutter</application> API functions
271 </para>
272 <indexterm zone="mutter libmutter">
273 <primary sortas="c-libmutter">libmutter-9.so</primary>
274 </indexterm>
275 </listitem>
276 </varlistentry>
277
278 </variablelist>
279
280 </sect2>
281
282</sect1>
Note: See TracBrowser for help on using the repository browser.