From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#27120: [PATCH] gnu: graphicsmagick: Remove bundled libraries from source checkout. Date: Tue, 30 May 2017 17:08:48 +0200 Message-ID: <87k24y4c1r.fsf@gnu.org> References: <20170528202321.GA31713@jasmine> <412084db1c7a91e590784f5ec8b3941c0c416819.1496008998.git.leo@famulari.name> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37178) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dFilb-0006xu-H6 for bug-guix@gnu.org; Tue, 30 May 2017 11:09:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dFila-0005wI-8F for bug-guix@gnu.org; Tue, 30 May 2017 11:09:03 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:42746) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dFila-0005wC-4z for bug-guix@gnu.org; Tue, 30 May 2017 11:09:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dFilZ-0006vX-Vq for bug-guix@gnu.org; Tue, 30 May 2017 11:09:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <412084db1c7a91e590784f5ec8b3941c0c416819.1496008998.git.leo@famulari.name> (Leo Famulari's message of "Sun, 28 May 2017 18:03:18 -0400") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Leo Famulari Cc: 27120@debbugs.gnu.org Leo Famulari skribis: > Fixes . > > * gnu/packages/imagemagick.scm (graphicsmagick)[source]: Add a snippet > to delete bundled libraries. > [version]: Bump the package revision counter to 3. That was fast! > + (snippet > + '(begin > + ;; Remove bundled software. This reduces the size of= the > + ;; build source checkout from 177 MiB to 49 MiB. Thi= s should > + ;; not be necessary when using the GraphicsMagick re= lease > + ;; tarball, because these files are not distributed = there. > + (for-each delete-file-recursively '("bzlib" "dcraw" = "hp2xx" > + "jbig" "jp2" "jp= eg" > + "lcms" "libxml" = "png" > + "ralcgm" "tiff" = "ttf" > + "webp" "wmf" "xl= ib" > + "zlib")))))) You can even remove =E2=80=98begin=E2=80=99. LGTM, thank you! Ludo=E2=80=99.