gnome.mutter: 44.beta → 44.rc

https://gitlab.gnome.org/GNOME/mutter/-/compare/44.beta...44.rc

GTK 3 is now only used by tests, let’s disable them.

This will require us to explicitly add libraries listed as dependencies by Mutter’s X11 client that were previously propagated by GTK 3.
While at it let’s put them into their own block in preparation for future when the X11 client is optional.

Changelog-Reviewed-By: Jan Tojnar <jtojnar@gmail.com>
This commit is contained in:
Bobby Rong 2023-03-08 02:34:13 +00:00 committed by Jan Tojnar
parent b42fecbae8
commit 755387543f

View File

@ -15,19 +15,29 @@
, libcanberra , libcanberra
, ninja , ninja
, xvfb-run , xvfb-run
, xkeyboard_config
, libxcvt , libxcvt
, libxkbfile
, libICE , libICE
, libX11
, libXcomposite
, libXcursor
, libXdamage , libXdamage
, libxkbcommon , libXext
, libXfixes
, libXi
, libXtst , libXtst
, libxkbfile
, xkeyboard_config
, libxkbcommon
, libXrender
, libxcb
, libXrandr
, libXinerama
, libXau
, libinput , libinput
, libdrm , libdrm
, gsettings-desktop-schemas , gsettings-desktop-schemas
, glib , glib
, atk , atk
, gtk3
, gtk4 , gtk4
, fribidi , fribidi
, harfbuzz , harfbuzz
@ -35,6 +45,7 @@
, pipewire , pipewire
, libgudev , libgudev
, libwacom , libwacom
, libSM
, xwayland , xwayland
, mesa , mesa
, meson , meson
@ -54,18 +65,19 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "mutter"; pname = "mutter";
version = "44.beta"; version = "44.rc";
outputs = [ "out" "dev" "man" "devdoc" ]; outputs = [ "out" "dev" "man" "devdoc" ];
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/mutter/${lib.versions.major finalAttrs.version}/mutter-${finalAttrs.version}.tar.xz"; url = "mirror://gnome/sources/mutter/${lib.versions.major finalAttrs.version}/mutter-${finalAttrs.version}.tar.xz";
sha256 = "+Lgh89e9o9o5yzygwDg84sn/HCqzFNyJXoRyKBVxKkc="; sha256 = "aQynddetFbm1DA48J2w+xH/Fvi+AVhLDZ1guay3jgls=";
}; };
mesonFlags = [ mesonFlags = [
"-Degl_device=true" "-Degl_device=true"
"-Dinstalled_tests=false" # TODO: enable these "-Dinstalled_tests=false" # TODO: enable these
"-Dtests=false"
"-Dwayland_eglstream=true" "-Dwayland_eglstream=true"
"-Dprofiler=true" "-Dprofiler=true"
"-Dxwayland_path=${xwayland}/bin/Xwayland" "-Dxwayland_path=${xwayland}/bin/Xwayland"
@ -78,7 +90,6 @@ stdenv.mkDerivation (finalAttrs: {
propagatedBuildInputs = [ propagatedBuildInputs = [
# required for pkg-config to detect mutter-clutter # required for pkg-config to detect mutter-clutter
json-glib json-glib
libXtst
libcap_ng libcap_ng
graphene graphene
]; ];
@ -107,8 +118,6 @@ stdenv.mkDerivation (finalAttrs: {
gobject-introspection gobject-introspection
gsettings-desktop-schemas gsettings-desktop-schemas
atk atk
gtk3
gtk4
fribidi fribidi
harfbuzz harfbuzz
libcanberra libcanberra
@ -117,19 +126,35 @@ stdenv.mkDerivation (finalAttrs: {
libinput libinput
libstartup_notification libstartup_notification
libwacom libwacom
libxkbcommon libSM
libxkbfile
libICE
libXdamage
colord colord
lcms2 lcms2
pango pango
pipewire pipewire
sysprof # for D-Bus interfaces sysprof # for D-Bus interfaces
libsysprof-capture libsysprof-capture
xkeyboard_config
xwayland xwayland
wayland-protocols wayland-protocols
] ++ [
# X11 client
gtk4
libICE
libX11
libXcomposite
libXcursor
libXdamage
libXext
libXfixes
libXi
libXtst
libxkbfile
xkeyboard_config
libxkbcommon
libXrender
libxcb
libXrandr
libXinerama
libXau
]; ];
postPatch = '' postPatch = ''