diff options
| author | Markus Volk <f_l_k@t-online.de> | 2026-03-26 17:47:57 +0100 |
|---|---|---|
| committer | Khem Raj <khem.raj@oss.qualcomm.com> | 2026-03-27 09:09:04 -0700 |
| commit | 2454812275531aa75b9a2e5bb468fe8c0ca93eb5 (patch) | |
| tree | c0670619e76857cdf0ab90fa14bf5115f7966d26 | |
| parent | 0662fc89e4b063d82287a58f9450ca8fe26b950c (diff) | |
| download | meta-openembedded-2454812275531aa75b9a2e5bb468fe8c0ca93eb5.tar.gz | |
localsearch: update 3.9.0 -> 3.11.0
- rework reproducibility patch
- disable functional_tests to avoid python3-dbusmock-native dependency
- add PACKAGECONFIG for libzip and enable by default
NEW in 3.11.0 - 2026-03-15
==========================
* Memory leak fixes
* Stability fixes
* Fixes to tv series/season extraction from video files
Translations: ca, da, en_GB, pl
Notable changes since 3.10.0:
* Default configuration change, the user home directory will now be indexed
recursively as a whole, instead of XDG folders
* Major change in handling of removable devices. When enabled, removable
devices will get a `.localsearch3` folder with a self-contained database
for the removable device indexed data, instead of being included in the
main database in the user home folder. The setting default remains off.
* The set of dependencies was modernized and sanitized. GExiv2 is now used
for more metadata, libzip is now used for bundled files.
NEW in 3.11.rc - 2026-03-03
===========================
* Reliability improvements to the test suite
Translations: es, hu, ko, ne, oc, pt
NEW in 3.11.beta - 2026-02-18
=============================
* Fixes for possible buffer overflows and NULL pointer dereferences
in MP3 extractor
* Fix seccomp jail in database helper process for removable devices
* Replace libgsf with libzip for ZIP content handling
* Improve reliability of the test suite in slow scenarios (e.g. CI)
Translations: bg, ca, cs, el, eu, fa, fr, gl, he, ka, kk, lt, pt_BR, ro, ru,
sl, sv, tr, ug, uk, zh_CN
NEW in 3.11.alpha - 2026-01-05
==============================
* Default configuration change, the user home directory will now be indexed
recursively as a whole, instead of XDG folders
* Major change in handling of removable devices. When enabled, removable
devices will get a `.localsearch3` folder with a self-contained database
for the removable device indexed data, instead of being included in the
main database in the user home folder. The setting default remains off.
* Improved handling of indexed folder changes found on restart
* Improved handling of indexing cancellation in deleted folders
* Improved handling of BTRFS filesystems
* Dropped libexif dependency, EXIF data is now extracted through gexiv2
* Dropped libpiptcdata dependency, IPTC data is now extracted through
gexiv2
* Consistency improvements to extracted metadata
* Fixes to SHSTK handling in the sandboxed process
* Further extended test coverage
Translations: ca, el, fur, id, oc, sr, sr@latin
NEW in 3.10.1 - 2025-10-13
==========================
* Improvements to the handling of corrupted databases
* Avoid session startup issues if database initialization takes long
* Handle compressed Abiword documents
* Memory usage improvements indexing WEBP files
* Support gexiv2 >= 0.16
* Unify metadata extraction deadline mechanisms
* Test suite improvements
Translations: bg, ca, es, kab, pt, ro, tr, ug
NEW in 3.10.0 - 2025-09-14
==========================
* Fixes to handling of configuration changes
* Improvements to the test suite
Translations: da, en_GB, eo, es, eu, fa, he, hu, ka, ko, lt, nl, pt_BR, ru, sv, tr, uk, zh_CN
Notable changes since 3.9.0:
* A number of behavioral settings has been deprecated
* Webp file format now has a metadata extractor
NEW in 3.10.rc - 2025-09-01
===========================
* Webp file format now has a metadata extractor
* Indexer refactors and cleanups
Translations: ca, cs, gl, pl, sl
NEW in 3.10.beta - 2025-08-03
=============================
* Fix service files with -Ddomain-ontology option
* Fixes for Alpine and similar distributions without merged /usr
NEW in 3.10.alpha - 2025-07-01
==============================
* Systemd integration improvements
* A number of behavioral settings has been deprecated
* Fixes handling /var/home directories
* Many improvements to the command line tool
* The tracker:available property is again set on all graphs, for
indexed folders
* Fixes handling XML documents
* Fixes for possible crashes handling large PDF files
* Fixes for coverity warnings
* Code cleanups and refactors
Translations: be, ca, uz
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
| -rw-r--r-- | meta-gnome/recipes-gnome/tracker/localsearch/0001-Set-header-file-to-a-fixed-path-instead-of-a-host-pa.patch | 4 | ||||
| -rw-r--r-- | meta-gnome/recipes-gnome/tracker/localsearch/0001-fix-reproducibility.patch | 67 | ||||
| -rw-r--r-- | meta-gnome/recipes-gnome/tracker/localsearch_3.11.0.bb (renamed from meta-gnome/recipes-gnome/tracker/localsearch_3.9.0.bb) | 6 |
3 files changed, 30 insertions, 47 deletions
diff --git a/meta-gnome/recipes-gnome/tracker/localsearch/0001-Set-header-file-to-a-fixed-path-instead-of-a-host-pa.patch b/meta-gnome/recipes-gnome/tracker/localsearch/0001-Set-header-file-to-a-fixed-path-instead-of-a-host-pa.patch index 87589a0e64..23675075f8 100644 --- a/meta-gnome/recipes-gnome/tracker/localsearch/0001-Set-header-file-to-a-fixed-path-instead-of-a-host-pa.patch +++ b/meta-gnome/recipes-gnome/tracker/localsearch/0001-Set-header-file-to-a-fixed-path-instead-of-a-host-pa.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From bad93f7aec96b1819f4027dbc06b337d2e2227f2 Mon Sep 17 00:00:00 2001 | 1 | From 78c089de4bef7d8f07cc6def1202dcec949521b5 Mon Sep 17 00:00:00 2001 |
| 2 | From: Lei Maohui <leimaohui@fujitsu.com> | 2 | From: Lei Maohui <leimaohui@fujitsu.com> |
| 3 | Date: Thu, 15 Sep 2022 16:35:39 +0900 | 3 | Date: Thu, 15 Sep 2022 16:35:39 +0900 |
| 4 | Subject: [PATCH] Set header file to a fixed path instead of a host path. | 4 | Subject: [PATCH] Set header file to a fixed path instead of a host path. |
| @@ -7,7 +7,7 @@ Upstream-Status: Inappropriate [embedded specific] | |||
| 7 | 7 | ||
| 8 | Signed-off-by: Lei Maohui <leimaohui@fujitsu.com> | 8 | Signed-off-by: Lei Maohui <leimaohui@fujitsu.com> |
| 9 | --- | 9 | --- |
| 10 | .../tracker-miners-enum-types.c.template | 2 +- | 10 | src/common/tracker-miners-enum-types.c.template | 2 +- |
| 11 | 1 file changed, 1 insertion(+), 1 deletion(-) | 11 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 12 | 12 | ||
| 13 | diff --git a/src/common/tracker-miners-enum-types.c.template b/src/common/tracker-miners-enum-types.c.template | 13 | diff --git a/src/common/tracker-miners-enum-types.c.template b/src/common/tracker-miners-enum-types.c.template |
diff --git a/meta-gnome/recipes-gnome/tracker/localsearch/0001-fix-reproducibility.patch b/meta-gnome/recipes-gnome/tracker/localsearch/0001-fix-reproducibility.patch index 1bab34e126..f90dafea82 100644 --- a/meta-gnome/recipes-gnome/tracker/localsearch/0001-fix-reproducibility.patch +++ b/meta-gnome/recipes-gnome/tracker/localsearch/0001-fix-reproducibility.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From 57f4279008394831826ea2ff449b06b29c08ce68 Mon Sep 17 00:00:00 2001 | 1 | From 7affd66ff09747ad95b2e6de0b86ab06c97ca8f1 Mon Sep 17 00:00:00 2001 |
| 2 | From: Markus Volk <f_l_k@t-online.de> | 2 | From: Markus Volk <f_l_k@t-online.de> |
| 3 | Date: Tue, 12 Sep 2023 17:00:41 +0200 | 3 | Date: Tue, 12 Sep 2023 17:00:41 +0200 |
| 4 | Subject: [PATCH] meson: fix reproducibility | 4 | Subject: [PATCH] meson: fix reproducibility |
| @@ -12,18 +12,14 @@ Upstream-Status: Inappropriate [oe-specific] | |||
| 12 | 12 | ||
| 13 | Signed-off-by: Markus Volk <f_l_k@t-online.de> | 13 | Signed-off-by: Markus Volk <f_l_k@t-online.de> |
| 14 | --- | 14 | --- |
| 15 | meson.build | 8 ++++---- | 15 | meson.build | 4 ++-- |
| 16 | src/common/tracker-landlock.c | 4 ++-- | 16 | 1 file changed, 2 insertions(+), 2 deletions(-) |
| 17 | src/miners/fs/meson.build | 4 ++-- | ||
| 18 | src/tracker-extract/meson.build | 2 +- | ||
| 19 | tests/tracker-miner-fs/meson.build | 2 +- | ||
| 20 | 5 files changed, 10 insertions(+), 10 deletions(-) | ||
| 21 | 17 | ||
| 22 | diff --git a/meson.build b/meson.build | 18 | diff --git a/meson.build b/meson.build |
| 23 | index 7ae103c..cc61e84 100644 | 19 | index fe65280b6..6af5abec9 100644 |
| 24 | --- a/meson.build | 20 | --- a/meson.build |
| 25 | +++ b/meson.build | 21 | +++ b/meson.build |
| 26 | @@ -371,7 +371,7 @@ conf.set('PACKAGE_VERSION', '"@0@"'.format(meson.project_version())) | 22 | @@ -323,7 +323,7 @@ conf.set('PACKAGE_VERSION', '"@0@"'.format(meson.project_version())) |
| 27 | conf.set('TRACKER_VERSION', '"@0@"'.format(meson.project_version())) | 23 | conf.set('TRACKER_VERSION', '"@0@"'.format(meson.project_version())) |
| 28 | 24 | ||
| 29 | # Config that goes in some other generated files (.desktop, .pc, etc) | 25 | # Config that goes in some other generated files (.desktop, .pc, etc) |
| @@ -32,7 +28,7 @@ index 7ae103c..cc61e84 100644 | |||
| 32 | conf.set('exec_prefix', get_option('prefix')) | 28 | conf.set('exec_prefix', get_option('prefix')) |
| 33 | conf.set('bindir', join_paths(get_option('prefix'), get_option('bindir'))) | 29 | conf.set('bindir', join_paths(get_option('prefix'), get_option('bindir'))) |
| 34 | conf.set('datadir', datadir) | 30 | conf.set('datadir', datadir) |
| 35 | @@ -400,7 +400,7 @@ tracker_c_args = [ | 31 | @@ -353,7 +353,7 @@ tracker_c_args = [ |
| 36 | configinc = include_directories('./') | 32 | configinc = include_directories('./') |
| 37 | srcinc = include_directories('src/') | 33 | srcinc = include_directories('src/') |
| 38 | 34 | ||
| @@ -41,22 +37,22 @@ index 7ae103c..cc61e84 100644 | |||
| 41 | 37 | ||
| 42 | # We use tracker-miners-3.0 rather than tracker3-miners inside the lib64 | 38 | # We use tracker-miners-3.0 rather than tracker3-miners inside the lib64 |
| 43 | # directory, following the existing convention in that directory. | 39 | # directory, following the existing convention in that directory. |
| 44 | @@ -430,8 +430,8 @@ subdir('data') | 40 | @@ -378,8 +378,8 @@ subdir('src') |
| 45 | subdir('docs') | 41 | subdir('docs') |
| 46 | 42 | ||
| 47 | test_c_args = tracker_c_args + [ | 43 | test_c_args = tracker_c_args + [ |
| 48 | - '-DTOP_BUILDDIR="@0@/"'.format(meson.build_root()), | 44 | - '-DTOP_BUILDDIR="@0@/"'.format(meson.project_build_root()), |
| 49 | - '-DTOP_SRCDIR="@0@/"'.format(meson.source_root()), | 45 | - '-DTOP_SRCDIR="@0@/"'.format(meson.project_source_root()), |
| 50 | + '-DTOP_BUILDDIR="@0@/"'.format(''), | 46 | + '-DTOP_BUILDDIR="@0@/"'.format(''), |
| 51 | + '-DTOP_SRCDIR="@0@/"'.format('/usr/src/debug/tracker'), | 47 | + '-DTOP_SRCDIR="@0@/"'.format('/usr/src/debug/tracker'), |
| 52 | ] | 48 | ] |
| 53 | 49 | ||
| 54 | if get_option('tests_tap_protocol') | 50 | if get_option('tests_tap_protocol') |
| 55 | diff --git a/src/common/tracker-landlock.c b/src/common/tracker-landlock.c | 51 | diff --git a/src/common/tracker-landlock.c b/src/common/tracker-landlock.c |
| 56 | index 0ad90d0..354f5d1 100644 | 52 | index a3f390585..778ae62d9 100644 |
| 57 | --- a/src/common/tracker-landlock.c | 53 | --- a/src/common/tracker-landlock.c 2026-03-15 01:40:56.000000000 +0100 |
| 58 | +++ b/src/common/tracker-landlock.c | 54 | +++ b/src/common/tracker-landlock.c 2026-03-26 16:49:16.948259117 +0100 |
| 59 | @@ -283,7 +283,7 @@ tracker_landlock_init (const gchar * const *indexed_folders) | 55 | @@ -299,7 +299,7 @@ |
| 60 | LANDLOCK_ACCESS_FS_READ_DIR); | 56 | LANDLOCK_ACCESS_FS_READ_DIR); |
| 61 | } | 57 | } |
| 62 | } | 58 | } |
| @@ -65,7 +61,7 @@ index 0ad90d0..354f5d1 100644 | |||
| 65 | current_dir = g_get_current_dir (); | 61 | current_dir = g_get_current_dir (); |
| 66 | 62 | ||
| 67 | /* Detect running in-tree */ | 63 | /* Detect running in-tree */ |
| 68 | @@ -303,7 +303,7 @@ tracker_landlock_init (const gchar * const *indexed_folders) | 64 | @@ -319,7 +319,7 @@ |
| 69 | in_tree_rules[i].flags); | 65 | in_tree_rules[i].flags); |
| 70 | } | 66 | } |
| 71 | } | 67 | } |
| @@ -74,43 +70,28 @@ index 0ad90d0..354f5d1 100644 | |||
| 74 | /* Add user cache for readonly databases */ | 70 | /* Add user cache for readonly databases */ |
| 75 | #ifdef MINER_FS_CACHE_LOCATION | 71 | #ifdef MINER_FS_CACHE_LOCATION |
| 76 | add_rule (landlock_fd, MINER_FS_CACHE_LOCATION, | 72 | add_rule (landlock_fd, MINER_FS_CACHE_LOCATION, |
| 77 | diff --git a/src/miners/fs/meson.build b/src/miners/fs/meson.build | 73 | --- a/src/indexer/meson.build 2026-03-15 01:40:56.000000000 +0100 |
| 78 | index 1e16618..286580a 100644 | 74 | +++ b/src/indexer/meson.build 2026-03-26 16:55:09.020362168 +0100 |
| 79 | --- a/src/indexer/meson.build | 75 | @@ -91,9 +91,9 @@ executable('localsearch-@0@'.format(tracker_api_major), |
| 80 | +++ b/src/indexer/meson.build | ||
| 81 | @@ -68,8 +68,8 @@ executable('localsearch-@0@'.format(tracker_api_major), | ||
| 82 | dependencies: tracker_miner_fs_deps, | 76 | dependencies: tracker_miner_fs_deps, |
| 83 | c_args: [ | 77 | c_args: [ |
| 84 | tracker_c_args, | 78 | tracker_c_args, |
| 85 | - '-DBUILDROOT="@0@"'.format(meson.global_build_root()), | 79 | - '-DBUILDROOT="@0@"'.format(meson.global_build_root()), |
| 86 | - '-DBUILD_EXTRACTDIR="@0@"'.format(meson.build_root() / 'src' / 'extractor'), | 80 | - '-DBUILDDIR="@0@"'.format(meson.current_build_dir()), |
| 81 | - '-DBUILD_EXTRACTDIR="@0@"'.format(meson.project_build_root() / 'src' / 'extractor'), | ||
| 87 | + '-DBUILDROOT="@0@"'.format(get_option('prefix') / 'src'), | 82 | + '-DBUILDROOT="@0@"'.format(get_option('prefix') / 'src'), |
| 83 | + '-DBUILDDIR="@0@"'.format(''), | ||
| 88 | + '-DBUILD_EXTRACTDIR="@0@"'.format(get_option('prefix') / 'src' / 'extractor'), | 84 | + '-DBUILD_EXTRACTDIR="@0@"'.format(get_option('prefix') / 'src' / 'extractor'), |
| 89 | '-DLIBEXECDIR="@0@"'.format(get_option('prefix') / get_option('libexecdir')), | 85 | '-DLIBEXECDIR="@0@"'.format(get_option('prefix') / get_option('libexecdir')), |
| 90 | ], | 86 | ], |
| 91 | install: true, | 87 | install: true, |
| 92 | diff --git a/src/tracker-extract/meson.build b/src/tracker-extract/meson.build | 88 | --- a/tests/indexer/meson.build 2026-03-15 01:40:56.000000000 +0100 |
| 93 | index 2584881..31411f2 100644 | 89 | +++ b/tests/indexer/meson.build 2026-03-26 17:01:29.686224071 +0100 |
| 94 | --- a/src/extractor/meson.build | 90 | @@ -18,7 +18,7 @@ |
| 95 | +++ b/src/extractor/meson.build | ||
| 96 | @@ -158,7 +158,7 @@ endif | ||
| 97 | executable('localsearch-extractor-@0@'.format(tracker_api_major), | ||
| 98 | tracker_extract_sources, | ||
| 99 | # Manually add the root dir to work around https://github.com/mesonbuild/meson/issues/1387 | ||
| 100 | - c_args: tracker_c_args + ['-I' + meson.build_root()], | ||
| 101 | + c_args: tracker_c_args, | ||
| 102 | export_dynamic: true, | ||
| 103 | dependencies: tracker_extract_dependencies, | ||
| 104 | install: true, | ||
| 105 | diff --git a/tests/tracker-miner-fs/meson.build b/tests/tracker-miner-fs/meson.build | ||
| 106 | index 8c081fd..9792082 100644 | ||
| 107 | --- a/tests/indexer/meson.build | ||
| 108 | +++ b/tests/indexer/meson.build | ||
| 109 | @@ -18,7 +18,7 @@ libtracker_miner_test_c_args = [ | ||
| 110 | ] | 91 | ] |
| 111 | 92 | ||
| 112 | libtracker_miner_test_environment = environment() | 93 | libtracker_miner_test_environment = environment() |
| 113 | -libtracker_miner_test_environment.set('GSETTINGS_SCHEMA_DIR', join_paths(meson.build_root(), 'data')) | 94 | -libtracker_miner_test_environment.set('GSETTINGS_SCHEMA_DIR', join_paths(meson.project_build_root(), 'data')) |
| 114 | +libtracker_miner_test_environment.set('GSETTINGS_SCHEMA_DIR', '/usr/src/debug/tracker-miners/data') | 95 | +libtracker_miner_test_environment.set('GSETTINGS_SCHEMA_DIR', '/usr/src/debug/tracker-miners/data') |
| 115 | 96 | ||
| 116 | libtracker_miner_test_deps = [tracker_miners_common_dep, tracker_miner_dep, tracker_sparql] | 97 | libtracker_miner_test_deps = [tracker_miners_common_dep, tracker_miner_dep, tracker_sparql] |
diff --git a/meta-gnome/recipes-gnome/tracker/localsearch_3.9.0.bb b/meta-gnome/recipes-gnome/tracker/localsearch_3.11.0.bb index ffea1f76b3..d49482cfec 100644 --- a/meta-gnome/recipes-gnome/tracker/localsearch_3.9.0.bb +++ b/meta-gnome/recipes-gnome/tracker/localsearch_3.11.0.bb | |||
| @@ -18,7 +18,7 @@ SRC_URI:append = " \ | |||
| 18 | file://0001-fix-reproducibility.patch \ | 18 | file://0001-fix-reproducibility.patch \ |
| 19 | file://0001-Set-header-file-to-a-fixed-path-instead-of-a-host-pa.patch \ | 19 | file://0001-Set-header-file-to-a-fixed-path-instead-of-a-host-pa.patch \ |
| 20 | " | 20 | " |
| 21 | SRC_URI[archive.sha256sum] = "d42f408dc3fb28fe54f5a9abbf5f1decf5818db9c2e9ec51c09464bdfd0c14b9" | 21 | SRC_URI[archive.sha256sum] = "c6774761a8b9f4a06f6812f1c8078bee2e937d65e376c3d2338b78993e5f4666" |
| 22 | 22 | ||
| 23 | # gobject-introspection is mandatory and cannot be configured | 23 | # gobject-introspection is mandatory and cannot be configured |
| 24 | REQUIRED_DISTRO_FEATURES = "gobject-introspection-data" | 24 | REQUIRED_DISTRO_FEATURES = "gobject-introspection-data" |
| @@ -38,6 +38,7 @@ PACKAGECONFIG ??= " \ | |||
| 38 | tiff \ | 38 | tiff \ |
| 39 | raw \ | 39 | raw \ |
| 40 | xml \ | 40 | xml \ |
| 41 | zip \ | ||
| 41 | ${@bb.utils.filter('DISTRO_FEATURES', 'seccomp', d)} \ | 42 | ${@bb.utils.filter('DISTRO_FEATURES', 'seccomp', d)} \ |
| 42 | battery \ | 43 | battery \ |
| 43 | " | 44 | " |
| @@ -62,6 +63,7 @@ PACKAGECONFIG[png] = "-Dpng=enabled,-Dpng=disabled,libpng" | |||
| 62 | PACKAGECONFIG[tiff] = "-Dtiff=enabled,-Dtiff=disabled,tiff" | 63 | PACKAGECONFIG[tiff] = "-Dtiff=enabled,-Dtiff=disabled,tiff" |
| 63 | PACKAGECONFIG[raw] = "-Draw=enabled,-Draw=disabled,libraw" | 64 | PACKAGECONFIG[raw] = "-Draw=enabled,-Draw=disabled,libraw" |
| 64 | PACKAGECONFIG[xml] = "-Dxml=enabled,-Dxml=disabled,libxml2" | 65 | PACKAGECONFIG[xml] = "-Dxml=enabled,-Dxml=disabled,libxml2" |
| 66 | PACKAGECONFIG[zip] = "-Dzip=enabled,-Dzip=disabled,libzip" | ||
| 65 | PACKAGECONFIG[landlock] = "-Dlandlock=enabled,-Dlandlock=disabled" | 67 | PACKAGECONFIG[landlock] = "-Dlandlock=enabled,-Dlandlock=disabled" |
| 66 | 68 | ||
| 67 | # For security reasons it is strongly recommended to set add meta-security in | 69 | # For security reasons it is strongly recommended to set add meta-security in |
| @@ -69,7 +71,7 @@ PACKAGECONFIG[landlock] = "-Dlandlock=enabled,-Dlandlock=disabled" | |||
| 69 | PACKAGECONFIG[seccomp] = "-Dseccomp=true,-Dseccomp=false,libseccomp" | 71 | PACKAGECONFIG[seccomp] = "-Dseccomp=true,-Dseccomp=false,libseccomp" |
| 70 | 72 | ||
| 71 | EXTRA_OEMESON += " \ | 73 | EXTRA_OEMESON += " \ |
| 72 | -Dman=false \ | 74 | -Dman=false -Dfunctional_tests=false \ |
| 73 | -Dsystemd_user_services=${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)} \ | 75 | -Dsystemd_user_services=${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)} \ |
| 74 | -Dsystemd_user_services_dir=${systemd_user_unitdir} \ | 76 | -Dsystemd_user_services_dir=${systemd_user_unitdir} \ |
| 75 | " | 77 | " |
