public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/transmission] epel10: Restore flatpak DBus name patch
@ 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 : 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.
^ 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: Restore flatpak DBus name patch Kalev Lember
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox