unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: guix-devel@gnu.org
Subject: [PATCH] Add PDF support to Gimp
Date: Sun, 01 Jan 2017 22:22:57 -0800	[thread overview]
Message-ID: <8760lyou9q.fsf@gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 218 bytes --]

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:


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-gnu-gimp-Enable-PDF-support.patch --]
[-- Type: text/x-patch, Size: 1319 bytes --]

From c8a16befd95a3072a77c8dda3472e0eed95c6925 Mon Sep 17 00:00:00 2001
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
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


[-- Attachment #1.3: Type: text/plain, Size: 24 bytes --]


Happy New Year!

Maxim

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

             reply	other threads:[~2017-01-02  6:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-02  6:22 Maxim Cournoyer [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-01-02  6:38 [PATCH] Add PDF support to Gimp Maxim Cournoyer
2017-01-03  5:19 ` Leo Famulari

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8760lyou9q.fsf@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).