[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 |
|
---|
[a58c8ee] | 7 | <!ENTITY tracker3-miners-download-http "&gnome-download-http;/tracker-miners/3.3/tracker-miners-&tracker3-miners-version;.tar.xz">
|
---|
| 8 | <!ENTITY tracker3-miners-download-ftp "&gnome-download-ftp;/tracker-miners/3.3/tracker-miners-&tracker3-miners-version;.tar.xz">
|
---|
| 9 | <!ENTITY tracker3-miners-md5sum "6947a5ae1c0fb5e681258f55603709b7">
|
---|
| 10 | <!ENTITY tracker3-miners-size "6.9 MB">
|
---|
| 11 | <!ENTITY tracker3-miners-buildsize "35 MB (with tests)">
|
---|
| 12 | <!ENTITY tracker3-miners-time "0.1 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 | <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 |
|
---|
[b410868] | 36 | &lfs111_checked;
|
---|
[ec047148] | 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>
|
---|
[8558044] | 71 |
|
---|
[ec047148] | 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"/>,
|
---|
[16a72f7] | 77 | <xref linkend="tracker3"/>,
|
---|
[ec047148] | 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"/>,
|
---|
[cac5f30] | 86 | <xref linkend="gst10-plugins-good"/>,
|
---|
| 87 | <xref linkend="gst10-plugins-bad"/>,
|
---|
| 88 | <xref linkend="gst10-plugins-ugly"/>,
|
---|
| 89 | <xref linkend="gst10-libav"/>,
|
---|
[ec047148] | 90 | <xref linkend="icu"/>,
|
---|
| 91 | <xref linkend="libexif"/>,
|
---|
| 92 | <xref linkend="libgrss"/>,
|
---|
[aa36625] | 93 | <xref linkend="libgxps"/>,
|
---|
| 94 | <xref linkend="libseccomp"/>, and
|
---|
[ec047148] | 95 | <xref linkend="poppler"/>
|
---|
| 96 | </para>
|
---|
| 97 |
|
---|
| 98 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 99 | <para role="optional">
|
---|
[21d18f7e] | 100 | <xref linkend="asciidoc"/>,
|
---|
[ec047148] | 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>,
|
---|
[21d18f7e] | 108 | <ulink url="http://libiptcdata.sourceforge.net/">libitpcdata</ulink>,
|
---|
[c3c692e6] | 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)-->
|
---|
[ec047148] | 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 |
|
---|
[6c12bdf4] | 123 | <!--
|
---|
[ec047148] | 124 | <para>
|
---|
[8558044] | 125 | First, as the <systemitem class="username">root</systemitem> user,
|
---|
| 126 | remove some files from tracker-2 which will conflict with
|
---|
[ec047148] | 127 | tracker-miners-3:
|
---|
| 128 | </para>
|
---|
| 129 |
|
---|
[dbdd07e0] | 130 | <screen role="root"><userinput remap="pre">rm -fv /etc/xdg/autostart/tracker-miner-*</userinput></screen>
|
---|
[6c12bdf4] | 131 | -->
|
---|
[ec047148] | 132 |
|
---|
[aa36625] | 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>
|
---|
[674cb17] | 147 |
|
---|
| 148 | <screen remap="test"><userinput>sed -i s/120/<replaceable>200</replaceable>/ tests/functional-tests/meson.build</userinput></screen>
|
---|
[aa36625] | 149 | </note>
|
---|
[674cb17] | 150 |
|
---|
[ec047148] | 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 &&
|
---|
| 158 | cd build &&
|
---|
| 159 |
|
---|
[adf17153] | 160 | meson --prefix=/usr --buildtype=release -Dman=false .. &&
|
---|
[ec047148] | 161 | ninja</userinput></screen>
|
---|
| 162 |
|
---|
| 163 | <screen revision="sysv"><userinput>mkdir build &&
|
---|
| 164 | cd build &&
|
---|
| 165 |
|
---|
[adf17153] | 166 | meson --prefix=/usr \
|
---|
| 167 | --buildtype=release \
|
---|
| 168 | -Dsystemd_user_services=false \
|
---|
| 169 | -Dman=false .. &&
|
---|
[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>
|
---|