Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from sailfishos/jb61614-bugfix
[tracker-miners] Update to 3.3.3. JB#61614
- Loading branch information
Showing
6 changed files
with
69 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
rpm/0009-backport-tracker-miner-fs-Allow-building-without-gst.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
From: =?UTF-8?q?Matti=20Lehtim=C3=A4ki?= <matti.lehtimaki@jolla.com> | ||
Date: Fri, 23 Feb 2024 21:31:55 +0200 | ||
Subject: [PATCH] backport: tracker-miner-fs: Allow building without gstreamer | ||
|
||
Build fails when using generic_media_extractor=libav and | ||
not having gstreamer headers installed. | ||
--- | ||
src/miners/fs/tracker-main.c | 4 ++++ | ||
1 file changed, 4 insertions(+) | ||
|
||
diff --git a/src/miners/fs/tracker-main.c b/src/miners/fs/tracker-main.c | ||
index 21f6166bc2e931714ed798747d3bd32cba23d88d..eb0b23883dfc8c0ab76424e3d9fc02e20a4c7d4e 100644 | ||
--- a/src/miners/fs/tracker-main.c | ||
+++ b/src/miners/fs/tracker-main.c | ||
@@ -35,7 +35,9 @@ | ||
#include <glib-object.h> | ||
#include <glib/gi18n.h> | ||
|
||
+#if defined(HAVE_GSTREAMER) | ||
#include <gst/gst.h> | ||
+#endif | ||
|
||
#include <libtracker-miners-common/tracker-common.h> | ||
#include <libtracker-sparql/tracker-sparql.h> | ||
@@ -989,7 +991,9 @@ main (gint argc, gchar *argv[]) | ||
/* Preempt possible registry updates, before tracker-extract-3 deals | ||
* with gstreamer plugins. | ||
*/ | ||
+#if defined(HAVE_GSTREAMER) | ||
gst_init (NULL, NULL); | ||
+#endif | ||
|
||
/* Translators: this messagge will apper immediately after the | ||
* usage string - Usage: COMMAND <THIS_MESSAGE> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
From: Sam Thursfield <sam.thursfield@codethink.co.uk> | ||
Date: Mon, 17 Oct 2022 11:32:00 +0200 | ||
Subject: [PATCH] backport: seccomp: Allow epoll_create1() | ||
|
||
This is preferred over epoll_create(), and is used in GLib 2.74 and | ||
later due to https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2868 | ||
|
||
https://gitlab.gnome.org/GNOME/tracker-miners/-/issues/239 | ||
--- | ||
src/libtracker-miners-common/tracker-seccomp.c | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
diff --git a/src/libtracker-miners-common/tracker-seccomp.c b/src/libtracker-miners-common/tracker-seccomp.c | ||
index 334daab0787510a6179cb47f3914dc2833244f66..ec271495fe986b6b4999be2a10321c45c1588133 100644 | ||
--- a/src/libtracker-miners-common/tracker-seccomp.c | ||
+++ b/src/libtracker-miners-common/tracker-seccomp.c | ||
@@ -208,6 +208,7 @@ tracker_seccomp_init (void) | ||
ALLOW_RULE (pipe); | ||
ALLOW_RULE (pipe2); | ||
ALLOW_RULE (epoll_create); | ||
+ ALLOW_RULE (epoll_create1); | ||
ALLOW_RULE (epoll_ctl); | ||
/* System */ | ||
ALLOW_RULE (uname); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule upstream
updated
41 files