gnu: ghostscript: Replace with the "fixed" Ghostscript.

* gnu/packages/ghostscript.scm (ghostscript)[replacement]: New field.
(ghostscript/fixed)[version]: Remove, to comply with the same-length
constraint of grafts.
This commit is contained in:
Ludovic Courtès 2019-08-25 21:32:06 +02:00
parent 466ff55c72
commit 0b859092a7
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 6 additions and 1 deletions

View File

@ -145,6 +145,12 @@ printing, and psresize, for adjusting page sizes.")
(package (package
(name "ghostscript") (name "ghostscript")
(version "9.26") (version "9.26")
;; The problems addressed by GHOSTSCRIPT/FIXED are not security-related,
;; but they have a significant impact on usability, hence this graft.
;; TODO: Ungraft on next update cycle.
(replacement ghostscript/fixed)
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
@ -274,7 +280,6 @@ output file formats and printers.")
;; rendering issues described in <https://issues.guix.gnu.org/issue/34877>. ;; rendering issues described in <https://issues.guix.gnu.org/issue/34877>.
(package/inherit (package/inherit
ghostscript ghostscript
(version (string-append (package-version ghostscript) "-1"))
(arguments (arguments
(substitute-keyword-arguments (package-arguments ghostscript) (substitute-keyword-arguments (package-arguments ghostscript)
((#:configure-flags flags ''()) ((#:configure-flags flags ''())