[polari] flatpak: Bundle mission-control/idle
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari] flatpak: Bundle mission-control/idle
- Date: Sat, 4 Mar 2017 21:50:19 +0000 (UTC)
commit 6988948d033ec6fc678cec2ed01301ddd377a8f9
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 260c1a9..9102ee7 100644
--- a/org.gnome.Polari.json
+++ b/org.gnome.Polari.json
@@ -20,6 +20,13 @@
"--talk-name=org.freedesktop.Telepathy.ChannelDispatcher",
"--talk-name=org.freedesktop.Telepathy.Connection.idle.irc.*",
"--own-name=org.freedesktop.Telepathy.Client.TpGLibRequestAndHandle.*",
+ /* 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 */
@@ -32,11 +39,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": [
{
@@ -64,6 +71,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]