Skip to content

Commit

Permalink
pantheon.gnome-settings-daemon: 42.2 -> 43.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bobby285271 committed Mar 25, 2023
1 parent cf8e501 commit 5697d92
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 42 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,17 @@
, python3
, tzdata
, nss
, gcr
, gcr_4
, gnome-session-ctl
}:

stdenv.mkDerivation rec {
pname = "gnome-settings-daemon";
version = "42.2";
version = "43.0";

src = fetchurl {
url = "mirror://gnome/sources/gnome-settings-daemon/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "nESXFKqOwSccDbUTffNFgZWUPwXM0KyJNdkzl3cLqwA=";
sha256 = "NRO7JPxvgYFmciOmSgZ1NP3M879mMmqUA9OLDw1gE9A=";
};

patches = [
Expand All @@ -61,13 +61,6 @@ stdenv.mkDerivation rec {
src = ./fix-paths.patch;
inherit tzdata;
})

# Use geocode-glib_2 dependency
# https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/merge_requests/300
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/commit/03739474621e579e10b72577960ff94b4001e7ff.patch";
sha256 = "W4uD4ChNPZSsmQfmfmmXFA2Sm1RDkV7MqG8DmT4qeCY=";
})
];

nativeBuildInputs = [
Expand Down Expand Up @@ -106,7 +99,7 @@ stdenv.mkDerivation rec {
systemd
libgudev
libwacom
gcr
gcr_4
];

mesonFlags = [
Expand All @@ -119,7 +112,7 @@ stdenv.mkDerivation rec {
env.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
for f in gnome-settings-daemon/codegen.py plugins/power/gsd-power-constants-update.pl; do
chmod +x $f
patchShebangs $f
done
Expand Down

This file was deleted.

5 changes: 3 additions & 2 deletions pkgs/desktops/gnome/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ lib.makeScope pkgs.newScope (self: with self; {

gnome-settings-daemon = callPackage ./core/gnome-settings-daemon { };

# Using 42 to match Mutter used in Pantheon
gnome-settings-daemon42 = callPackage ./core/gnome-settings-daemon/42 { };
# Using 43 to match Mutter used in Pantheon
gnome-settings-daemon43 = callPackage ./core/gnome-settings-daemon/43 { };

gnome-software = callPackage ./core/gnome-software { };

Expand Down Expand Up @@ -274,4 +274,5 @@ lib.makeScope pkgs.newScope (self: with self; {
mutter338 = throw "The ‘gnome.mutter338’ package was removed as it is no longer needed by Pantheon."; # added 2023-02-22
mutter42 = throw "The ‘gnome.mutter42’ package was removed as it is no longer needed by Pantheon."; # added 2023-03-23
gnome-settings-daemon338 = throw "The ‘gnome.gnome-settings-daemon338’ package was removed as it is no longer needed by Pantheon."; # added 2023-02-22
gnome-settings-daemon42 = throw "The ‘gnome.gnome-settings-daemon42’ package was removed as it is no longer needed by Pantheon."; # added 2023-03-23
}
4 changes: 2 additions & 2 deletions pkgs/desktops/pantheon/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ lib.makeScope pkgs.newScope (self: with self; {

mutter = pkgs.gnome.mutter43;

# Using 42 to match Mutter used in Pantheon
gnome-settings-daemon = pkgs.gnome.gnome-settings-daemon42;
# Using 43 to match Mutter used in Pantheon
gnome-settings-daemon = pkgs.gnome.gnome-settings-daemon43;

elementary-gsettings-schemas = callPackage ./desktop/elementary-gsettings-schemas { };

Expand Down

0 comments on commit 5697d92

Please sign in to comment.