[nautilus/flatpak-fixes: 3/3] Flatpak: Explictely set tracker bus



commit 1c8b75bcde963f53e2a1dfd62d62e6330a8ba658
Author: Carlos Soriano <csoriano redhat com>
Date:   Fri Sep 7 18:33:12 2018 +0200

    Flatpak: Explictely set tracker bus
    
    Otherwise a warning is raised.

 build-aux/flatpak/org.gnome.Nautilus.json      | 3 ++-
 build-aux/flatpak/org.gnome.NautilusGtk4.yml   | 2 ++
 build-aux/flatpak/org.gnome.NautilusMaster.yml | 2 ++
 3 files changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/build-aux/flatpak/org.gnome.Nautilus.json b/build-aux/flatpak/org.gnome.Nautilus.json
index 2b3f0e155..d2dd12232 100644
--- a/build-aux/flatpak/org.gnome.Nautilus.json
+++ b/build-aux/flatpak/org.gnome.Nautilus.json
@@ -22,7 +22,8 @@
         "--filesystem=xdg-run/dconf",
         "--filesystem=~/.config/dconf:ro",
         "--talk-name=ca.desrt.dconf",
-        "--env=DCONF_USER_CONFIG_DIR=.config/dconf"
+        "--env=DCONF_USER_CONFIG_DIR=.config/dconf",
+        "--env=TRACKER_SPARQL_BACKEND=bus"
     ],
     "modules" : [
         {
diff --git a/build-aux/flatpak/org.gnome.NautilusGtk4.yml b/build-aux/flatpak/org.gnome.NautilusGtk4.yml
index 86670dabe..f833e8cc9 100644
--- a/build-aux/flatpak/org.gnome.NautilusGtk4.yml
+++ b/build-aux/flatpak/org.gnome.NautilusGtk4.yml
@@ -24,6 +24,8 @@ finish-args:
   - "--talk-name=ca.desrt.dconf"
   - "--env=DCONF_USER_CONFIG_DIR=.config/dconf"
   - "--device=dri"
+  # It's a fallback path for tracker, Flatpak seems needs it.
+  - --env=TRACKER_SPARQL_BACKEND=bus
 
 modules:
   - name: "exiv2"
diff --git a/build-aux/flatpak/org.gnome.NautilusMaster.yml b/build-aux/flatpak/org.gnome.NautilusMaster.yml
index 4511a1a73..94da69f77 100644
--- a/build-aux/flatpak/org.gnome.NautilusMaster.yml
+++ b/build-aux/flatpak/org.gnome.NautilusMaster.yml
@@ -24,6 +24,8 @@ finish-args:
   # See https://github.com/flatpak/flatpak/issues/78
   - --talk-name=ca.desrt.dconf
   - --env=DCONF_USER_CONFIG_DIR=.config/dconf
+  # It's a fallback path for tracker, Flatpak seems needs it.
+  - --env=TRACKER_SPARQL_BACKEND=bus
 
 modules:
   - name: "exiv2"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]