summaryrefslogtreecommitdiff
path: root/gnu/packages/gtk.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-10-20 09:34:23 +0200
committerLudovic Courtès <ludo@gnu.org>2020-10-20 16:30:15 +0200
commite21e0affd9d31a0e58d4df7c15b2b851be43279b (patch)
tree81adb5f0faaa7f079b58c937886ad70adeda08c5 /gnu/packages/gtk.scm
parent8db4ebb0cd9bfdcf1aea63eb8d20eb6af0c87c93 (diff)
gnu: poppler: Always use the same 'cairo-sans-poppler' variant.
* gnu/packages/gtk.scm (cairo-sans-poppler): New variable. * gnu/packages/pdf.scm (poppler)[inputs]: Use it instead of locally-created variant.
Diffstat (limited to 'gnu/packages/gtk.scm')
-rw-r--r--gnu/packages/gtk.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 8cd2824ce3..4e58c65ead 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -173,6 +173,12 @@ affine transformation (scale, rotation, shear, etc.).")
(license license:lgpl2.1) ; or Mozilla Public License 1.1
(home-page "https://cairographics.org/")))
+(define-public cairo-sans-poppler
+ ;; Variant used to break the dependency cycle between Poppler and Cairo.
+ (package/inherit cairo
+ (inputs (alist-delete "poppler" (package-inputs cairo)))
+ (properties `((hidden? . #t)))))
+
(define-public cairo-xcb
(package
(inherit cairo)