public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Gwyn Ciesla <gwync@protonmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/transmission] epel10: 4.1.1
Date: Mon, 20 Jul 2026 20:38:01 GMT [thread overview]
Message-ID: <178457988193.1.16160678986647072768.rpms-transmission-0a9f6af0f6e2@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/transmission
Branch : epel10
Commit : 0a9f6af0f6e2138a81a5322029cf74ff1269f938
Author : Gwyn Ciesla <gwync@protonmail.com>
Date : 2026-02-23T09:39:00-06:00
Stats : +8/-124 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/transmission/c/0a9f6af0f6e2138a81a5322029cf74ff1269f938?branch=epel10
Log:
4.1.1
---
diff --git a/.gitignore b/.gitignore
index 8901ffc..9d29281 100644
--- a/.gitignore
+++ b/.gitignore
@@ -34,3 +34,4 @@ transmission-2.04.tar.xz
/transmission-4.0.5.tar.xz
/transmission-4.0.6.tar.xz
/transmission-4.1.0.tar.xz
+/transmission-4.1.1.tar.xz
diff --git a/0003-Fix_cannot_add_magnet_links_in_GTK_client.patch b/0003-Fix_cannot_add_magnet_links_in_GTK_client.patch
deleted file mode 100644
index 0aa5f3b..0000000
--- a/0003-Fix_cannot_add_magnet_links_in_GTK_client.patch
+++ /dev/null
@@ -1,72 +0,0 @@
-From 90aa76e7cf079e13cceb8318b2a23119a2912ab6 Mon Sep 17 00:00:00 2001
-From: Charles Kerr <charles@charleskerr.com>
-Date: Thu, 29 Jan 2026 14:30:26 -0600
-Subject: [PATCH] fix: cannot add magnet links in GTK client
-
----
- gtk/Session.cc | 13 +++++++------
- 1 file changed, 7 insertions(+), 6 deletions(-)
-
-diff --git a/gtk/Session.cc b/gtk/Session.cc
-index 50df618c636..bdda0210812 100644
---- a/gtk/Session.cc
-+++ b/gtk/Session.cc
-@@ -144,7 +144,7 @@ class Session::Impl
- void inc_busy();
- void dec_busy();
-
-- bool add_file(Glib::RefPtr<Gio::File> const& file, bool do_start, bool do_prompt, bool do_notify);
-+ bool add(Glib::ustring const& name, bool do_start, bool do_prompt, bool do_notify);
- void add_file_async_callback(
- Glib::RefPtr<Gio::File> const& file,
- Glib::RefPtr<Gio::AsyncResult>& result,
-@@ -823,7 +823,8 @@ void Session::Impl::add_file_async_callback(
- dec_busy();
- }
-
--bool Session::Impl::add_file(Glib::RefPtr<Gio::File> const& file, bool do_start, bool do_prompt, bool do_notify)
-+// Add `name,` which might be a local filename, a magnet link, or a URI.
-+bool Session::Impl::add(Glib::ustring const& name, bool const do_start, bool const do_prompt, bool const do_notify)
- {
- auto* const session = get_session();
- if (session == nullptr)
-@@ -837,6 +838,7 @@ bool Session::Impl::add_file(Glib::RefPtr<Gio::File> const& file, bool do_start,
- tr_ctorSetPaused(ctor, TR_FORCE, !do_start);
-
- bool loaded = false;
-+ auto file = Gio::File::create_for_parse_name(name);
- if (auto const path = file->get_path(); !std::empty(path))
- {
- // try to treat it as a file...
-@@ -846,7 +848,7 @@ bool Session::Impl::add_file(Glib::RefPtr<Gio::File> const& file, bool do_start,
- if (!loaded)
- {
- // try to treat it as a magnet link...
-- loaded = tr_ctorSetMetainfoFromMagnetLink(ctor, file->get_uri().c_str(), nullptr);
-+ loaded = tr_ctorSetMetainfoFromMagnetLink(ctor, name.raw().c_str(), nullptr);
- }
-
- // if we could make sense of it, add it
-@@ -881,12 +883,11 @@ bool Session::add_from_url(Glib::ustring const& url)
-
- bool Session::Impl::add_from_url(Glib::ustring const& url)
- {
-- auto const file = Gio::File::create_for_uri(url);
- auto const do_start = gtr_pref_flag_get(TR_KEY_start_added_torrents);
- auto const do_prompt = gtr_pref_flag_get(TR_KEY_show_options_window);
- auto const do_notify = false;
-
-- auto const handled = add_file(file, do_start, do_prompt, do_notify);
-+ auto const handled = add(url, do_start, do_prompt, do_notify);
- torrents_added();
- return handled;
- }
-@@ -900,7 +901,7 @@ void Session::Impl::add_files(std::vector<Glib::RefPtr<Gio::File>> const& files,
- {
- for (auto const& file : files)
- {
-- add_file(file, do_start, do_prompt, do_notify);
-+ add(file->get_parse_name(), do_start, do_prompt, do_notify);
- }
-
- torrents_added();
diff --git a/0004-Fix_magnet_links_from_command_line.patch b/0004-Fix_magnet_links_from_command_line.patch
deleted file mode 100644
index 80b9fbf..0000000
--- a/0004-Fix_magnet_links_from_command_line.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From 32464f4b9f73e97becf3e94807b2c97d45665303 Mon Sep 17 00:00:00 2001
-From: Charles Kerr <charles@charleskerr.com>
-Date: Mon, 9 Feb 2026 21:34:19 -0600
-Subject: [PATCH] fix: cannot add magnet links from the command line
-
----
- gtk/Session.cc | 14 ++++++++++++--
- 1 file changed, 12 insertions(+), 2 deletions(-)
-
-diff --git a/gtk/Session.cc b/gtk/Session.cc
-index 88d916bb16e..0fa4fb5e0be 100644
---- a/gtk/Session.cc
-+++ b/gtk/Session.cc
-@@ -144,7 +144,7 @@ class Session::Impl
- void inc_busy();
- void dec_busy();
-
-- bool add(Glib::ustring const& name, bool do_start, bool do_prompt, bool do_notify);
-+ bool add(Glib::ustring const& name_in, bool do_start, bool do_prompt, bool do_notify);
- void add_file_async_callback(
- Glib::RefPtr<Gio::File> const& file,
- Glib::RefPtr<Gio::AsyncResult>& result,
-@@ -822,8 +822,18 @@ void Session::Impl::add_file_async_callback(
- }
-
- // Add `name,` which might be a local filename, a magnet link, or a URI.
--bool Session::Impl::add(Glib::ustring const& name, bool const do_start, bool const do_prompt, bool const do_notify)
-+bool Session::Impl::add(Glib::ustring const& name_in, bool const do_start, bool const do_prompt, bool const do_notify)
- {
-+ auto name = name_in;
-+
-+ // `gio::File` doesn't seem to know how to stringify magnet links correctly.
-+ // Unfortunately there are some code paths that unavoidably use `gio::File`
-+ // e.g. Gtk::Application::on_open() so we have to do this:
-+ if (auto constexpr BrokenMagnetLinkPrefix = "magnet:///?"sv; tr_strv_starts_with(name.raw(), BrokenMagnetLinkPrefix))
-+ {
-+ name.replace(0, std::size(BrokenMagnetLinkPrefix), "magnet:?");
-+ }
-+
- auto* const session = get_session();
- if (session == nullptr)
- {
diff --git a/sources b/sources
index 7e6b3d6..9aeaa07 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (transmission-4.1.0.tar.xz) = b3f0ef5a82cba1c8ae8b5fde427b320d5490e31c49967f1b24459bbc7d8b52f5359079db49b2038a48a2cfdfef203863ad354a8bbfe056880d2dd8d53cdd239d
+SHA512 (transmission-4.1.1.tar.xz) = 63b2a784200d0639ce314236959f54a65a976d3903c8fee635535b8012296dc15326a0b365a7b30f9924e5eb34276aef310bad77e21777bca0a47be7e71e9e9c
diff --git a/transmission.spec b/transmission.spec
index 9c8104c..f161663 100644
--- a/transmission.spec
+++ b/transmission.spec
@@ -1,6 +1,6 @@
Name: transmission
-Version: 4.1.0
-Release: 3%{?dist}
+Version: 4.1.1
+Release: 1%{?dist}
Summary: A lightweight GTK+ BitTorrent client
# See COPYING. This licensing situation is... special.
License: MIT and GPL-2.0-only
@@ -15,10 +15,6 @@ Patch0: 0001-gtk-use-com.transmissionbt.Transmission.-D-Bus-names.patch
# Proposed upstream: https://github.com/transmission/transmission/issues/7567
Patch1: 0002-Make-compatible-with-CMake-4.0.patch
Patch2: 7669.patch
-# https://github.com/transmission/transmission/pull/8277, to be removed in 4.1.1 or 4.2.0
-Patch3: 0003-Fix_cannot_add_magnet_links_in_GTK_client.patch
-# https://github.com/transmission/transmission/pull/8415, to be removed in 4.1.1 or 4.2.0
-Patch4: 0004-Fix_magnet_links_from_command_line.patch
BuildRequires: make
BuildRequires: cmake
@@ -171,9 +167,7 @@ install -m0644 -D transmission.sysusers.conf %{buildroot}%{_sysusersdir}/transmi
%{_bindir}/transmission-edit
%{_bindir}/transmission-show
%{_datadir}/transmission/public_html/
-%{_datadir}/icons/hicolor/*/apps/transmission.*
-%{_datadir}/icons/hicolor/symbolic/apps/transmission-symbolic.svg
-%{_datadir}/icons/hicolor/scalable/apps/transmission-devel.svg
+%{_datadir}/icons/hicolor/*/apps/transmission*.svg
%doc %{_mandir}/man1/transmission-remote*
%doc %{_mandir}/man1/transmission-create*
%doc %{_mandir}/man1/transmission-edit*
@@ -202,6 +196,9 @@ install -m0644 -D transmission.sysusers.conf %{buildroot}%{_sysusersdir}/transmi
%doc %{_mandir}/man1/transmission-qt.*
%changelog
+* Wed Feb 18 2026 Gwyn Ciesla <gwync@protonmail.com> - 4.1.1-1
+- 4.1.1
+
* Tue Feb 10 2026 Federico Pellegrin <fede@evolware.org> - 4.1.0-3
- Apply upstream patch to fix important bug in adding magnet links from command line
reply other threads:[~2026-07-20 20:38 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=178457988193.1.16160678986647072768.rpms-transmission-0a9f6af0f6e2@fedoraproject.org \
--to=gwync@protonmail.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