public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Kalev Lember <klember@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/transmission] epel10: Add a patch to fix the DBus name to match the app name for flatpak builds
Date: Mon, 20 Jul 2026 20:37:36 GMT [thread overview]
Message-ID: <178457985606.1.231387699406625525.rpms-transmission-0ec9c1c39677@fedoraproject.org> (raw)
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.
reply other threads:[~2026-07-20 20:37 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178457985606.1.231387699406625525.rpms-transmission-0ec9c1c39677@fedoraproject.org \
--to=klember@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox