gnu: poppler: Build the poppler-glib bindings.
* gnu/packages/pdf.scm (poppler): Add Cairo and GLib as inputs.
This commit is contained in:
parent
cc20a22a09
commit
8db824ba31
|
@ -31,7 +31,10 @@
|
||||||
#:use-module (gnu packages libpng)
|
#:use-module (gnu packages libpng)
|
||||||
#:use-module (gnu packages libtiff)
|
#:use-module (gnu packages libtiff)
|
||||||
#:use-module (gnu packages pkg-config)
|
#:use-module (gnu packages pkg-config)
|
||||||
#:use-module (gnu packages xorg))
|
#:use-module (gnu packages xorg)
|
||||||
|
#:use-module (gnu packages glib)
|
||||||
|
#:use-module (gnu packages gtk)
|
||||||
|
#:use-module (srfi srfi-1))
|
||||||
|
|
||||||
(define-public poppler
|
(define-public poppler
|
||||||
(package
|
(package
|
||||||
|
@ -47,7 +50,6 @@
|
||||||
;; FIXME: more dependencies could be added
|
;; FIXME: more dependencies could be added
|
||||||
;; cairo output: no (requires cairo >= 1.10.0)
|
;; cairo output: no (requires cairo >= 1.10.0)
|
||||||
;; qt4 wrapper: no
|
;; qt4 wrapper: no
|
||||||
;; glib wrapper: no (requires cairo output)
|
|
||||||
;; introspection: no
|
;; introspection: no
|
||||||
;; use gtk-doc: no
|
;; use gtk-doc: no
|
||||||
;; use libcurl: no
|
;; use libcurl: no
|
||||||
|
@ -58,7 +60,14 @@
|
||||||
("libpng" ,libpng)
|
("libpng" ,libpng)
|
||||||
("libtiff" ,libtiff)
|
("libtiff" ,libtiff)
|
||||||
("pkg-config" ,pkg-config)
|
("pkg-config" ,pkg-config)
|
||||||
("zlib" ,zlib)))
|
("zlib" ,zlib)
|
||||||
|
|
||||||
|
;; To build poppler-glib (as needed by Evince), we need Cairo and
|
||||||
|
;; GLib. But of course, that Cairo must not depend on Poppler.
|
||||||
|
("cairo" ,(package (inherit cairo)
|
||||||
|
(inputs (alist-delete "poppler"
|
||||||
|
(package-inputs cairo)))))
|
||||||
|
("glib" ,glib)))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; no test data provided with the tarball
|
`(#:tests? #f ; no test data provided with the tarball
|
||||||
#:configure-flags
|
#:configure-flags
|
||||||
|
|
Loading…
Reference in New Issue