[ec047148] | 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 |
|
---|
[4160b6d0] | 7 | <!ENTITY tracker3-miners-download-http "&gnome-download-http;/tracker-miners/3.6/tracker-miners-&tracker3-miners-version;.tar.xz">
|
---|
[e1e58be] | 8 | <!ENTITY tracker3-miners-download-ftp " ">
|
---|
[869a277] | 9 | <!ENTITY tracker3-miners-md5sum "36b1149a9b10ee3db3e3aa6d8a95c5dc">
|
---|
[f950c92] | 10 | <!ENTITY tracker3-miners-size "7.2 MB">
|
---|
[06143781] | 11 | <!ENTITY tracker3-miners-buildsize "85 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 |
|
---|
[b5c0ca3] | 33 | &lfs120_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 |
|
---|
[869a277] | 69 | <!--
|
---|
[66bda416] | 70 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
[219e2d6] | 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>
|
---|
[66bda416] | 78 | </itemizedlist>
|
---|
[869a277] | 79 | -->
|
---|
[219e2d6] | 80 |
|
---|
[ec047148] | 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"/>,
|
---|
[16a72f7] | 86 | <xref linkend="tracker3"/>,
|
---|
[ec047148] | 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"/>,
|
---|
[4974cb5] | 94 | <xref role='runtime' linkend="gst10-plugins-good"/> (runtime),
|
---|
| 95 | <xref role='runtime' linkend="gst10-libav"/> (runtime),
|
---|
[ec047148] | 96 | <xref linkend="icu"/>,
|
---|
| 97 | <xref linkend="libexif"/>,
|
---|
| 98 | <xref linkend="libgrss"/>,
|
---|
[aa36625] | 99 | <xref linkend="libgxps"/>,
|
---|
| 100 | <xref linkend="libseccomp"/>, and
|
---|
[ec047148] | 101 | <xref linkend="poppler"/>
|
---|
| 102 | </para>
|
---|
| 103 |
|
---|
| 104 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 105 | <para role="optional">
|
---|
[21d18f7e] | 106 | <xref linkend="asciidoc"/>,
|
---|
[ec047148] | 107 | <xref linkend="cmake"/>,
|
---|
| 108 | <xref linkend="dconf"/>,
|
---|
[4974cb5] | 109 | <xref linkend="ffmpeg"/>,
|
---|
[ec047148] | 110 | <xref linkend="libgsf"/>,
|
---|
[3a0324c] | 111 | <xref linkend="NetworkManager"/>,
|
---|
[ec047148] | 112 | <xref linkend="taglib"/>,
|
---|
| 113 | <xref linkend="totem-pl-parser"/>,
|
---|
| 114 | <xref linkend="upower"/>,
|
---|
| 115 | <ulink url="https://github.com/lipnitsk/libcue">libcue</ulink>,
|
---|
[17aa21c] | 116 | <ulink url="https://libiptcdata.sourceforge.net/">libitpcdata</ulink>,
|
---|
[c3c692e6] | 117 | <ulink url="https://libosinfo.org">libosinfo</ulink>, and
|
---|
| 118 | <ulink url="https://gitlab.gnome.org/GNOME/gupnp">gupnp</ulink>
|
---|
[ec047148] | 119 | </para>
|
---|
| 120 |
|
---|
| 121 | </sect2>
|
---|
| 122 |
|
---|
| 123 | <sect2 role="installation">
|
---|
| 124 | <title>Installation of Tracker-miners</title>
|
---|
| 125 |
|
---|
[aa36625] | 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>
|
---|
[674cb17] | 140 |
|
---|
| 141 | <screen remap="test"><userinput>sed -i s/120/<replaceable>200</replaceable>/ tests/functional-tests/meson.build</userinput></screen>
|
---|
[aa36625] | 142 | </note>
|
---|
[674cb17] | 143 |
|
---|
[869a277] | 144 | <!-- Applied in 3.6.2
|
---|
[219e2d6] | 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>
|
---|
[869a277] | 151 | -->
|
---|
[219e2d6] | 152 |
|
---|
[ec047148] | 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 &&
|
---|
| 160 | cd build &&
|
---|
| 161 |
|
---|
[91318eb] | 162 | meson setup --prefix=/usr \
|
---|
| 163 | --buildtype=release \
|
---|
| 164 | -Dman=false \
|
---|
| 165 | .. &&
|
---|
[ec047148] | 166 | ninja</userinput></screen>
|
---|
| 167 |
|
---|
| 168 | <screen revision="sysv"><userinput>mkdir build &&
|
---|
| 169 | cd build &&
|
---|
| 170 |
|
---|
[91318eb] | 171 | meson setup --prefix=/usr \
|
---|
| 172 | --buildtype=release \
|
---|
| 173 | -Dsystemd_user_services=false \
|
---|
| 174 | -Dman=false \
|
---|
| 175 | .. &&
|
---|
[ec047148] | 176 | ninja</userinput></screen>
|
---|
| 177 |
|
---|
| 178 | <para>
|
---|
[06143781] | 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/ -->
|
---|
[674cb17] | 181 | To test the results, issue (adjust the individual test timeout to a
|
---|
[aa36625] | 182 | value suitable for your machine, see the note above):
|
---|
[ec047148] | 183 | </para>
|
---|
| 184 |
|
---|
[a58c8ee] | 185 | <screen remap="test"><userinput>dbus-run-session env TRACKER_TESTS_AWAIT_TIMEOUT=<replaceable>20</replaceable> ninja test &&
|
---|
[cac5f30] | 186 | rm -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>
|
---|
[674cb17] | 194 |
|
---|
[ec047148] | 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 |
|
---|
[adf17153] | 205 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 206 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
| 207 |
|
---|
[21d18f7e] | 208 | <para>
|
---|
| 209 | <parameter>-Dman=false</parameter>: This switch prevents the build process
|
---|
[a58c8ee] | 210 | from generating man pages. Omit this switch if you have
|
---|
[21d18f7e] | 211 | <xref linkend="asciidoc" role="nodep"/> installed and wish to generate and
|
---|
[a58c8ee] | 212 | install the man pages.
|
---|
[21d18f7e] | 213 | </para>
|
---|
| 214 |
|
---|
[ec047148] | 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 |
|
---|
[600a1b25] | 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 |
|
---|
[ec047148] | 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>
|
---|
[c3c692e6] | 248 | Several modules under /usr/lib/tracker-miners-3.0
|
---|
[ec047148] | 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>
|
---|
[4c24eb0a] | 258 |
|
---|
[ec047148] | 259 | </sect1>
|
---|