From: oreo639 <oreo639@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] tracker-miners: update to 3.4.3.
Date: Sat, 11 Feb 2023 06:19:21 +0100 [thread overview]
Message-ID: <20230211051921.0EDhD0l_-xJUtYwk2zoY_sBrrLZhyjmUhBUP1l1NCyI@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-41832@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1362 bytes --]
There is an updated pull request by oreo639 against master on the void-packages repository
https://github.com/oreo639/void-packages tracker
https://github.com/void-linux/void-packages/pull/41832
tracker-miners: update to 3.4.3.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
RE: sqlite issue, an issue has been made upstream: https://gitlab.gnome.org/GNOME/tracker-miners/-/issues/254
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/41832.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-tracker-41832.patch --]
[-- Type: text/x-diff, Size: 2616 bytes --]
From 9269f52b91e2124bb2c14c6be4573536014a4c5f Mon Sep 17 00:00:00 2001
From: oreo639 <oreo6391@gmail.com>
Date: Mon, 23 Jan 2023 16:31:44 -0800
Subject: [PATCH] tracker-miners: update to 3.4.3.
---
.../patches/sqlite-seccomp.patch | 24 +++++++++++++++++++
srcpkgs/tracker-miners/template | 6 ++---
2 files changed, 27 insertions(+), 3 deletions(-)
create mode 100644 srcpkgs/tracker-miners/patches/sqlite-seccomp.patch
diff --git a/srcpkgs/tracker-miners/patches/sqlite-seccomp.patch b/srcpkgs/tracker-miners/patches/sqlite-seccomp.patch
new file mode 100644
index 000000000000..7aaeda5ed529
--- /dev/null
+++ b/srcpkgs/tracker-miners/patches/sqlite-seccomp.patch
@@ -0,0 +1,24 @@
+Change ioctl(..., F2FS_IOC_GET_FEATURES, ...) from an assertion to an errno.
+This is necessary for sqlite SQLITE_ENABLE_BATCH_ATOMIC_WRITE.
+
+--- a/src/libtracker-miners-common/tracker-seccomp.c
++++ b/src/libtracker-miners-common/tracker-seccomp.c
+@@ -34,6 +34,7 @@
+ #include <sys/prctl.h>
+ #include <sys/syscall.h>
+ #include <sys/socket.h>
++#include <sys/ioctl.h>
+ #include <fcntl.h>
+
+ #include <seccomp.h>
+@@ -246,6 +247,10 @@ tracker_seccomp_init (void)
+ SCMP_CMP(0, SCMP_CMP_EQ, 2)) < 0)
+ goto out;
+
++ if (seccomp_rule_add (ctx, SCMP_ACT_ERRNO (EACCES), SCMP_SYS(ioctl), 1,
++ SCMP_CMP(1, SCMP_CMP_EQ, _IOR(0xf5, 12, __u32))) < 0)
++ goto out;
++
+ /* Special requirements for open/openat, allow O_RDONLY calls,
+ * but fail if write permissions are requested.
+ */
diff --git a/srcpkgs/tracker-miners/template b/srcpkgs/tracker-miners/template
index 9e8cdc492c26..3e7966c2b4a9 100644
--- a/srcpkgs/tracker-miners/template
+++ b/srcpkgs/tracker-miners/template
@@ -1,6 +1,6 @@
# Template file for 'tracker-miners'
pkgname=tracker-miners
-version=3.4.2
+version=3.4.3
revision=1
build_style=meson
build_helper=qemu
@@ -24,10 +24,10 @@ makedepends="tracker-devel ffmpeg-devel dbus-devel exempi-devel
short_desc="Data miners for tracker"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
-homepage="https://developer.gnome.org/libtracker-miner/stable"
+homepage="https://tracker.gnome.org/"
changelog="https://gitlab.gnome.org/GNOME/tracker-miners/-/raw/master/NEWS"
distfiles="${GNOME_SITE}/tracker-miners/${version%.*}/tracker-miners-${version}.tar.xz"
-checksum=101e3608f1c28bfed8ae25522f7a720b559f889a76e280afbe50a4d8b064f92c
+checksum=8e4f3976472641b648d0f8f20debae1b1629ca5b560b8616e117d29d756fbeeb
make_check=no # relies on unsupported ops in chroot
tracker3-miners_package() {
next prev parent reply other threads:[~2023-02-11 5:19 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-24 0:32 [PR PATCH] " oreo639
2023-01-24 0:57 ` oreo639
2023-01-24 0:57 ` oreo639
2023-01-24 2:03 ` [PR PATCH] [Updated] " oreo639
2023-01-24 2:25 ` oreo639
2023-01-25 3:37 ` oreo639
2023-02-11 5:19 ` oreo639 [this message]
2023-02-14 20:34 ` [PR PATCH] [Merged]: " paper42
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230211051921.0EDhD0l_-xJUtYwk2zoY_sBrrLZhyjmUhBUP1l1NCyI@z \
--to=oreo639@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).