From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 8GmtLwyTRWMhjwAAbAwnHQ (envelope-from ) for ; Tue, 11 Oct 2022 18:00:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id OIG8LwyTRWONFQEAauVa8A (envelope-from ) for ; Tue, 11 Oct 2022 18:00:12 +0200 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 4518219E94 for ; Tue, 11 Oct 2022 18:00:11 +0200 (CEST) Received: from localhost ([::1]:42974 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oiHft-00075p-Qd for larch@yhetil.org; Tue, 11 Oct 2022 12:00:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:32976) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiHdq-0005Ib-Dy for bug-guix@gnu.org; Tue, 11 Oct 2022 11:58:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55586) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oiHdq-0007DT-4M for bug-guix@gnu.org; Tue, 11 Oct 2022 11:58:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oiHdp-00014t-VC for bug-guix@gnu.org; Tue, 11 Oct 2022 11:58:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#58444: Make gtk use librsvg on aarch64 again. Resent-From: "pelzflorian (Florian Pelz)" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 11 Oct 2022 15:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58444 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 58444@debbugs.gnu.org Cc: Mathieu Othacehe , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Denis 'GNUtoo' Carikli X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16655038334087 (code B ref -1); Tue, 11 Oct 2022 15:58:01 +0000 Received: (at submit) by debbugs.gnu.org; 11 Oct 2022 15:57:13 +0000 Received: from localhost ([127.0.0.1]:54664 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiHd2-00013q-GF for submit@debbugs.gnu.org; Tue, 11 Oct 2022 11:57:12 -0400 Received: from lists.gnu.org ([209.51.188.17]:59218) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiHd0-00013j-EJ for submit@debbugs.gnu.org; Tue, 11 Oct 2022 11:57:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44044) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiHcy-0004pa-Dj for bug-guix@gnu.org; Tue, 11 Oct 2022 11:57:08 -0400 Received: from relay.yourmailgateway.de ([188.68.63.102]:39759) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiHcv-00077o-Ly; Tue, 11 Oct 2022 11:57:08 -0400 Received: from mors-relay-2502.netcup.net (localhost [127.0.0.1]) by mors-relay-2502.netcup.net (Postfix) with ESMTPS id 4Mn0lT0qJLz5wlF; Tue, 11 Oct 2022 17:56:53 +0200 (CEST) Received: from policy02-mors.netcup.net (unknown [46.38.225.53]) by mors-relay-2502.netcup.net (Postfix) with ESMTPS id 4Mn0lT0LNpz4yd1; Tue, 11 Oct 2022 17:56:53 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at policy02-mors.netcup.net Received: from mxe217.netcup.net (unknown [10.243.12.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by policy02-mors.netcup.net (Postfix) with ESMTPS id 4Mn0lR6w6cz8svB; Tue, 11 Oct 2022 17:56:51 +0200 (CEST) Received: from florianrock64 (ip5b40552a.dynamic.kabel-deutschland.de [91.64.85.42]) by mxe217.netcup.net (Postfix) with ESMTPSA id CB66E8F122; Tue, 11 Oct 2022 17:56:47 +0200 (CEST) From: "pelzflorian (Florian Pelz)" References: <87leqf382h.fsf@gnu.org> Date: Tue, 11 Oct 2022 17:56:47 +0200 In-Reply-To: <87leqf382h.fsf@gnu.org> (Mathieu Othacehe's message of "Mon, 19 Sep 2022 13:41:26 +0200") Message-ID: <871qrebbgg.fsf@pelzflorian.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Rspamd-Queue-Id: CB66E8F122 X-Rspamd-Server: rspamd-worker-8404 X-NC-CID: qN/Bt86RO8Yh50v5r0WZ0gbBLQ87jrI88NQA+NK8WPHz+NxszmR27aZv Received-SPF: none client-ip=188.68.63.102; envelope-from=pelzflorian@pelzflorian.de; helo=relay.yourmailgateway.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" 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=1665504011; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: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; bh=ZxwxDPLFT2mz0VxPjXvc8J6CqekiCNpRFzc8D3bCxdA=; b=oYWkIfTv8L7sLRjxyv8xotmAwxZdyw4MXm8Ym+sA0Y3XUvAKNlvWubTXtJjLZWE7FcRrkH zqvV01sCAHy+OPFMtia6znYsALRnrcDnvE8W3ss4/CwGDXJoaja3Px1Iq6TPXLbUjCjxHR tRIFdt5XR8//QbHX+b9UzqLFFwY3WnHCal3koKnR30MKVZL01D0TeWe84aSHbJNglEUD9R lUNzI/bjKsbPnFnUJgEv1MEE9qOwJsRQcySsbC/mGuAJxoxsb5hZiyl2v8Xblg19PfIR0H LC0T0ysy0ysZNn56gV+GuqUO1u89w/8E81spo5LnhiydE74o23I0TwnGAyAOkw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665504011; a=rsa-sha256; cv=none; b=d82DekPkFA3qRjbLWPuYMR3fW6fQQplltsCyjzgatnVPDr4B1CoxS+R/Kaxyhex3HcxuKW 45GqXZ0AOAMvJRqU0U596J+lb49GViUq51DB6BQgkdISB38+bCO9IveH1QVVncmTYuBxib yKA40CxnuNT8clryVpWA3ICnh5PVlURyufKmI1Om7G0sOBb6vnXgtRUNyYFoftbB8PmurK XDUIsLxoAlrxSNAdBZ+VukF5bNIUPhntnx/Dbpgta9DZc+7CbG4MGKp5uhGCAcpP/W2I5w A8CmXHKi1L0WNB1lad1GEvtLpCzD8VtSKb0aBv3p4ONujAo4PmwlQA5XmKAuEg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.09 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 4518219E94 X-Spam-Score: -2.09 X-Migadu-Scanner: scn0.migadu.com X-TUID: e0ZTu8qMFtbj --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Guix, Mathieu Othacehe writes at : > That's because `gst-plugins-bad` and `librsvg-bootstrap` both refer to > `librsvg` which depends on Rust which is only supported on x86_64-linux. This isn=E2=80=99t entirely true. Since 32a87714f4507f853824d82d9c6ca10e1405c8eb, bordeaux has substitutes for librsvg for aarch64. I wrote a patch but probably it would rebuild the world. I haven=E2=80=99t tried compiling yet. Would using (or (target-aarch64?) (target-x86-64?)) be better? --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=gnu-gtk-Use-recent-librsvg-on-aarch64-again.patch Content-Transfer-Encoding: quoted-printable From: Florian Pelz Date: Tue, 11 Oct 2022 16:57:06 +0200 Subject: [PATCH] gnu: gtk: Use recent librsvg on aarch64 again. MIME-Version: 1.0 Content-Type: text/plain; charset=3DUTF-8 Content-Transfer-Encoding: 8bit Commit 75e24eec1ed9772dbcb6737270076eca571dc4ea assumed librsvg didn=E2=80= =99t support aarch64, but it *is* supported since commit 32a87714f4507f853824d82d9c6ca10e1405c8eb. * gnu/packages/gtk.scm (gtk)[propagated-inputs]: Check if librsvg is suppor= ted. --- gnu/packages/gtk.scm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm index faf4d6f7eb..985031c7b2 100644 --- a/gnu/packages/gtk.scm +++ b/gnu/packages/gtk.scm @@ -32,6 +32,7 @@ ;;; Copyright =C2=A9 2022 Zhu Zihao ;;; Copyright =C2=A9 2022 Benjamin Slade ;;; Copyright =C2=A9 2022 Denis 'GNUtoo' Carikli +;;; Copyright =C2=A9 2022 Florian Pelz ;;; ;;; This file is part of GNU Guix. ;;; @@ -969,9 +970,11 @@ (define-public gtk+-2 (outputs '("out" "bin" "doc" "debug")) (propagated-inputs (list atk cairo - (if (target-x86-64?) - librsvg-bootstrap - librsvg-2.40) + (let ((target (or (%current-target-system) + (%current-system)))) + (if (supported-package? librsvg-bootstrap target) + librsvg-bootstrap + librsvg-2.40)) glib pango)) (inputs (list cups base-commit: 59911ae29442aba18bcb53233e793d8f3d264504 --=20 2.37.3 --=-=-= Content-Type: text/plain Regards, Florian --=-=-=--