location service: adapt to make use of the portal

GClue automatically calls the portal for us when sandboxed and in such case
a NULL is returned for the client porxy because the calls goes through the portal.

Part of https://gitlab.gnome.org/GNOME/Initiatives/-/issues/30
This commit is contained in:
Bilal Elmoussaoui
2022-02-12 21:16:19 +00:00
committed by Georges Basile Stavracas Neto
parent 552fd413ae
commit 66a3661e60
2 changed files with 33 additions and 13 deletions
+16 -1
View File
@@ -15,7 +15,6 @@
"--socket=wayland",
"--system-talk-name=org.freedesktop.login1",
"--system-talk-name=org.freedesktop.timedate1",
"--system-talk-name=org.freedesktop.GeoClue2",
"--talk-name=org.gnome.ControlCenter",
"--talk-name=org.gnome.evolution.dataserver.AddressBook9",
"--talk-name=org.gnome.evolution.dataserver.Calendar8",
@@ -39,6 +38,22 @@
"*.a"
],
"modules" : [
{
"name": "libgeoclue",
"buildsystem": "meson",
"config-opts" : [
"-Denable-backend=false",
"-Dlibgeoclue=true",
"-Dintrospection=true",
"-Dgtk-doc=false"
],
"sources": [
{
"type" : "git",
"url": "https://gitlab.freedesktop.org/geoclue/geoclue.git"
}
]
},
{
"name" : "geocode-glib",
"buildsystem" : "meson",