unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#53308] [PATCH 0/3] deluge: update to 2.0.5
@ 2022-01-16 21:35 Brice Waegeneire
  2022-01-17 19:34 ` [bug#53308] [PATCH] deluge: update to 2.0.5 (patchs attached) brice
  0 siblings, 1 reply; 4+ messages in thread
From: Brice Waegeneire @ 2022-01-16 21:35 UTC (permalink / raw)
  To: 53308

In addition to updating deluge and the using the new style this add an
explanation requested by Leo in <https://issues.guix.gnu.org/52486#7>.

Brice Waegeneire (3):
  gnu: deluge: Update to 2.0.5.
  gnu: deluge: Adjust style.
  gnu: deluge: Add explanation about wrap phase.

 gnu/packages/bittorrent.scm | 49 ++++++++++++++++++-------------------
 1 file changed, 24 insertions(+), 25 deletions(-)


base-commit: 27914cb4b72142e2cc99172996c83709e9491437
-- 
2.34.0





^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#53308] [PATCH] deluge: update to 2.0.5 (patchs attached)
  2022-01-16 21:35 [bug#53308] [PATCH 0/3] deluge: update to 2.0.5 Brice Waegeneire
@ 2022-01-17 19:34 ` brice
  2022-01-17 19:56   ` Leo Famulari
  0 siblings, 1 reply; 4+ messages in thread
From: brice @ 2022-01-17 19:34 UTC (permalink / raw)
  To: 53308

[-- Attachment #1: Type: text/plain, Size: 206 bytes --]

I had issue submitting the actual patches for the issue, so this time I'm trying to send them as attachment. I hope it works this time.

--
bricewge ~ 8929 BBC5 73CD 9206 3DDD  979D 3D36 CAA0 116F 0F99

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0002-gnu-deluge-Adjust-style.patch --]
[-- Type: text/x-patch, Size: 2413 bytes --]

From 6d3b58e2d1b26d957d6d23f15e7a2ca942658f45 Mon Sep 17 00:00:00 2001
From: Brice Waegeneire <brice@waegenei.re>
Date: Sun, 16 Jan 2022 21:57:07 +0100
Subject: [PATCH 2/3] gnu: deluge: Adjust style.

* gnu/packages/bittorrent.scm (deluge)[inputs]: Add bash-minimal.
  [propagated-inputs]: Remove lablels.
---
 gnu/packages/bittorrent.scm | 34 ++++++++++++++++++----------------
 1 file changed, 18 insertions(+), 16 deletions(-)

diff --git a/gnu/packages/bittorrent.scm b/gnu/packages/bittorrent.scm
index e627cf1be6..ca0cc0dc5b 100644
--- a/gnu/packages/bittorrent.scm
+++ b/gnu/packages/bittorrent.scm
@@ -45,6 +45,7 @@ (define-module (gnu packages bittorrent)
   #:use-module (gnu packages)
   #:use-module (gnu packages adns)
   #:use-module (gnu packages autotools)
+  #:use-module (gnu packages bash)
   #:use-module (gnu packages boost)
   #:use-module (gnu packages check)
   #:use-module (gnu packages cmake)
@@ -533,23 +534,24 @@ (define-public deluge
         (base32
          "1n15dzfnz1gvb4cf046yhi404i3gs933qgz0ichna6r1znmh9gf4"))))
     (build-system python-build-system)
+    (inputs (list bash-minimal))
     (propagated-inputs
-     `(("gtk+" ,gtk+)
-       ("libtorrent" ,libtorrent-rasterbar)
-       ("python-pycairo" ,python-pycairo)
-       ("python-chardet" ,python-chardet)
-       ("python-dbus" ,python-dbus)
-       ("python-mako" ,python-mako)
-       ("python-pygobject" ,python-pygobject)
-       ("python-pillow" ,python-pillow)
-       ("python-pyopenssl" ,python-pyopenssl)
-       ("python-pyxdg" ,python-pyxdg)
-       ("python-rencode" ,python-rencode)
-       ("python-service-identity" ,python-service-identity)
-       ("python-setproctitle" ,python-setproctitle)
-       ("python-six" ,python-six)
-       ("python-twisted" ,python-twisted)
-       ("python-zope-interface" ,python-zope-interface)))
+     (list gtk+
+           libtorrent-rasterbar
+           python-pycairo
+           python-chardet
+           python-dbus
+           python-mako
+           python-pygobject
+           python-pillow
+           python-pyopenssl
+           python-pyxdg
+           python-rencode
+           python-service-identity
+           python-setproctitle
+           python-six
+           python-twisted
+           python-zope-interface))
     (native-inputs
      (list intltool python-wheel
            (if (string-prefix? "x86_64-" (%current-system))
-- 
2.34.0


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: 0003-gnu-deluge-Add-explanation-about-wrap-phase.patch --]
[-- Type: text/x-patch, Size: 1202 bytes --]

From fb5e55f909922872f51d93d7b8527888bc54d3e1 Mon Sep 17 00:00:00 2001
From: Brice Waegeneire <brice@waegenei.re>
Date: Sun, 16 Jan 2022 22:23:18 +0100
Subject: [PATCH 3/3] gnu: deluge: Add explanation about wrap phase.

* gnu/packages/bittorrent.scm (deluge)[arguments]: Add comment
  explaining the filtering of "librsvg" from the wrapper.
---
 gnu/packages/bittorrent.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/bittorrent.scm b/gnu/packages/bittorrent.scm
index ca0cc0dc5b..59ae6ac2f2 100644
--- a/gnu/packages/bittorrent.scm
+++ b/gnu/packages/bittorrent.scm
@@ -568,6 +568,9 @@ (define-public deluge
          (add-after 'install 'wrap
            (lambda* (#:key native-inputs inputs outputs #:allow-other-keys)
              (let ((out               (assoc-ref outputs "out"))
+                   ;; "librsvg" input is only needed at build time and it
+                   ;; conflit with the "librsvg" propageted by "gtk+", so we
+                   ;; make sure there is no reference to it in the wrapper.
                    (gi-typelib-path
                     (string-join (filter
                                   (lambda (x) (not (string-prefix?
-- 
2.34.0


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #4: 0001-gnu-deluge-Update-to-2.0.5.patch --]
[-- Type: text/x-patch, Size: 2106 bytes --]

From 2540268b519156c1bf235d507f5d80adf2f81eb6 Mon Sep 17 00:00:00 2001
From: Brice Waegeneire <brice@waegenei.re>
Date: Sun, 16 Jan 2022 10:58:20 +0100
Subject: [PATCH 1/3] gnu: deluge: Update to 2.0.5.

* gnu/packages/bittorrent.scm (deluge): Update to 2.0.5.
  [arguments]: Remove 'fix-gettext-warning' phase.
---
 gnu/packages/bittorrent.scm | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/bittorrent.scm b/gnu/packages/bittorrent.scm
index eac66713ea..e627cf1be6 100644
--- a/gnu/packages/bittorrent.scm
+++ b/gnu/packages/bittorrent.scm
@@ -14,6 +14,7 @@
 ;;; Copyright © 2021 Justin Veilleux <terramorpha@cock.li>
 ;;; Copyright © 2021 Marius Bakke <marius@gnu.org>
 ;;; Copyright © 2021 Josselin Poiret <josselin.poiret@protonmail.ch>
+;;; Copyright © 2022 Brice Waegeneire <brice@waegenei.re>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -521,7 +522,7 @@ (define-public qbittorrent
 (define-public deluge
   (package
     (name "deluge")
-    (version "2.0.3")
+    (version "2.0.5")
     (source
      (origin
        (method url-fetch)
@@ -530,7 +531,7 @@ (define-public deluge
              (version-major+minor version) "/deluge-" version ".tar.xz"))
        (sha256
         (base32
-         "14d8kn2pvr1qv8mwqrxmj85jycr73vwfqz12hzag0ararbkfhyky"))))
+         "1n15dzfnz1gvb4cf046yhi404i3gs933qgz0ichna6r1znmh9gf4"))))
     (build-system python-build-system)
     (propagated-inputs
      `(("gtk+" ,gtk+)
@@ -562,13 +563,6 @@ (define-public deluge
      `(#:tests? #f
        #:phases
        (modify-phases %standard-phases
-         ;; Remove this phase when upgrading to version 2.0.4 or beyond, as
-         ;; the issue is fixed upstream.
-         (add-after 'unpack 'fix-gettext-warning
-           (lambda _
-             (substitute* "deluge/i18n/util.py"
-               (("names='ngettext'") "names=['ngettext']"))
-             #t))
          (add-after 'install 'wrap
            (lambda* (#:key native-inputs inputs outputs #:allow-other-keys)
              (let ((out               (assoc-ref outputs "out"))
-- 
2.34.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#53308] [PATCH] deluge: update to 2.0.5 (patchs attached)
  2022-01-17 19:34 ` [bug#53308] [PATCH] deluge: update to 2.0.5 (patchs attached) brice
@ 2022-01-17 19:56   ` Leo Famulari
  2022-01-17 21:54     ` bug#53308: [PATCH 0/3] deluge: update to 2.0.5 Brice Waegeneire
  0 siblings, 1 reply; 4+ messages in thread
From: Leo Famulari @ 2022-01-17 19:56 UTC (permalink / raw)
  To: brice; +Cc: 53308

On Mon, Jan 17, 2022 at 08:34:18PM +0100, brice@waegenei.re wrote:
> I had issue submitting the actual patches for the issue, so this time I'm trying to send them as attachment. I hope it works this time.

Thanks, these patches LGTM!




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#53308: [PATCH 0/3] deluge: update to 2.0.5
  2022-01-17 19:56   ` Leo Famulari
@ 2022-01-17 21:54     ` Brice Waegeneire
  0 siblings, 0 replies; 4+ messages in thread
From: Brice Waegeneire @ 2022-01-17 21:54 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 53308-done

Leo Famulari <leo@famulari.name> writes:

[...]

> Thanks, these patches LGTM!

Thank you for the review, pushed as 31577d879dd6e9d78e21b842953a804e0bc3fe92.




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-01-17 21:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-16 21:35 [bug#53308] [PATCH 0/3] deluge: update to 2.0.5 Brice Waegeneire
2022-01-17 19:34 ` [bug#53308] [PATCH] deluge: update to 2.0.5 (patchs attached) brice
2022-01-17 19:56   ` Leo Famulari
2022-01-17 21:54     ` bug#53308: [PATCH 0/3] deluge: update to 2.0.5 Brice Waegeneire

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).