gnu: poppler: Propagate Glib.

* gnu/packages/pdf.scm (poppler)[inputs]: Move GLIB ...
[propagated-inputs]: ... here.  New field.
This commit is contained in:
Marius Bakke 2018-08-27 20:31:06 +02:00
parent cbc8a92011
commit eb637c64fe
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 6 additions and 2 deletions

View File

@ -104,8 +104,12 @@
;; GLib. But of course, that Cairo must not depend on Poppler. ;; GLib. But of course, that Cairo must not depend on Poppler.
("cairo" ,(package (inherit cairo) ("cairo" ,(package (inherit cairo)
(inputs (alist-delete "poppler" (inputs (alist-delete "poppler"
(package-inputs cairo))))) (package-inputs cairo)))))))
("glib" ,glib))) (propagated-inputs
;; As per poppler-cairo and poppler-glib.pc.
;; XXX: Ideally we'd propagate Cairo too, but that would require a
;; different solution to the circular dependency mentioned above.
`(("glib" ,glib)))
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config) `(("pkg-config" ,pkg-config)
("glib" ,glib "bin") ; glib-mkenums, etc. ("glib" ,glib "bin") ; glib-mkenums, etc.