unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Leo Famulari <leo@famulari.name>
Cc: 27120@debbugs.gnu.org
Subject: bug#27120: [PATCH] gnu: graphicsmagick: Remove bundled libraries from source checkout.
Date: Tue, 30 May 2017 17:08:48 +0200	[thread overview]
Message-ID: <87k24y4c1r.fsf@gnu.org> (raw)
In-Reply-To: <412084db1c7a91e590784f5ec8b3941c0c416819.1496008998.git.leo@famulari.name> (Leo Famulari's message of "Sun, 28 May 2017 18:03:18 -0400")

Leo Famulari <leo@famulari.name> skribis:

> Fixes <https://bugs.gnu.org/27120>.
>
> * 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. This should
> +                    ;; not be necessary when using the GraphicsMagick release
> +                    ;; tarball, because these files are not distributed there.
> +                    (for-each delete-file-recursively '("bzlib" "dcraw" "hp2xx"
> +                                                        "jbig" "jp2" "jpeg"
> +                                                        "lcms" "libxml" "png"
> +                                                        "ralcgm" "tiff" "ttf"
> +                                                        "webp" "wmf" "xlib"
> +                                                        "zlib"))))))

You can even remove ‘begin’.

LGTM, thank you!

Ludo’.

      reply	other threads:[~2017-05-30 15:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-28 20:23 bug#27120: GraphicsMagick bundles libtiff, libpng, zlib, libxml2, and more Leo Famulari
2017-05-28 21:26 ` Leo Famulari
2017-05-28 22:03 ` bug#27120: [PATCH] gnu: graphicsmagick: Remove bundled libraries from source checkout Leo Famulari
2017-05-30 15:08   ` Ludovic Courtès [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k24y4c1r.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=27120@debbugs.gnu.org \
    --cc=leo@famulari.name \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).