From 87e3d553cf645b2a3abb178d1baa66ae1a33eef1 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Fri, 23 Oct 2020 17:58:53 +0000 Subject: [PATCH] =?UTF-8?q?gnome-photos:=203.37.2=20=E2=86=92=203.38.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://ftp.gnome.org/pub/GNOME/sources/gnome-photos/3.37/gnome-photos-3.37.91.news https://ftp.gnome.org/pub/GNOME/sources/gnome-photos/3.37/gnome-photos-3.37.91.1.news https://ftp.gnome.org/pub/GNOME/sources/gnome-photos/3.38/gnome-photos-3.38.0.news --- nixos/modules/services/x11/desktop-managers/gnome3.nix | 4 +++- pkgs/applications/graphics/gnome-photos/default.nix | 9 +++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/nixos/modules/services/x11/desktop-managers/gnome3.nix b/nixos/modules/services/x11/desktop-managers/gnome3.nix index 28cd5ede36a..65e5a851dfc 100644 --- a/nixos/modules/services/x11/desktop-managers/gnome3.nix +++ b/nixos/modules/services/x11/desktop-managers/gnome3.nix @@ -413,7 +413,9 @@ in in lib.optionals tracker2needed [ tracker_2 - ]; + ] ++ removePackagesByName [ + pkgs.gnome-photos + ] config.environment.gnome3.excludePackages; # Enable default program modules # Since some of these have a corresponding package, we only diff --git a/pkgs/applications/graphics/gnome-photos/default.nix b/pkgs/applications/graphics/gnome-photos/default.nix index 671311d10fd..b4bb6e03d3c 100644 --- a/pkgs/applications/graphics/gnome-photos/default.nix +++ b/pkgs/applications/graphics/gnome-photos/default.nix @@ -35,13 +35,13 @@ stdenv.mkDerivation rec { pname = "gnome-photos"; - version = "3.37.2"; + version = "3.38.0"; outputs = [ "out" "installedTests" ]; src = fetchurl { url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; - sha256 = "13wspx5kgnn1ir8q521ja0d21r1dsnh73qb8k27nkgc4zyhmm5fc"; + sha256 = "1i64w69kk3sdf9vn7npnwrhy8qjwn0vizq200x3pgmbrfm3kjzv6"; }; patches = [ @@ -103,6 +103,11 @@ stdenv.mkDerivation rec { postFixup = '' wrapGApp "${placeholder "installedTests"}/libexec/installed-tests/gnome-photos/basic.py" + + # Upstream now uses a private tracker 2 instance. + # https://gitlab.gnome.org/GNOME/gnome-photos/-/merge_requests/146 + # Let’s install them after fixup since they are already wrapped. + ln -s ${tracker-miners-2}/libexec/tracker-extract ${tracker-miners-2}/libexec/tracker-miner-fs ${tracker_2}/libexec/tracker-store $out/libexec ''; passthru = {