localsearch: 3.10.2 → 3.11.0

https://gitlab.gnome.org/GNOME/localsearch/-/compare/3.10.2...3.11.0
This commit is contained in:
winston
2026-05-06 23:03:31 +08:00
committed by Bobby Rong
parent b818f60b32
commit 58f993a8da
2 changed files with 17 additions and 21 deletions
+6 -10
View File
@@ -8,7 +8,7 @@
gettext,
itstool,
libxslt,
gexiv2,
gexiv2_0_16,
tinysparql,
meson,
mesonEmulatorHook,
@@ -27,11 +27,8 @@
icu,
json-glib,
libcue,
libexif,
libgsf,
libgudev,
libgxps,
libiptcdata,
libjpeg,
libosinfo,
libpng,
@@ -40,6 +37,7 @@
libuuid,
libwebp,
libxml2,
libzip,
poppler,
systemd,
taglib,
@@ -50,11 +48,11 @@
stdenv.mkDerivation (finalAttrs: {
pname = "localsearch";
version = "3.10.2";
version = "3.11.0";
src = fetchurl {
url = "mirror://gnome/sources/localsearch/${lib.versions.majorMinor finalAttrs.version}/localsearch-${finalAttrs.version}.tar.xz";
hash = "sha256-tN2JyF12YXEButTsmjNnj2MexQMumIDrQj3OUuh4ooU=";
hash = "sha256-xndHYai59KBvaBLxyAeL7i6TfWXjdsPSM4t4mT5fRmY=";
};
patches = [
@@ -87,17 +85,14 @@ stdenv.mkDerivation (finalAttrs: {
exempi
ffmpeg
giflib
gexiv2
gexiv2_0_16
totem-pl-parser
tinysparql
icu
json-glib
libcue
libexif
libgsf
libgudev
libgxps
libiptcdata
libjpeg
libosinfo
libpng
@@ -105,6 +100,7 @@ stdenv.mkDerivation (finalAttrs: {
libuuid
libwebp
libxml2
libzip
poppler
taglib
]
@@ -1,15 +1,15 @@
diff --git a/src/common/tracker-landlock.c b/src/common/tracker-landlock.c
index f26791d73..f03e8ddb9 100644
index a3f390585..3629107e7 100644
--- a/src/common/tracker-landlock.c
+++ b/src/common/tracker-landlock.c
@@ -185,6 +185,10 @@ gboolean
tracker_landlock_init (const gchar * const *indexed_folders)
{
TrackerLandlockRule stock_rules[] = {
@@ -192,6 +192,10 @@ tracker_landlock_init (const gchar *executable_name,
(LANDLOCK_ACCESS_FS_EXECUTE |
LANDLOCK_ACCESS_FS_READ_FILE |
LANDLOCK_ACCESS_FS_READ_DIR) },
+ { "/nix/store",
+ (LANDLOCK_ACCESS_FS_EXECUTE |
+ LANDLOCK_ACCESS_FS_READ_FILE |
+ LANDLOCK_ACCESS_FS_READ_DIR) },
/* Allow access to the executable itself */
{ LIBEXECDIR "/localsearch-extractor-3",
LANDLOCK_ACCESS_FS_READ_FILE |
+ (LANDLOCK_ACCESS_FS_EXECUTE |
+ LANDLOCK_ACCESS_FS_READ_FILE |
+ LANDLOCK_ACCESS_FS_READ_DIR) },
#if INTPTR_MAX == INT64_MAX
{ "/usr/lib64",
(LANDLOCK_ACCESS_FS_EXECUTE |