[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
63/84: gnu: cairo: Support building for the Hurd.
From: |
guix-commits |
Subject: |
63/84: gnu: cairo: Support building for the Hurd. |
Date: |
Wed, 14 Jun 2023 06:24:00 -0400 (EDT) |
janneke pushed a commit to branch wip-hurd
in repository guix.
commit 42167ceeac7960acec570d3dd129df7891b9c033
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Sun Jun 11 12:35:50 2023 +0200
gnu: cairo: Support building for the Hurd.
Gobject-introspection and libdrm does not build for the Hurd. Poppler
depends
on nss, which does not build for the Hurd.
* gnu/packages/gtk.scm (cairo)[native-inputs]: When building for the Hurd,
do
not include gobject-introspection.
[inputs]: Likewise, do not include libdrm, poppler.
---
gnu/packages/gtk.scm | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index ca41612e90..8a8415001a 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -35,6 +35,7 @@
;;; Copyright © 2022 Petr Hodina <phodina@protonmail.com>
;;; Copyright © 2023 Sergiu Ivanov <sivanov@colimite.fr>
;;; Copyright © 2023 Zheng Junjie <873216071@qq.com>
+;;; Copyright © 2023 Janneke Nieuwenhuizen <janneke@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -194,15 +195,21 @@ such as mate-panel and xfce4-panel.")
(assoc-ref %outputs "doc")
"/share/gtk-doc/html"))))
(native-inputs
- `(("gobject-introspection" ,gobject-introspection)
+ `(,@(if (target-hurd?)
+ '()
+ `(("gobject-introspection" ,gobject-introspection)))
("pkg-config" ,pkg-config)
("python" ,python-wrapper)))
(inputs
`(("bash-minimal" ,bash-minimal) ;for glib-or-gtk-wrap
- ("drm" ,libdrm)
+ ,@(if (target-hurd?)
+ '()
+ `(("drm" ,libdrm)))
("ghostscript" ,ghostscript)
("libspectre" ,libspectre)
- ("poppler" ,poppler)))
+ ,@(if (target-hurd?)
+ '()
+ `(("poppler" ,poppler)))))
(propagated-inputs
`( ;; ("cogl" ,cogl)
;; ("directfb" ,directfb)
- 81/84: system: hurd: Add procps to %base-packages/hurd., (continued)
- 81/84: system: hurd: Add procps to %base-packages/hurd., guix-commits, 2023/06/14
- 17/84: gnu: hurd-minimal: Include libshouldbeinlibc and libstore., guix-commits, 2023/06/14
- 02/84: gnu: glibc/hurd-headers: Properly cross-build., guix-commits, 2023/06/14
- 33/84: gnu: commencement: mig-boot0: Update to 1.8+git20230520., guix-commits, 2023/06/14
- 35/84: gnu: commencement: hurd-minimal-boot0: Update to 0.9.git20230216., guix-commits, 2023/06/14
- 44/84: gnu: m4: Skip gnulib stack-overflow tests for the Hurd., guix-commits, 2023/06/14
- 49/84: gnu: mpfr: Skip failing test for the Hurd., guix-commits, 2023/06/14
- 55/84: gnu: tcl: Remove failing tests for the Hurd.., guix-commits, 2023/06/14
- 80/84: gnu: guile-2.0: Skip failing tests for the Hurd., guix-commits, 2023/06/14
- 61/84: gnu: parted: Disable tests for the Hurd., guix-commits, 2023/06/14
- 63/84: gnu: cairo: Support building for the Hurd.,
guix-commits <=
- 73/84: gnu: guile-git: Skip http proxy test for the Hurd., guix-commits, 2023/06/14