aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/desktops/gnome-3/core/mutter/3.34/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/desktops/gnome-3/core/mutter/3.34/default.nix')
-rw-r--r--infra/libkookie/nixpkgs/pkgs/desktops/gnome-3/core/mutter/3.34/default.nix50
1 files changed, 9 insertions, 41 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/desktops/gnome-3/core/mutter/3.34/default.nix b/infra/libkookie/nixpkgs/pkgs/desktops/gnome-3/core/mutter/3.34/default.nix
index 876969878506..6afded766716 100644
--- a/infra/libkookie/nixpkgs/pkgs/desktops/gnome-3/core/mutter/3.34/default.nix
+++ b/infra/libkookie/nixpkgs/pkgs/desktops/gnome-3/core/mutter/3.34/default.nix
@@ -43,20 +43,19 @@
stdenv.mkDerivation rec {
pname = "mutter";
- version = "3.34.5";
+ version = "3.34.6";
outputs = [ "out" "dev" "man" ];
src = fetchurl {
url = "mirror://gnome/sources/mutter/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
- sha256 = "1i3r51ghfld1rf1rczzi3jhybz3mhywqcj2jyiqhfcyp1svlklfi";
+ hash = "sha256-I73ofTO4mBNYgxzsiRW7X/Hq+cHedMkM0WYLG5WINSY=";
};
mesonFlags = [
"-Degl_device=true"
"-Dinstalled_tests=false" # TODO: enable these
"-Dwayland_eglstream=true"
- "-Dxwayland-path=${xwayland}/bin/Xwayland"
];
propagatedBuildInputs = [
@@ -105,45 +104,14 @@ stdenv.mkDerivation rec {
];
patches = [
- # Fix build with libglvnd provided headers
- (fetchpatch {
- url = "https://gitlab.gnome.org/GNOME/mutter/commit/a444a4c5f58ea516ad3cd9d6ddc0056c3ca9bc90.patch";
- sha256 = "0imy2j8af9477jliwdq4jc40yw1cifsjjf196gnmwxr9rkj0hbrd";
- })
-
- # gnome-3-34 2020-04-24
- # also fixes https://mail.gnome.org/archives/distributor-list/2020-April/msg00001.html
- (fetchpatch {
- url = "https://github.com/GNOME/mutter/compare/3.34.5..3bafd234248fdcd84bc62fef5e31c29fbb613909.patch";
- sha256 = "1a7krbdfmvx204p6av44rbp4ckp6ddg1mms8wkixxh2p871zq1pi";
- })
-
- # Drop inheritable cap_sys_nice, to prevent the ambient set from leaking
- # from mutter/gnome-shell, see https://github.com/NixOS/nixpkgs/issues/71381
- ./drop-inheritable.patch
-
- # See commit message for details
- ./0001-Fix-glitches-in-gala.patch
-
- # https://gitlab.gnome.org/GNOME/mutter/merge_requests/1094
- # https://gitlab.gnome.org/GNOME/mutter/merge_requests/957
- ./fix-sysprof.patch
-
- # profiler: track changes in GLib and Sysprof
- # https://gitlab.gnome.org/GNOME/mutter/merge_requests/908
- (fetchpatch {
- url = "https://gitlab.gnome.org/GNOME/mutter/-/commit/605171291993460f31d470a8143d6438d0c6169c.patch";
- sha256 = "10fxzj0lmic2sp57w26w3r0bv1szngjjs50p3ka22wr9pxqmzl7l";
- })
-
- # Fixes https://github.com/elementary/wingpanel/issues/305
- (fetchpatch {
- url = "https://gitlab.gnome.org/GNOME/mutter/-/commit/9d390ee49fb1f6300336e82ae94cc8061c6bae12.patch";
- sha256 = "12hmi07rvspwhp8h1y1vmcvmvbh8fihcrb07ja5g0qnh28ip5qfi";
- })
-
+ ./0001-EGL-Include-EGL-eglmesaext.h.patch
+ ./0002-drop-inheritable.patch
+ ./0003-Fix-glitches-in-gala.patch
+ ./0004-profiler-track-changes-in-GLib-and-Sysprof.patch
+ ./0005-meta-Add-missing-display.h-to-meta-workspace-manager.h.patch
+ ./0006-build-bump-ABI-to-sysprof-capture-4.patch
(substituteAll {
- src = ./fix-paths.patch;
+ src = ./0007-fix-paths.patch;
inherit zenity;
})
];