From 9a52029866bcc46ea67538666063d772575f6934 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Mar 10 2020 18:53:32 +0000 Subject: Backport a fix for a crash due to invalid property name --- diff --git a/6.patch b/6.patch new file mode 100644 index 0000000..17eb7f1 --- /dev/null +++ b/6.patch @@ -0,0 +1,25 @@ +From d8dab08fe8db137c6bbd8bbdc3d9b01d98c48910 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Florian=20M=C3=BCllner?= +Date: Thu, 19 Dec 2019 13:37:49 +0100 +Subject: [PATCH] account: Fix property name + +Spaces are not valid characters in property names, and never were. +Until recently GLib silently fixed up the name by replacing the +space with '-', but now tightened up the validation. +--- + src/mcd-account.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/mcd-account.c b/src/mcd-account.c +index 8009110e..de5c61cf 100644 +--- a/src/mcd-account.c ++++ b/src/mcd-account.c +@@ -3442,7 +3442,7 @@ mcd_account_class_init (McdAccountClass * klass) + + g_object_class_install_property + (object_class, PROP_CONNECTIVITY_MONITOR, +- g_param_spec_object ("connectivity monitor", ++ g_param_spec_object ("connectivity-monitor", + "Connectivity monitor", + "Connectivity monitor", + MCD_TYPE_CONNECTIVITY_MONITOR, diff --git a/telepathy-mission-control.spec b/telepathy-mission-control.spec index fa9987d..8fec4ec 100644 --- a/telepathy-mission-control.spec +++ b/telepathy-mission-control.spec @@ -3,7 +3,7 @@ Name: telepathy-mission-control Version: 5.16.5 -Release: 1%{?dist} +Release: 2%{?dist} Epoch: 1 Summary: Central control for Telepathy connection manager @@ -11,6 +11,10 @@ License: LGPLv2 URL: http://telepathy.freedesktop.org/wiki/Mission_Control Source0: http://telepathy.freedesktop.org/releases/%{name}/%{name}-%{version}.tar.gz +# Backported from upstream +# https://github.com/TelepathyIM/telepathy-mission-control/pull/6 +Patch0: 6.patch + BuildRequires: chrpath BuildRequires: glib2-devel BuildRequires: gtk-doc @@ -96,6 +100,9 @@ make check ||: %changelog +* Tue Mar 10 2020 Kalev Lember - 1:5.16.5-2 +- Backport a fix for a crash due to invalid property name + * Sat Feb 22 2020 Peter Robinson - 1:5.16.5-1 - Update to 5.16.5