From 8a9c6791d187c981568ee5b15021af6d5963ceee Mon Sep 17 00:00:00 2001 From: oreo639 Date: Tue, 28 Jan 2025 22:15:46 -0800 Subject: [PATCH] localsearch: update to 3.8.2. --- .../patches/fix-musl-build-tgkill.patch | 19 ------------------- .../patches/fix-musl-missing-include.patch | 10 ---------- srcpkgs/localsearch/template | 7 ++++--- 3 files changed, 4 insertions(+), 32 deletions(-) delete mode 100644 srcpkgs/localsearch/patches/fix-musl-build-tgkill.patch delete mode 100644 srcpkgs/localsearch/patches/fix-musl-missing-include.patch diff --git a/srcpkgs/localsearch/patches/fix-musl-build-tgkill.patch b/srcpkgs/localsearch/patches/fix-musl-build-tgkill.patch deleted file mode 100644 index d36722c0ef8..00000000000 --- a/srcpkgs/localsearch/patches/fix-musl-build-tgkill.patch +++ /dev/null @@ -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, diff --git a/srcpkgs/localsearch/patches/fix-musl-missing-include.patch b/srcpkgs/localsearch/patches/fix-musl-missing-include.patch deleted file mode 100644 index 9446e10a609..00000000000 --- a/srcpkgs/localsearch/patches/fix-musl-missing-include.patch +++ /dev/null @@ -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 - #include - #include -+#include - - #include "tracker-debug.h" - diff --git a/srcpkgs/localsearch/template b/srcpkgs/localsearch/template index a194e0867ea..cd8eccee88e 100644 --- a/srcpkgs/localsearch/template +++ b/srcpkgs/localsearch/template @@ -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 " 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