<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  <!ENTITY % general-entities SYSTEM "../../general.ent">
  %general-entities;

  <!ENTITY tracker-download-http "&gnome-download-http;/tracker/0.14/tracker-&tracker-version;.tar.xz">
  <!ENTITY tracker-download-ftp  "&gnome-download-ftp;/tracker/0.14/tracker-&tracker-version;.tar.xz">
  <!ENTITY tracker-md5sum        "f3a871beeebf86fd752863ebd22af9ac">
  <!ENTITY tracker-size          "5.8 MB">
  <!ENTITY tracker-buildsize     "105 MB">
  <!ENTITY tracker-time          "1.5 SBU">
]>

<sect1 id="tracker" xreflabel="Tracker-&tracker-version;">
  <?dbhtml filename="tracker.html"?>

  <sect1info>
    <othername>$LastChangedBy: randy $</othername>
    <date>$Date: 2013-02-11 13:51:17 -0500 (Mon, 11 Feb 2013) $</date>
  </sect1info>

  <title>Tracker-&tracker-version;</title>

  <indexterm zone="tracker">
    <primary sortas="a-tracker">tracker</primary>
  </indexterm>

  <sect2 role="package">
    <title>Introduction to Tracker</title>

    <para>
      <application>Tracker</application> is a semantic data storage for desktop
      and mobile devices.
    </para>

    &lfs70_checked;

    <bridgehead renderas="sect3">Package Information</bridgehead>
    <itemizedlist spacing="compact">
      <listitem>
        <para>
          Download (HTTP): <ulink url="&tracker-download-http;"/>
        </para>
      </listitem>
      <listitem>
        <para>
          Download (FTP): <ulink url="&tracker-download-ftp;"/>
        </para>
      </listitem>
      <listitem>
        <para>
          Download MD5 sum: &tracker-md5sum;
        </para>
      </listitem>
      <listitem>
        <para>
          Download size: &tracker-size;
        </para>
      </listitem>
      <listitem>
        <para>
          Estimated disk space required: &tracker-buildsize;
        </para>
      </listitem>
      <listitem>
        <para>
          Estimated build time: &tracker-time;
        </para>
      </listitem>
    </itemizedlist>

    <bridgehead renderas="sect3">Tracker Dependencies</bridgehead>

    <bridgehead renderas="sect4">Required</bridgehead>
    <para role="required">
      <xref linkend="gtk3"/>,
      <xref linkend="gstreamer"/>,
      <xref linkend="icu"/>,
      <xref linkend="intltool"/>,
      <xref linkend="libgee"/>,
      <xref linkend="librest"/>,
      <xref linkend="poppler"/>,
      <xref linkend="sqlite"/> and
      <xref linkend="vala"/>
    </para>

    <bridgehead renderas="sect4">Recommended</bridgehead>
    <para role="recommended">
      <xref linkend="gnome-panel"/>,
      <xref linkend="gobject-introspection"/>,
      <xref linkend="libgnome-keyring"/>,
      <xref linkend="libgsf"/>,
      <xref linkend="nautilus"/>,
      <xref linkend="NetworkManager"/>,
      <xref linkend="totem-pl-parser"/> and
      <xref linkend="upower"/>
    </para>

    <bridgehead renderas="sect4">Optional</bridgehead>
    <para role="optional">
      <ulink url="http://cihar.com/software/enca/">Enca</ulink>,
      <xref linkend="evolution"/>,
      <xref linkend="exempi"/>,
      <xref linkend="giflib"/>,
      <xref linkend="gtk-doc"/> (requires dia and Graphviz),
      <ulink url="http://sourceforge.net/projects/libcue/">libcue</ulink>,
      <xref linkend="libexif"/>,
      <ulink url="http://libiptcdata.sourceforge.net/">libiptcdata</ulink>,
      <xref linkend="libosinfo"/> and
      <xref linkend="taglib"/>
    </para>

    <para condition="html" role="usernotes">User Notes:
      <ulink url="&blfs-wiki;/tracker"/>
    </para>
  </sect2>

  <sect2 role="installation">
    <title>Installation of Tracker</title>

    <para>
      Install <application>Tracker</application> by running the following
      commands:
    </para>

<screen><userinput>./configure --prefix=/usr \
            --sysconfdir=/etc \
            --libexecdir=/usr/lib/tracker-0.14 \
            --disable-miner-firefox \
            --disable-miner-thunderbird &amp;&amp;
make</userinput></screen>

    <para>
      This package does not have a working testsuite.
    </para>

    <para>
      Now, as the <systemitem class="username">root</systemitem> user:
    </para>

<screen role="root"><userinput>make install</userinput></screen>

  </sect2>

  <sect2 role="commands">
    <title>Command Explanations</title>

    <para>
      <parameter>--libexecdir=/usr/lib/tracker-0.14</parameter>: This
      parameter is used so that the helper programs are installed in
      <filename class="directory">/usr/lib/tracker-0.14</filename>
      instead of <filename class="directory">/usr/libexec</filename>.
    </para>

    <para>
      <option>--disable-miner-*</option>: These miners have been
      reported to cause problems, so we turn them off.
    </para>

  </sect2>

  <sect2 role="configuration">
    <title>Configuring tracker</title>

    <para>
      There is no configuration required. If <application>gnome-documents</application>
      has been installed on the <application>GNOME</application> desktop,
      <application>gnome-session</application> will start the indexing of local PDF and
      PS files. If you wish to index these files in other circumstances, you can run:
      <command>tracker-control -s</command>
    </para>

  </sect2>
  <sect2 role="content">
    <title>Contents</title>

    <segmentedlist>
      <segtitle>Installed Programs</segtitle>
      <segtitle>Installed Libraries</segtitle>
      <segtitle>Installed Directories</segtitle>

      <seglistitem>
        <seg>
          tracker-control, tracker-explorer, tracker-import,
          tracker-info, tracker-needle, tracker-preferences,
          tracker-search, tracker-sparql, tracker-stats and
          tracker-tag
        </seg>
        <seg>
          libtracker-extract-0.14.so, libtracker-miner-0.14.so and
          libtracker-sparql-0.14.so
        </seg>
        <seg>
          /usr/include/tracker-0.14,
          /usr/lib/tracker-0.14,
          /usr/share/gtk-doc/html/libtracker-{extract,miner,sparql},
          /usr/share/tracker and
          /usr/share/tracker-tests
        </seg>
      </seglistitem>
    </segmentedlist>

    <variablelist>
      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
      <?dbfo list-presentation="list"?>
      <?dbhtml list-presentation="table"?>

      <varlistentry id="tracker-control">
        <term><command>tracker-control</command></term>
        <listitem>
          <para>
            manages and checks status of all Tracker processes and data.
          </para>
          <indexterm zone="tracker tracker-control">
            <primary sortas="b-tracker-control">tracker-control</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="tracker-import">
        <term><command>tracker-import</command></term>
        <listitem>
          <para>
            allows data to be imported to the database by providing files
            with Turtle content.
          </para>
          <indexterm zone="tracker tracker-import">
            <primary sortas="b-tracker-import">tracker-import</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="tracker-info">
        <term><command>tracker-info</command></term>
        <listitem>
          <para>
            asks for all the known metadata available for the given file.
          </para>
          <indexterm zone="tracker tracker-info">
            <primary sortas="b-tracker-info">tracker-info</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="tracker-needle">
        <term><command>tracker-needle</command></term>
        <listitem>
          <para>
            is a graphical front end for Tracker which has similar
            features to tracker-search
          </para>
          <indexterm zone="tracker tracker-needle">
            <primary sortas="b-tracker-needle">tracker-needle</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="tracker-preferences">
        <term><command>tracker-preferences</command></term>
        <listitem>
          <para>
            is a graphical configuration front end for the tracker-miner-fs.
          </para>
          <indexterm zone="tracker tracker-preferences">
            <primary sortas="b-tracker-preferences">tracker-preferences</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="tracker-search">
        <term><command>tracker-search</command></term>
        <listitem>
          <para>
             searches all indexed content for an expression.
          </para>
          <indexterm zone="tracker tracker-search">
            <primary sortas="b-tracker-search">tracker-search</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="tracker-sparql">
        <term><command>tracker-sparql</command></term>
        <listitem>
          <para>
            allows the caller to run an RDF query on the database.
          </para>
          <indexterm zone="tracker tracker-sparql">
            <primary sortas="b-tracker-sparql">tracker-sparql</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="tracker-stats">
        <term><command>tracker-stats</command></term>
        <listitem>
          <para>
            returns statistics based on the ontology classes outlined
            in the Nepomuk ontology specification.
          </para>
          <indexterm zone="tracker tracker-stats">
            <primary sortas="b-tracker-stats">tracker-stats</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="tracker-tag">
        <term><command>tracker-tag</command></term>
        <listitem>
          <para>
            allows the caller add tags, remove tags and list tags by
            URN or to list all tags and the files associated with them.
          </para>
          <indexterm zone="tracker tracker-tag">
            <primary sortas="b-tracker-tag">tracker-tag</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="libtracker-extract-0">
        <term><filename class='libraryfile'>libtracker-extract-0.14.so</filename></term>
        <listitem>
          <para>
            contains functions required to develop metadata extractors for 3rd party file
            types.
          </para>
          <indexterm zone="tracker libtracker-extract-0">
            <primary sortas="c-libtracker-extract-0">libtracker-extract-0.14.so</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="libtracker-miner-0">
        <term><filename class='libraryfile'>libtracker-miner-0.14.so</filename></term>
        <listitem>
          <para>
            contains functions required to develop tracker data miners.
          </para>
          <indexterm zone="tracker libtracker-miner-0">
            <primary sortas="c-libtracker-miner-0">libtracker-miner-0.14.so</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="libtracker-sparql-0">
        <term><filename class='libraryfile'>libtracker-sparql-0.14.so</filename></term>
        <listitem>
          <para>
            contains functions for performing SPARQL queries and updates in the Tracker Store.
          </para>
          <indexterm zone="tracker libtracker-sparql-0">
            <primary sortas="c-libtracker-sparql-0">libtracker-sparql-0.14.so</primary>
          </indexterm>
        </listitem>
      </varlistentry>

    </variablelist>

  </sect2>

</sect1>
