Improvements to configuration and initialization of tracker-miner-fs-3
This merge request adds a TrackerController object to tracker-miner-fs-3 that:
- Applies indexer settings through the TrackerIndexingTree
- Handles the
org.freedesktop.Tracker3.Miner.Files.Control
proxy, and applies the configuration set through it over the TrackerIndexingTree
This replaces code spread over tracker-miner-files.c and tracker-main.c, making all TrackerIndexingTree configuration happen from a single place.
With this split in place, the TrackerMinerFiles object also got its removable device management code refurbished into a more general maintenance mechanism for tracker:IndexedFolder
objects in the database. E.g. also being able to detect no longer configured folders on startup, and deleting them from the database.
This will come in handy to delete any remaining XDG application folder that was indexed and became stale in databases after commit 24af0373, and fully closes nautilus#1669 (closed)