Introduction to Tracker
Tracker is the file indexing and
search provider used in the GNOME
desktop environment.
Note
Development versions of BLFS may not build or run some packages
properly if LFS or dependencies have been updated since the most
recent stable versions of the books.
Package Information
Tracker Dependencies
Required
JSON-GLib-1.10.0, libseccomp-2.5.5, and Vala-0.56.17
Recommended
GLib-2.82.1 (with GObject Introspection),
ICU-75.1, libsoup-3.4.4, PyGObject-3.50.0, SQLite-3.46.1,
and tracker-miners-3.7.3 (runtime)
Optional
asciidoc-10.2.1, Avahi-0.8, Graphviz-12.1.2, libsoup-2.74.3, bash-completion, and
libstemmer
Installation of Tracker
Fix the location to install the documentation into:
mv docs/reference/libtracker-sparql/doc/{Tracker-3.0,tracker-3.7.3} &&
sed '/docs_name/s/Tracker-3.0/tracker-3.7.3/' \
-i docs/reference/libtracker-sparql/meson.build
Install Tracker by running the
following commands:
mkdir build &&
cd build &&
meson setup --prefix=/usr \
--buildtype=release \
-D man=false \
.. &&
ninja
Now, as the root
user:
ninja install
To test the results, issue: meson
configure -D debug=true && ninja test. The
test suite should be run from a graphical session.
Command Explanations
--buildtype=release
:
Specify a buildtype suitable for stable releases of the package, as
the default may produce unoptimized binaries.
-D man=false
: This switch
prevents the build process from generating man pages. Omit this
switch if you have asciidoc-10.2.1 installed and wish to
generate and install the man pages.
meson configure -D
debug=true: This command enables some debug checks
necessary for the test suite. We don't want to enable them for the
installed Tracker 3 libraries and programs, so we run the test
suite after installation.
Contents
Installed Programs:
tracker3, tracker3-endpoint,
tracker3-export, tracker3-help, tracker3-import,
tracker3-sparql, and tracker3-sql
Installed Library:
libtracker-sparql-3.0.so
Installed Directories:
/usr/{include,lib}/tracker-3.0,
/usr/libexec/tracker3, /usr/share/tracker3, and
/usr/share/doc/tracker-3.7.3 (optional)
Short Descriptions
tracker3
|
is a control program for the indexer
|
tracker3-endpoint
|
creates a SPARQL endpoint
|
tracker3-export
|
exports all data from a Tracker database
|
tracker3-help
|
shows manual pages related to Tracker
|
tracker3-import
|
imports data into a Tracker database
|
tracker3-sparql
|
uses SparQL to query a Tracker database
|
tracker3-sql
|
uses SQL to query a Tracker database
|
libtracker-sparql-3.0.so
|
contains resource management and database functions
|