Commit 63af0cfe authored by Carlos Garnacho's avatar Carlos Garnacho

Remove code not related to miners

The miners are being split from the core tracker package.

On both autotools/meson builds, datadir and libdir for
private data has been changed to be separate from the tracker
core. Same goes for the gettext package and other bits.

Additionally, avoid installing the dbus xml descriptions.
That's fairly non-standard and unnecessary with introspection.
parent f488b435

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

include $(top_srcdir)/Makefile.decl
SUBDIRS = src docs po utils examples
SUBDIRS = src docs po
if HAVE_UNIT_TESTS
SUBDIRS += tests
......
......@@ -16,7 +16,6 @@ cd $srcdir
PKG_NAME=$(autoconf --trace 'AC_INIT:$1' configure.ac)
aclocal --install || exit 1
gtkdocize --copy || exit 1
intltoolize --force --copy --automake || exit 1
autoreconf --verbose --force --install || exit 1
......
This diff is collapsed.
SUBDIRS = manpages design tools reference
# require gtk-doc when making dist
#
if ENABLE_GTK_DOC
dist-check-gtk-doc:
else
dist-check-gtk-doc:
@echo "*** gtk-doc must be enabled in order to make dist"
@false
endif
dist-hook: dist-check-gtk-doc
SUBDIRS = manpages design
EXTRA_DIST = meson.build
architecture_docs = \
tracker-store.dia \
tracker-miner-fs.dia \
tracker-structural-view.dot
tracker-miner-fs.dia
EXTRA_DIST = $(architecture_docs)
/*
* Structural view of Content Framework
*
* Generate PNG with: dot -Tpng tracker-structural-view.dot
* View the diagram: dotty tracker-structural-view.dot
*/
digraph G {
graph [size="640,480"];
node [shape=box, style=filled, fontsize=11];
edge [fontsize=11];
{ rank=source
app [label="<<process>>\n\napplication"];
}
subgraph cluster0 {
label="Content Framework"
qsparql [label="<<library>>\n\nQsparql"];
libthumbnailer [label="<<library>>\n\nlibthumbnailer"];
libcontentaction [label="<<library>>\n\nlibcontentaction"];
trackerutils [label="<<command-line>>\n\ntracker-utils"];
tracker [label="<<library>>\n\ntracker\n(see detailed diagram)"];
trackerextract [label="<<process>>\n\ntracker-extract"];
libtrackerextract [label="<<library>>\n\nlibtracker-extract"];
trackerextract -> libtrackerextract [label="<<links>>"];
trackerminerfs [label="<<process>>\n\ntracker-miner-fs"];
libtrackerminer [label="<<library>>\n\nlibtracker-miner"];
tumbler [label="<<process>>\n\ntumbler"];
{rank=same; tracker; trackerminerfs; libtrackerextract};
libthumbnailer -> tumbler [label="<<D-Bus>>"]
qsparql -> tracker [label="<<link>>"]
trackerminerfs -> trackerextract [label="<<D-Bus>>"]
trackerminerfs -> libtrackerminer [label="<<Implements>>"]
trackerminerfs -> tracker [label="<<link>>"]
trackerutils -> tracker [label="<<D-Bus>>"]
trackerutils -> trackerminerfs [label="<<D-Bus>>"]
}
{
rank=sink
extractionlibs [label="<<libraries>>\n\nextraction-libraries"];
gstreamer [label="<<library>>\n\ngstreamer"];
libhal [label="<<library>>\n\nlibhal"];
libquill [label="<<library>>\n\nlibquill"];
libplayback [label="<<library>>\n\nlibplayback"];
sqlite [label="<<library>>\n\nsqlite" ];
gio [label="<<library>>\n\nGIO"];
inotify [label="<<kernel>>\n\ninotify"];
gio -> inotify;
}
app -> qsparql [label="<<link>>"]
app -> libthumbnailer [label="<<link>>"]
app -> libcontentaction [label="<<link>>"]
trackerextract -> extractionlibs [label="<<link>>"]
trackerextract -> gstreamer [label="<<link>>"]
trackerextract -> libplayback [label="<<link>>"]
// trackerstore -> libhal [label="<<link>>"]
// trackerminerfs -> libhal [label="<<link>>"]
trackerminerfs -> gio [label="<<link>>"]
tumbler -> libquill [label="<<link>>"]
tracker -> sqlite
}
/*
* Structural view of tracker
*
* Generate PNG with: dot -Tpng tracker-structural-view.dot
* View the diagram: dotty tracker-structural-view.dot
*/
digraph G {
graph [size="640,480"];
node [shape=box, style=filled, fontsize=11];
edge [fontsize=11];
{ rank=source
qsparql [label="<<library>>\n\nQSparql"];
}
subgraph cluster0 {
label="Tracker"
libtrackersparql [label="<<library>>\n\nlibtracker-sparql"]
store [label="<<process>>\n\ntracker-store"]
libtrackerdata [label="<<library>>\n\nlibtracker-data"]
}
{
rank=sink
sqlite [label="<<library>>\n\nsqlite" ];
}
qsparql -> libtrackersparql [label="<<link>>"]
libtrackersparql -> store [label="<<DBus>>\n(write)"]
libtrackersparql -> libtrackerdata [label="<<link>>\n(read)"]
store -> libtrackerdata [label="<<link>>"]
libtrackerdata -> sqlite [label="<<link>>"]
}
......@@ -2,17 +2,7 @@ tmrss = tracker-miner-rss.1
common = \
tracker-extract.1 \
tracker-info.1 \
tracker-miner-fs.1 \
tracker-daemon.1 \
tracker-search.1 \
tracker-sparql.1 \
tracker-sql.1 \
tracker-status.1 \
tracker-store.1 \
tracker-tag.1 \
tracker-reset.1 \
tracker-index.1 \
tracker-writeback.1
# Require only common and enabled manpages
......@@ -25,7 +15,5 @@ endif
# Make sure even disabled manpages get distributed
EXTRA_DIST = \
$(common) \
$(tp) \
$(tn) \
$(tmrss) \
meson.build
install_man('tracker-extract.1')
install_man('tracker-info.1')
install_man('tracker-miner-fs.1')
install_man('tracker-daemon.1')
install_man('tracker-search.1')
install_man('tracker-sparql.1')
install_man('tracker-sql.1')
install_man('tracker-status.1')
install_man('tracker-store.1')
install_man('tracker-tag.1')
install_man('tracker-reset.1')
install_man('tracker-index.1')
install_man('tracker-writeback.1')
if have_tracker_miner_rss
install_man('tracker-miner-rss.1')
endif
if have_tracker_needle
install_man('tracker-needle.1')
endif
if have_tracker_preferences
install_man('tracker-preferences.1')
endif
.TH tracker-daemon 1 "September 2014" GNU "User Commands"
.SH NAME
tracker-daemon \- Start, stop, restart and list daemons responsible for indexing content
.SH SYNOPSIS
.nf
\fBtracker daemon\fR [\fIoptions\fR...]
\fBtracker daemon\fR \-s | \-t [\fIdaemons\fR] | \-k [\fIdaemons\fR] | \-l
\fBtracker daemon\fR \-f | \-w [\fIontology\fR]
\fBtracker daemon\fR \-\-miner <\fIminer\fR> \-\-pause[-for-process] <\fIreason\fR>
\fBtracker daemon\fR \-\-miner <\fIminer\fR> \-\-resume <\fIcookie\fR>
.fi
.SH DESCRIPTION
Tracker has many components to it including a "store" for handling data
set updates and "miners" for handling data mining in their respective
areas.
The \fBtracker daemon\fR command allows for control of these components.
This ranges from starting, stopping and killing processes to pausing
and resuming them.
In addition to all this, there are ways to change the log verbsity for
all processes that generate logs and to follow or watch what is
happening in real time from a top level and right down where the
SPARQL commits are happening too.
If no arguments are provided this command will show the current status
of all Tracker entities (store and all available data miners).
For \fBtracker-store\fR, the status is always "Idle" unless it is
restoring a backup and/or replaying a journal (see also \fBtracker reset
--soft\fR). For a list of common statuses, see
\fB\-\-list\-common\-statuses\fR.