summaryrefslogtreecommitdiff
path: root/docs/reference/libtracker-sparql/private-store.xml
diff options
context:
space:
mode:
authorSam Thursfield <sam@afuera.me.uk>2018-08-11 20:42:18 +0200
committerSam Thursfield <sam@afuera.me.uk>2018-08-11 21:33:08 +0200
commitdd59bb4ff5088064c28cca2313255396f97920bf (patch)
tree2616fb8c884392ff2d425611b2ac542c051a8b28 /docs/reference/libtracker-sparql/private-store.xml
parent9840ab01f1b609fe2f9674b4a491cf4c452b6273 (diff)
downloadtracker-dd59bb4ff5088064c28cca2313255396f97920bf.tar.gz
Allow use of domain rules that aren't installed into /usrsam/domain-rules-outside-usr
Currently Tracker domain rules must be installed inside Tracker's data directory (usually /usr/share/tracker). This is limiting as it means only system packages can add them. A program installed into /opt is unable to use a custom domain, for example. Since Tracker is implemented as a system of daemons, it's not particularly straight forward to work around this by setting XDG_DATA_DIRS= to point somewhere non-standard either. This patch removes this restriction in a simple way: it allows users to pass a full path to the domain rule, rather than just the base name.
Diffstat (limited to 'docs/reference/libtracker-sparql/private-store.xml')
-rw-r--r--docs/reference/libtracker-sparql/private-store.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/reference/libtracker-sparql/private-store.xml b/docs/reference/libtracker-sparql/private-store.xml
index 6fe587200..c598173ac 100644
--- a/docs/reference/libtracker-sparql/private-store.xml
+++ b/docs/reference/libtracker-sparql/private-store.xml
@@ -75,6 +75,10 @@ Miners=Miner.Files;Miner.Extract;
<programlisting>
tracker_sparql_connection_set_domain ("org.example.App");
</programlisting>
+ <para>
+ It is also possible to pass a full path to the domain rule. If the first
+ character of the domain name is / it will be treated as a full path.
+ </para>
</chapter>
<chapter id="recommendations">
<title>Additional precautions and recommendations</title>