source: gnome/platform/tracker3-miners.xml@ 0b50758f

12.1 ken/TL2024 lazarus plabs/newcss rahul/power-profiles-daemon trunk xry111/llvm18
Last change on this file since 0b50758f was ab4fdfc, checked in by Pierre Labastie <pierre.labastie@…>, 5 months ago

Change all xml decl to encoding=utf-8

  • Property mode set to 100644
File size: 8.4 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"/>, and
101 <xref linkend="poppler"/>
102 </para>
103
104 <bridgehead renderas="sect4">Optional</bridgehead>
105 <para role="optional">
106 <xref linkend="asciidoc"/>,
107 <xref linkend="cmake"/>,
108 <xref linkend="dconf"/>,
109 <xref linkend="ffmpeg"/>,
110 <xref linkend="libgsf"/>,
111 <xref linkend="NetworkManager"/>,
112 <xref linkend="taglib"/>,
113 <xref linkend="totem-pl-parser"/>,
114 <xref linkend="upower"/>,
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 Install <application>Tracker-miners</application> by running the following
155 commands:
156 </para>
157
158
159<screen revision="systemd"><userinput>mkdir build &amp;&amp;
160cd build &amp;&amp;
161
162meson setup --prefix=/usr \
163 --buildtype=release \
164 -Dman=false \
165 .. &amp;&amp;
166ninja</userinput></screen>
167
168<screen revision="sysv"><userinput>mkdir build &amp;&amp;
169cd build &amp;&amp;
170
171meson setup --prefix=/usr \
172 --buildtype=release \
173 -Dsystemd_user_services=false \
174 -Dman=false \
175 .. &amp;&amp;
176ninja</userinput></screen>
177
178 <para>
179 <!-- Some tests fail in 3.6.1 due to seccomp sandbox changes.
180 See https://github.blog/2023-10-09-coordinated-disclosure-1-click-rce-on-gnome-cve-2023-43641/ -->
181 To test the results, issue (adjust the individual test timeout to a
182 value suitable for your machine, see the note above):
183 </para>
184
185<screen remap="test"><userinput>dbus-run-session env TRACKER_TESTS_AWAIT_TIMEOUT=<replaceable>20</replaceable> ninja test &amp;&amp;
186rm -rf ~/tracker-tests</userinput></screen>
187
188 <note>
189 <para>
190 The tests create files in the user directory (up to 24 MB), so
191 they have to be removed afterwards.
192 </para>
193 </note>
194
195 <para>
196 Now, as the <systemitem class="username">root</systemitem> user:
197 </para>
198
199<screen role="root"><userinput>ninja install</userinput></screen>
200 </sect2>
201
202 <sect2 role="commands">
203 <title>Command Explanations</title>
204
205 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
206 href="../../xincludes/meson-buildtype-release.xml"/>
207
208 <para>
209 <parameter>-Dman=false</parameter>: This switch prevents the build process
210 from generating man pages. Omit this switch if you have
211 <xref linkend="asciidoc" role="nodep"/> installed and wish to generate and
212 install the man pages.
213 </para>
214
215 <para revision="sysv">
216 <parameter>-Dsystemd_user_services=false</parameter>: This switch prevents
217 the build process from installing systemd units since they are useless
218 on SysV systems.
219 </para>
220
221 <para>
222 <option>-Dseccomp=false</option>: This option disables the seccomp system
223 call filter. On some architectures, such as i686 and ARM, the functions
224 that tracker-miners uses are not guarded properly, and tracker-miners
225 will get killed with a SIGSYS as a result.
226 </para>
227
228 <para>
229 <option>-Dminer_rss=false</option>: Use this option if you have not
230 installed the recommended dependency libgrss.
231 </para>
232
233 </sect2>
234
235 <sect2 role="content">
236 <title>Contents</title>
237
238 <segmentedlist>
239 <segtitle>Installed Programs</segtitle>
240 <segtitle>Installed Libraries</segtitle>
241 <segtitle>Installed Directories</segtitle>
242
243 <seglistitem>
244 <seg>
245 None
246 </seg>
247 <seg>
248 Several modules under /usr/lib/tracker-miners-3.0
249 </seg>
250 <seg>
251 /usr/lib/tracker-miners-3.0,
252 /usr/libexec/tracker3, and
253 /usr/share/tracker3-miners
254 </seg>
255 </seglistitem>
256 </segmentedlist>
257 </sect2>
258
259</sect1>
Note: See TracBrowser for help on using the repository browser.