public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/transmission] epel10: Fix for icon problem
@ 2026-07-20 20:37 Gwyn Ciesla
  0 siblings, 0 replies; only message in thread
From: Gwyn Ciesla @ 2026-07-20 20:37 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/transmission
Branch : epel10
Commit : 26ca4617cab445e0db136d20219b0ae2d1c6552c
Author : Gwyn Ciesla <gwync@protonmail.com>
Date   : 2025-09-17T14:23:10-05:00
Stats  : +44/-2 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/transmission/c/26ca4617cab445e0db136d20219b0ae2d1c6552c?branch=epel10

Log:
Fix for icon problem

---
diff --git a/7669.patch b/7669.patch
new file mode 100644
index 0000000..20e48f8
--- /dev/null
+++ b/7669.patch
@@ -0,0 +1,39 @@
+From 242f32c3830a640ecfd2ef05193c71f1a0fd757d Mon Sep 17 00:00:00 2001
+From: Daniel Fox <dan.fox@tigera.io>
+Date: Fri, 15 Aug 2025 11:02:46 -0700
+Subject: [PATCH] fix: Use static application ID for GTK
+
+---
+ gtk/Application.cc              | 23 +++++++++++++++++++++++
+ gtk/transmission-gtk.desktop.in |  1 +
+ 2 files changed, 24 insertions(+)
+
+diff --git a/gtk/transmission-gtk.desktop.in b/gtk/transmission-gtk.desktop.in
+index 8d568a8b7dc..f711996b740 100644
+--- a/gtk/transmission-gtk.desktop.in
++++ b/gtk/transmission-gtk.desktop.in
+@@ -10,6 +10,7 @@ Terminal=false
+ TryExec=transmission-gtk
+ Type=Application
+ StartupNotify=true
++StartupWMClass=com.transmissionbt.transmission
+ MimeType=application/x-bittorrent;x-scheme-handler/magnet;
+ Categories=Network;FileTransfer;P2P;GTK;
+ X-Ubuntu-Gettext-Domain=transmission
+--- transmission-4.0.6/gtk/Application.cc~	2025-09-17 13:27:22.065792160 -0500
++++ transmission-4.0.6/gtk/Application.cc	2025-09-17 13:28:50.888529222 -0500
+@@ -702,6 +702,14 @@
+ {
+     struct stat sb = {};
+     (void)::stat(config_dir.c_str(), &sb);
++
++    std::string default_config_dir = tr_getDefaultConfigDir("transmission");
++
++    if (config_dir == default_config_dir)
++    {
++        return "com.transmissionbt.transmission";
++    }
++
+     return fmt::format("com.transmissionbt.Transmission._{}_{}", sb.st_dev, sb.st_ino);
+ }
+ 

diff --git a/transmission.spec b/transmission.spec
index 3150cfe..12e7a4a 100644
--- a/transmission.spec
+++ b/transmission.spec
@@ -1,6 +1,6 @@
 Name:           transmission
 Version:        4.0.6
-Release:        11%{?dist}
+Release:        12%{?dist}
 Summary:        A lightweight GTK+ BitTorrent client
 # See COPYING. This licensing situation is... special.
 License:        MIT and GPL-2.0-only
@@ -15,7 +15,7 @@ Patch0:         0001-gtk-use-com.transmissionbt.Transmission.-D-Bus-names.patch
 Patch1:         %{name}-miniupnp228.patch
 # Proposed upstream: https://github.com/transmission/transmission/issues/7567
 Patch2:         0002-Make-compatible-with-CMake-4.0.patch
-
+Patch3:         7669.patch
 
 BuildRequires:  make
 BuildRequires:  cmake
@@ -199,6 +199,9 @@ install -m0644 -D transmission.sysusers.conf %{buildroot}%{_sysusersdir}/transmi
 %doc %{_mandir}/man1/transmission-qt.*
 
 %changelog
+* Wed Sep 17 2025 Gwyn Ciesla <gwync@protonmail.com> - 4.0.6-12
+- Patch for duplicate icon problem.
+
 * Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.6-11
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
 

^ 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: Fix for icon problem Gwyn Ciesla

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