[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[ec047148] | 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 |
|
---|
[6256f2f7] | 7 | <!ENTITY tracker3-miners-download-http "&gnome-download-http;/tracker-miners/3.7/tracker-miners-&tracker3-miners-version;.tar.xz">
|
---|
[e1e58be] | 8 | <!ENTITY tracker3-miners-download-ftp " ">
|
---|
[fb3dce5e] | 9 | <!ENTITY tracker3-miners-md5sum "8c1b48f2fa57d888967de9b5ff348fc1">
|
---|
| 10 | <!ENTITY tracker3-miners-size "4.3 MB">
|
---|
| 11 | <!ENTITY tracker3-miners-buildsize "36 MB (with tests)">
|
---|
[869a277] | 12 | <!ENTITY tracker3-miners-time "0.3 SBU (with parallelism=4; add as much as 1.0 SBU for tests, dependent on disk speed)">
|
---|
[ec047148] | 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 |
|
---|
[5eaa870e] | 33 | &lfs122_checked;
|
---|
[ec047148] | 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>
|
---|
[8558044] | 68 |
|
---|
[66bda416] | 69 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
[219e2d6] | 70 | <itemizedlist spacing="compact">
|
---|
| 71 | <listitem>
|
---|
| 72 | <para>
|
---|
| 73 | Required patch:
|
---|
| 74 | <ulink url="&patch-root;/tracker-miners-&tracker3-miners-version;-upstream_fixes-1.patch"/>
|
---|
| 75 | </para>
|
---|
| 76 | </listitem>
|
---|
[66bda416] | 77 | </itemizedlist>
|
---|
[219e2d6] | 78 |
|
---|
[ec047148] | 79 | <bridgehead renderas="sect3">Tracker-miners Dependencies</bridgehead>
|
---|
| 80 |
|
---|
| 81 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 82 | <para role="required">
|
---|
| 83 | <xref linkend="gst10-plugins-base"/>,
|
---|
[16a72f7] | 84 | <xref linkend="tracker3"/>,
|
---|
[ec047148] | 85 | <xref linkend="exempi"/>, and
|
---|
| 86 | <xref linkend="gexiv2"/>
|
---|
| 87 | </para>
|
---|
| 88 |
|
---|
| 89 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 90 | <para role="recommended">
|
---|
| 91 | <xref linkend="giflib"/>,
|
---|
[4974cb5] | 92 | <xref role='runtime' linkend="gst10-plugins-good"/> (runtime),
|
---|
| 93 | <xref role='runtime' linkend="gst10-libav"/> (runtime),
|
---|
[ec047148] | 94 | <xref linkend="icu"/>,
|
---|
| 95 | <xref linkend="libexif"/>,
|
---|
[aa36625] | 96 | <xref linkend="libgxps"/>,
|
---|
[7ff805c3] | 97 | <xref linkend="libseccomp"/>,
|
---|
| 98 | <xref linkend="poppler"/>, and
|
---|
| 99 | <xref linkend="upower"/>
|
---|
[ec047148] | 100 | </para>
|
---|
| 101 |
|
---|
| 102 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 103 | <para role="optional">
|
---|
[21d18f7e] | 104 | <xref linkend="asciidoc"/>,
|
---|
[ec047148] | 105 | <xref linkend="cmake"/>,
|
---|
| 106 | <xref linkend="dconf"/>,
|
---|
[4974cb5] | 107 | <xref linkend="ffmpeg"/>,
|
---|
[ec047148] | 108 | <xref linkend="libgsf"/>,
|
---|
[3a0324c] | 109 | <xref linkend="NetworkManager"/>,
|
---|
[ec047148] | 110 | <xref linkend="taglib"/>,
|
---|
| 111 | <xref linkend="totem-pl-parser"/>,
|
---|
| 112 | <ulink url="https://github.com/lipnitsk/libcue">libcue</ulink>,
|
---|
[3cf21db] | 113 | <ulink url="https://gitlab.gnome.org/GNOME/libgrss">libgrss</ulink>,
|
---|
[17aa21c] | 114 | <ulink url="https://libiptcdata.sourceforge.net/">libitpcdata</ulink>,
|
---|
[c3c692e6] | 115 | <ulink url="https://libosinfo.org">libosinfo</ulink>, and
|
---|
| 116 | <ulink url="https://gitlab.gnome.org/GNOME/gupnp">gupnp</ulink>
|
---|
[ec047148] | 117 | </para>
|
---|
| 118 |
|
---|
| 119 | </sect2>
|
---|
| 120 |
|
---|
[20be11fa] | 121 | <sect2 role="kernel" id="tracker3-miners-kernel">
|
---|
| 122 | <title>Kernel Configuration</title>
|
---|
| 123 |
|
---|
| 124 | <para>
|
---|
| 125 | Enable the following options in the kernel configuration, then recompile
|
---|
| 126 | the kernel and reboot if necessary:
|
---|
| 127 | </para>
|
---|
| 128 |
|
---|
| 129 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 130 | href="tracker3-miners-kernel.xml"/>
|
---|
| 131 |
|
---|
| 132 | <indexterm zone="tracker3-miners tracker3-miners-kernel">
|
---|
| 133 | <primary sortas="d-traker-miners">tracker-miners</primary>
|
---|
| 134 | </indexterm>
|
---|
| 135 | </sect2>
|
---|
| 136 |
|
---|
[ec047148] | 137 | <sect2 role="installation">
|
---|
| 138 | <title>Installation of Tracker-miners</title>
|
---|
| 139 |
|
---|
[aa36625] | 140 | <note>
|
---|
| 141 | <para>
|
---|
| 142 | If you plan to run the tests, some timeouts are too short when
|
---|
| 143 | using spinning disks. There are two places where timeouts are
|
---|
| 144 | used: first, individual tests inside a group of tests have a
|
---|
| 145 | default timeout of 10s. This can be changed by setting the environment
|
---|
| 146 | variable <envar>TRACKER_TESTS_AWAIT_TIMEOUT</envar> to the desired
|
---|
| 147 | value when running the tests (see below). Second, a global timeout
|
---|
| 148 | for a group of tests is fixed at configuration time. The default value
|
---|
| 149 | in the <filename class="directory">functional-tests</filename>
|
---|
| 150 | directory (other directories have only short lived tests) may be
|
---|
| 151 | increased with the following command (replace 200 with a value
|
---|
| 152 | suitable for your machine):
|
---|
| 153 | </para>
|
---|
[674cb17] | 154 |
|
---|
| 155 | <screen remap="test"><userinput>sed -i s/120/<replaceable>200</replaceable>/ tests/functional-tests/meson.build</userinput></screen>
|
---|
[aa36625] | 156 | </note>
|
---|
[674cb17] | 157 |
|
---|
[219e2d6] | 158 | <para>
|
---|
[9612d4f3] | 159 | First, fix one issue in the TIFF extractor and another issue in the
|
---|
| 160 | Landlock sandbox:
|
---|
[219e2d6] | 161 | </para>
|
---|
| 162 |
|
---|
| 163 | <screen><userinput remap="pre">patch -Np1 -i ../tracker-miners-&tracker3-miners-version;-upstream_fixes-1.patch</userinput></screen>
|
---|
| 164 |
|
---|
[ec047148] | 165 | <para>
|
---|
| 166 | Install <application>Tracker-miners</application> by running the following
|
---|
| 167 | commands:
|
---|
| 168 | </para>
|
---|
| 169 |
|
---|
| 170 |
|
---|
| 171 | <screen revision="systemd"><userinput>mkdir build &&
|
---|
| 172 | cd build &&
|
---|
| 173 |
|
---|
[91318eb] | 174 | meson setup --prefix=/usr \
|
---|
| 175 | --buildtype=release \
|
---|
[9612d4f3] | 176 | -D man=false \
|
---|
[3cf21db] | 177 | -D miner_rss=false \
|
---|
[91318eb] | 178 | .. &&
|
---|
[ec047148] | 179 | ninja</userinput></screen>
|
---|
| 180 |
|
---|
| 181 | <screen revision="sysv"><userinput>mkdir build &&
|
---|
| 182 | cd build &&
|
---|
| 183 |
|
---|
[9612d4f3] | 184 | meson setup --prefix=/usr \
|
---|
| 185 | --buildtype=release \
|
---|
| 186 | -D systemd_user_services=false \
|
---|
| 187 | -D man=false \
|
---|
[3cf21db] | 188 | -D miner_rss=false \
|
---|
[9612d4f3] | 189 | .. &&
|
---|
[ec047148] | 190 | ninja</userinput></screen>
|
---|
| 191 |
|
---|
[9612d4f3] | 192 |
|
---|
| 193 | <para>
|
---|
| 194 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 195 | </para>
|
---|
| 196 |
|
---|
| 197 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
| 198 |
|
---|
[ec047148] | 199 | <para>
|
---|
[674cb17] | 200 | To test the results, issue (adjust the individual test timeout to a
|
---|
[aa36625] | 201 | value suitable for your machine, see the note above):
|
---|
[ec047148] | 202 | </para>
|
---|
| 203 |
|
---|
[9612d4f3] | 204 | <screen remap="test"><userinput>meson configure -D debug=true &&
|
---|
| 205 | dbus-run-session env LC_ALL=C.UTF-8 TRACKER_TESTS_AWAIT_TIMEOUT=<replaceable>20</replaceable> \
|
---|
| 206 | ninja test &&
|
---|
[cac5f30] | 207 | rm -rf ~/tracker-tests</userinput></screen>
|
---|
| 208 |
|
---|
| 209 | <note>
|
---|
| 210 | <para>
|
---|
| 211 | The tests create files in the user directory (up to 24 MB), so
|
---|
| 212 | they have to be removed afterwards.
|
---|
| 213 | </para>
|
---|
| 214 | </note>
|
---|
[ec047148] | 215 | </sect2>
|
---|
| 216 |
|
---|
| 217 | <sect2 role="commands">
|
---|
| 218 | <title>Command Explanations</title>
|
---|
| 219 |
|
---|
[adf17153] | 220 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 221 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
| 222 |
|
---|
[21d18f7e] | 223 | <para>
|
---|
[9612d4f3] | 224 | <parameter>-D man=false</parameter>: This switch prevents the build process
|
---|
[a58c8ee] | 225 | from generating man pages. Omit this switch if you have
|
---|
[21d18f7e] | 226 | <xref linkend="asciidoc" role="nodep"/> installed and wish to generate and
|
---|
[a58c8ee] | 227 | install the man pages.
|
---|
[21d18f7e] | 228 | </para>
|
---|
| 229 |
|
---|
[3cf21db] | 230 | <para>
|
---|
| 231 | <parameter>-D miner_rss=false</parameter>: This switch prevents using
|
---|
| 232 | libgrss for indexing RSS feeds because libgrss is insecure and no longer
|
---|
| 233 | in BLFS.
|
---|
| 234 | </para>
|
---|
| 235 |
|
---|
[ec047148] | 236 | <para revision="sysv">
|
---|
[9612d4f3] | 237 | <parameter>-D systemd_user_services=false</parameter>: This switch prevents
|
---|
[ec047148] | 238 | the build process from installing systemd units since they are useless
|
---|
| 239 | on SysV systems.
|
---|
| 240 | </para>
|
---|
| 241 |
|
---|
[600a1b25] | 242 | <para>
|
---|
[9612d4f3] | 243 | <option>-D seccomp=false</option>: This option disables the seccomp system
|
---|
[600a1b25] | 244 | call filter. On some architectures, such as i686 and ARM, the functions
|
---|
| 245 | that tracker-miners uses are not guarded properly, and tracker-miners
|
---|
[20be11fa] | 246 | will get killed with a SIGSYS as a result. Note that disabling
|
---|
[69f44a21] | 247 | seccomp may cause the system to be compromised worse in the event that a
|
---|
[20be11fa] | 248 | security vulnerability in tracker-miners or its dependencies is
|
---|
| 249 | exploited.
|
---|
| 250 | </para>
|
---|
| 251 |
|
---|
| 252 | <para>
|
---|
[9612d4f3] | 253 | <option>-D landlock=disabled</option>: This switch disables the
|
---|
[20be11fa] | 254 | Landlock file access sandbox. Use it if you don't want to build the
|
---|
[69f44a21] | 255 | kernel with Landlock support. Note that disabling Landlock may
|
---|
| 256 | cause the system to be compromised worse in the event that a security
|
---|
[20be11fa] | 257 | vulnerability in tracker-miners or its dependencies is exploited.
|
---|
[600a1b25] | 258 | </para>
|
---|
| 259 |
|
---|
[7ff805c3] | 260 | <para>
|
---|
[9612d4f3] | 261 | <option>-D battery_detection=none</option>: Use this option if you have
|
---|
[7ff805c3] | 262 | not installed the recommended dependency upower. Do not use this
|
---|
| 263 | option if your system has a battery (laptop battery or UPS), or
|
---|
[69f44a21] | 264 | tracker-miners may waste the battery power and lifespan when the A/C
|
---|
[7ff805c3] | 265 | power is unavailable.
|
---|
| 266 | </para>
|
---|
| 267 |
|
---|
[ec047148] | 268 | </sect2>
|
---|
| 269 |
|
---|
| 270 | <sect2 role="content">
|
---|
| 271 | <title>Contents</title>
|
---|
| 272 |
|
---|
| 273 | <segmentedlist>
|
---|
| 274 | <segtitle>Installed Programs</segtitle>
|
---|
| 275 | <segtitle>Installed Libraries</segtitle>
|
---|
| 276 | <segtitle>Installed Directories</segtitle>
|
---|
| 277 |
|
---|
| 278 | <seglistitem>
|
---|
| 279 | <seg>
|
---|
[6256f2f7] | 280 | tracker3-daemon,
|
---|
| 281 | tracker3-extract,
|
---|
| 282 | tracker3-index,
|
---|
| 283 | tracker3-info,
|
---|
| 284 | tracker3-reset,
|
---|
| 285 | tracker3-search,
|
---|
| 286 | tracker3-status, and
|
---|
| 287 | tracker3-tag
|
---|
[ec047148] | 288 | </seg>
|
---|
| 289 | <seg>
|
---|
[c3c692e6] | 290 | Several modules under /usr/lib/tracker-miners-3.0
|
---|
[ec047148] | 291 | </seg>
|
---|
| 292 | <seg>
|
---|
| 293 | /usr/lib/tracker-miners-3.0,
|
---|
| 294 | /usr/libexec/tracker3, and
|
---|
| 295 | /usr/share/tracker3-miners
|
---|
| 296 | </seg>
|
---|
| 297 | </seglistitem>
|
---|
| 298 | </segmentedlist>
|
---|
[6256f2f7] | 299 |
|
---|
| 300 | <variablelist>
|
---|
| 301 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 302 | <?dbfo list-presnetation="list"?>
|
---|
| 303 | <?dbhtml list-presentation="table"?>
|
---|
| 304 |
|
---|
| 305 | <varlistentry id="tracker3-daemon">
|
---|
| 306 | <term><command>tracker3-daemon</command></term>
|
---|
| 307 | <listitem>
|
---|
| 308 | <para>
|
---|
| 309 | starts, stops, restarts, and lists daemons responsible for indexing
|
---|
| 310 | content
|
---|
| 311 | </para>
|
---|
| 312 | <indexterm zone="tracker3-miners tracker3-daemon">
|
---|
| 313 | <primary sortas="b-tracker3-daemon">tracker3-daemon</primary>
|
---|
| 314 | </indexterm>
|
---|
| 315 | </listitem>
|
---|
| 316 | </varlistentry>
|
---|
| 317 |
|
---|
| 318 | <varlistentry id="tracker3-extract">
|
---|
| 319 | <term><command>tracker3-extract</command></term>
|
---|
| 320 | <listitem>
|
---|
| 321 | <para>
|
---|
| 322 | extracts metadata from a file
|
---|
| 323 | </para>
|
---|
| 324 | <indexterm zone="tracker3-miners tracker3-extract">
|
---|
| 325 | <primary sortas="b-tracker3-extract">tracker3-extract</primary>
|
---|
| 326 | </indexterm>
|
---|
| 327 | </listitem>
|
---|
| 328 | </varlistentry>
|
---|
| 329 |
|
---|
| 330 | <varlistentry id="tracker3-index">
|
---|
| 331 | <term><command>tracker3-index</command></term>
|
---|
| 332 | <listitem>
|
---|
| 333 | <para>
|
---|
| 334 | indexes content using the Tracker filesystem miner
|
---|
| 335 | </para>
|
---|
| 336 | <indexterm zone="tracker3-miners tracker3-index">
|
---|
| 337 | <primary sortas="b-tracker3-index">tracker3-index</primary>
|
---|
| 338 | </indexterm>
|
---|
| 339 | </listitem>
|
---|
| 340 | </varlistentry>
|
---|
| 341 |
|
---|
| 342 | <varlistentry id="tracker3-info">
|
---|
| 343 | <term><command>tracker3-info</command></term>
|
---|
| 344 | <listitem>
|
---|
| 345 | <para>
|
---|
| 346 | retrieves all information available for a certain file
|
---|
| 347 | </para>
|
---|
| 348 | <indexterm zone="tracker3-miners tracker3-info">
|
---|
| 349 | <primary sortas="b-tracker3-info">tracker3-info</primary>
|
---|
| 350 | </indexterm>
|
---|
| 351 | </listitem>
|
---|
| 352 | </varlistentry>
|
---|
| 353 |
|
---|
| 354 | <varlistentry id="tracker3-reset">
|
---|
| 355 | <term><command>tracker3-reset</command></term>
|
---|
| 356 | <listitem>
|
---|
| 357 | <para>
|
---|
| 358 | resets the Tracker index and configuration
|
---|
| 359 | </para>
|
---|
| 360 | <indexterm zone="tracker3-miners tracker3-reset">
|
---|
| 361 | <primary sortas="b-tracker3-reset">tracker3-reset</primary>
|
---|
| 362 | </indexterm>
|
---|
| 363 | </listitem>
|
---|
| 364 | </varlistentry>
|
---|
| 365 |
|
---|
| 366 | <varlistentry id="tracker3-search">
|
---|
| 367 | <term><command>tracker3-search</command></term>
|
---|
| 368 | <listitem>
|
---|
| 369 | <para>
|
---|
| 370 | searches for content by type or across all types
|
---|
| 371 | </para>
|
---|
| 372 | <indexterm zone="tracker3-miners tracker3-search">
|
---|
| 373 | <primary sortas="b-tracker3-search">tracker3-search</primary>
|
---|
| 374 | </indexterm>
|
---|
| 375 | </listitem>
|
---|
| 376 | </varlistentry>
|
---|
| 377 |
|
---|
| 378 | <varlistentry id="tracker3-status">
|
---|
| 379 | <term><command>tracker3-status</command></term>
|
---|
| 380 | <listitem>
|
---|
| 381 | <para>
|
---|
| 382 | provides status and statistics on data that has been indexed
|
---|
| 383 | </para>
|
---|
| 384 | <indexterm zone="tracker3-miners tracker3-status">
|
---|
| 385 | <primary sortas="b-tracker3-status">tracker3-status</primary>
|
---|
| 386 | </indexterm>
|
---|
| 387 | </listitem>
|
---|
| 388 | </varlistentry>
|
---|
| 389 |
|
---|
| 390 | <varlistentry id="tracker3-tag">
|
---|
| 391 | <term><command>tracker3-tag</command></term>
|
---|
| 392 | <listitem>
|
---|
| 393 | <para>
|
---|
| 394 | adds, removes, and lists tags
|
---|
| 395 | </para>
|
---|
| 396 | <indexterm zone="tracker3-miners tracker3-tag">
|
---|
| 397 | <primary sortas="b-tracker3-tag">tracker3-tag</primary>
|
---|
| 398 | </indexterm>
|
---|
| 399 | </listitem>
|
---|
| 400 | </varlistentry>
|
---|
| 401 | </variablelist>
|
---|
[ec047148] | 402 | </sect2>
|
---|
[4c24eb0a] | 403 |
|
---|
[ec047148] | 404 | </sect1>
|
---|