[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 |
|
---|
[df8573e] | 7 | <!ENTITY tracker3-miners-download-http "&gnome-download-http;/tracker-miners/3.4/tracker-miners-&tracker3-miners-version;.tar.xz">
|
---|
| 8 | <!ENTITY tracker3-miners-download-ftp "&gnome-download-ftp;/tracker-miners/3.4/tracker-miners-&tracker3-miners-version;.tar.xz">
|
---|
[abe5f54] | 9 | <!ENTITY tracker3-miners-md5sum "12978674553320dc90c283dbd2605b1d">
|
---|
[a58c8ee] | 10 | <!ENTITY tracker3-miners-size "6.9 MB">
|
---|
[abe5f54] | 11 | <!ENTITY tracker3-miners-buildsize "31 MB (with tests)">
|
---|
[df8573e] | 12 | <!ENTITY tracker3-miners-time "0.4 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"/>,
|
---|
| 100 | <xref linkend="taglib"/>,
|
---|
| 101 | <xref linkend="totem-pl-parser"/>,
|
---|
| 102 | <xref linkend="upower"/>,
|
---|
| 103 | <ulink url="https://github.com/lipnitsk/libcue">libcue</ulink>,
|
---|
[17aa21c] | 104 | <ulink url="https://libiptcdata.sourceforge.net/">libitpcdata</ulink>,
|
---|
[c3c692e6] | 105 | <ulink url="https://libosinfo.org">libosinfo</ulink>, and
|
---|
| 106 | <ulink url="https://gitlab.gnome.org/GNOME/gupnp">gupnp</ulink>
|
---|
| 107 | <!--<ulink url="https://pypi.python.org/pypi/tap.py/">tap.py</ulink>
|
---|
| 108 | (for tests)-->
|
---|
[ec047148] | 109 | </para>
|
---|
| 110 |
|
---|
| 111 | <para condition="html" role="usernotes">
|
---|
| 112 | User Notes: <ulink url="&blfs-wiki;/tracker-miners"/>
|
---|
| 113 | </para>
|
---|
| 114 | </sect2>
|
---|
| 115 |
|
---|
| 116 | <sect2 role="installation">
|
---|
| 117 | <title>Installation of Tracker-miners</title>
|
---|
| 118 |
|
---|
[6c12bdf4] | 119 | <!--
|
---|
[ec047148] | 120 | <para>
|
---|
[8558044] | 121 | First, as the <systemitem class="username">root</systemitem> user,
|
---|
| 122 | remove some files from tracker-2 which will conflict with
|
---|
[ec047148] | 123 | tracker-miners-3:
|
---|
| 124 | </para>
|
---|
| 125 |
|
---|
[dbdd07e0] | 126 | <screen role="root"><userinput remap="pre">rm -fv /etc/xdg/autostart/tracker-miner-*</userinput></screen>
|
---|
[6c12bdf4] | 127 | -->
|
---|
[ec047148] | 128 |
|
---|
[aa36625] | 129 | <note>
|
---|
| 130 | <para>
|
---|
| 131 | If you plan to run the tests, some timeouts are too short when
|
---|
| 132 | using spinning disks. There are two places where timeouts are
|
---|
| 133 | used: first, individual tests inside a group of tests have a
|
---|
| 134 | default timeout of 10s. This can be changed by setting the environment
|
---|
| 135 | variable <envar>TRACKER_TESTS_AWAIT_TIMEOUT</envar> to the desired
|
---|
| 136 | value when running the tests (see below). Second, a global timeout
|
---|
| 137 | for a group of tests is fixed at configuration time. The default value
|
---|
| 138 | in the <filename class="directory">functional-tests</filename>
|
---|
| 139 | directory (other directories have only short lived tests) may be
|
---|
| 140 | increased with the following command (replace 200 with a value
|
---|
| 141 | suitable for your machine):
|
---|
| 142 | </para>
|
---|
[674cb17] | 143 |
|
---|
| 144 | <screen remap="test"><userinput>sed -i s/120/<replaceable>200</replaceable>/ tests/functional-tests/meson.build</userinput></screen>
|
---|
[aa36625] | 145 | </note>
|
---|
[674cb17] | 146 |
|
---|
[ec047148] | 147 | <para>
|
---|
| 148 | Install <application>Tracker-miners</application> by running the following
|
---|
| 149 | commands:
|
---|
| 150 | </para>
|
---|
| 151 |
|
---|
| 152 |
|
---|
| 153 | <screen revision="systemd"><userinput>mkdir build &&
|
---|
| 154 | cd build &&
|
---|
| 155 |
|
---|
[91318eb] | 156 | meson setup --prefix=/usr \
|
---|
| 157 | --buildtype=release \
|
---|
| 158 | -Dman=false \
|
---|
| 159 | .. &&
|
---|
[ec047148] | 160 | ninja</userinput></screen>
|
---|
| 161 |
|
---|
| 162 | <screen revision="sysv"><userinput>mkdir build &&
|
---|
| 163 | cd build &&
|
---|
| 164 |
|
---|
[91318eb] | 165 | meson setup --prefix=/usr \
|
---|
| 166 | --buildtype=release \
|
---|
| 167 | -Dsystemd_user_services=false \
|
---|
| 168 | -Dman=false \
|
---|
| 169 | .. &&
|
---|
[ec047148] | 170 | ninja</userinput></screen>
|
---|
| 171 |
|
---|
| 172 | <para>
|
---|
[674cb17] | 173 | To test the results, issue (adjust the individual test timeout to a
|
---|
[aa36625] | 174 | value suitable for your machine, see the note above):
|
---|
[ec047148] | 175 | </para>
|
---|
| 176 |
|
---|
[a58c8ee] | 177 | <screen remap="test"><userinput>dbus-run-session env TRACKER_TESTS_AWAIT_TIMEOUT=<replaceable>20</replaceable> ninja test &&
|
---|
[cac5f30] | 178 | rm -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>
|
---|
[674cb17] | 186 |
|
---|
[ec047148] | 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 |
|
---|
[adf17153] | 197 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 198 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
| 199 |
|
---|
[21d18f7e] | 200 | <para>
|
---|
| 201 | <parameter>-Dman=false</parameter>: This switch prevents the build process
|
---|
[a58c8ee] | 202 | from generating man pages. Omit this switch if you have
|
---|
[21d18f7e] | 203 | <xref linkend="asciidoc" role="nodep"/> installed and wish to generate and
|
---|
[a58c8ee] | 204 | install the man pages.
|
---|
[21d18f7e] | 205 | </para>
|
---|
| 206 |
|
---|
[ec047148] | 207 | <para revision="sysv">
|
---|
| 208 | <parameter>-Dsystemd_user_services=false</parameter>: This switch prevents
|
---|
| 209 | the build process from installing systemd units since they are useless
|
---|
| 210 | on SysV systems.
|
---|
| 211 | </para>
|
---|
| 212 |
|
---|
[600a1b25] | 213 | <para>
|
---|
| 214 | <option>-Dseccomp=false</option>: This option disables the seccomp system
|
---|
| 215 | call filter. On some architectures, such as i686 and ARM, the functions
|
---|
| 216 | that tracker-miners uses are not guarded properly, and tracker-miners
|
---|
| 217 | will get killed with a SIGSYS as a result.
|
---|
| 218 | </para>
|
---|
| 219 |
|
---|
[ec047148] | 220 | <para>
|
---|
| 221 | <option>-Dminer_rss=false</option>: Use this option if you have not
|
---|
| 222 | installed the recommended dependency libgrss.
|
---|
| 223 | </para>
|
---|
| 224 |
|
---|
| 225 | </sect2>
|
---|
| 226 |
|
---|
| 227 | <sect2 role="content">
|
---|
| 228 | <title>Contents</title>
|
---|
| 229 |
|
---|
| 230 | <segmentedlist>
|
---|
| 231 | <segtitle>Installed Programs</segtitle>
|
---|
| 232 | <segtitle>Installed Libraries</segtitle>
|
---|
| 233 | <segtitle>Installed Directories</segtitle>
|
---|
| 234 |
|
---|
| 235 | <seglistitem>
|
---|
| 236 | <seg>
|
---|
| 237 | None
|
---|
| 238 | </seg>
|
---|
| 239 | <seg>
|
---|
[c3c692e6] | 240 | Several modules under /usr/lib/tracker-miners-3.0
|
---|
[ec047148] | 241 | </seg>
|
---|
| 242 | <seg>
|
---|
| 243 | /usr/lib/tracker-miners-3.0,
|
---|
| 244 | /usr/libexec/tracker3, and
|
---|
| 245 | /usr/share/tracker3-miners
|
---|
| 246 | </seg>
|
---|
| 247 | </seglistitem>
|
---|
| 248 | </segmentedlist>
|
---|
| 249 | </sect2>
|
---|
[4c24eb0a] | 250 |
|
---|
[ec047148] | 251 | </sect1>
|
---|