From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MDI7Oi7uuGF9hAAAgWs5BA (envelope-from ) for ; Tue, 14 Dec 2021 20:19:10 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id Z4MeNi7uuGEiKgAA1q6Kng (envelope-from ) for ; Tue, 14 Dec 2021 19:19:10 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 24594CD91 for ; Tue, 14 Dec 2021 20:19:09 +0100 (CET) Received: from localhost ([::1]:59068 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mxDKO-0004uE-9V for larch@yhetil.org; Tue, 14 Dec 2021 14:19:08 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60094) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxDJL-0004Gk-Fq for guix-patches@gnu.org; Tue, 14 Dec 2021 14:18:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48085) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mxDJL-0004xd-6s for guix-patches@gnu.org; Tue, 14 Dec 2021 14:18:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mxDJL-00058S-3J for guix-patches@gnu.org; Tue, 14 Dec 2021 14:18:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52486] [PATCH v2 2/2] gnu: deluge: Remove reference of build-time librsvg Resent-From: Josselin Poiret Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 14 Dec 2021 19:18:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52486 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Leo Famulari Cc: 52486@debbugs.gnu.org, Josselin Poiret Received: via spool by 52486-submit@debbugs.gnu.org id=B52486.163950943919674 (code B ref 52486); Tue, 14 Dec 2021 19:18:03 +0000 Received: (at 52486) by debbugs.gnu.org; 14 Dec 2021 19:17:19 +0000 Received: from localhost ([127.0.0.1]:59629 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mxDId-00057A-2I for submit@debbugs.gnu.org; Tue, 14 Dec 2021 14:17:19 -0500 Received: from jpoiret.xyz ([206.189.101.64]:34662) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mxDIb-00056l-QJ for 52486@debbugs.gnu.org; Tue, 14 Dec 2021 14:17:18 -0500 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id EAC1C184F6F; Tue, 14 Dec 2021 19:17:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1639509437; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=70xBMrJqKL6nPr3mubE4xQxUgpqI1YeIjNCqPyoctvo=; b=NwlWppbHIixjp14M3WoCBaoG0CvhHGuCxGzdTBNJwN/YRTnv856R2nH0Un8+AlvV2tVx8Z gtYpsfTTec//WZYc7aLwI2NpwNppOL0+Avnkj2AvZ0IN22BgJr8nwR07fQZrl/YX3gyCPO 1FLtBCqXMb/qpbT8zJ21/uC0Z/G0P8050vQpx/vg1t/Ek41d06OsQ8sgIuti+EFwRMScrG 3BsB6qhZa7SD2FQvFKSN5JaE7DpqRg3mWGP4vD+VcNPmBb9H7JosDw44JXiAAeQcZ8MZnC m/Y2VtlUHjx21O0ihpd74/MjirOcUkPFjAUxdToyIQ9y+epUm9soRMe48DpWHw== Date: Tue, 14 Dec 2021 20:17:13 +0100 Message-Id: <20211214191713.18665-3-dev@jpoiret.xyz> In-Reply-To: <20211214191713.18665-1-dev@jpoiret.xyz> References: <20211214191713.18665-1-dev@jpoiret.xyz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spamd-Bar: / X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Josselin Poiret X-ACL-Warn: , Josselin Poiret via Guix-patches From: Josselin Poiret via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639509549; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=70xBMrJqKL6nPr3mubE4xQxUgpqI1YeIjNCqPyoctvo=; b=qyGTnCvJVPW13GsgjH05S8ikd6WImCfhiiDcV4WxVvrQ6N5pOa58ugGA0e67iJm2zH810v IQcHhisoIsT6lLWMruchGN6E19dhYrbqeINlYM/P5L3VkrK2DbtJHKQgT72zEBMuG0kcRB FY+YUBs2u8oX1WPJ4q3EXjzAQjSnXmGaDJTMIcoL9t5C1VzIGwOMEZCZF2OS04YFsLxf1o FEmQ7iWQMTHo4NL61zT2vNC0UfftaWH1Adgc9tD6UUczYlM+H8sFA94xiiecpL2KOCkb5Z OqwXKf5KCzdbryprDxl8u95qIcimPbbHWd3WzOXltNioBqH/Bs0jtD5Rszty0Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639509549; a=rsa-sha256; cv=none; b=oFYbp2UznAPvNsaFS2kazgK3USzbvU1wykCzCULKhR/cjFY30nTJblpQlpYHM0qajOauOT gGN1wQA0YMHNOKoHRVh8JwGbiWTO4WVoSt3P3MUYX55Xh52DuUQPsdGiC8x33NgH25zoWv 29Fh/He4XYes37Jm/I2SNRIcFCJQejoS/BBSqI+yktFYR5aYlhVZjQ6fFp2YEXjT+n/5pC AeQCnEK4YzkurharC75gHMCgFCG3zyub434NVqBf43xxlikRLXrKK+YZIEyTFZeEKgWl+Z C4X00L5zi4eEMfD+WXya1KuctakuItcz6sruzZzvzdx1GCDmDDGdyWRRBMYBlQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jpoiret.xyz header.s=dkim header.b=NwlWppbH; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.97 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jpoiret.xyz header.s=dkim header.b=NwlWppbH; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 24594CD91 X-Spam-Score: -2.97 X-Migadu-Scanner: scn0.migadu.com X-TUID: 1bw26x6xM+RY * gnu/packages/bittorrent.scm (deluge): Do it. --- gnu/packages/bittorrent.scm | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/gnu/packages/bittorrent.scm b/gnu/packages/bittorrent.scm index 6c6d01991a..2a59b94f92 100644 --- a/gnu/packages/bittorrent.scm +++ b/gnu/packages/bittorrent.scm @@ -564,9 +564,19 @@ (define-public deluge (("names='ngettext'") "names=['ngettext']")) #t)) (add-after 'install 'wrap - (lambda* (#:key outputs #:allow-other-keys) + (lambda* (#:key native-inputs inputs outputs #:allow-other-keys) (let ((out (assoc-ref outputs "out")) - (gi-typelib-path (getenv "GI_TYPELIB_PATH"))) + (gi-typelib-path + (string-join (filter + (lambda (x) (not (string-prefix? + (assoc-ref + (or native-inputs inputs) + "librsvg") + x))) + (string-split + (getenv "GI_TYPELIB_PATH") + #\:)) + ":"))) (for-each (lambda (program) (wrap-program program -- 2.34.0