[polari/gnome-3-22] flatpak: Bundle mission-control/idle



commit f1f82771625ca459682f91e8a69ded95009a71f0
Author: Florian Müllner <fmuellner gnome org>
Date:   Tue Feb 7 00:22:56 2017 +0100

    flatpak: Bundle mission-control/idle
    
    We currently rely on various telepathy services to be available on the
    host - namely mission-control, idle and telepathy-logger. GNOME's builtin
    chat integration means that mission-control and logger will likely be
    available on GNOME systems, but idle is rarely if ever included in
    default installs - and of course for non-GNOME systems, all bets are
    off anyway.
    To address that situation, bundle the required services in the sandbox.
    They won't be visible to DBus' StartServiceByName method, but we'll
    add code to launch the demons as necessary in a follow-up patch.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=777705

 org.gnome.Polari.json |   31 +++++++++++++++++++++++++++++--
 1 files changed, 29 insertions(+), 2 deletions(-)
---
diff --git a/org.gnome.Polari.json b/org.gnome.Polari.json
index d16df53..56b9b30 100644
--- a/org.gnome.Polari.json
+++ b/org.gnome.Polari.json
@@ -18,6 +18,13 @@
         "--talk-name=org.freedesktop.Telepathy.AccountManager",
         "--talk-name=org.freedesktop.Telepathy.ChannelDispatcher",
         "--talk-name=org.freedesktop.Telepathy.Connection.idle.irc.*",
+        /* Telepathy names owned by bundled services */
+        "--own-name=org.freedesktop.Telepathy.AccountManager",
+        "--own-name=org.freedesktop.Telepathy.ChannelDispatcher",
+        "--own-name=org.freedesktop.Telepathy.MissionControl5",
+        "--own-name=org.freedesktop.Telepathy.ConnectionManager.idle",
+        "--own-name=org.freedesktop.Telepathy.Connection.idle.irc.*",
+        "--own-name=org.freedesktop.Telepathy.Client.Logger",
         /* Keyring */
         "--talk-name=org.freedesktop.secrets",
         /* log files written by tp-logger outside the sandbox */
@@ -30,11 +37,11 @@
     "build-options": {
         "cflags": "-O2 -g"
     },
-    "cleanup": ["/include","/libexec","/lib/*.la","/lib/*.a",
+    "cleanup": ["/bin/mc*","/include","/lib/*.la","/lib/*.a",
                 "/lib/pkgconfig","/lib/polari/*.la",
                 "/share/aclocal", "/share/autoconf-archive",
                 "/share/gir-1.0", "/share/gtk-doc",
-                "/share/info"
+                "/share/info", "/share/man"
     ],
     "modules": [
         {
@@ -58,6 +65,26 @@
             ]
         },
         {
+            "name": "telepathy-mission-control",
+            "sources": [
+                {
+                    "type": "archive",
+                    "url": 
"https://telepathy.freedesktop.org/releases/telepathy-mission-control/telepathy-mission-control-5.16.4.tar.gz";,
+                    "sha256": "9769ddac7ad8aad21f6db854016792162b57e6fa0b0aed8d823d76a71fe7e6cb"
+                }
+            ]
+        },
+        {
+            "name": "telepathy-idle",
+            "sources": [
+                {
+                    "type": "archive",
+                    "url": 
"https://telepathy.freedesktop.org/releases/telepathy-idle/telepathy-idle-0.2.0.tar.gz";,
+                    "sha256": "3013ad4b38d14ee630b8cc8ada5e95ccaa849b9a6fe15d2eaf6d0717d76f2fab"
+                }
+            ]
+        },
+        {
             "name": "telepathy-logger",
             "sources": [
                 {


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