source: gnome/platform/tracker3-miners.xml@ 4aa2043

12.1 ken/TL2024 lazarus rahul/power-profiles-daemon trunk xry111/llvm18
Last change on this file since 4aa2043 was 4aa2043, checked in by Douglas R. Reno <renodr@…>, 4 months ago

Tracker-miners: Fix some crashes due to gstreamer-1.22.9.

  • Property mode set to 100644
File size: 9.1 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY tracker3-miners-download-http "&gnome-download-http;/tracker-miners/3.6/tracker-miners-&tracker3-miners-version;.tar.xz">
8 <!ENTITY tracker3-miners-download-ftp " ">
9 <!ENTITY tracker3-miners-md5sum "36b1149a9b10ee3db3e3aa6d8a95c5dc">
10 <!ENTITY tracker3-miners-size "7.2 MB">
11 <!ENTITY tracker3-miners-buildsize "85 MB (with tests)">
12 <!ENTITY tracker3-miners-time "0.3 SBU (with parallelism=4; add as much as 1.0 SBU for tests, dependent on disk speed)">
13]>
14
15<sect1 id="tracker3-miners" xreflabel="tracker-miners-&tracker3-miners-version;">
16 <?dbhtml filename="tracker3-miners.html"?>
17
18
19 <title>Tracker-miners-&tracker3-miners-version;</title>
20
21 <indexterm zone="tracker3-miners">
22 <primary sortas="a-tracker3-miners">tracker3-miners</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to Tracker-miners</title>
27
28 <para>
29 The <application>Tracker-miners</application> package contains a set of
30 data extractors for Tracker.
31 </para>
32
33 &lfs120_checked;
34
35 <bridgehead renderas="sect3">Package Information</bridgehead>
36 <itemizedlist spacing="compact">
37 <listitem>
38 <para>
39 Download (HTTP): <ulink url="&tracker3-miners-download-http;"/>
40 </para>
41 </listitem>
42 <listitem>
43 <para>
44 Download (FTP): <ulink url="&tracker3-miners-download-ftp;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download MD5 sum: &tracker3-miners-md5sum;
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download size: &tracker3-miners-size;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Estimated disk space required: &tracker3-miners-buildsize;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated build time: &tracker3-miners-time;
65 </para>
66 </listitem>
67 </itemizedlist>
68
69<!--
70 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
71 <itemizedlist spacing="compact">
72 <listitem>
73 <para>
74 Required patch:
75 <ulink url="&patch-root;/tracker-miners-&tracker3-miners-version;-upstream_fixes-1.patch"/>
76 </para>
77 </listitem>
78 </itemizedlist>
79-->
80
81 <bridgehead renderas="sect3">Tracker-miners Dependencies</bridgehead>
82
83 <bridgehead renderas="sect4">Required</bridgehead>
84 <para role="required">
85 <xref linkend="gst10-plugins-base"/>,
86 <xref linkend="tracker3"/>,
87 <xref linkend="exempi"/>, and
88 <xref linkend="gexiv2"/>
89 </para>
90
91 <bridgehead renderas="sect4">Recommended</bridgehead>
92 <para role="recommended">
93 <xref linkend="giflib"/>,
94 <xref role='runtime' linkend="gst10-plugins-good"/> (runtime),
95 <xref role='runtime' linkend="gst10-libav"/> (runtime),
96 <xref linkend="icu"/>,
97 <xref linkend="libexif"/>,
98 <xref linkend="libgrss"/>,
99 <xref linkend="libgxps"/>,
100 <xref linkend="libseccomp"/>,
101 <xref linkend="poppler"/>, and
102 <xref linkend="upower"/>
103 </para>
104
105 <bridgehead renderas="sect4">Optional</bridgehead>
106 <para role="optional">
107 <xref linkend="asciidoc"/>,
108 <xref linkend="cmake"/>,
109 <xref linkend="dconf"/>,
110 <xref linkend="ffmpeg"/>,
111 <xref linkend="libgsf"/>,
112 <xref linkend="NetworkManager"/>,
113 <xref linkend="taglib"/>,
114 <xref linkend="totem-pl-parser"/>,
115 <ulink url="https://github.com/lipnitsk/libcue">libcue</ulink>,
116 <ulink url="https://libiptcdata.sourceforge.net/">libitpcdata</ulink>,
117 <ulink url="https://libosinfo.org">libosinfo</ulink>, and
118 <ulink url="https://gitlab.gnome.org/GNOME/gupnp">gupnp</ulink>
119 </para>
120
121 </sect2>
122
123 <sect2 role="installation">
124 <title>Installation of Tracker-miners</title>
125
126 <note>
127 <para>
128 If you plan to run the tests, some timeouts are too short when
129 using spinning disks. There are two places where timeouts are
130 used: first, individual tests inside a group of tests have a
131 default timeout of 10s. This can be changed by setting the environment
132 variable <envar>TRACKER_TESTS_AWAIT_TIMEOUT</envar> to the desired
133 value when running the tests (see below). Second, a global timeout
134 for a group of tests is fixed at configuration time. The default value
135 in the <filename class="directory">functional-tests</filename>
136 directory (other directories have only short lived tests) may be
137 increased with the following command (replace 200 with a value
138 suitable for your machine):
139 </para>
140
141<screen remap="test"><userinput>sed -i s/120/<replaceable>200</replaceable>/ tests/functional-tests/meson.build</userinput></screen>
142 </note>
143
144<!-- Applied in 3.6.2
145 <para>
146 First, fix some problems with the recent tightening of the seccomp
147 sandbox:
148 </para>
149
150<screen><userinput remap="pre">patch -Np1 -i ../tracker-miners-&tracker3-miners-version;-upstream_fixes-1.patch</userinput></screen>
151-->
152
153 <para>
154 First, fix some crashes introduced by gstreamer-1.22.9:
155 <!-- https://gitlab.gnome.org/GNOME/tracker-miners/-/issues/252 and
156 https://gitlab.gnome.org/GNOME/tracker-miners/-/issues/299 -->
157 </para>
158
159<screen><userinput remap="pre">sed -i '/ALLOW_RULE (shutdown);/a ALLOW_RULE (getsockopt);' src/libtracker-miners-common/tracker-seccomp.c</userinput></screen>
160
161 <para>
162 Install <application>Tracker-miners</application> by running the following
163 commands:
164 </para>
165
166
167<screen revision="systemd"><userinput>mkdir build &amp;&amp;
168cd build &amp;&amp;
169
170meson setup --prefix=/usr \
171 --buildtype=release \
172 -Dman=false \
173 .. &amp;&amp;
174ninja</userinput></screen>
175
176<screen revision="sysv"><userinput>mkdir build &amp;&amp;
177cd build &amp;&amp;
178
179meson setup --prefix=/usr \
180 --buildtype=release \
181 -Dsystemd_user_services=false \
182 -Dman=false \
183 .. &amp;&amp;
184ninja</userinput></screen>
185
186 <para>
187 <!-- Some tests fail in 3.6.1 due to seccomp sandbox changes.
188 See https://github.blog/2023-10-09-coordinated-disclosure-1-click-rce-on-gnome-cve-2023-43641/ -->
189 To test the results, issue (adjust the individual test timeout to a
190 value suitable for your machine, see the note above):
191 </para>
192
193<screen remap="test"><userinput>dbus-run-session env TRACKER_TESTS_AWAIT_TIMEOUT=<replaceable>20</replaceable> ninja test &amp;&amp;
194rm -rf ~/tracker-tests</userinput></screen>
195
196 <note>
197 <para>
198 The tests create files in the user directory (up to 24 MB), so
199 they have to be removed afterwards.
200 </para>
201 </note>
202
203 <para>
204 Now, as the <systemitem class="username">root</systemitem> user:
205 </para>
206
207<screen role="root"><userinput>ninja install</userinput></screen>
208 </sect2>
209
210 <sect2 role="commands">
211 <title>Command Explanations</title>
212
213 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
214 href="../../xincludes/meson-buildtype-release.xml"/>
215
216 <para>
217 <parameter>-Dman=false</parameter>: This switch prevents the build process
218 from generating man pages. Omit this switch if you have
219 <xref linkend="asciidoc" role="nodep"/> installed and wish to generate and
220 install the man pages.
221 </para>
222
223 <para revision="sysv">
224 <parameter>-Dsystemd_user_services=false</parameter>: This switch prevents
225 the build process from installing systemd units since they are useless
226 on SysV systems.
227 </para>
228
229 <para>
230 <option>-Dseccomp=false</option>: This option disables the seccomp system
231 call filter. On some architectures, such as i686 and ARM, the functions
232 that tracker-miners uses are not guarded properly, and tracker-miners
233 will get killed with a SIGSYS as a result.
234 </para>
235
236 <para>
237 <option>-Dminer_rss=false</option>: Use this option if you have not
238 installed the recommended dependency libgrss.
239 </para>
240
241 <para>
242 <option>-Dbattery_detection=none</option>: Use this option if you have
243 not installed the recommended dependency upower. Do not use this
244 option if your system has a battery (laptop battery or UPS), or
245 tracker miners may waste the battery power and lifespan when the A/C
246 power is unavailable.
247 </para>
248
249 </sect2>
250
251 <sect2 role="content">
252 <title>Contents</title>
253
254 <segmentedlist>
255 <segtitle>Installed Programs</segtitle>
256 <segtitle>Installed Libraries</segtitle>
257 <segtitle>Installed Directories</segtitle>
258
259 <seglistitem>
260 <seg>
261 None
262 </seg>
263 <seg>
264 Several modules under /usr/lib/tracker-miners-3.0
265 </seg>
266 <seg>
267 /usr/lib/tracker-miners-3.0,
268 /usr/libexec/tracker3, and
269 /usr/share/tracker3-miners
270 </seg>
271 </seglistitem>
272 </segmentedlist>
273 </sect2>
274
275</sect1>
Note: See TracBrowser for help on using the repository browser.