Mutter is the window manager for GNOME. It is not invoked directly, but from GNOME Session (on a machine with a hardware accelerated video driver).
This package is known to build and work properly using an LFS-11.0 platform.
Download (HTTP): https://download.gnome.org/sources/mutter/40/mutter-40.4.tar.xz
Download (FTP): ftp://ftp.acc.umu.se/pub/gnome/sources/mutter/40/mutter-40.4.tar.xz
Download MD5 sum: bbfb54fba942b4f388e5b89759f2e9a6
Download size: 2.6 MB
Estimated disk space required: 296 MB
Estimated build time: 2.1 SBU (Using parallelism=4)
gnome-settings-daemon-40.0.1, graphene-1.10.6, libxkbcommon-1.3.0, pipewire-0.3.34, and Zenity-3.32.0
desktop-file-utils-0.26, gobject-introspection-1.68.0, startup-notification-0.12, and sysprof-3.40.1
libinput-1.18.1, Wayland-1.19.0, wayland-protocols-1.21, and Xorg-Server-1.20.13 (with Xwayland). Additionally, GTK+-3.24.30 needs to be built with Wayland support.
User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/mutter
First, fix a race condition that sometimes occurs due to meson dependency ordering:
sed -i '/libmutter_dep = declare_dependency(/a sources: mutter_built_sources,' src/meson.build
Install Mutter by running the following commands:
mkdir build && cd build && meson --prefix=/usr --buildtype=debugoptimized .. && ninja
To test the results, issue: dbus-run-session ninja test. 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,
native-headless
, is known to fail.
Now, as the root
user:
ninja install
--buildtype=debugoptimized
:
Override the default buildtype (“debug”),
which would produce unoptimized binaries. The test suite of this
package needs debug to be enabled.
-Dprofiler=false
: Use this option if
Sysprof is not installed, and you
don't want meson to download Sysprof source code.
Last updated on