unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] Add PDF support to Gimp
@ 2017-01-02  6:22 Maxim Cournoyer
  0 siblings, 0 replies; 3+ messages in thread
From: Maxim Cournoyer @ 2017-01-02  6:22 UTC (permalink / raw)
  To: guix-devel


[-- 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 --]

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH] Add PDF support to Gimp
@ 2017-01-02  6:38 Maxim Cournoyer
  2017-01-03  5:19 ` Leo Famulari
  0 siblings, 1 reply; 3+ messages in thread
From: Maxim Cournoyer @ 2017-01-02  6:38 UTC (permalink / raw)
  To: guix-devel


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

Hi Guix!

This is to add poppler as an input to our Gimp package, which allows
Gimp to open PDF files for edition.


[-- 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 --]

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] Add PDF support to Gimp
  2017-01-02  6:38 Maxim Cournoyer
@ 2017-01-03  5:19 ` Leo Famulari
  0 siblings, 0 replies; 3+ messages in thread
From: Leo Famulari @ 2017-01-03  5:19 UTC (permalink / raw)
  To: Maxim Cournoyer; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 1649 bytes --]

On Sun, Jan 01, 2017 at 10:38:22PM -0800, Maxim Cournoyer wrote:
> Hi Guix!
> 
> This is to add poppler as an input to our Gimp package, which allows
> Gimp to open PDF files for edition.
> 

> 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.

Thanks, pushed!

> ---
>  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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-01-03  5:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-02  6:22 [PATCH] Add PDF support to Gimp Maxim Cournoyer
  -- strict thread matches above, loose matches on Subject: below --
2017-01-02  6:38 Maxim Cournoyer
2017-01-03  5:19 ` Leo Famulari

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).