GNU bug report logs - #51845
[PATCH 0/2] Add librsvg-bootstrap

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Efraim Flashner <efraim@HIDDEN>; Keywords: patch; dated Sun, 14 Nov 2021 14:09:02 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at 51845 <at> debbugs.gnu.org:


Received: (at 51845) by debbugs.gnu.org; 6 Dec 2021 13:07:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 06 08:07:15 2021
Received: from localhost ([127.0.0.1]:60789 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1muDi7-0007pE-9i
	for submit <at> debbugs.gnu.org; Mon, 06 Dec 2021 08:07:15 -0500
Received: from flashner.co.il ([178.62.234.194]:45066)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <efraim@HIDDEN>) id 1muDi6-0007oy-Id
 for 51845 <at> debbugs.gnu.org; Mon, 06 Dec 2021 08:07:14 -0500
Received: from localhost (unknown [94.230.83.253])
 by flashner.co.il (Postfix) with ESMTPSA id 22A964020F;
 Mon,  6 Dec 2021 13:07:08 +0000 (UTC)
Date: Mon, 6 Dec 2021 15:06:18 +0200
From: Efraim Flashner <efraim@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Subject: Re: bug#51845: [PATCH 0/2] Add librsvg-bootstrap
Message-ID: <Ya4KyruleTGdYU7o@3900XT>
Mail-Followup-To: Efraim Flashner <efraim@HIDDEN>,
 Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>,
 51845 <at> debbugs.gnu.org
References: <cover.1636898737.git.efraim@HIDDEN>
 <87zgpend04.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature"; boundary="Qe+U0H0bLP+yPbEz"
Content-Disposition: inline
In-Reply-To: <87zgpend04.fsf@HIDDEN>
X-PGP-Key-ID: 0x41AAE7DCCA3D8351
X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc
X-PGP-Fingerprint: A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 51845
Cc: 51845 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


--Qe+U0H0bLP+yPbEz
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Dec 06, 2021 at 01:17:47PM +0100, Ludovic Court=C3=A8s wrote:
> Hi Efraim,
>=20
> I had completely overlooked these patches, oops!
>=20
> Efraim Flashner <efraim@HIDDEN> skribis:
>=20
> > librsvg is an input for emacs, gtk+@2 and gtk+@3. With the rust inputs
> > this leads to (unknown) rust libraries causing the rebuild of over 3000
> > packages on core-updates-frozen. Rather than hunt them down I tracked
> > down the packages which would have many rebuilds and added a copy of
> > librsvg for them to use.
>=20
> [...]
>=20
> > I'm suggesting that for gtk+@2 and gtk+@3 we use the bundled crates and
> > for the other 101 packages we continue to use our current version, where
> > we replace all of the bundled crates with our own copies, which get
> > updated more often than librsvg does.
> >
> > With our current rust tooling I don't think it'd be that easy to find
> > the ~226 crates that librsvg depends on, and it wouldn't be great to
> > lock them due to librsvg being an input for gtk2/3.
>=20
> Yes, that=E2=80=99s a problem, though Liliana is right that bundling isn=
=E2=80=99t great
> either.
>=20
> I=E2=80=99m annoyed by this whole librsvg situation.  On non-x86_64, we n=
ow
> depend on librsvg 2.40, the old C version, and guess what, it just
> works.  That has me tempted to stick with 2.40 all along because these
> Rust problems don=E2=80=99t seem to have a pleasant, or even an easy solu=
tion.
>=20
> Now, using the proposed =E2=80=98librsvg-bootstrap=E2=80=99 in GTK+ looks=
 like a lesser
> evil.
>=20
> Thoughts?

Unbundling the rust crates is the right option, but not the easy option.
With the assumption that rust-libc-0.2 is in the graph for librsvg, we
add another copy named rust-libc-0.2.101 (the current version) and a
comment that it only gets adjusted on core-updates or that it causes
XXXX package rebuilds.

On a small tangent, the work I do sometimes to try to actually have a
dependency graph with the crates would only make these easier to find,
not actually address the issue here.

I'm not sure if it'd be better to mostly copy the packages with a new
name and keep the cargo-inputs or to actually adjust the
cargo-inputs->inputs and cargo-development-inputs->native-inputs  so we
get the dependency graph from rust-libc-0.2.101 to librsvg. I'd like to
make the change but if we don't get the others changed then we
effectively really have two sets of rust crates.

If we have both cargo-inputs and inputs then the cargo-build-system
doesn't have issues with using either type with later packages, so that
might be the best option for now.

--=20
Efraim Flashner   <efraim@HIDDEN>   =D7=A8=D7=A0=D7=A9=D7=9C=D7=A4 =
=D7=9D=D7=99=D7=A8=D7=A4=D7=90
GPG key =3D A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

--Qe+U0H0bLP+yPbEz
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmGuCsgACgkQQarn3Mo9
g1GelA//SkbqRAKmwoL+6GnM4ZlsmG6xOqqk1rHt1qHk/cOHKi+cbx4Xfcb1nj7I
zSotDjmlf+wPZI3wG1ljw91Y+RSvvnlMg6Y0pqFSO/ERDaapaei2EvNVqggZmbC5
BxsqMzDqd1UsCrPJNj71ckcnreRmF2+/TBIO6uswdGyavid6TP9F8uy/VJcjXeJN
vWGBXiP1oAjLzli7AO1ya7sUuZdsPdGUIUBwJbqV5/9Na0WvdR27has2UcdNKoRV
vc+KcKnwX2c32zhnfcwQomT/8JcvND/Ip0iXggzqDrJtFmpBEhxJ0r5froSZme9+
gPp/1KOQ8dwHvD1DHlCj4MgCneXkkGJNz5ZTieDgaj6VO1emGS/XBl8cX/i4owrj
+aosRoVE4KhVsRnlVEjsBcrh6YxZDK4U6m/i7/rU0JmISeG6+tZghvQjHQdq5J/m
tnEnwBmENGvAlQXxTPimSzfyQKScbs47nmDpkw9ZxWC4rQC3rj4nEgk/l/CJuX0E
e6+XuYFJFJv4ZlfwvMSmNx08z1uijoCibOp2GwGF91Of9Z3CFZ9VBf1yqGIU22bA
jP8IpWXhkArQXgFuNsMPf1MQCqWlb7zxU88tNww1AMtSig/I8oUkj0Yo93T0y/RD
mglhoJDPamVxUz7clXUoEGxg6G/GbFXwnJd4pQmvTOcBcPupwW0=
=Nn2l
-----END PGP SIGNATURE-----

--Qe+U0H0bLP+yPbEz--




Information forwarded to guix-patches@HIDDEN:
bug#51845; Package guix-patches. Full text available.

Message received at 51845 <at> debbugs.gnu.org:


Received: (at 51845) by debbugs.gnu.org; 6 Dec 2021 12:17:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 06 07:17:58 2021
Received: from localhost ([127.0.0.1]:60694 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1muCwP-000248-V7
	for submit <at> debbugs.gnu.org; Mon, 06 Dec 2021 07:17:58 -0500
Received: from eggs.gnu.org ([209.51.188.92]:43394)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1muCwN-00023s-QQ
 for 51845 <at> debbugs.gnu.org; Mon, 06 Dec 2021 07:17:56 -0500
Received: from [2001:470:142:3::e] (port=48476 helo=fencepost.gnu.org)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1muCwI-000409-GW; Mon, 06 Dec 2021 07:17:50 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To:
 From; bh=uZkWPsRuXet/4ITA7+Uht3uQL/hOaKq7T2b0cuThs+M=; b=A2otJuQjsnFR8a4FrvZu
 ukYR7eGe7MPKg+z8HaOaqyg3RIsOLr/Gw6XCerPIGtxG94lXvaH0QIfECWjcPCgaSEI7lH/C29NIz
 /1H0Cif2WkRLFrEXHKB4MERq5o24TwUKJvKT7MZlUKqFcm2o7Ad69To90Fak/l5NlVCKIJkAitZY4
 fnzIKy2PlIuXa4LF1zonFeJjRPGvbodLE1CmkLbuM6TRo5Kzcvhql5eXjLHokV2bOQd5yPKkS+w0t
 8gkhFTbJ5x5wvVzqKTO7+izlbcjtnH61BFBg6XJFvJd6MTHtaXOk/ilhfybhnojIuEs3+kSwlOEnA
 +npyLY07NNJ9lg==;
Received: from [193.50.110.120] (port=41678 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1muCwI-0003I1-7y; Mon, 06 Dec 2021 07:17:50 -0500
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Efraim Flashner <efraim@HIDDEN>
Subject: Re: bug#51845: [PATCH 0/2] Add librsvg-bootstrap
References: <cover.1636898737.git.efraim@HIDDEN>
Date: Mon, 06 Dec 2021 13:17:47 +0100
In-Reply-To: <cover.1636898737.git.efraim@HIDDEN> (Efraim Flashner's
 message of "Sun, 14 Nov 2021 16:07:47 +0200")
Message-ID: <87zgpend04.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 51845
Cc: 51845 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi Efraim,

I had completely overlooked these patches, oops!

Efraim Flashner <efraim@HIDDEN> skribis:

> librsvg is an input for emacs, gtk+@2 and gtk+@3. With the rust inputs
> this leads to (unknown) rust libraries causing the rebuild of over 3000
> packages on core-updates-frozen. Rather than hunt them down I tracked
> down the packages which would have many rebuilds and added a copy of
> librsvg for them to use.

[...]

> I'm suggesting that for gtk+@2 and gtk+@3 we use the bundled crates and
> for the other 101 packages we continue to use our current version, where
> we replace all of the bundled crates with our own copies, which get
> updated more often than librsvg does.
>
> With our current rust tooling I don't think it'd be that easy to find
> the ~226 crates that librsvg depends on, and it wouldn't be great to
> lock them due to librsvg being an input for gtk2/3.

Yes, that=E2=80=99s a problem, though Liliana is right that bundling isn=E2=
=80=99t great
either.

I=E2=80=99m annoyed by this whole librsvg situation.  On non-x86_64, we now
depend on librsvg 2.40, the old C version, and guess what, it just
works.  That has me tempted to stick with 2.40 all along because these
Rust problems don=E2=80=99t seem to have a pleasant, or even an easy soluti=
on.

Now, using the proposed =E2=80=98librsvg-bootstrap=E2=80=99 in GTK+ looks l=
ike a lesser
evil.

Thoughts?

Ludo=E2=80=99.




Information forwarded to guix-patches@HIDDEN:
bug#51845; Package guix-patches. Full text available.

Message received at 51845 <at> debbugs.gnu.org:


Received: (at 51845) by debbugs.gnu.org; 14 Nov 2021 19:05:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 14 14:05:49 2021
Received: from localhost ([127.0.0.1]:51722 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mmKp3-0004v5-Ma
	for submit <at> debbugs.gnu.org; Sun, 14 Nov 2021 14:05:49 -0500
Received: from mail-wm1-f65.google.com ([209.85.128.65]:35332)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <liliana.prikler@HIDDEN>) id 1mmKp2-0004us-06
 for 51845 <at> debbugs.gnu.org; Sun, 14 Nov 2021 14:05:48 -0500
Received: by mail-wm1-f65.google.com with SMTP id
 77-20020a1c0450000000b0033123de3425so14080882wme.0
 for <51845 <at> debbugs.gnu.org>; Sun, 14 Nov 2021 11:05:48 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=message-id:subject:from:to:cc:date:in-reply-to:references
 :user-agent:mime-version:content-transfer-encoding;
 bh=0xP6lSOtBHyfb6IuswYu9DbLhUF7tCbl8+rtttSjPBQ=;
 b=S3lRCuv+1qMMCc4KTgPD5hxKj06j90fixjJQrHXiB0zhX9Tl73usQwuasEMP0DV2sx
 +dA7elR0sqjD5f62C4+RwLIcv/Y8yLNERudj4Hew75Cq1wZ0xGFYzA0pYS1vsUApCPBJ
 RN7dZOqAOQX5/jysrfQWCep2obr2JhpV2deFSJCSJPiHxRhDogCgsTWb1OrMUW2d0jbf
 G0vwjq6gLDEK+e5QHBWxfWQBn6fw0668pt5bEZjaGEL6Db7Af/onuEwsCX6g0+n3GksC
 jLiBUoQ6bIe9heCv2yD2CarCEy8dO2ri24nYjEgiDpNCoLXXVbNtIJI4lsy7hO0i4P8U
 kNHw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to
 :references:user-agent:mime-version:content-transfer-encoding;
 bh=0xP6lSOtBHyfb6IuswYu9DbLhUF7tCbl8+rtttSjPBQ=;
 b=CvXj8Ebj8wtR/AL6m0sRrfzNBtNUzsFfHf+cqwuzUMsm7+UH1Kec8mAl2UXEOCb+31
 sdbyY2yvVV19CcuJeSj1tehNNHA2yRkwSRcO825RdVNiDR2YXFLtk5ufsVw1xIU7KNG4
 TdSN0A5063abVSrVVrGbYU/wmqunjtNrou+llNUjkHPcHzPZkQu7lKoXh5xYAhFGHFxH
 wiovqSkjWNh4OEzH7cy6nPOpLU2QtD0kVNIYHBAxZ7F2WR7XpSCmURlloDvGKg0MHezv
 3M01n1OQmpDkldTfN1EoE1prq+DSmCEYeqKER1V8QXwSKVJOMpZtw2utKZErkOJ6pndP
 1U1Q==
X-Gm-Message-State: AOAM53073DlPrC+PwdgqyRD5+DVuYBionqttzRS2P9DPQuWJqDQN3Z6i
 DKfDZjerYQU8M9MdTw41FeIeOfR5FrNqZw==
X-Google-Smtp-Source: ABdhPJx5GPYI/sPHXnmGlO1JikkouVL5UUfTy3Pd/vWUhMSBMf1EAnQCApjx5qU+itbR8UF/1w3W6w==
X-Received: by 2002:a05:600c:2f01:: with SMTP id
 r1mr36553277wmn.153.1636916741955; 
 Sun, 14 Nov 2021 11:05:41 -0800 (PST)
Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at.
 [85.127.52.93])
 by smtp.gmail.com with ESMTPSA id c16sm11635361wrx.96.2021.11.14.11.05.32
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 14 Nov 2021 11:05:38 -0800 (PST)
Message-ID: <49868b918eb291fd2761c48c7617fecd6bb98764.camel@HIDDEN>
Subject: Re: [PATCH 0/2] Add librsvg-bootstrap
From: Liliana Marie Prikler <liliana.prikler@HIDDEN>
To: Efraim Flashner <efraim@HIDDEN>
Date: Sun, 14 Nov 2021 20:05:30 +0100
In-Reply-To: <YZFQRR5PDcnazL04@3900XT>
References: <cover.1636898737.git.efraim@HIDDEN>
 <68012880ef968bf2d5ab3d7e967b06bafb9ea10f.camel@HIDDEN>
 <YZFQRR5PDcnazL04@3900XT>
Content-Type: text/plain; charset="UTF-8"
User-Agent: Evolution 3.34.2 
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 51845
Cc: 51845 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi,

Am Sonntag, den 14.11.2021, 20:07 +0200 schrieb Efraim Flashner:
> > As a temporary resolution to the rebuild issue, we could pin the
> > dependencies of librsvg to some specific versions and only bump 
> > them something awful happens.  I'm not sure whether librsvg
> > exposes any of the Rust nastiness to its dependencies, ideally
> > hoping that it would not.
> 
> I don't believe librsvg exposes any rust-y stuff.
That sounds like a good start for once.

> > WDYT?
> 
> (ins)efraim@3900XT /tmp/librsvg-2.50.7$ ls vendor/ | wc -l
> 226
> 
> There are 226 crates that upstream bundles with their source. I
> suppose we could pare it down to about 200 by careful pruning but
> it's part of librsvg and not going away.
Well, I'd suggest snippeting them away, but that's a different topic.

> (ins)efraim@3900XT ~/workspace/guix-core-updates$ git grep \,librsvg
> | wc -l
> 103
I'd hazard a guess that most if not all of these 103 packages are
themselves gtk-adjacent, so what really is the issue we're solving
here?  What is the point of maintaining an extra version for 101 of
them when a potentially vulnerable GTK sits right next to them?

> I'm suggesting that for gtk+@2 and gtk+@3 we use the bundled crates
> and for the other 101 packages we continue to use our current
> version, where we replace all of the bundled crates with our own
> copies, which get updated more often than librsvg does.
> 
> With our current rust tooling I don't think it'd be that easy to find
> the ~226 crates that librsvg depends on, and it wouldn't be great to
> lock them due to librsvg being an input for gtk2/3.
Said input exists due to gdk-pixbuf+svg, with the +svg part being
largely optional – the most common failure mode of it not being
included are broken button textures, which we could fix by pre-
rendering images with a suitable tool, such as inkscape.  We could
easily do a minimal gtk[+]? without it.

As for the lock, why can't we?  gtk+ is already core-updates material,
so it stands to reason that anything causing it to rebuild is too. 
Rather than push down blobs to the users because we can't deal with
Rust, we should fix Rust or make it go away from the build.

WDYT?





Information forwarded to guix-patches@HIDDEN:
bug#51845; Package guix-patches. Full text available.

Message received at 51845 <at> debbugs.gnu.org:


Received: (at 51845) by debbugs.gnu.org; 14 Nov 2021 18:07:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 14 13:07:43 2021
Received: from localhost ([127.0.0.1]:51603 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mmJuo-00015V-ND
	for submit <at> debbugs.gnu.org; Sun, 14 Nov 2021 13:07:43 -0500
Received: from flashner.co.il ([178.62.234.194]:43468)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <efraim@HIDDEN>) id 1mmJum-00015D-Li
 for 51845 <at> debbugs.gnu.org; Sun, 14 Nov 2021 13:07:41 -0500
Received: from localhost (unknown [141.226.12.213])
 by flashner.co.il (Postfix) with ESMTPSA id 6EF59401F6;
 Sun, 14 Nov 2021 18:07:34 +0000 (UTC)
Date: Sun, 14 Nov 2021 20:07:01 +0200
From: Efraim Flashner <efraim@HIDDEN>
To: Liliana Marie Prikler <liliana.prikler@HIDDEN>
Subject: Re: [PATCH 0/2] Add librsvg-bootstrap
Message-ID: <YZFQRR5PDcnazL04@3900XT>
Mail-Followup-To: Efraim Flashner <efraim@HIDDEN>,
 Liliana Marie Prikler <liliana.prikler@HIDDEN>,
 51845 <at> debbugs.gnu.org
References: <cover.1636898737.git.efraim@HIDDEN>
 <68012880ef968bf2d5ab3d7e967b06bafb9ea10f.camel@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature"; boundary="XDLRaNWx0F5Uivxv"
Content-Disposition: inline
In-Reply-To: <68012880ef968bf2d5ab3d7e967b06bafb9ea10f.camel@HIDDEN>
X-PGP-Key-ID: 0x41AAE7DCCA3D8351
X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc
X-PGP-Fingerprint: A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 51845
Cc: 51845 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


--XDLRaNWx0F5Uivxv
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Nov 14, 2021 at 06:27:02PM +0100, Liliana Marie Prikler wrote:
> Hi,
>=20
> Am Sonntag, den 14.11.2021, 16:07 +0200 schrieb Efraim Flashner:
> > librsvg is an input for emacs, gtk+@2 and gtk+@3. With the rust
> > inputs this leads to (unknown) rust libraries causing the rebuild of
> > over 3000 packages on core-updates-frozen. Rather than hunt them down
> > I tracked down the packages which would have many rebuilds and added
> > a copy of librsvg for them to use.
> In my opinion, one of the selling points of Guix is that of
> bootstrappability.  I don't think adding big blobs to Emacs of all
> things is a great way of delivering on that promise.  I think we ought
> to rather "invest" in alternatives to Rust and Rust-locked libraries or
> make Rust packaging itself sane (if it can at all).
>=20
> I think librsvg is optional already and people who want to save on
> compilation time can decide to replace it with e.g. GNU hello using the
> --input option.  In the similar case of mozjs, a replacement with
> duktape is discussed on guix-devel, at least for polkit.

It seems I was wrong about emacs; both emacs-minimal and emacs-no-x are
built without librsvg.

> As a temporary resolution to the rebuild issue, we could pin the
> dependencies of librsvg to some specific versions and only bump them
> when something awful happens.  I'm not sure whether librsvg exposes any
> of the Rust nastiness to its dependencies, ideally hoping that it would
> not.

I don't believe librsvg exposes any rust-y stuff.

> WDYT?

(ins)efraim@3900XT /tmp/librsvg-2.50.7$ ls vendor/ | wc -l
226

There are 226 crates that upstream bundles with their source. I suppose
we could pare it down to about 200 by careful pruning but it's part of
librsvg and not going away.

(ins)efraim@3900XT ~/workspace/guix-core-updates$ git grep \,librsvg | wc -l
103

I'm suggesting that for gtk+@2 and gtk+@3 we use the bundled crates and
for the other 101 packages we continue to use our current version, where
we replace all of the bundled crates with our own copies, which get
updated more often than librsvg does.

With our current rust tooling I don't think it'd be that easy to find
the ~226 crates that librsvg depends on, and it wouldn't be great to
lock them due to librsvg being an input for gtk2/3.

--=20
Efraim Flashner   <efraim@HIDDEN>   =D7=A8=D7=A0=D7=A9=D7=9C=D7=A4 =
=D7=9D=D7=99=D7=A8=D7=A4=D7=90
GPG key =3D A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

--XDLRaNWx0F5Uivxv
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmGRUEIACgkQQarn3Mo9
g1E9cg//ba+VZ+T1B8kaxKqJ6mmgGwo/32aXUwh48K1Z5IJx3zUAC7mhWs9yE/gI
n+D9ea+JbbExwbO8+LYUsmp4LgCYoVDk3Cp91+kf7n1K3Jkxd/JV712tngyisX0o
u4F1CZ8KfSosRhoS05ryQugvpm1KBuNPV0f6mJ2GmdePXFD9IA+bjABBCya5/hNP
zOkO5EqlhYuVwbm53Xj88nYxnLGM7jxoXQM+08TwVjIgEwR3dFOruD9mtVF6kb9j
K7Cdmc+nmtH2rsv+YnUzL3+Irqa9RzubTwBeUJCFDAYU8DylBGD6lsNE27diQFmJ
f5aSYpqLMiXK1nIUJn4IRGpnAE0soBy3tabq+m0IZiM9pxXOCPCNlvyKEiRgKnbs
rFmPUT2h06AFuxz1Y3yDCI0jggHr1WxMNjPHVOqBbtiK3YbgJgAMXS19FIkoGj/g
ys+vbFjeBK1lA2vSA7HrdmtGgTeAJyzZ8yA8JbKmo6NcX5nOIvKCMn9QZDA+HKwE
+cydZ/4Kyztv+dcvnBQST8Ffi1Ft3dUdeOEdbF0XrN7vkWWuDjkQIYvLGOelvsNU
emZr4iN0S8yEFSC6Map/2BvM/GcI5/FdSoSgBaNImamw3cmYXqTrVtwTO2PWyawp
H8xru2poBiLHWjMuOc+OM4TVg3Ue4RtAQWeUhy9eQOhn4qE7trk=
=XF6T
-----END PGP SIGNATURE-----

--XDLRaNWx0F5Uivxv--




Information forwarded to guix-patches@HIDDEN:
bug#51845; Package guix-patches. Full text available.

Message received at 51845 <at> debbugs.gnu.org:


Received: (at 51845) by debbugs.gnu.org; 14 Nov 2021 17:27:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 14 12:27:13 2021
Received: from localhost ([127.0.0.1]:51495 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mmJHd-0008Mu-3f
	for submit <at> debbugs.gnu.org; Sun, 14 Nov 2021 12:27:13 -0500
Received: from mail-wr1-f66.google.com ([209.85.221.66]:38566)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <liliana.prikler@HIDDEN>) id 1mmJHa-0008Mf-TI
 for 51845 <at> debbugs.gnu.org; Sun, 14 Nov 2021 12:27:11 -0500
Received: by mail-wr1-f66.google.com with SMTP id u18so25859302wrg.5
 for <51845 <at> debbugs.gnu.org>; Sun, 14 Nov 2021 09:27:10 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=message-id:subject:from:to:date:in-reply-to:references:user-agent
 :mime-version:content-transfer-encoding;
 bh=j6y4Lz5rXkP3ifHJSFS0m8hH9VC3n0IXLSHKpXqArAE=;
 b=mRlSKX7OGI+5kbC0BHyQG9rcxeLuaS6WZU5gyDdvVFkl0ETuCOIlpAQSJFXI3+J5Wh
 gIoaL5P+J+ONJjVNa4w1wuufU8ApTrf7s1VTCnakjVQHXc/sy7MIm94XoOF/GLCorlO/
 CqcXG1438NBz0uGihAUD8aM4t7GaNehq1aRGKAx/4XgzsvT+VClANnVP4iA+pgUlE+Lv
 A/VHQ0QeFixnwasfKALESN4SV8q7MFR2B++lMrnbQ2+rPZ0gAUk3EV9QRDOKisONVEdD
 jcHoB9RR6xX56OWiMrasheOZkV4TYXuD+vZKXGl0tWqFqO5ZupdECwv/gBfPkdety0th
 SzCQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to
 :references:user-agent:mime-version:content-transfer-encoding;
 bh=j6y4Lz5rXkP3ifHJSFS0m8hH9VC3n0IXLSHKpXqArAE=;
 b=tHif0HuTKbettS4A+YwNa+ja0tAsoIkfdGm3Eaeqzlm7WhioOtO0OwLVlEtPI39jhy
 7xoLgzBScAxNSQ+WJI/ZZGNZkCayXMdwRuzgFs9g+WYr6m2MhDJaTCxj3wOCvJOSqYt2
 6fIe/cMMwQqjsG88Mnmnb6GTHt4kR/q7ATvGPLLPVAUr1cOgFTkQEnn7aHLwubdOxn8D
 j66gSE9wrwiwY8AvqoFIOtvxPH6MumZD8peXoXbnMNNp/hTYcUHC/kspHw2Cbk3wrNfe
 vL4w/hQPLxVv2EGZrvNtd1K/9IUGV01rwbU7GmaEKzF+O3pb4ANJLqM3vPQlxFr+sHYX
 WmPA==
X-Gm-Message-State: AOAM531aEk9h4Q093S6VdQfytQ3JiuxuC5oYR5qTm/z1qbYfgyZrzoUn
 tAS0QEeGXrKlUoPCjvVAemg=
X-Google-Smtp-Source: ABdhPJzwR8BcjtiEs5Zw4AGwb4hP2CRiGi+OPM+EXqTLbnKv6dZRbWQ9eSWo2oXL90vzR62TdT25JA==
X-Received: by 2002:adf:f209:: with SMTP id p9mr38470016wro.191.1636910824971; 
 Sun, 14 Nov 2021 09:27:04 -0800 (PST)
Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at.
 [85.127.52.93])
 by smtp.gmail.com with ESMTPSA id r17sm20103218wmq.5.2021.11.14.09.27.03
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 14 Nov 2021 09:27:04 -0800 (PST)
Message-ID: <68012880ef968bf2d5ab3d7e967b06bafb9ea10f.camel@HIDDEN>
Subject: Re: [PATCH 0/2] Add librsvg-bootstrap
From: Liliana Marie Prikler <liliana.prikler@HIDDEN>
To: Efraim Flashner <efraim@HIDDEN>, 51845 <at> debbugs.gnu.org
Date: Sun, 14 Nov 2021 18:27:02 +0100
In-Reply-To: <cover.1636898737.git.efraim@HIDDEN>
References: <cover.1636898737.git.efraim@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
User-Agent: Evolution 3.34.2 
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 51845
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi,

Am Sonntag, den 14.11.2021, 16:07 +0200 schrieb Efraim Flashner:
> librsvg is an input for emacs, gtk+@2 and gtk+@3. With the rust
> inputs this leads to (unknown) rust libraries causing the rebuild of
> over 3000 packages on core-updates-frozen. Rather than hunt them down
> I tracked down the packages which would have many rebuilds and added
> a copy of librsvg for them to use.
In my opinion, one of the selling points of Guix is that of
bootstrappability.  I don't think adding big blobs to Emacs of all
things is a great way of delivering on that promise.  I think we ought
to rather "invest" in alternatives to Rust and Rust-locked libraries or
make Rust packaging itself sane (if it can at all).

I think librsvg is optional already and people who want to save on
compilation time can decide to replace it with e.g. GNU hello using the
--input option.  In the similar case of mozjs, a replacement with
duktape is discussed on guix-devel, at least for polkit.

As a temporary resolution to the rebuild issue, we could pin the
dependencies of librsvg to some specific versions and only bump them
when something awful happens.  I'm not sure whether librsvg exposes any
of the Rust nastiness to its dependencies, ideally hoping that it would
not.

WDYT?





Information forwarded to guix-patches@HIDDEN:
bug#51845; Package guix-patches. Full text available.

Message received at 51845 <at> debbugs.gnu.org:


Received: (at 51845) by debbugs.gnu.org; 14 Nov 2021 14:15:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 14 09:15:52 2021
Received: from localhost ([127.0.0.1]:49520 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mmGIS-0006tO-N0
	for submit <at> debbugs.gnu.org; Sun, 14 Nov 2021 09:15:52 -0500
Received: from flashner.co.il ([178.62.234.194]:42818)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <efraim@HIDDEN>) id 1mmGIS-0006tD-0Z
 for 51845 <at> debbugs.gnu.org; Sun, 14 Nov 2021 09:15:52 -0500
Received: from localhost (unknown [141.226.12.213])
 by flashner.co.il (Postfix) with ESMTPSA id 3E82D40566;
 Sun, 14 Nov 2021 14:15:46 +0000 (UTC)
From: Efraim Flashner <efraim@HIDDEN>
To: 51845 <at> debbugs.gnu.org
Subject: [PATCH 2/2] gnu: Use librsvg-bootstrap.
Date: Sun, 14 Nov 2021 16:14:40 +0200
Message-Id: <e44665cc7de39ca1228876b741feca4f5b1b7434.1636898737.git.efraim@HIDDEN>
X-Mailer: git-send-email 2.33.1
In-Reply-To: <cover.1636898737.git.efraim@HIDDEN>
References: <cover.1636898737.git.efraim@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 51845
Cc: Efraim Flashner <efraim@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/emacs.scm (inputs): Use librsvg-bootstrap.
* gnu/pacakges/gtk.scm (gtk+-2, gtk+)[propagated-inputs]: Same.
---
 gnu/packages/emacs.scm | 2 +-
 gnu/packages/gtk.scm   | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 734f3dfaa3..3a5215b31a 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -269,7 +269,7 @@ (define* (emacs-byte-compile-directory dir)
        ;; supported well on every architecture yet.
        ,@(if (string-prefix? "x86_64" (or (%current-target-system)
                                           (%current-system)))
-             `(("librsvg" ,librsvg))
+             `(("librsvg" ,librsvg-bootstrap))
              '())
        ("libxpm" ,libxpm)
        ("libxml2" ,libxml2)
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 199ca13981..4dfeba4b7f 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -867,7 +867,7 @@ (define-public gtk+-2
        ;; Rust is not supported well on every architecture yet.
        ("gdk-pixbuf" ,(if (string-prefix? "x86_64" (or (%current-target-system)
                                                        (%current-system)))
-                          librsvg
+                          librsvg-bootstrap
                           gdk-pixbuf))
        ("glib" ,glib)
        ("pango" ,pango)))
@@ -969,7 +969,7 @@ (define-public gtk+
        ;; SVG support is optional and requires librsvg, which pulls in rust.
        ;; Rust is not supported well on every architecture yet.
        ("gdk-pixbuf" ,(if (target-x86-64?)
-                          librsvg
+                          librsvg-bootstrap
                           gdk-pixbuf))
        ("glib" ,glib)
        ("libcloudproviders" ,libcloudproviders-minimal)
-- 
2.33.1





Information forwarded to guix-patches@HIDDEN:
bug#51845; Package guix-patches. Full text available.

Message received at 51845 <at> debbugs.gnu.org:


Received: (at 51845) by debbugs.gnu.org; 14 Nov 2021 14:15:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 14 09:15:22 2021
Received: from localhost ([127.0.0.1]:49517 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mmGHy-0006sh-D6
	for submit <at> debbugs.gnu.org; Sun, 14 Nov 2021 09:15:22 -0500
Received: from flashner.co.il ([178.62.234.194]:42812)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <efraim@HIDDEN>) id 1mmGHw-0006sP-B7
 for 51845 <at> debbugs.gnu.org; Sun, 14 Nov 2021 09:15:20 -0500
Received: from localhost (unknown [141.226.12.213])
 by flashner.co.il (Postfix) with ESMTPSA id D4D9040566;
 Sun, 14 Nov 2021 14:15:13 +0000 (UTC)
From: Efraim Flashner <efraim@HIDDEN>
To: 51845 <at> debbugs.gnu.org
Subject: [PATCH 1/2] gnu: Add librsvg-bootstrap.
Date: Sun, 14 Nov 2021 16:14:39 +0200
Message-Id: <4a1df5a86f181bcc2086b1b407dbeaba4d01ba88.1636898737.git.efraim@HIDDEN>
X-Mailer: git-send-email 2.33.1
In-Reply-To: <cover.1636898737.git.efraim@HIDDEN>
References: <cover.1636898737.git.efraim@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 51845
Cc: Efraim Flashner <efraim@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/gnome.scm (librsvg-bootstrap): New variable.
---
 gnu/packages/gnome.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 924d1326cc..a0436a4edb 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -3580,6 +3580,29 @@ (define-public librsvg
     (home-page "https://wiki.gnome.org/LibRsvg")
     (license license:lgpl2.1+)))
 
+;; This copy of librsvg uses the bundled rust libraries. It is useful for
+;; packages which have too many dependencies to be rebuilt as frequently
+;; as the rust inputs are updated.
+(define-public librsvg-bootstrap
+  (package
+    (inherit librsvg)
+    (name "librsvg")
+    (version "2.50.7")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://gnome/sources/librsvg/"
+                                  (version-major+minor version)  "/"
+                                  "librsvg-" version ".tar.xz"))
+              (sha256
+               (base32
+                "1g3f8byg5w08fx1bka12mmpl59v6a4q2p827w6m2la6mijq63yzz"))))
+    (arguments
+     (substitute-keyword-arguments (package-arguments librsvg)
+       ((#:vendor-dir _ "vendor") "vendor")
+       ((#:cargo-inputs _) '())
+       ((#:cargo-development-inputs _) '())))
+    (properties '((hidden? . #t)))))
+
 (define-public libidl
   (package
     (name "libidl")
-- 
2.33.1





Information forwarded to guix-patches@HIDDEN:
bug#51845; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 14 Nov 2021 14:08:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 14 09:08:56 2021
Received: from localhost ([127.0.0.1]:49512 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mmGBk-0006iE-Nu
	for submit <at> debbugs.gnu.org; Sun, 14 Nov 2021 09:08:56 -0500
Received: from lists.gnu.org ([209.51.188.17]:58158)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <efraim@HIDDEN>) id 1mmGBi-0006i2-Lc
 for submit <at> debbugs.gnu.org; Sun, 14 Nov 2021 09:08:54 -0500
Received: from eggs.gnu.org ([209.51.188.92]:47142)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <efraim@HIDDEN>)
 id 1mmGBi-0004AZ-Gy
 for guix-patches@HIDDEN; Sun, 14 Nov 2021 09:08:54 -0500
Received: from flashner.co.il ([178.62.234.194]:60956)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <efraim@HIDDEN>) id 1mmGBh-0002i7-15
 for guix-patches@HIDDEN; Sun, 14 Nov 2021 09:08:54 -0500
Received: from localhost (unknown [141.226.12.213])
 by flashner.co.il (Postfix) with ESMTPSA id CD3D540178;
 Sun, 14 Nov 2021 14:08:20 +0000 (UTC)
From: Efraim Flashner <efraim@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH 0/2] Add librsvg-bootstrap
Date: Sun, 14 Nov 2021 16:07:47 +0200
Message-Id: <cover.1636898737.git.efraim@HIDDEN>
X-Mailer: git-send-email 2.33.1
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=178.62.234.194;
 envelope-from=efraim@HIDDEN; helo=flashner.co.il
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, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
Cc: Efraim Flashner <efraim@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

librsvg is an input for emacs, gtk+@2 and gtk+@3. With the rust inputs
this leads to (unknown) rust libraries causing the rebuild of over 3000
packages on core-updates-frozen. Rather than hunt them down I tracked
down the packages which would have many rebuilds and added a copy of
librsvg for them to use.

Efraim Flashner (2):
  Add librsvg-bootstrap.
  gnu: Use librsvg-bootstrap.

 gnu/packages/emacs.scm |  2 +-
 gnu/packages/gnome.scm | 23 +++++++++++++++++++++++
 gnu/packages/gtk.scm   |  4 ++--
 3 files changed, 26 insertions(+), 3 deletions(-)


base-commit: 75b5ad6aa3b55b2cbd7f333411cbc9e21ab1e186
-- 
2.33.1





Acknowledgement sent to Efraim Flashner <efraim@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#51845; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 6 Dec 2021 13:15:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.