Leo Famulari <[email protected]> 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’.