GNU bug report logs - #77393
[PATCH] gnu: deluge: Backport fix for deluge-console.

Previous Next

Package: guix-patches;

Reported by: Tomas Volf <~@wolfsden.cz>

Date: Sun, 30 Mar 2025 21:23:02 UTC

Severity: normal

Tags: patch

Done: Andreas Enge <andreas <at> enge.fr>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Andreas Enge <andreas <at> enge.fr>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#77393: closed ([PATCH] gnu: deluge: Backport fix for
 deluge-console.)
Date: Wed, 02 Apr 2025 12:17:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 2 Apr 2025 14:15:57 +0200
with message-id <Z-0qfQNHWTdaEF3A <at> jurong>
and subject line Close
has caused the debbugs.gnu.org bug report #77393,
regarding [PATCH] gnu: deluge: Backport fix for deluge-console.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
77393: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=77393
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Tomas Volf <~@wolfsden.cz>
To: guix-patches <at> gnu.org
Cc: Tomas Volf <~@wolfsden.cz>
Subject: [PATCH] gnu: deluge: Backport fix for deluge-console.
Date: Sun, 30 Mar 2025 23:22:13 +0200
Without this fix, the command is not usable from scripting, since it always
fails to report the result with:

    <Deferred at 0x7f29b3879780 current result: None>

Upstream already has a fix, and it will be present in 2.1.2, so let us
backport it for now.

* gnu/packages/bittorrent.scm (deluge)[arguments]<#:phases>: Add
'fix-deluge-console.

Change-Id: Ifdbcb541aeefbc727890cec2356d346c7fa1dd5d
---
I am not sure whether we usually backport fixes, but I needed this to get
deluge-console working for me, so I might as well send it.  Feel free to close
if it goes against some policy.

 gnu/packages/bittorrent.scm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gnu/packages/bittorrent.scm b/gnu/packages/bittorrent.scm
index e946660ab7..05bea4c533 100644
--- a/gnu/packages/bittorrent.scm
+++ b/gnu/packages/bittorrent.scm
@@ -20,6 +20,7 @@
 ;;; Copyright © 2023 Clément Lassieur <clement <at> lassieur.org>
 ;;; Copyright © 2024 Noisytoot <ron <at> noisytoot.org>
 ;;; Copyright © 2024 Zheng Junjie <873216071 <at> qq.com>
+;;; Copyright © 2025 Tomas Volf <~@wolfsden.cz>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -628,6 +629,12 @@ (define-public deluge
      `(#:tests? #f
        #:phases
        (modify-phases %standard-phases
+         (add-after 'unpack 'fix-deluge-console
+           (lambda _
+             ;; Backport patch for: https://dev.deluge-torrent.org/ticket/3582
+             (substitute* "deluge/ui/console/__init__.py"
+               (("    return Console\\(\\).start\\(\\)")
+                "    Console().start()"))))
          (add-after 'install 'wrap
            (lambda* (#:key native-inputs inputs outputs #:allow-other-keys)
              (let ((out               (assoc-ref outputs "out"))
--
2.48.1


[Message part 3 (message/rfc822, inline)]
From: Andreas Enge <andreas <at> enge.fr>
To: 77393-done <at> debbugs.gnu.org
Subject: Close
Date: Wed, 2 Apr 2025 14:15:57 +0200
Backporting fixes is perfectly fine! I have added a small comment that
it should be removed after the next release to make an update easier,
and pushed.

Thanks,

Andreas



This bug report was last modified 46 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.