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: Restore flatpak DBus name patch
Date: Mon, 20 Jul 2026 20:37:47 GMT	[thread overview]
Message-ID: <178457986779.1.2637596028329146715.rpms-transmission-6a9ac1890373@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/transmission
Branch : epel10
Commit : 6a9ac18903735abd2a55cdad65f45c53bee5a3d6
Author : Kalev Lember <klember@redhat.com>
Date   : 2023-02-15T21:35:05+01:00
Stats  : +16/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/transmission/c/6a9ac18903735abd2a55cdad65f45c53bee5a3d6?branch=epel10

Log:
Restore flatpak DBus name patch

---
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..477c03d
--- /dev/null
+++ b/0001-gtk-use-com.transmissionbt.Transmission.-D-Bus-names.patch
@@ -0,0 +1,12 @@
+diff -up transmission-4.0.0/gtk/Application.cc.orig transmission-4.0.0/gtk/Application.cc
+--- transmission-4.0.0/gtk/Application.cc.orig	2023-01-30 06:23:05.000000000 +0100
++++ transmission-4.0.0/gtk/Application.cc	2023-02-15 20:49:40.137166535 +0100
+@@ -700,7 +700,7 @@ std::string get_application_id(std::stri
+ {
+     struct stat sb = {};
+     (void)::stat(config_dir.c_str(), &sb);
+-    return fmt::format("com.transmissionbt.transmission_{}_{}", sb.st_dev, sb.st_ino);
++    return fmt::format("com.transmissionbt.Transmission._{}_{}", sb.st_dev, sb.st_ino);
+ }
+ 
+ } // namespace

diff --git a/transmission.spec b/transmission.spec
index 17a5498..4f3e0f4 100644
--- a/transmission.spec
+++ b/transmission.spec
@@ -13,6 +13,9 @@ Source0:        https://github.com/transmission/transmission/releases/download/%
 Source1:        https://raw.githubusercontent.com/gnome-design-team/gnome-icons/master/apps-symbolic/Adwaita/scalable/apps/transmission-symbolic.svg
 Patch0:         f551b4adbff0d59557d61867d0b6518c50f5a73f.patch
 Patch1:         4890.patch
+# Fix the DBus name to match the app name for flatpak builds
+# https://github.com/transmission/transmission/pull/847
+Patch2:         0001-gtk-use-com.transmissionbt.Transmission.-D-Bus-names.patch
 
 
 BuildRequires:  make
@@ -181,6 +184,7 @@ desktop-file-install \
 %changelog
 * Wed Feb 15 2023 Kalev Lember <klember@redhat.com> - 4.0.0-3
 - Avoid hardcoding /usr prefix
+- Restore flatpak DBus name patch
 
 * Tue Feb 14 2023 Gwyn Ciesla <gwync@protonmail.com> - 4.0.0-2
 - Patches for crash.

                 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=178457986779.1.2637596028329146715.rpms-transmission-6a9ac1890373@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