From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: librsvg & Rust Date: Wed, 06 Mar 2019 12:05:30 +0100 Message-ID: <87bm2ol0ud.fsf_-_@gnu.org> References: <20190220161027.17460.87383@vcs0.savannah.gnu.org> <20190220161038.3F54B2040C@vcs0.savannah.gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:34698) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h1UMn-0003hH-M3 for guix-devel@gnu.org; Wed, 06 Mar 2019 06:05:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h1UMl-0007yc-LO for guix-devel@gnu.org; Wed, 06 Mar 2019 06:05:41 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:59094) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h1UMj-0007kw-JO for guix-devel@gnu.org; Wed, 06 Mar 2019 06:05:39 -0500 In-Reply-To: <20190220161038.3F54B2040C@vcs0.savannah.gnu.org> (guix-commits's message of "Wed, 20 Feb 2019 11:10:38 -0500 (EST)") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org, Marius Bakke Hello Guix! guix-commits@gnu.org skribis: > mbakke pushed a commit to branch staging > in repository guix. > > commit ec47c07d0690653be35a75b346f3c3548a3e71d4 > Author: Marius Bakke > Date: Wed Oct 24 15:26:10 2018 +0200 > > gnu: librsvg: Update to 2.44.12. >=20=20=20=20=20 > * gnu/packages/gnome.scm (librsvg): Update to 2.44.12. > [arguments]: Replace patching phases with custom variants. Delete fi= ve new > tests. > [native-inputs]: Add RUST-1.27 and RUST-1.27:CARGO. This change was bound to happen since upstream switched to Rust, but it creates a few issues. First, that adds Rust to the base graphical applications, which significantly increases build times and size: --8<---------------cut here---------------start------------->8--- $ guix size librsvg | tail -1 total: 207.2 MiB $ guix size librsvg rust | tail -1 total: 1052.9 MiB --8<---------------cut here---------------end--------------->8--- Perhaps the size issue can be somewhat mitigated by adding a =E2=80=9Clib= =E2=80=9D output to the Rust package, but even then it would probably still be an issue. Also, is the new librsvg API-compatible with the old one? IIUC it still provides a C API, right? Does guile-rsvg still work, for example? What do other distros do? Debian kept =E2=80=98librsvg-c=E2=80=99 around, = primarily so that architectures where Rust isn=E2=80=99t supported yet could still work: . Anyway, lots of questions! Thanks, Ludo=E2=80=99.