Markus Volk 2454812275
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>
2026-03-27 09:09:04 -07:00

85 lines
3.0 KiB
BlitzBasic

SUMMARY = "Tracker miners and metadata extractors"
LICENSE = "GPL-2.0-only & LGPL-2.1-only"
LIC_FILES_CHKSUM = " \
file://COPYING.GPL;md5=ee31012bf90e7b8c108c69f197f3e3a4 \
file://COPYING.LGPL;md5=2d5025d4aa3495befef8f17206a5b0a1 \
"
DEPENDS = " \
intltool-native \
tinysparql \
zlib \
"
inherit gnomebase gsettings gobject-introspection vala bash-completion features_check
SRC_URI:append = " \
file://0001-fix-reproducibility.patch \
file://0001-Set-header-file-to-a-fixed-path-instead-of-a-host-pa.patch \
"
SRC_URI[archive.sha256sum] = "c6774761a8b9f4a06f6812f1c8078bee2e937d65e376c3d2338b78993e5f4666"
# gobject-introspection is mandatory and cannot be configured
REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
GIR_MESON_OPTION = ""
VALA_MESON_OPTION = ""
PACKAGECONFIG ??= " \
${@bb.utils.contains("LICENSE_FLAGS_ACCEPTED", "commercial", "ffmpeg", "", d)} \
gexiv2 \
gstreamer \
icu \
libexif \
libgsf \
jpeg \
pdf \
png \
tiff \
raw \
xml \
zip \
${@bb.utils.filter('DISTRO_FEATURES', 'seccomp', d)} \
battery \
"
# Needs tgkill API which musl does not support
# see https://www.openwall.com/lists/musl/2019/08/02/1
PACKAGECONFIG:remove:libc-musl = "seccomp"
PACKAGECONFIG[battery] = "-Dbattery_detection=upower,-Dbattery_detection=none,upower"
PACKAGECONFIG[cue] = "-Dcue=enabled,-Dcue=disabled,libcue"
PACKAGECONFIG[ffmpeg] = "-Dlibav=enabled,-Dlibav=disabled,ffmpeg"
PACKAGECONFIG[gexiv2] = ",,gexiv2"
PACKAGECONFIG[gstreamer] = ",,gstreamer1.0 gstreamer1.0-plugins-base"
PACKAGECONFIG[gupnp] = "-Dgstreamer_backend=gupnp,,gupnp-dlna"
PACKAGECONFIG[gif] = "-Dgif=enabled,-Dgif=disabled,giflib"
PACKAGECONFIG[icu] = "-Dcharset_detection=icu,,icu"
PACKAGECONFIG[iso] = "-Diso=enabled,-Diso=disabled,libosinfo"
PACKAGECONFIG[jpeg] = "-Djpeg=enabled,-Djpeg=disabled,jpeg"
PACKAGECONFIG[libexif] = "-Dexif=enabled,-Dexif=disabled,libexif"
PACKAGECONFIG[libgsf] = "-Dgsf=enabled,-Dgsf=disabled,libgsf"
PACKAGECONFIG[pdf] = "-Dpdf=enabled,-Dpdf=disabled,poppler"
PACKAGECONFIG[png] = "-Dpng=enabled,-Dpng=disabled,libpng"
PACKAGECONFIG[tiff] = "-Dtiff=enabled,-Dtiff=disabled,tiff"
PACKAGECONFIG[raw] = "-Draw=enabled,-Draw=disabled,libraw"
PACKAGECONFIG[xml] = "-Dxml=enabled,-Dxml=disabled,libxml2"
PACKAGECONFIG[zip] = "-Dzip=enabled,-Dzip=disabled,libzip"
PACKAGECONFIG[landlock] = "-Dlandlock=enabled,-Dlandlock=disabled"
# For security reasons it is strongly recommended to set add meta-security in
# your layers and 'libseccomp + landlock' to PACKAGECONFIG".
PACKAGECONFIG[seccomp] = "-Dseccomp=true,-Dseccomp=false,libseccomp"
EXTRA_OEMESON += " \
-Dman=false -Dfunctional_tests=false \
-Dsystemd_user_services=${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)} \
-Dsystemd_user_services_dir=${systemd_user_unitdir} \
"
FILES:${PN} += " \
${datadir} \
${libdir}/localsearch-3.0 \
${systemd_user_unitdir} \
"