guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

39/43: gnu: pango: Support build for the Hurd.


From: guix-commits
Subject: 39/43: gnu: pango: Support build for the Hurd.
Date: Thu, 20 Jul 2023 04:22:30 -0400 (EDT)

janneke pushed a commit to branch master
in repository guix.

commit 825a7be4316d27f8f34b0cbfa4970e1886a40e29
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Tue Jun 13 13:52:24 2023 +0200

    gnu: pango: Support build for the Hurd.
    
    * gnu/packages/gtk.scm (pango)[native-inputs]: Do not include
    gobject-introspection when building for the Hurd.
---
 gnu/packages/gtk.scm | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 5b88a9d31e..848ed91d96 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -401,12 +401,15 @@ applications.")
      (list bash-minimal
            zlib))
     (native-inputs
-     (list `(,glib "bin")               ;glib-mkenums, etc.
-           gobject-introspection        ;g-ir-compiler, etc.
-           help2man
-           perl
-           pkg-config
-           python-wrapper))
+     (append (list `(,glib "bin"))      ;glib-mkenums, etc.
+             (if (target-hurd?)
+                 '()
+                 (list gobject-introspection)) ;g-ir-compiler, etc.
+             (list
+              help2man
+              perl
+              pkg-config
+              python-wrapper)))
     (synopsis "Text and font handling library")
     (description "Pango is a library for laying out and rendering of text, with
 an emphasis on internationalization.  Pango can be used anywhere that text



reply via email to

[Prev in Thread] Current Thread [Next in Thread]