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