[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 |
|
---|
[f950c92] | 7 | <!ENTITY tracker3-miners-download-http "&gnome-download-http;/tracker-miners/3.5/tracker-miners-&tracker3-miners-version;.tar.xz">
|
---|
| 8 | <!ENTITY tracker3-miners-download-ftp "&gnome-download-ftp;/tracker-miners/3.5/tracker-miners-&tracker3-miners-version;.tar.xz">
|
---|
| 9 | <!ENTITY tracker3-miners-md5sum "307705e0ebb45c733f42489230ab14f2">
|
---|
| 10 | <!ENTITY tracker3-miners-size "7.2 MB">
|
---|
| 11 | <!ENTITY tracker3-miners-buildsize "38 MB (with tests)">
|
---|
| 12 | <!ENTITY tracker3-miners-time "0.5 SBU (with parallelism=4; add 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 |
|
---|
[58ebeee] | 33 | &lfs113_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 |
|
---|
[ec047148] | 69 | <bridgehead renderas="sect3">Tracker-miners Dependencies</bridgehead>
|
---|
| 70 |
|
---|
| 71 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 72 | <para role="required">
|
---|
| 73 | <xref linkend="gst10-plugins-base"/>,
|
---|
[16a72f7] | 74 | <xref linkend="tracker3"/>,
|
---|
[ec047148] | 75 | <xref linkend="exempi"/>, and
|
---|
| 76 | <xref linkend="gexiv2"/>
|
---|
| 77 | </para>
|
---|
| 78 |
|
---|
| 79 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 80 | <para role="recommended">
|
---|
| 81 | <xref linkend="giflib"/>,
|
---|
[4974cb5] | 82 | <xref linkend="gst10-plugins-base"/>,
|
---|
| 83 | <xref role='runtime' linkend="gst10-plugins-good"/> (runtime),
|
---|
| 84 | <xref role='runtime' linkend="gst10-libav"/> (runtime),
|
---|
[ec047148] | 85 | <xref linkend="icu"/>,
|
---|
| 86 | <xref linkend="libexif"/>,
|
---|
| 87 | <xref linkend="libgrss"/>,
|
---|
[aa36625] | 88 | <xref linkend="libgxps"/>,
|
---|
| 89 | <xref linkend="libseccomp"/>, and
|
---|
[ec047148] | 90 | <xref linkend="poppler"/>
|
---|
| 91 | </para>
|
---|
| 92 |
|
---|
| 93 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 94 | <para role="optional">
|
---|
[21d18f7e] | 95 | <xref linkend="asciidoc"/>,
|
---|
[ec047148] | 96 | <xref linkend="cmake"/>,
|
---|
| 97 | <xref linkend="dconf"/>,
|
---|
[4974cb5] | 98 | <xref linkend="ffmpeg"/>,
|
---|
[ec047148] | 99 | <xref linkend="libgsf"/>,
|
---|
[3a0324c] | 100 | <xref linkend="NetworkManager"/>,
|
---|
[ec047148] | 101 | <xref linkend="taglib"/>,
|
---|
| 102 | <xref linkend="totem-pl-parser"/>,
|
---|
| 103 | <xref linkend="upower"/>,
|
---|
| 104 | <ulink url="https://github.com/lipnitsk/libcue">libcue</ulink>,
|
---|
[17aa21c] | 105 | <ulink url="https://libiptcdata.sourceforge.net/">libitpcdata</ulink>,
|
---|
[c3c692e6] | 106 | <ulink url="https://libosinfo.org">libosinfo</ulink>, and
|
---|
| 107 | <ulink url="https://gitlab.gnome.org/GNOME/gupnp">gupnp</ulink>
|
---|
| 108 | <!--<ulink url="https://pypi.python.org/pypi/tap.py/">tap.py</ulink>
|
---|
| 109 | (for tests)-->
|
---|
[ec047148] | 110 | </para>
|
---|
| 111 |
|
---|
| 112 | <para condition="html" role="usernotes">
|
---|
| 113 | User Notes: <ulink url="&blfs-wiki;/tracker-miners"/>
|
---|
| 114 | </para>
|
---|
| 115 | </sect2>
|
---|
| 116 |
|
---|
| 117 | <sect2 role="installation">
|
---|
| 118 | <title>Installation of Tracker-miners</title>
|
---|
| 119 |
|
---|
[6c12bdf4] | 120 | <!--
|
---|
[ec047148] | 121 | <para>
|
---|
[8558044] | 122 | First, as the <systemitem class="username">root</systemitem> user,
|
---|
| 123 | remove some files from tracker-2 which will conflict with
|
---|
[ec047148] | 124 | tracker-miners-3:
|
---|
| 125 | </para>
|
---|
| 126 |
|
---|
[dbdd07e0] | 127 | <screen role="root"><userinput remap="pre">rm -fv /etc/xdg/autostart/tracker-miner-*</userinput></screen>
|
---|
[6c12bdf4] | 128 | -->
|
---|
[ec047148] | 129 |
|
---|
[aa36625] | 130 | <note>
|
---|
| 131 | <para>
|
---|
| 132 | If you plan to run the tests, some timeouts are too short when
|
---|
| 133 | using spinning disks. There are two places where timeouts are
|
---|
| 134 | used: first, individual tests inside a group of tests have a
|
---|
| 135 | default timeout of 10s. This can be changed by setting the environment
|
---|
| 136 | variable <envar>TRACKER_TESTS_AWAIT_TIMEOUT</envar> to the desired
|
---|
| 137 | value when running the tests (see below). Second, a global timeout
|
---|
| 138 | for a group of tests is fixed at configuration time. The default value
|
---|
| 139 | in the <filename class="directory">functional-tests</filename>
|
---|
| 140 | directory (other directories have only short lived tests) may be
|
---|
| 141 | increased with the following command (replace 200 with a value
|
---|
| 142 | suitable for your machine):
|
---|
| 143 | </para>
|
---|
[674cb17] | 144 |
|
---|
| 145 | <screen remap="test"><userinput>sed -i s/120/<replaceable>200</replaceable>/ tests/functional-tests/meson.build</userinput></screen>
|
---|
[aa36625] | 146 | </note>
|
---|
[674cb17] | 147 |
|
---|
[ec047148] | 148 | <para>
|
---|
| 149 | Install <application>Tracker-miners</application> by running the following
|
---|
| 150 | commands:
|
---|
| 151 | </para>
|
---|
| 152 |
|
---|
| 153 |
|
---|
| 154 | <screen revision="systemd"><userinput>mkdir build &&
|
---|
| 155 | cd build &&
|
---|
| 156 |
|
---|
[91318eb] | 157 | meson setup --prefix=/usr \
|
---|
| 158 | --buildtype=release \
|
---|
| 159 | -Dman=false \
|
---|
| 160 | .. &&
|
---|
[ec047148] | 161 | ninja</userinput></screen>
|
---|
| 162 |
|
---|
| 163 | <screen revision="sysv"><userinput>mkdir build &&
|
---|
| 164 | cd build &&
|
---|
| 165 |
|
---|
[91318eb] | 166 | meson setup --prefix=/usr \
|
---|
| 167 | --buildtype=release \
|
---|
| 168 | -Dsystemd_user_services=false \
|
---|
| 169 | -Dman=false \
|
---|
| 170 | .. &&
|
---|
[ec047148] | 171 | ninja</userinput></screen>
|
---|
| 172 |
|
---|
| 173 | <para>
|
---|
[674cb17] | 174 | To test the results, issue (adjust the individual test timeout to a
|
---|
[aa36625] | 175 | value suitable for your machine, see the note above):
|
---|
[ec047148] | 176 | </para>
|
---|
| 177 |
|
---|
[a58c8ee] | 178 | <screen remap="test"><userinput>dbus-run-session env TRACKER_TESTS_AWAIT_TIMEOUT=<replaceable>20</replaceable> ninja test &&
|
---|
[cac5f30] | 179 | rm -rf ~/tracker-tests</userinput></screen>
|
---|
| 180 |
|
---|
| 181 | <note>
|
---|
| 182 | <para>
|
---|
| 183 | The tests create files in the user directory (up to 24 MB), so
|
---|
| 184 | they have to be removed afterwards.
|
---|
| 185 | </para>
|
---|
| 186 | </note>
|
---|
[674cb17] | 187 |
|
---|
[ec047148] | 188 | <para>
|
---|
| 189 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 190 | </para>
|
---|
| 191 |
|
---|
| 192 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
| 193 | </sect2>
|
---|
| 194 |
|
---|
| 195 | <sect2 role="commands">
|
---|
| 196 | <title>Command Explanations</title>
|
---|
| 197 |
|
---|
[adf17153] | 198 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 199 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
| 200 |
|
---|
[21d18f7e] | 201 | <para>
|
---|
| 202 | <parameter>-Dman=false</parameter>: This switch prevents the build process
|
---|
[a58c8ee] | 203 | from generating man pages. Omit this switch if you have
|
---|
[21d18f7e] | 204 | <xref linkend="asciidoc" role="nodep"/> installed and wish to generate and
|
---|
[a58c8ee] | 205 | install the man pages.
|
---|
[21d18f7e] | 206 | </para>
|
---|
| 207 |
|
---|
[ec047148] | 208 | <para revision="sysv">
|
---|
| 209 | <parameter>-Dsystemd_user_services=false</parameter>: This switch prevents
|
---|
| 210 | the build process from installing systemd units since they are useless
|
---|
| 211 | on SysV systems.
|
---|
| 212 | </para>
|
---|
| 213 |
|
---|
[600a1b25] | 214 | <para>
|
---|
| 215 | <option>-Dseccomp=false</option>: This option disables the seccomp system
|
---|
| 216 | call filter. On some architectures, such as i686 and ARM, the functions
|
---|
| 217 | that tracker-miners uses are not guarded properly, and tracker-miners
|
---|
| 218 | will get killed with a SIGSYS as a result.
|
---|
| 219 | </para>
|
---|
| 220 |
|
---|
[ec047148] | 221 | <para>
|
---|
| 222 | <option>-Dminer_rss=false</option>: Use this option if you have not
|
---|
| 223 | installed the recommended dependency libgrss.
|
---|
| 224 | </para>
|
---|
| 225 |
|
---|
| 226 | </sect2>
|
---|
| 227 |
|
---|
| 228 | <sect2 role="content">
|
---|
| 229 | <title>Contents</title>
|
---|
| 230 |
|
---|
| 231 | <segmentedlist>
|
---|
| 232 | <segtitle>Installed Programs</segtitle>
|
---|
| 233 | <segtitle>Installed Libraries</segtitle>
|
---|
| 234 | <segtitle>Installed Directories</segtitle>
|
---|
| 235 |
|
---|
| 236 | <seglistitem>
|
---|
| 237 | <seg>
|
---|
| 238 | None
|
---|
| 239 | </seg>
|
---|
| 240 | <seg>
|
---|
[c3c692e6] | 241 | Several modules under /usr/lib/tracker-miners-3.0
|
---|
[ec047148] | 242 | </seg>
|
---|
| 243 | <seg>
|
---|
| 244 | /usr/lib/tracker-miners-3.0,
|
---|
| 245 | /usr/libexec/tracker3, and
|
---|
| 246 | /usr/share/tracker3-miners
|
---|
| 247 | </seg>
|
---|
| 248 | </seglistitem>
|
---|
| 249 | </segmentedlist>
|
---|
| 250 | </sect2>
|
---|
[4c24eb0a] | 251 |
|
---|
[ec047148] | 252 | </sect1>
|
---|