Fix regression with DBus activation

Resolves: rhbz#1951128
This commit is contained in:
Felipe Borges 2021-04-21 17:08:12 +02:00
parent f456854119
commit 4dcb405027
2 changed files with 28 additions and 1 deletions

View File

@ -0,0 +1,22 @@
From 37020ddc025629077ae3b52f3e675857586a4ac7 Mon Sep 17 00:00:00 2001
From: Felipe Borges <felipeborges@gnome.org>
Date: Tue, 6 Apr 2021 09:05:15 +0200
Subject: [PATCH] service: Rename executable for DBus activation
See https://github.com/flathub/org.gnome.Connections/issues/2
---
data/org.gnome.Connections.service.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/data/org.gnome.Connections.service.in b/data/org.gnome.Connections.service.in
index f21aa1b..2decda8 100644
--- a/data/org.gnome.Connections.service.in
+++ b/data/org.gnome.Connections.service.in
@@ -1,3 +1,3 @@
[D-BUS Service]
Name=@appid@
-Exec=@bindir@/connections --gapplication-service
+Exec=@bindir@/gnome-connections --gapplication-service
--
2.31.1

View File

@ -7,13 +7,15 @@
Name: gnome-connections Name: gnome-connections
Version: 40.0 Version: 40.0
Release: 3%{?dist} Release: 4%{?dist}
Summary: A remote desktop client for the GNOME desktop environment Summary: A remote desktop client for the GNOME desktop environment
License: GPLv3+ License: GPLv3+
URL: https://gitlab.gnome.org/gnome/connections/-/wikis/home URL: https://gitlab.gnome.org/gnome/connections/-/wikis/home
Source0: https://download.gnome.org/sources/gnome-connections/%{url_ver}/gnome-connections-%{tarball_version}.tar.xz Source0: https://download.gnome.org/sources/gnome-connections/%{url_ver}/gnome-connections-%{tarball_version}.tar.xz
Patch0: gnome-connections-fix-dbus-activation.patch
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: gcc BuildRequires: gcc
BuildRequires: gettext BuildRequires: gettext
@ -71,6 +73,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.Connections
%{_datadir}/mime/packages/org.gnome.Connections.xml %{_datadir}/mime/packages/org.gnome.Connections.xml
%changelog %changelog
* Wed Apr 21 2021 Felipe Borges <feborges@redhat.com> - 40.0-4
- Fix regression with DBus activation. Related: rhbz#1951128
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 40.0-3 * Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 40.0-3
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937