summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Volf <~@wolfsden.cz>2025-03-30 23:22:13 +0200
committerAndreas Enge <andreas@enge.fr>2025-04-02 14:10:30 +0200
commit407963a8489a319c4a88c2fdfdc9c61d33a1eb0d (patch)
tree317e6ff5530da4af8653b7b9d97bf93366ff3c58
parent3aa17a955afe9fb05a232c3fb521426244c0bc67 (diff)
gnu: deluge: Backport fix for deluge-console.
* gnu/packages/bittorrent.scm (deluge)[arguments]<#:phases>: Add 'fix-deluge-console. Change-Id: Ifdbcb541aeefbc727890cec2356d346c7fa1dd5d Signed-off-by: Andreas Enge <andreas@enge.fr>
-rw-r--r--gnu/packages/bittorrent.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/packages/bittorrent.scm b/gnu/packages/bittorrent.scm
index e946660ab7..56f6512151 100644
--- a/gnu/packages/bittorrent.scm
+++ b/gnu/packages/bittorrent.scm
@@ -20,6 +20,7 @@
;;; Copyright © 2023 Clément Lassieur <clement@lassieur.org>
;;; Copyright © 2024 Noisytoot <ron@noisytoot.org>
;;; Copyright © 2024 Zheng Junjie <873216071@qq.com>
+;;; Copyright © 2025 Tomas Volf <~@wolfsden.cz>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -628,6 +629,13 @@ the following features:
`(#:tests? #f
#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'fix-deluge-console
+ (lambda _
+ ;; Backport patch for: https://dev.deluge-torrent.org/ticket/3582
+ ;; Should be removed for release 2.1.1.
+ (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"))