gnome3.nautilus: 3.36.3 -> 3.38.0
https://gitlab.gnome.org/GNOME/nautilus/-/blob/3.37.80/NEWS - tracker3 program is required for migration of favourites.
This commit is contained in:
parent
57dad9ec8d
commit
971d1baa37
@ -32,13 +32,24 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "nautilus";
|
||||
version = "3.36.3";
|
||||
version = "3.38.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "1y0fsd7j48v4qkc051cg41mz7jycgw4vd4g37lw682p7n5xgrjmn";
|
||||
sha256 = "1h6adh474rmjva06g3wcj9g5vrvffi5hkhkfzddg7nzpygwk1wy6";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Allow changing extension directory using environment variable.
|
||||
./extension_dir.patch
|
||||
|
||||
# Hardcode required paths.
|
||||
(substituteAll {
|
||||
src = ./fix-paths.patch;
|
||||
inherit tracker;
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
desktop-file-utils
|
||||
gettext
|
||||
@ -86,10 +97,6 @@ stdenv.mkDerivation rec {
|
||||
patchShebangs build-aux/meson/postinstall.py
|
||||
'';
|
||||
|
||||
patches = [
|
||||
./extension_dir.patch
|
||||
];
|
||||
|
||||
passthru = {
|
||||
updateScript = gnome3.updateScript {
|
||||
packageName = pname;
|
||||
|
13
pkgs/desktops/gnome-3/core/nautilus/fix-paths.patch
Normal file
13
pkgs/desktops/gnome-3/core/nautilus/fix-paths.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/src/nautilus-tag-manager.c b/src/nautilus-tag-manager.c
|
||||
index 28b96c996..0b1fad9ab 100644
|
||||
--- a/src/nautilus-tag-manager.c
|
||||
+++ b/src/nautilus-tag-manager.c
|
||||
@@ -962,7 +962,7 @@ child_watch_cb (GPid pid,
|
||||
static void
|
||||
export_tracker2_data (NautilusTagManager *self)
|
||||
{
|
||||
- gchar *argv[] = {"tracker3", "export", "--2to3", "files-starred", "--keyfile", NULL};
|
||||
+ gchar *argv[] = {"@tracker@/bin/tracker3", "export", "--2to3", "files-starred", "--keyfile", NULL};
|
||||
gint stdout_fd;
|
||||
GPid child_pid;
|
||||
g_autoptr (GError) error = NULL;
|
Loading…
Reference in New Issue
Block a user