summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-08-25 21:32:06 +0200
committerLudovic Courtès <ludo@gnu.org>2019-08-25 22:48:40 +0200
commit0b859092a7346f3b4d0a3a4dac878fd64fd70b79 (patch)
tree9362d1a6d89337c031adef77ce17fa42931f8857 /gnu/packages
parent466ff55c72959ba1499ce3ec69f534b3038eb30b (diff)
downloadguix-0b859092a7346f3b4d0a3a4dac878fd64fd70b79.tar.gz
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.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/ghostscript.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/packages/ghostscript.scm b/gnu/packages/ghostscript.scm
index bcd853d1e3..139682b5d0 100644
--- a/gnu/packages/ghostscript.scm
+++ b/gnu/packages/ghostscript.scm
@@ -145,6 +145,12 @@ printing, and psresize, for adjusting page sizes.")
   (package
     (name "ghostscript")
     (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
       (origin
         (method url-fetch)
@@ -274,7 +280,6 @@ output file formats and printers.")
   ;; rendering issues described in <https://issues.guix.gnu.org/issue/34877>.
   (package/inherit
    ghostscript
-   (version (string-append (package-version ghostscript) "-1"))
    (arguments
     (substitute-keyword-arguments (package-arguments ghostscript)
       ((#:configure-flags flags ''())