Commit 6624c0c8 authored by Debarshi Ray's avatar Debarshi Ray

flatpak: Simplify TrackerSparqlConnection creation

The Tracker D-Bus services are not part of the Flatpak bundle and are
accessed from the host operating system. This means that the Tracker
database cannot be accessed "directly", which causes:
  Tracker-WARNING **: Falling back to bus backend, the direct backend
    failed to initialize: Could not open sqlite3 database:
    '/home/rishi/.var/app/org.gnome.Photos/cache/tracker/meta.db':
    unable to open database file

The database needs to be accessed via D-Bus. So far, this was being
handled by the fallback error-handling code paths.
parent 7ae86729
......@@ -8,6 +8,7 @@
"desktop-file-name-prefix": "(Nightly) ",
"finish-args": [
"--env=DCONF_USER_CONFIG_DIR=.config/dconf",
"--env=TRACKER_SPARQL_BACKEND=bus",
"--filesystem=~/.config/dconf:ro",
"--filesystem=xdg-download",
"--filesystem=xdg-pictures",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment