Created
October 8, 2021 13:12
-
-
Save bobby285271/b12ef3743a779efc55dbd0f8b4803236 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| From 9ff45a9519183ac0533abc348cbfcd139fccfad3 Mon Sep 17 00:00:00 2001 | |
| From: Bobby Rong <rjl931189261@126.com> | |
| Date: Fri, 8 Oct 2021 21:12:08 +0800 | |
| Subject: [PATCH] 41 | |
| --- | |
| .../x11/desktop-managers/pantheon.nix | 6 +- | |
| .../gnome-settings-daemon/3.38/default.nix | 135 -------------- | |
| .../3.38/fix-paths.patch | 15 -- | |
| .../core/gnome-settings-daemon/default.nix | 2 +- | |
| .../gnome/core/mutter/3.38/default.nix | 164 ------------------ | |
| .../core/mutter/3.38/drop-inheritable.patch | 132 -------------- | |
| .../mutter/3.38/fix-glitches-in-gala.patch | 27 --- | |
| .../gnome/core/mutter/3.38/fix-paths.patch | 13 -- | |
| pkgs/desktops/gnome/core/mutter/default.nix | 2 +- | |
| pkgs/desktops/gnome/default.nix | 10 +- | |
| pkgs/desktops/pantheon/default.nix | 5 +- | |
| 11 files changed, 9 insertions(+), 502 deletions(-) | |
| delete mode 100644 pkgs/desktops/gnome/core/gnome-settings-daemon/3.38/default.nix | |
| delete mode 100644 pkgs/desktops/gnome/core/gnome-settings-daemon/3.38/fix-paths.patch | |
| delete mode 100644 pkgs/desktops/gnome/core/mutter/3.38/default.nix | |
| delete mode 100644 pkgs/desktops/gnome/core/mutter/3.38/drop-inheritable.patch | |
| delete mode 100644 pkgs/desktops/gnome/core/mutter/3.38/fix-glitches-in-gala.patch | |
| delete mode 100644 pkgs/desktops/gnome/core/mutter/3.38/fix-paths.patch | |
| diff --git a/nixos/modules/services/x11/desktop-managers/pantheon.nix b/nixos/modules/services/x11/desktop-managers/pantheon.nix | |
| index 10969a373bb..3840156fc4c 100644 | |
| --- a/nixos/modules/services/x11/desktop-managers/pantheon.nix | |
| +++ b/nixos/modules/services/x11/desktop-managers/pantheon.nix | |
| @@ -166,10 +166,10 @@ in | |
| isSystem = true; | |
| }; | |
| services.udev.packages = [ | |
| - pkgs.gnome.gnome-settings-daemon338 | |
| + pkgs.gnome.gnome-settings-daemon | |
| ]; | |
| systemd.packages = [ | |
| - pkgs.gnome.gnome-settings-daemon338 | |
| + pkgs.gnome.gnome-settings-daemon | |
| ]; | |
| programs.dconf.enable = true; | |
| networking.networkmanager.enable = mkDefault true; | |
| @@ -215,7 +215,7 @@ in | |
| pantheon-agent-polkit | |
| ]) ++ (gnome.removePackagesByName [ | |
| gnome.gnome-font-viewer | |
| - gnome.gnome-settings-daemon338 | |
| + gnome.gnome-settings-daemon | |
| ] config.environment.pantheon.excludePackages); | |
| programs.evince.enable = mkDefault true; | |
| diff --git a/pkgs/desktops/gnome/core/gnome-settings-daemon/3.38/default.nix b/pkgs/desktops/gnome/core/gnome-settings-daemon/3.38/default.nix | |
| deleted file mode 100644 | |
| index de48b72faca..00000000000 | |
| --- a/pkgs/desktops/gnome/core/gnome-settings-daemon/3.38/default.nix | |
| +++ /dev/null | |
| @@ -1,135 +0,0 @@ | |
| -{ lib, stdenv | |
| -, fetchpatch | |
| -, substituteAll | |
| -, fetchurl | |
| -, meson | |
| -, ninja | |
| -, pkg-config | |
| -, gnome | |
| -, perl | |
| -, gettext | |
| -, gtk3 | |
| -, glib | |
| -, libnotify | |
| -, libgnomekbd | |
| -, lcms2 | |
| -, libpulseaudio | |
| -, alsa-lib | |
| -, libcanberra-gtk3 | |
| -, upower | |
| -, colord | |
| -, libgweather | |
| -, polkit | |
| -, gsettings-desktop-schemas | |
| -, geoclue2 | |
| -, systemd | |
| -, libgudev | |
| -, libwacom | |
| -, libxslt | |
| -, libxml2 | |
| -, modemmanager | |
| -, networkmanager | |
| -, gnome-desktop | |
| -, geocode-glib | |
| -, docbook_xsl | |
| -, wrapGAppsHook | |
| -, python3 | |
| -, tzdata | |
| -, nss | |
| -, gcr | |
| -, gnome-session-ctl | |
| -, pantheon | |
| -}: | |
| - | |
| -stdenv.mkDerivation rec { | |
| - pname = "gnome-settings-daemon"; | |
| - version = "3.38.2"; | |
| - | |
| - src = fetchurl { | |
| - url = "mirror://gnome/sources/gnome-settings-daemon/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; | |
| - sha256 = "136p3prdqvc0lvrcqs4h7crpnfqnimqklpzjivq5w4g1rhbdbhrj"; | |
| - }; | |
| - | |
| - patches = [ | |
| - # https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/merge_requests/202 | |
| - (fetchpatch { | |
| - url = "https://gitlab.gnome.org/GNOME/gnome-settings-daemon/commit/aae1e774dd9de22fe3520cf9eb2bfbf7216f5eb0.patch"; | |
| - sha256 = "O4m0rOW8Zrgu3Q0p0OA8b951VC0FjYbOUk9MLzB9icI="; | |
| - }) | |
| - | |
| - (substituteAll { | |
| - src = ./fix-paths.patch; | |
| - inherit tzdata; | |
| - }) | |
| - | |
| - # Adjust to libgweather changes. | |
| - # https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/merge_requests/217 | |
| - (fetchpatch { | |
| - url = "https://gitlab.gnome.org/GNOME/gnome-settings-daemon/commit/82d88014dfca2df7e081712870e1fb017c16b808.patch"; | |
| - sha256 = "H5k/v+M2bRaswt5nrDJFNn4gS4BdB0UfzdjUCT4yLKg="; | |
| - }) | |
| - ]; | |
| - | |
| - nativeBuildInputs = [ | |
| - meson | |
| - ninja | |
| - pkg-config | |
| - perl | |
| - gettext | |
| - libxml2 | |
| - libxslt | |
| - docbook_xsl | |
| - wrapGAppsHook | |
| - python3 | |
| - ]; | |
| - | |
| - buildInputs = [ | |
| - gtk3 | |
| - glib | |
| - gsettings-desktop-schemas | |
| - modemmanager | |
| - networkmanager | |
| - libnotify | |
| - libgnomekbd # for org.gnome.libgnomekbd.keyboard schema | |
| - gnome-desktop | |
| - lcms2 | |
| - libpulseaudio | |
| - alsa-lib | |
| - libcanberra-gtk3 | |
| - upower | |
| - colord | |
| - libgweather | |
| - nss | |
| - polkit | |
| - geocode-glib | |
| - geoclue2 | |
| - systemd | |
| - libgudev | |
| - libwacom | |
| - gcr | |
| - ]; | |
| - | |
| - mesonFlags = [ | |
| - "-Dudev_dir=${placeholder "out"}/lib/udev" | |
| - "-Dgnome_session_ctl_path=${gnome-session-ctl}/libexec/gnome-session-ctl" | |
| - ]; | |
| - | |
| - # Default for release buildtype but passed manually because | |
| - # we're using plain | |
| - NIX_CFLAGS_COMPILE = "-DG_DISABLE_CAST_CHECKS"; | |
| - | |
| - postPatch = '' | |
| - for f in gnome-settings-daemon/codegen.py plugins/power/gsd-power-constants-update.pl meson_post_install.py; do | |
| - chmod +x $f | |
| - patchShebangs $f | |
| - done | |
| - ''; | |
| - | |
| - meta = with lib; { | |
| - description = "GNOME Settings Daemon"; | |
| - homepage = "https://gitlab.gnome.org/GNOME/gnome-settings-daemon/"; | |
| - license = licenses.gpl2Plus; | |
| - maintainers = teams.pantheon.members; | |
| - platforms = platforms.linux; | |
| - }; | |
| -} | |
| diff --git a/pkgs/desktops/gnome/core/gnome-settings-daemon/3.38/fix-paths.patch b/pkgs/desktops/gnome/core/gnome-settings-daemon/3.38/fix-paths.patch | |
| deleted file mode 100644 | |
| index 2229302cab7..00000000000 | |
| --- a/pkgs/desktops/gnome/core/gnome-settings-daemon/3.38/fix-paths.patch | |
| +++ /dev/null | |
| @@ -1,15 +0,0 @@ | |
| ---- a/plugins/datetime/tz.h | |
| -+++ b/plugins/datetime/tz.h | |
| -@@ -27,11 +27,7 @@ | |
| - | |
| - #include <glib.h> | |
| - | |
| --#ifndef __sun | |
| --# define TZ_DATA_FILE "/usr/share/zoneinfo/zone.tab" | |
| --#else | |
| --# define TZ_DATA_FILE "/usr/share/lib/zoneinfo/tab/zone_sun.tab" | |
| --#endif | |
| -+#define TZ_DATA_FILE "@tzdata@/share/zoneinfo/zone.tab" | |
| - | |
| - typedef struct _TzDB TzDB; | |
| - typedef struct _TzLocation TzLocation; | |
| diff --git a/pkgs/desktops/gnome/core/gnome-settings-daemon/default.nix b/pkgs/desktops/gnome/core/gnome-settings-daemon/default.nix | |
| index 307de72cc4f..79c5b35bb66 100644 | |
| --- a/pkgs/desktops/gnome/core/gnome-settings-daemon/default.nix | |
| +++ b/pkgs/desktops/gnome/core/gnome-settings-daemon/default.nix | |
| @@ -127,7 +127,7 @@ stdenv.mkDerivation rec { | |
| meta = with lib; { | |
| license = licenses.gpl2Plus; | |
| - maintainers = teams.gnome.members; | |
| + maintainers = teams.gnome.members ++ teams.patheon.members; | |
| platforms = platforms.linux; | |
| }; | |
| } | |
| diff --git a/pkgs/desktops/gnome/core/mutter/3.38/default.nix b/pkgs/desktops/gnome/core/mutter/3.38/default.nix | |
| deleted file mode 100644 | |
| index 3c2d30b813b..00000000000 | |
| --- a/pkgs/desktops/gnome/core/mutter/3.38/default.nix | |
| +++ /dev/null | |
| @@ -1,164 +0,0 @@ | |
| -{ fetchurl | |
| -, substituteAll | |
| -, runCommand | |
| -, lib | |
| -, stdenv | |
| -, pkg-config | |
| -, gnome | |
| -, gettext | |
| -, gobject-introspection | |
| -, cairo | |
| -, pango | |
| -, json-glib | |
| -, libstartup_notification | |
| -, zenity | |
| -, libcanberra | |
| -, ninja | |
| -, xkeyboard_config | |
| -, libxkbfile | |
| -, libXdamage | |
| -, libxkbcommon | |
| -, libXtst | |
| -, libinput | |
| -, libdrm | |
| -, gsettings-desktop-schemas | |
| -, glib | |
| -, gtk3 | |
| -, gnome-desktop | |
| -, pipewire | |
| -, libgudev | |
| -, libwacom | |
| -, xwayland | |
| -, mesa | |
| -, meson | |
| -, gnome-settings-daemon | |
| -, xorgserver | |
| -, python3 | |
| -, wrapGAppsHook | |
| -, sysprof | |
| -, desktop-file-utils | |
| -, libcap_ng | |
| -, egl-wayland | |
| -, graphene | |
| -, wayland-protocols | |
| -, pantheon | |
| -}: | |
| - | |
| -let self = stdenv.mkDerivation rec { | |
| - pname = "mutter"; | |
| - version = "3.38.6"; | |
| - | |
| - outputs = [ "out" "dev" "man" ]; | |
| - | |
| - src = fetchurl { | |
| - url = "mirror://gnome/sources/mutter/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; | |
| - sha256 = "0mxln9azl4krmknq2vmhd15lgpa2q7gh7whiv14nsqbr9iaxmg2x"; | |
| - }; | |
| - | |
| - patches = [ | |
| - # 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 | |
| - | |
| - # Fixes issues for users of mutter like in gala. | |
| - # https://github.com/elementary/gala/issues/605 | |
| - # https://gitlab.gnome.org/GNOME/mutter/issues/536 | |
| - ./fix-glitches-in-gala.patch | |
| - | |
| - (substituteAll { | |
| - src = ./fix-paths.patch; | |
| - inherit zenity; | |
| - }) | |
| - ]; | |
| - | |
| - mesonFlags = [ | |
| - "-Degl_device=true" | |
| - "-Dinstalled_tests=false" # TODO: enable these | |
| - "-Dwayland_eglstream=true" | |
| - "-Dprofiler=true" | |
| - "-Dxwayland_path=${xwayland}/bin/Xwayland" | |
| - # This should be auto detected, but it looks like it manages a false | |
| - # positive. | |
| - "-Dxwayland_initfd=disabled" | |
| - ]; | |
| - | |
| - propagatedBuildInputs = [ | |
| - # required for pkg-config to detect mutter-clutter | |
| - json-glib | |
| - libXtst | |
| - libcap_ng | |
| - graphene | |
| - ]; | |
| - | |
| - nativeBuildInputs = [ | |
| - desktop-file-utils | |
| - gettext | |
| - mesa # needed for gbm | |
| - meson | |
| - ninja | |
| - pkg-config | |
| - python3 | |
| - wrapGAppsHook | |
| - xorgserver # for cvt command | |
| - ]; | |
| - | |
| - buildInputs = [ | |
| - cairo | |
| - egl-wayland | |
| - glib | |
| - gnome-desktop | |
| - gnome-settings-daemon | |
| - gobject-introspection | |
| - gsettings-desktop-schemas | |
| - gtk3 | |
| - libcanberra | |
| - libdrm | |
| - libgudev | |
| - libinput | |
| - libstartup_notification | |
| - libwacom | |
| - libxkbcommon | |
| - libxkbfile | |
| - libXdamage | |
| - pango | |
| - pipewire | |
| - sysprof | |
| - xkeyboard_config | |
| - xwayland | |
| - wayland-protocols | |
| - ]; | |
| - | |
| - postPatch = '' | |
| - patchShebangs src/backends/native/gen-default-modes.py | |
| - ''; | |
| - | |
| - postInstall = '' | |
| - ${glib.dev}/bin/glib-compile-schemas "$out/share/glib-2.0/schemas" | |
| - ''; | |
| - | |
| - # Install udev files into our own tree. | |
| - PKG_CONFIG_UDEV_UDEVDIR = "${placeholder "out"}/lib/udev"; | |
| - | |
| - passthru = { | |
| - libdir = "${self}/lib/mutter-7"; | |
| - | |
| - tests = { | |
| - libdirExists = runCommand "mutter-libdir-exists" {} '' | |
| - if [[ ! -d ${self.libdir} ]]; then | |
| - echo "passthru.libdir should contain a directory, “${self.libdir}” is not one." | |
| - exit 1 | |
| - fi | |
| - touch $out | |
| - ''; | |
| - }; | |
| - }; | |
| - | |
| - meta = with lib; { | |
| - description = "A window manager for GNOME"; | |
| - homepage = "https://gitlab.gnome.org/GNOME/mutter"; | |
| - license = licenses.gpl2Plus; | |
| - maintainers = teams.pantheon.members; | |
| - platforms = platforms.linux; | |
| - }; | |
| -}; | |
| -in self | |
| diff --git a/pkgs/desktops/gnome/core/mutter/3.38/drop-inheritable.patch b/pkgs/desktops/gnome/core/mutter/3.38/drop-inheritable.patch | |
| deleted file mode 100644 | |
| index 7374e1b8693..00000000000 | |
| --- a/pkgs/desktops/gnome/core/mutter/3.38/drop-inheritable.patch | |
| +++ /dev/null | |
| @@ -1,132 +0,0 @@ | |
| -From e9c772e265b2293af031c79f4bbc99b5847dfe3c Mon Sep 17 00:00:00 2001 | |
| -From: =?UTF-8?q?Tor=20Hedin=20Br=C3=B8nner?= <torhedinbronner@gmail.com> | |
| -Date: Sat, 19 Oct 2019 13:26:05 +0200 | |
| -Subject: [PATCH] drop inheritable | |
| - | |
| -Adapted from https://gitlab.gnome.org/GNOME/mutter/commit/c53c47ae123b03cc66044d2b846342123ecb3a01 | |
| - | |
| -We only want to drop inheritable though, to prevent the ambient set leaking further than gnome-shell. | |
| - | |
| ---- | |
| - config.h.meson | 3 +++ | |
| - meson.build | 5 +++++ | |
| - meson_options.txt | 6 ++++++ | |
| - src/core/main.c | 11 +++++++++++ | |
| - src/meson.build | 1 + | |
| - 5 files changed, 26 insertions(+) | |
| - | |
| -diff --git a/config.h.meson b/config.h.meson | |
| -index 0bab71848..202fb7ed1 100644 | |
| ---- a/config.h.meson | |
| -+++ b/config.h.meson | |
| -@@ -58,6 +58,9 @@ | |
| - /* Xwayland applications allowed to issue keyboard grabs */ | |
| - #mesondefine XWAYLAND_GRAB_DEFAULT_ACCESS_RULES | |
| - | |
| -+/* Defined if libcap-ng is available */ | |
| -+#mesondefine HAVE_LIBCAPNG | |
| -+ | |
| - /* XKB base prefix */ | |
| - #mesondefine XKB_BASE | |
| - | |
| -diff --git a/meson.build b/meson.build | |
| -index 3322bd3b1..01c8020fa 100644 | |
| ---- a/meson.build | |
| -+++ b/meson.build | |
| -@@ -35,6 +35,7 @@ libstartup_notification_req = '>= 0.7' | |
| - libcanberra_req = '>= 0.26' | |
| - libwacom_req = '>= 0.13' | |
| - atk_req = '>= 2.5.3' | |
| -+libcapng_req = '>= 0.7.9' | |
| - | |
| - # optional version requirements | |
| - udev_req = '>= 228' | |
| -@@ -131,6 +131,7 @@ ice_dep = dependency('ice') | |
| - atk_dep = dependency('atk', version: atk_req) | |
| - libcanberra_dep = dependency('libcanberra', version: libcanberra_req) | |
| - dbus_dep = dependency('dbus-1') | |
| -+libcapng_dep = dependency('libcap-ng', required: get_option('libcapng')) | |
| - | |
| - # For now always require X11 support | |
| - have_x11 = true | |
| -@@ -256,6 +258,7 @@ have_core_tests = false | |
| - have_cogl_tests = false | |
| - have_clutter_tests = false | |
| - have_installed_tests = false | |
| -+have_libcapng = libcapng_dep.found() | |
| - | |
| - if have_tests | |
| - have_core_tests = get_option('core_tests') | |
| -@@ -361,6 +364,7 @@ cdata.set('HAVE_LIBWACOM', have_libwacom) | |
| - cdata.set('HAVE_SM', have_sm) | |
| - cdata.set('HAVE_STARTUP_NOTIFICATION', have_startup_notification) | |
| - cdata.set('HAVE_INTROSPECTION', have_introspection) | |
| -+cdata.set('HAVE_LIBCAPNG', have_libcapng) | |
| - cdata.set('HAVE_PROFILER', have_profiler) | |
| - | |
| - xkb_base = xkeyboard_config_dep.get_pkgconfig_variable('xkb_base') | |
| -@@ -465,6 +465,7 @@ output = [ | |
| - ' Introspection............ ' + have_introspection.to_string(), | |
| - ' Profiler................. ' + have_profiler.to_string(), | |
| - ' Xwayland initfd.......... ' + have_xwayland_initfd.to_string(), | |
| -+ ' libcap-ng................ ' + have_libcapng.to_string(), | |
| - '', | |
| - ' Tests:', | |
| - '', | |
| -diff --git a/meson_options.txt b/meson_options.txt | |
| -index 73aa7adde..8bfaacd9a 100644 | |
| ---- a/meson_options.txt | |
| -+++ b/meson_options.txt | |
| -@@ -152,3 +152,9 @@ option('xwayland_grab_default_access_rules', | |
| - value: 'gnome-boxes,remote-viewer,virt-viewer,virt-manager,vinagre,vncviewer,Xephyr', | |
| - description: 'Comma delimited list of applications ressources or class allowed to issue X11 grabs in Xwayland' | |
| - ) | |
| -+ | |
| -+option('libcapng', | |
| -+ type: 'feature', | |
| -+ value: 'auto', | |
| -+ description: 'Enable libcap-ng support' | |
| -+) | |
| -diff --git a/src/core/main.c b/src/core/main.c | |
| -index 7f4f666d2..b27968f13 100644 | |
| ---- a/src/core/main.c | |
| -+++ b/src/core/main.c | |
| -@@ -66,6 +66,10 @@ | |
| - #include <girepository.h> | |
| - #endif | |
| - | |
| -+#ifdef HAVE_LIBCAPNG | |
| -+#include <cap-ng.h> | |
| -+#endif | |
| -+ | |
| - #if defined(HAVE_NATIVE_BACKEND) && defined(HAVE_WAYLAND) | |
| - #include <systemd/sd-login.h> | |
| - #endif /* HAVE_WAYLAND && HAVE_NATIVE_BACKEND */ | |
| -@@ -670,5 +674,12 @@ int | |
| - meta_run (void) | |
| - { | |
| - meta_start (); | |
| -+ | |
| -+#ifdef HAVE_LIBCAPNG | |
| -+ capng_clear(CAPNG_SELECT_BOTH); | |
| -+ capng_update(CAPNG_ADD, CAPNG_EFFECTIVE|CAPNG_PERMITTED, CAP_SYS_NICE); | |
| -+ capng_apply(CAPNG_SELECT_BOTH); | |
| -+#endif | |
| -+ | |
| - meta_run_main_loop (); | |
| - meta_finalize (); | |
| -diff --git a/src/meson.build b/src/meson.build | |
| -index 90d80734f..a9fffa2c2 100644 | |
| ---- a/src/meson.build | |
| -+++ b/src/meson.build | |
| -@@ -18,6 +18,7 @@ mutter_pkg_deps = [ | |
| - glib_dep, | |
| - gsettings_desktop_schemas_dep, | |
| - gtk3_dep, | |
| -+ libcapng_dep, | |
| - pango_dep, | |
| - ] | |
| - | |
| --- | |
| -2.23.0 | |
| - | |
| diff --git a/pkgs/desktops/gnome/core/mutter/3.38/fix-glitches-in-gala.patch b/pkgs/desktops/gnome/core/mutter/3.38/fix-glitches-in-gala.patch | |
| deleted file mode 100644 | |
| index 97376823979..00000000000 | |
| --- a/pkgs/desktops/gnome/core/mutter/3.38/fix-glitches-in-gala.patch | |
| +++ /dev/null | |
| @@ -1,27 +0,0 @@ | |
| -From a58ace29db48f98ad59f4f309d49b458c68a6eec Mon Sep 17 00:00:00 2001 | |
| -From: Bobby Rong <rjl931189261@126.com> | |
| -Date: Wed, 28 Jul 2021 22:08:11 +0800 | |
| -Subject: [PATCH] Fix glitches in gala | |
| - | |
| -Co-Authored-By: WORLDofPEACE <worldofpeace@protonmail.ch> | |
| - | |
| -This fixes issues for users of mutter like in gala[0]. | |
| - | |
| -Upstream report: https://gitlab.gnome.org/GNOME/mutter/issues/536 | |
| -[0]: https://github.com/elementary/gala/issues/605 | |
| ---- | |
| - clutter/clutter/clutter-actor.c | 1 - | |
| - 1 file changed, 1 deletion(-) | |
| - | |
| -diff --git a/clutter/clutter/clutter-actor.c b/clutter/clutter/clutter-actor.c | |
| -index febfb31918..71906000c0 100644 | |
| ---- a/clutter/clutter/clutter-actor.c | |
| -+++ b/clutter/clutter/clutter-actor.c | |
| -@@ -15926,7 +15926,6 @@ _clutter_actor_get_paint_volume_mutable (ClutterActor *self) | |
| - if (_clutter_actor_get_paint_volume_real (self, &priv->paint_volume)) | |
| - { | |
| - priv->paint_volume_valid = TRUE; | |
| -- priv->needs_paint_volume_update = FALSE; | |
| - return &priv->paint_volume; | |
| - } | |
| - else | |
| diff --git a/pkgs/desktops/gnome/core/mutter/3.38/fix-paths.patch b/pkgs/desktops/gnome/core/mutter/3.38/fix-paths.patch | |
| deleted file mode 100644 | |
| index 6ac0a431f61..00000000000 | |
| --- a/pkgs/desktops/gnome/core/mutter/3.38/fix-paths.patch | |
| +++ /dev/null | |
| @@ -1,13 +0,0 @@ | |
| -diff --git a/src/core/util.c b/src/core/util.c | |
| -index 57b73747d..f424cc81c 100644 | |
| ---- a/src/core/util.c | |
| -+++ b/src/core/util.c | |
| -@@ -636,7 +636,7 @@ meta_show_dialog (const char *type, | |
| - | |
| - args = g_ptr_array_new (); | |
| - | |
| -- append_argument (args, "zenity"); | |
| -+ append_argument (args, "@zenity@/bin/zenity"); | |
| - append_argument (args, type); | |
| - | |
| - if (display) | |
| diff --git a/pkgs/desktops/gnome/core/mutter/default.nix b/pkgs/desktops/gnome/core/mutter/default.nix | |
| index 78b90a379c3..acb1f51b9a7 100644 | |
| --- a/pkgs/desktops/gnome/core/mutter/default.nix | |
| +++ b/pkgs/desktops/gnome/core/mutter/default.nix | |
| @@ -158,7 +158,7 @@ let self = stdenv.mkDerivation rec { | |
| description = "A window manager for GNOME"; | |
| homepage = "https://gitlab.gnome.org/GNOME/mutter"; | |
| license = licenses.gpl2Plus; | |
| - maintainers = teams.gnome.members; | |
| + maintainers = teams.gnome.members ++ teams.pantheon.members; | |
| platforms = platforms.linux; | |
| }; | |
| }; | |
| diff --git a/pkgs/desktops/gnome/default.nix b/pkgs/desktops/gnome/default.nix | |
| index a3f0107c288..3fab3845af9 100644 | |
| --- a/pkgs/desktops/gnome/default.nix | |
| +++ b/pkgs/desktops/gnome/default.nix | |
| @@ -88,9 +88,6 @@ lib.makeScope pkgs.newScope (self: with self; { | |
| gnome-settings-daemon = callPackage ./core/gnome-settings-daemon { }; | |
| - # Using 3.38 to match Mutter used in Pantheon | |
| - gnome-settings-daemon338 = callPackage ./core/gnome-settings-daemon/3.38 { }; | |
| - | |
| gnome-software = callPackage ./core/gnome-software { }; | |
| gnome-system-monitor = callPackage ./core/gnome-system-monitor { }; | |
| @@ -109,9 +106,6 @@ lib.makeScope pkgs.newScope (self: with self; { | |
| mutter = callPackage ./core/mutter { }; | |
| - # Needed for elementary's gala and greeter until support for higher versions is provided | |
| - mutter338 = callPackage ./core/mutter/3.38 { }; | |
| - | |
| nautilus = callPackage ./core/nautilus { }; | |
| networkmanager-openvpn = pkgs.networkmanager-openvpn.override { | |
| @@ -357,9 +351,9 @@ lib.makeScope pkgs.newScope (self: with self; { | |
| maintainers = lib.teams.gnome.members; | |
| - mutter328 = throw "Removed as Pantheon is upgraded to mutter338."; | |
| + mutter338 = throw "mutter338 has been removed as Pantheon is using the latest mutter."; | |
| - mutter334 = throw "Removed as Pantheon is upgraded to mutter338."; | |
| + gnome-settings-daemon338 = throw "mutter338 has been removed as Pantheon is using the latest gnome-settings-daemon."; | |
| gnome-getting-started-docs = throw "Removed in favour of gnome-tour."; | |
| diff --git a/pkgs/desktops/pantheon/default.nix b/pkgs/desktops/pantheon/default.nix | |
| index b3b5409f6a0..84ff19f8fdc 100644 | |
| --- a/pkgs/desktops/pantheon/default.nix | |
| +++ b/pkgs/desktops/pantheon/default.nix | |
| @@ -26,10 +26,9 @@ lib.makeScope pkgs.newScope (self: with self; { | |
| maintainers = lib.teams.pantheon.members; | |
| - mutter = pkgs.gnome.mutter338; | |
| + mutter = pkgs.gnome.mutter; | |
| - # Using 3.38 to match Mutter used in Pantheon | |
| - gnome-settings-daemon = pkgs.gnome.gnome-settings-daemon338; | |
| + gnome-settings-daemon = pkgs.gnome.gnome-settings-daemon; | |
| elementary-gsettings-schemas = callPackage ./desktop/elementary-gsettings-schemas { }; | |
| -- | |
| 2.33.0 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment