[gnome-clocks] Use newer GClue to avoid sandbox hole



commit 3d7dd257f65afb17f1081473dac8c3005690c4fd
Author: Maximiliano Sandoval R <msandova gnome org>
Date:   Tue Jan 11 14:01:34 2022 +0100

    Use newer GClue to avoid sandbox hole
    
    Fixes: https://gitlab.gnome.org/GNOME/gnome-clocks/-/issues/149

 build-aux/flatpak/org.gnome.clocks.json | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)
---
diff --git a/build-aux/flatpak/org.gnome.clocks.json b/build-aux/flatpak/org.gnome.clocks.json
index 7a2eca39..388f4dd8 100644
--- a/build-aux/flatpak/org.gnome.clocks.json
+++ b/build-aux/flatpak/org.gnome.clocks.json
@@ -12,7 +12,6 @@
         "--socket=wayland",
         "--socket=pulseaudio",
         "--share=network",
-        "--system-talk-name=org.freedesktop.GeoClue2",
         "--env=G_MESSAGES_DEBUG=org.gnome.ClocksDevel"
     ],
     "cleanup": ["/include", "/lib/pkgconfig",
@@ -21,6 +20,22 @@
                 "/share/vala",
                 "*.la", "*.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",


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