guix-commits
[Top][All Lists]
Advanced

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

07/19: gnu: gdk-pixbuf: Build without gobject-introspection for the Hurd


From: guix-commits
Subject: 07/19: gnu: gdk-pixbuf: Build without gobject-introspection for the Hurd.
Date: Sat, 2 Sep 2023 11:48:56 -0400 (EDT)

janneke pushed a commit to branch hurd-team
in repository guix.

commit c489560b83f45e6309c28d94d464a67ba741c533
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Sat Sep 2 10:25:50 2023 +0200

    gnu: gdk-pixbuf: Build without gobject-introspection for the Hurd.
    
    * gnu/packages/gtk.scm (gdk-pixbuf)[native-inputs]: Omit 
gobject-introspection
    when building for the Hurd.
---
 gnu/packages/gtk.scm | 25 ++++++++++++++-----------
 1 file changed, 14 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 0d6df1f583..22471cb90a 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -728,17 +728,20 @@ highlighting and other features typical of a source code 
editor.")
          (list bash-minimal)            ;for glib-or-gtk-wrap
          '()))
     (native-inputs
-     (list gettext-minimal
-           `(,glib "bin")               ;glib-mkenums, etc.
-           gobject-introspection        ;g-ir-compiler, etc.
-           perl
-           pkg-config
-
-           ;; For the documentation.
-           docbook-xml-4.3
-           docbook-xsl
-           libxml2                      ;for XML_CATALOG_FILES
-           libxslt))                    ;for xsltproc
+     (append
+      (list gettext-minimal
+            `(,glib "bin"))             ;glib-mkenums, etc.
+      (if (target-hurd? (or (%current-system)
+                            (%current-target-system)))
+          '()
+          (list gobject-introspection)) ;g-ir-compiler, etc.
+      (list perl
+            pkg-config
+            ;; For the documentation.
+            docbook-xml-4.3
+            docbook-xsl
+            libxml2                     ;for XML_CATALOG_FILES
+            libxslt)))                  ;for xsltproc
     (native-search-paths
      ;; This file is produced by the gdk-pixbuf-loaders-cache-file
      ;; profile hook.



reply via email to

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