Hi Guix!

I had to edit a PDF with Gimp recently, and was surprised that Gimp
wouldn't me to open it. The reason was that our build of Gimp was not
using poppler as an input.

Please review the (trivial) patch below:

From c8a16befd95a3072a77c8dda3472e0eed95c6925 Mon Sep 17 00:00:00 2001
From: Maxim Cournoyer <[email protected]>
Date: Sun, 1 Jan 2017 21:33:05 -0800
Subject: [PATCH] gnu: gimp: Enable PDF support

* gnu/packages/gimp.scm: Add the poppler library as an input.
---
 gnu/packages/gimp.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/gimp.scm b/gnu/packages/gimp.scm
index 6540990b3..169183db6 100644
--- a/gnu/packages/gimp.scm
+++ b/gnu/packages/gimp.scm
@@ -35,6 +35,7 @@
   #:use-module (gnu packages ghostscript)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages xml)
+  #:use-module (gnu packages pdf)
   #:use-module (gnu packages photo)
   #:use-module (gnu packages python)
   #:use-module (gnu packages xorg)
@@ -168,6 +169,7 @@ buffers.")
        ("exif" ,libexif)                         ;optional, EXIF + XMP support
        ("lcms" ,lcms)                            ;optional, color management
        ("librsvg" ,librsvg)                      ;optional, SVG support
+       ("poppler", poppler)             ; optional, PDF support
        ("python" ,python-2)                      ;optional, Python support
        ("python2-pygtk" ,python2-pygtk)          ;optional, Python support
        ("gegl" ,gegl)))
-- 
2.11.0

Happy New Year!

Maxim

Attachment: signature.asc
Description: PGP signature

Reply via email to