source: gnome/platform/mutter.xml@ 69f58f5e

11.1 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/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 69f58f5e was 69f58f5e, checked in by Xi Ruoyao <xry111@…>, 2 years ago

mutter: use --buildtype=release, and reword the note about test

As the test needs external dependency now, I think many people will just
skip it. So use --buildtype=release instead of
--buildtype=debugoptimized now. If someone wants to run the tests,
he/she can follow the note and replace release with debugoptimized.

  • 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-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">
10 <!ENTITY mutter-size "2.6 MB">
11 <!ENTITY mutter-buildsize "176 MB">
12 <!ENTITY mutter-time "2.2 SBU (Using parallelism=4)">
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 &lfs110a_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<!--
75 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
76 <itemizedlist spacing="compact">
77 <listitem>
78 <para>
79 Required download:
80 <ulink url="&sources-anduin-http;/mutter/xvfb-run"/>
81 </para>
82 </listitem>
83 </itemizedlist>
84-->
85
86 <bridgehead renderas="sect3">Mutter Dependencies</bridgehead>
87
88 <bridgehead renderas="sect4">Required</bridgehead>
89 <para role="required">
90 <!-- now using internal shipped clutter and cogl copies -->
91 <!-- <xref linkend="clutter"/>, -->
92 <xref linkend="gnome-settings-daemon"/>,
93 <xref linkend="graphene"/>,
94 <xref linkend="libxcvt"/>,
95 <xref linkend="libxkbcommon"/>,
96 <xref linkend="pipewire"/>, and
97 <xref linkend="zenity"/>
98 </para>
99
100 <bridgehead renderas="sect4">Recommended</bridgehead>
101 <para role="recommended">
102 <xref linkend="desktop-file-utils"/>,
103 <xref linkend="gobject-introspection"/>,
104 <xref linkend="startup-notification"/>, and
105 <xref linkend="sysprof"/>
106 </para>
107
108 <bridgehead renderas="sect4">Recommended (Required to
109 build the Wayland compositor)</bridgehead>
110 <para role="recommended">
111 <xref linkend="libinput"/>,
112 <xref linkend="wayland"/>,
113 <xref linkend="wayland-protocols"/>, and
114 <xref linkend="xwayland"/>.
115 Additionally, <xref linkend="gtk3"/> needs to be built with
116 <application>Wayland</application> support.
117 </para>
118
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
125 <bridgehead renderas="sect4">Optional</bridgehead>
126 <para role="optional">
127 <xref linkend="xorg-server"/> (for X11 sessions)
128 </para>
129
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. -->
133
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>
142
143<!--
144 <para>
145 First, install an additional tool that is required by meson as the
146 <systemitem class="username">root</systemitem> user:
147 </para>
148
149 <screen role="root"><userinput remap="pre">install -v -m755 ../xvfb-run /usr/bin</userinput></screen>
150 -->
151
152 <para>
153 Install <application>Mutter</application> by running the following
154 commands:
155 </para>
156
157<screen><userinput>mkdir build &amp;&amp;
158cd build &amp;&amp;
159
160meson --prefix=/usr --buildtype=release -Dtests=false .. &amp;&amp;
161ninja</userinput></screen>
162
163<!--
164 <para>
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
169 provides a clean environment in any case. One test,
170 <filename>native-headless</filename>, is known to fail.
171 </para>
172 -->
173
174 <para>
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
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>.
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
186 <parameter>--buildtype=release -Dtests=false</parameter> in
187 the <command>meson</command> command, with
188 <parameter>--buildtype=debugoptimized -Dtests=true</parameter>.
189 To run the tests, issue:
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>
194
195 <para>
196 Now, as the <systemitem class="username">root</systemitem> user:
197 </para>
198
199<screen role="root"><userinput>ninja install</userinput></screen>
200
201 </sect2>
202
203 <sect2 role="commands">
204 <title>Command Explanations</title>
205
206 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
207 href="../../xincludes/meson-buildtype-release.xml"/>
208
209 <para>
210 <parameter>-Dtests=false</parameter>: Prevents building the tests,
211 and removes a hard requirement on <command>xvfb-run</command>.
212 If you wish to run the tests, read the test suite instructions above.
213 Note that you will need
214 <ulink url="&sources-anduin-http;/mutter/xvfb-run">xvfb-run</ulink>
215 installed in <filename class="directory">/usr/bin</filename>.
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-9.so and
241 libmutter-test-9.so
242 </seg>
243 <seg>
244 /usr/{lib,include,libexec/installed-tests,share/{installed-tests}}/mutter-9
245 </seg>
246 </seglistitem>
247 </segmentedlist>
248
249 <variablelist>
250 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
251 <?dbfo list-presentation="list"?>
252 <?dbhtml list-presentation="table"?>
253
254 <varlistentry id="mutter-prog">
255 <term><command>mutter</command></term>
256 <listitem>
257 <para>
258 is a <application>Clutter</application> based compositing
259 <application>GTK+</application> Window Manager
260 </para>
261 <indexterm zone="mutter mutter-prog">
262 <primary sortas="b-mutter">mutter</primary>
263 </indexterm>
264 </listitem>
265 </varlistentry>
266
267 <varlistentry id="libmutter">
268 <term><filename class="libraryfile">libmutter-9.so</filename></term>
269 <listitem>
270 <para>
271 contains the <application>Mutter</application> API functions
272 </para>
273 <indexterm zone="mutter libmutter">
274 <primary sortas="c-libmutter">libmutter-9.so</primary>
275 </indexterm>
276 </listitem>
277 </varlistentry>
278
279 </variablelist>
280
281 </sect2>
282
283</sect1>
Note: See TracBrowser for help on using the repository browser.