summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2018-08-27 20:31:06 +0200
committerMarius Bakke <mbakke@fastmail.com>2018-08-27 20:40:16 +0200
commiteb637c64fe059ba9c3c0456f4cb5dc55124e1e49 (patch)
tree8d24c3458fad1300564bb9da9252286892e5b0d3 /gnu
parentcbc8a92011d3a439b25201039941aac803870ec2 (diff)
downloadguix-eb637c64fe059ba9c3c0456f4cb5dc55124e1e49.tar.gz
gnu: poppler: Propagate Glib.
* gnu/packages/pdf.scm (poppler)[inputs]: Move GLIB ...
[propagated-inputs]: ... here.  New field.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/pdf.scm8
1 files changed, 6 insertions, 2 deletions
diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index 0feffec541..e89dc29b9a 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -104,8 +104,12 @@
              ;; GLib.  But of course, that Cairo must not depend on Poppler.
              ("cairo" ,(package (inherit cairo)
                          (inputs (alist-delete "poppler"
-                                               (package-inputs cairo)))))
-             ("glib" ,glib)))
+                                               (package-inputs cairo)))))))
+   (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
       `(("pkg-config" ,pkg-config)
         ("glib" ,glib "bin")                      ; glib-mkenums, etc.