main/telepathy-mission-control: add patch to fix autoconnection (!664)

5.17.x will be released soon with python3 changes, but before it is, for
now let's add this critical bugfix

[ci:skip-build]: already built successfully in CI
This commit is contained in:
Bhushan Shah 2019-10-06 10:53:00 +05:30 committed by Oliver Smith
parent bdb1bdc87b
commit 4bbd821d3d
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
2 changed files with 28 additions and 3 deletions

View file

@ -0,0 +1,23 @@
From 31268fec582776593e54c10c862d9f7af7b3153c Mon Sep 17 00:00:00 2001
From: Martin Klapetek <martin.klapetek@gmail.com>
Date: Wed, 8 Jul 2015 20:04:57 +0000
Subject: [PATCH] Fix autoconnection of accounts with always_dispatch=true
https://bugs.freedesktop.org/show_bug.cgi?id=91272
---
src/mcd-account-connection.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mcd-account-connection.c b/src/mcd-account-connection.c
index 09b3a219..327514de 100644
--- a/src/mcd-account-connection.c
+++ b/src/mcd-account-connection.c
@@ -101,7 +101,7 @@ mcd_account_connection_proceed_with_reason (McdAccount *account,
if (success)
{
if (mcd_connectivity_monitor_is_online (
- mcd_account_get_connectivity_monitor (account)))
+ mcd_account_get_connectivity_monitor (account)) || _mcd_account_needs_dispatch (account))
{
DEBUG ("%s wants to connect and we're online - go for it",
mcd_account_get_unique_name (account));

View file

@ -2,14 +2,15 @@
# Maintainer: Bhushan Shah <bshah@kde.org>
pkgname=telepathy-mission-control
pkgver=5.16.4
pkgrel=1
pkgrel=2
arch="all"
url="http://telepathy.freedesktop.org/wiki/"
license="LGPL-2.0-or-later"
pkgdesc="Account Manager and Channel Dispatcher based on telepathy-glib"
depends_dev="telepathy-glib-dev gstreamer-dev python2"
makedepends="$depends_dev libxslt-dev dbus"
source="https://telepathy.freedesktop.org/releases/$pkgname/$pkgname-$pkgver.tar.gz"
source="https://telepathy.freedesktop.org/releases/$pkgname/$pkgname-$pkgver.tar.gz
31268fec582776593e54c10c862d9f7af7b3153c.patch"
subpackages="$pkgname-dev $pkgname-doc"
options="!check" # Requires a running dbus daemon
@ -24,4 +25,5 @@ package() {
DESTDIR="$pkgdir" make install
}
sha512sums="5ed624df2d041554af074c22a18db2405fa5bd41bec40edc574382eb9d8b9f93ff6f4be3042d27f950694a353f4192670e200f5f8865419701ca520a973959ed telepathy-mission-control-5.16.4.tar.gz"
sha512sums="5ed624df2d041554af074c22a18db2405fa5bd41bec40edc574382eb9d8b9f93ff6f4be3042d27f950694a353f4192670e200f5f8865419701ca520a973959ed telepathy-mission-control-5.16.4.tar.gz
e6e35f6c5adbf67536fdc83e49f3ab7dbce1725df7363f5c4c5a9a7c5f8cccbf5c9cfd1197627f9a5ace00c06df860646e10ad275a3b448cf936af01650033f6 31268fec582776593e54c10c862d9f7af7b3153c.patch"