gnu: imagemagick: Add 'imagemagick/stable' variant.

* gnu/packages/imagemagick.scm (imagemagick/stable): New variable.
(imagemagick): This is now an alias to 'imagemagick/stable'.
This commit is contained in:
Mark H Weaver 2021-03-27 07:16:50 -04:00
parent 7c2b840d6c
commit be3aef49ed
No known key found for this signature in database
GPG key ID: 7CEF29847562C516

View file

@ -44,7 +44,19 @@ (define-module (gnu packages imagemagick)
#:use-module (gnu packages xml)
#:use-module (gnu packages xorg))
(define-public imagemagick
;; This is a variant of the 'imagemagick' package that is not updated often.
;; It is intended to be used as a native-input at build-time only, e.g. by
;; 'gtk-doc' (via 'dblatex') for generating package documentation. This
;; allows the main 'imagemagick' package to be freely updated on the 'master'
;; branch without triggering an excessive number of rebuilds.
;;
;; Normally the grafts mechanism would be used, but there are often
;; difficulties grafting imagemagick, e.g. because upstream changes the ABI
;; between micro version updates. Also, the overwhelming majority of
;; dependencies on imagemagick are via 'gtk-doc' in 'native-inputs', where
;; grafting is ineffective. See:
;; <https://lists.gnu.org/archive/html/guix-devel/2021-03/msg00381.html>.
(define-public imagemagick/stable
(package
(name "imagemagick")
;; The 7 release series has an incompatible API, while the 6 series is still
@ -127,6 +139,9 @@ (define-public imagemagick
text, lines, polygons, ellipses and Bézier curves.")
(license (license:fsf-free "http://www.imagemagick.org/script/license.php"))))
(define-public imagemagick
imagemagick/stable)
(define-public perl-image-magick
(package
(name "perl-image-magick")