guix-commits
[Top][All Lists]
Advanced

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

04/16: gnu: glade: gjs is a run-time dependency.


From: guix-commits
Subject: 04/16: gnu: glade: gjs is a run-time dependency.
Date: Thu, 1 Sep 2022 16:24:45 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit e21e7b0b4f006f72baf514372d35dbc2790616bd
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Thu Sep 1 20:00:17 2022 +0200

    gnu: glade: gjs is a run-time dependency.
    
    * gnu/packages/gnome.scm (glade3)[native-inputs]: Move GJS ...
    [inputs]: ... here.
---
 gnu/packages/gnome.scm | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index cc9307470b..6aad3cec32 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -3143,7 +3143,7 @@ API add-ons to make GTK+ widgets OpenGL-capable.")
              (substitute* "meson_post_install.py"
                (("gtk-update-icon-cache") "true"))))
 
-         ,@(if (this-package-native-input "gjs")
+         ,@(if (this-package-input "gjs")
                '()
                '((add-after 'unpack 'skip-gjs-test
                    (lambda _
@@ -3170,7 +3170,13 @@ current/manpages/docbook.xsl")
              (system "Xvfb :1 &")
              (setenv "DISPLAY" ":1"))))))
     (inputs
-     (list gtk+ libxml2))
+     (append
+      ;; GJS depends on Rust, which is x86_64-only so far, so remove the GJS
+      ;; dependency on other platforms (FIXME).
+      (if (target-x86-64?)
+          (list gjs)
+          '())
+      (list gtk+ libxml2)))
     (native-inputs
      `(("hicolor-icon-theme" ,hicolor-icon-theme)
        ("intltool" ,intltool)
@@ -3182,13 +3188,6 @@ current/manpages/docbook.xsl")
        ("python" ,python)
        ("python-pygobject" ,python-pygobject)
        ("gobject-introspection" ,gobject-introspection)
-
-       ;; GJS depends on Rust, which is x86_64-only so far, so remove the GJS
-       ;; dependency on other platforms (FIXME).
-       ,@(if (target-x86-64?)
-             `(("gjs" ,gjs))
-             '())
-
        ("pkg-config" ,pkg-config)
        ("xorg-server" ,xorg-server-for-tests)))
     (home-page "https://glade.gnome.org";)



reply via email to

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