Subject: bug#52486: closed (Re: bug#52486: [PATCH] gnu: deluge: Move librsvg to native inputs.)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 16 Jan 2022 10:53:02 +0000

Your bug report

#52486: [PATCH] gnu: deluge: Move librsvg to native inputs.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
52486: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=52486
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#52486: [PATCH] gnu: deluge: Move librsvg to native inputs.
From: Brice Waegeneire <[email-masked]>
To: Josselin Poiret <[email-masked]>
Cc: [email-masked], Leo Famulari <[email-masked]>
Date: Sun, 16 Jan 2022 11:52:34 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello Josselin

Josselin Poiret <[email-masked]> writes:

> Josselin Poiret (2):
>   gnu: deluge: Move librsvg to native inputs
>   gnu: deluge: Remove reference of build-time librsvg

Thanks for the patch, it fixes the issue with librsvg as expected. Pushed as
1471219a8aabd2d8ad1f6bf1216c734ce73ae175, I've added your copyright to it.

Cheers,
- Brice

Subject: [PATCH] gnu: deluge: Move librsvg to native inputs.
From: Josselin Poiret <[email-masked]>
To: [email-masked]
Cc: Josselin Poiret <[email-masked]>
Date: Tue, 14 Dec 2021 18:21:51 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Grepping the source code shows that librsvg is run by the
builder, and not by deluge itself.  This fixes propagation conflicting
with gtk+'s librsvg.  For now, use the C variant to build on all archs.
-- >8 --

* gnu/packages/bittorrent.scm (deluge): Do it.
---
 gnu/packages/bittorrent.scm | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/gnu/packages/bittorrent.scm b/gnu/packages/bittorrent.scm
index 0dcb1ee991..5513878fc0 100644
--- a/gnu/packages/bittorrent.scm
+++ b/gnu/packages/bittorrent.scm
@@ -528,7 +528,6 @@ (define-public deluge
     (build-system python-build-system)
     (propagated-inputs
      `(("gtk+" ,gtk+)
-       ("librsvg" ,librsvg)
        ("libtorrent" ,libtorrent-rasterbar)
        ("python-pycairo" ,python-pycairo)
        ("python-chardet" ,python-chardet)
@@ -545,7 +544,7 @@ (define-public deluge
        ("python-twisted" ,python-twisted)
        ("python-zope-interface" ,python-zope-interface)))
     (native-inputs
-     (list intltool python-wheel))
+     (list intltool python-wheel librsvg-2.40))
     ;; TODO: Enable tests.
     ;; After "pytest-twisted" is packaged, HOME is set, and an X server is
     ;; started, some of the tests still fail.  There are likely some tests
-- 
2.34.0