localsearch: update to 3.8.2.

This commit is contained in:
oreo639 2025-01-28 22:15:46 -08:00 committed by oreo639
parent f8351466f7
commit 8a9c6791d1
3 changed files with 4 additions and 32 deletions

View File

@ -1,19 +0,0 @@
Fix build on musl, which doesn't provide a tgkill function due to concerns of it being misused.
(e.g. outside of signal handlers)
https://www.openwall.com/lists/musl/2019/08/02/1
--- a/src/libtracker-miners-common/tracker-seccomp.c
+++ b/src/libtracker-miners-common/tracker-seccomp.c
@@ -80,6 +81,11 @@
goto out; \
} G_STMT_END
+
+#if !defined(__GLIBC__)
+#define tgkill(pid, tid, sig) syscall(SYS_tgkill, pid, tid, sig);
+#endif
+
static void
sigsys_handler (gint signal,
siginfo_t *info,

View File

@ -1,10 +0,0 @@
--- a/src/libtracker-miners-common/tracker-landlock.c
+++ b/src/libtracker-miners-common/tracker-landlock.c
@@ -28,6 +28,7 @@
#include <linux/landlock.h>
#include <sys/prctl.h>
#include <sys/syscall.h>
+#include <unistd.h>
#include "tracker-debug.h"

View File

@ -1,6 +1,6 @@
# Template file for 'localsearch'
pkgname=localsearch
version=3.8.0
version=3.8.2
revision=1
build_style=meson
build_helper=qemu
@ -26,9 +26,10 @@ short_desc="File search framework of the GNOME desktop"
maintainer="oreo639 <oreo6391@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://tracker.gnome.org/"
changelog="https://gitlab.gnome.org/GNOME/localsearch/-/raw/master/NEWS"
#changelog="https://gitlab.gnome.org/GNOME/localsearch/-/raw/master/NEWS"
changelog="https://gitlab.gnome.org/GNOME/localsearch/-/raw/localsearch-3.8/NEWS"
distfiles="${GNOME_SITE}/localsearch/${version%.*}/localsearch-${version}.tar.xz"
checksum=e4e83a1daebb5263915b45b719731e3f7041d959cbd637ea29afbe910c92bbf9
checksum=cda69195f6845357a8d91c023670efe92238f4d138a1ef7a1401f45a2a8403ce
make_check_pre="dbus-run-session"
make_check=ci-skip # TODO: d-bus tests timeout ci