source: gnome/platform/tracker3-miners.xml@ cac5f30

11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/soup3 xry111/xf86-video-removal
Last change on this file since cac5f30 was cac5f30, checked in by Pierre Labastie <pierre.labastie@…>, 2 years ago

Recommend gstreamer plugins for tracker-miners

Also document that tests create files in the user directory.

  • Property mode set to 100644
File size: 8.3 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
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.2/tracker-miners-&tracker3-miners-version;.tar.xz">
8 <!ENTITY tracker3-miners-download-ftp "&gnome-download-ftp;/tracker-miners/3.2/tracker-miners-&tracker3-miners-version;.tar.xz">
9 <!ENTITY tracker3-miners-md5sum "9f43d202a22d119caeb0972dac6aa351">
10 <!ENTITY tracker3-miners-size "3.9 MB">
11 <!ENTITY tracker3-miners-buildsize "31 MB (with tests)">
12 <!ENTITY tracker3-miners-time "0.1 SBU (with parallelism=4; add 1.4 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 <sect1info>
19 <date>$Date$</date>
20 </sect1info>
21
22 <title>Tracker-miners-&tracker3-miners-version;</title>
23
24 <indexterm zone="tracker3-miners">
25 <primary sortas="a-tracker3-miners">tracker3-miners</primary>
26 </indexterm>
27
28 <sect2 role="package">
29 <title>Introduction to Tracker-miners</title>
30
31 <para>
32 The <application>Tracker-miners</application> package contains a set of
33 data extractors for Tracker.
34 </para>
35
36 &lfs111_checked;
37
38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>
42 Download (HTTP): <ulink url="&tracker3-miners-download-http;"/>
43 </para>
44 </listitem>
45 <listitem>
46 <para>
47 Download (FTP): <ulink url="&tracker3-miners-download-ftp;"/>
48 </para>
49 </listitem>
50 <listitem>
51 <para>
52 Download MD5 sum: &tracker3-miners-md5sum;
53 </para>
54 </listitem>
55 <listitem>
56 <para>
57 Download size: &tracker3-miners-size;
58 </para>
59 </listitem>
60 <listitem>
61 <para>
62 Estimated disk space required: &tracker3-miners-buildsize;
63 </para>
64 </listitem>
65 <listitem>
66 <para>
67 Estimated build time: &tracker3-miners-time;
68 </para>
69 </listitem>
70 </itemizedlist>
71
72 <bridgehead renderas="sect3">Tracker-miners Dependencies</bridgehead>
73
74 <bridgehead renderas="sect4">Required</bridgehead>
75 <para role="required">
76 <xref linkend="gst10-plugins-base"/>,
77 <xref linkend="tracker3"/>,
78 <xref linkend="exempi"/>, and
79 <xref linkend="gexiv2"/>
80 </para>
81
82 <bridgehead renderas="sect4">Recommended</bridgehead>
83 <para role="recommended">
84 <xref linkend="ffmpeg"/>,
85 <xref linkend="giflib"/>,
86 <xref linkend="gst10-plugins-good"/>,
87 <xref linkend="gst10-plugins-bad"/>,
88 <xref linkend="gst10-plugins-ugly"/>,
89 <xref linkend="gst10-libav"/>,
90 <xref linkend="icu"/>,
91 <xref linkend="libexif"/>,
92 <xref linkend="libgrss"/>,
93 <xref linkend="libgxps"/>,
94 <xref linkend="libseccomp"/>, and
95 <xref linkend="poppler"/>
96 </para>
97
98 <bridgehead renderas="sect4">Optional</bridgehead>
99 <para role="optional">
100 <xref linkend="asciidoc"/>,
101 <xref linkend="cmake"/>,
102 <xref linkend="dconf"/>,
103 <xref linkend="libgsf"/>,
104 <xref linkend="taglib"/>,
105 <xref linkend="totem-pl-parser"/>,
106 <xref linkend="upower"/>,
107 <ulink url="https://github.com/lipnitsk/libcue">libcue</ulink>,
108 <ulink url="http://libiptcdata.sourceforge.net/">libitpcdata</ulink>,
109 <ulink url="https://libosinfo.org">libosinfo</ulink>, and
110 <ulink url="https://gitlab.gnome.org/GNOME/gupnp">gupnp</ulink>
111 <!--<ulink url="https://pypi.python.org/pypi/tap.py/">tap.py</ulink>
112 (for tests)-->
113 </para>
114
115 <para condition="html" role="usernotes">
116 User Notes: <ulink url="&blfs-wiki;/tracker-miners"/>
117 </para>
118 </sect2>
119
120 <sect2 role="installation">
121 <title>Installation of Tracker-miners</title>
122
123<!--
124 <para>
125 First, as the <systemitem class="username">root</systemitem> user,
126 remove some files from tracker-2 which will conflict with
127 tracker-miners-3:
128 </para>
129
130<screen role="root"><userinput remap="pre">rm -fv /etc/xdg/autostart/tracker-miner-*</userinput></screen>
131-->
132
133 <note>
134 <para>
135 If you plan to run the tests, some timeouts are too short when
136 using spinning disks. There are two places where timeouts are
137 used: first, individual tests inside a group of tests have a
138 default timeout of 10s. This can be changed by setting the environment
139 variable <envar>TRACKER_TESTS_AWAIT_TIMEOUT</envar> to the desired
140 value when running the tests (see below). Second, a global timeout
141 for a group of tests is fixed at configuration time. The default value
142 in the <filename class="directory">functional-tests</filename>
143 directory (other directories have only short lived tests) may be
144 increased with the following command (replace 200 with a value
145 suitable for your machine):
146 </para>
147
148<screen remap="test"><userinput>sed -i s/120/<replaceable>200</replaceable>/ tests/functional-tests/meson.build</userinput></screen>
149 </note>
150
151 <para>
152 Install <application>Tracker-miners</application> by running the following
153 commands:
154 </para>
155
156
157<screen revision="systemd"><userinput>mkdir build &amp;&amp;
158cd build &amp;&amp;
159
160meson --prefix=/usr --buildtype=release -Dman=false .. &amp;&amp;
161ninja</userinput></screen>
162
163<screen revision="sysv"><userinput>mkdir build &amp;&amp;
164cd build &amp;&amp;
165
166meson --prefix=/usr \
167 --buildtype=release \
168 -Dsystemd_user_services=false \
169 -Dman=false .. &amp;&amp;
170ninja</userinput></screen>
171
172 <para>
173 To test the results, issue (adjust the individual test timeout to a
174 value suitable for your machine, see the note above):
175 </para>
176
177<screen remap="test"><userinput>TRACKER_TESTS_AWAIT_TIMEOUT=<replaceable>20</replaceable> ninja test &amp;&amp;
178rm -rf ~/tracker-tests</userinput></screen>
179
180 <note>
181 <para>
182 The tests create files in the user directory (up to 24 MB), so
183 they have to be removed afterwards.
184 </para>
185 </note>
186
187 <para>
188 Now, as the <systemitem class="username">root</systemitem> user:
189 </para>
190
191<screen role="root"><userinput>ninja install</userinput></screen>
192 </sect2>
193
194 <sect2 role="commands">
195 <title>Command Explanations</title>
196
197 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
198 href="../../xincludes/meson-buildtype-release.xml"/>
199
200 <para>
201 <parameter>-Dman=false</parameter>: This switch prevents the build process
202 from generating man pages. Building man pages will break the build
203 with a recent release of <application>Asciidoc</application>.
204 <!-- Restore the following when upgrading to tracker-miners-3.3.x
205 (https://gitlab.gnome.org/GNOME/tracker-miners/-/commit/cb87aa8):
206 Omit this switch if you have
207 <xref linkend="asciidoc" role="nodep"/> installed and wish to generate and
208 install the man pages. -->
209 </para>
210
211 <para revision="sysv">
212 <parameter>-Dsystemd_user_services=false</parameter>: This switch prevents
213 the build process from installing systemd units since they are useless
214 on SysV systems.
215 </para>
216
217 <para>
218 <option>-Dseccomp=false</option>: This option disables the seccomp system
219 call filter. On some architectures, such as i686 and ARM, the functions
220 that tracker-miners uses are not guarded properly, and tracker-miners
221 will get killed with a SIGSYS as a result.
222 </para>
223
224 <para>
225 <option>-Dminer_rss=false</option>: Use this option if you have not
226 installed the recommended dependency libgrss.
227 </para>
228
229 </sect2>
230
231 <sect2 role="content">
232 <title>Contents</title>
233
234 <segmentedlist>
235 <segtitle>Installed Programs</segtitle>
236 <segtitle>Installed Libraries</segtitle>
237 <segtitle>Installed Directories</segtitle>
238
239 <seglistitem>
240 <seg>
241 None
242 </seg>
243 <seg>
244 Several modules under /usr/lib/tracker-miners-3.0
245 </seg>
246 <seg>
247 /usr/lib/tracker-miners-3.0,
248 /usr/libexec/tracker3, and
249 /usr/share/tracker3-miners
250 </seg>
251 </seglistitem>
252 </segmentedlist>
253 </sect2>
254
255</sect1>
Note: See TracBrowser for help on using the repository browser.