mirror of
git://git.savannah.gnu.org/guix.git
synced 2023-12-14 03:33:07 +01:00
gnu: graphicsmagick: Remove bundled libraries from source checkout.
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.
This commit is contained in:
parent
ed2b7cb2f9
commit
6e82fb2c27
1 changed files with 14 additions and 2 deletions
|
@ -163,7 +163,7 @@ script.")
|
|||
|
||||
(define-public graphicsmagick
|
||||
(let ((changeset "6156b4c2992d855ece6079653b3b93c3229fc4b8") ; fix CVE-2017-6335
|
||||
(revision "2"))
|
||||
(revision "3"))
|
||||
(package
|
||||
(name "graphicsmagick")
|
||||
(version (string-append "1.3.25-" revision "."
|
||||
|
@ -180,7 +180,19 @@ script.")
|
|||
;; "/GraphicsMagick-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"08yfsn8mrqkwpax43vv1crfr55rcf004wwpzsinr5c6m0asqr08b"))))
|
||||
"08yfsn8mrqkwpax43vv1crfr55rcf004wwpzsinr5c6m0asqr08b"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
;; Remove bundled software. This reduces the size of the built
|
||||
;; 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")))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:configure-flags
|
||||
|
|
Loading…
Reference in a new issue