From 9ff35c642d9acec22bb6e04512e59cabedee53d0 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Mon, 6 Mar 2023 16:49:16 +0100 Subject: flatpak: Fix Tracker3 access to portal At some point, the flatpak command line interface changed so it is not possible to add multiple values to a same key with a single --add-policy call. Doing this now results in a single value added, with the ';' escaped, this breaks Tracker portal access and results in Nautilus resorting to the built-in miner instance. It is however possible to call --add-policy multiple times to make a multi-valued key, this restores the intended behavior and provides access to the two tracker:FileSystem and tracker:Documents graphs. Adapt the flatpak manifest to do this. Closes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/2838 --- build-aux/flatpak/org.gnome.Nautilus.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build-aux/flatpak/org.gnome.Nautilus.json b/build-aux/flatpak/org.gnome.Nautilus.json index fe6dbdfca..b8df9f52d 100644 --- a/build-aux/flatpak/org.gnome.Nautilus.json +++ b/build-aux/flatpak/org.gnome.Nautilus.json @@ -28,7 +28,8 @@ "--talk-name=org.gnome.Settings", "--talk-name=org.gnome.Console", "--env=DCONF_USER_CONFIG_DIR=.config/dconf", - "--add-policy=Tracker3.dbus:org.freedesktop.Tracker3.Miner.Files=tracker:FileSystem;tracker:Documents" + "--add-policy=Tracker3.dbus:org.freedesktop.Tracker3.Miner.Files=tracker:FileSystem", + "--add-policy=Tracker3.dbus:org.freedesktop.Tracker3.Miner.Files=tracker:Documents" ], "modules": [ { -- cgit v1.2.1