public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/transmission] epel10: Add a patch to fix the DBus name to match the app name for flatpak builds
@ 2026-07-20 20:37 Kalev Lember
  0 siblings, 0 replies; only message in thread
From: Kalev Lember @ 2026-07-20 20:37 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/transmission
Branch : epel10
Commit : 0ec9c1c39677757d56ddbccfb4ea61455e838228
Author : Kalev Lember <klember@redhat.com>
Date   : 2019-02-26T19:24:55+01:00
Stats  : +34/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/transmission/c/0ec9c1c39677757d56ddbccfb4ea61455e838228?branch=epel10

Log:
Add a patch to fix the DBus name to match the app name for flatpak builds

---
diff --git a/0001-gtk-use-com.transmissionbt.Transmission.-D-Bus-names.patch b/0001-gtk-use-com.transmissionbt.Transmission.-D-Bus-names.patch
new file mode 100644
index 0000000..5470e64
--- /dev/null
+++ b/0001-gtk-use-com.transmissionbt.Transmission.-D-Bus-names.patch
@@ -0,0 +1,27 @@
+From: Will Thompson <wjt@endlessm.com>
+Date: Fri, 4 Aug 2017 15:20:07 +0100
+Subject: [PATCH] gtk: use com.transmissionbt.Transmission.* D-Bus names
+
+Using the com.transmissionbt.Transmission. namespace (with a capital T)
+is consistent with the Qt frontend using
+com.transmissionbt.Transmission, and with standard D-Bus naming
+conventions.
+---
+ gtk/main.c            | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/gtk/main.c b/gtk/main.c
+index a164ab439..9fa2690b5 100644
+--- gtk/main.c
++++ gtk/main.c
+@@ -680,7 +680,7 @@ int main(int argc, char** argv)
+ 
+   /* init the application for the specified config dir */
+   stat (cbdata.config_dir, &sb);
+-  application_id = g_strdup_printf ("com.transmissionbt.transmission_%lu_%lu", (unsigned long)sb.st_dev, (unsigned long)sb.st_ino);
++  application_id = g_strdup_printf ("com.transmissionbt.Transmission._%lu_%lu", (unsigned long)sb.st_dev, (unsigned long)sb.st_ino);
+   app = gtk_application_new (application_id, G_APPLICATION_HANDLES_OPEN);
+   g_signal_connect (app, "open", G_CALLBACK (on_open), &cbdata);
+   g_signal_connect (app, "startup", G_CALLBACK (on_startup), &cbdata);
+-- 
+2.13.3

diff --git a/transmission.spec b/transmission.spec
index b339a43..d21a19e 100644
--- a/transmission.spec
+++ b/transmission.spec
@@ -2,7 +2,7 @@
 
 Name:           transmission
 Version:        2.94
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        A lightweight GTK+ BitTorrent client
 # See COPYING. This licensing situation is... special.
 License:        MIT and GPLv2
@@ -14,6 +14,9 @@ Source1:        https://raw.githubusercontent.com/gnome-design-team/gnome-icons/
 #Patch0:         transmission-2.84-overshoot.patch
 Patch1:		transmission-libsystemd.patch
 Patch2:		transmission-fdlimits.patch
+# Fix the DBus name to match the app name for flatpak builds
+# https://github.com/transmission/transmission/pull/847
+Patch3:         0001-gtk-use-com.transmissionbt.Transmission.-D-Bus-names.patch
 
 BuildRequires:  openssl-devel >= 1.1.0
 BuildRequires:  glib2-devel >= 2.32.0
@@ -224,6 +227,9 @@ EOF
 %doc %{_mandir}/man1/transmission-qt.*
 
 %changelog
+* Tue Feb 26 2019 Kalev Lember <klember@redhat.com> - 2.94-6
+- Add a patch to fix the DBus name to match the app name for flatpak builds
+
 * Thu Feb 21 2019 Gwyn Ciesla <gwync@protonmail.com> - 2.94-5
 - Add appindicator support, BZ 1679345.
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-20 20:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-20 20:37 [rpms/transmission] epel10: Add a patch to fix the DBus name to match the app name for flatpak builds Kalev Lember

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox