guix_mirror_bot pushed a commit to branch gnome-team
in repository guix.

commit efaa6003051ef91af3e0734c52cf85fc62a8a5fc
Author: Maxim Cournoyer <[email protected]>
AuthorDate: Mon May 19 14:01:21 2025 +0900

    gnu: gjs: Update to 1.84.2.
    
    * gnu/packages/gnome.scm (gjs): Update to 1.84.2.
    [#:phases]: Add ‘skip-failing-check’.
    <pre-check>: Also set $HOME.
---
 gnu/packages/gnome.scm | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index faf4c8fc53..ec3735e310 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -7701,7 +7701,7 @@ configuration program to choose applications starting on 
login.")
 (define-public gjs
   (package
     (name "gjs")
-    (version "1.82.1")
+    (version "1.84.2")
     (source (origin
               (method url-fetch)
               (uri (string-append "mirror://gnome/sources/" name "/"
@@ -7709,7 +7709,7 @@ configuration program to choose applications starting on 
login.")
                                   name "-" version ".tar.xz"))
               (sha256
                (base32
-                "0g39nl4x32x71c9gnwlrlv8jnpl2lnhmc7qpl7jy0vap6rbalfgv"))
+                "0rh1fkkb35aa1zrhzbizzxllkwc3snkw67i901in61ap6kgjw51m"))
               (modules '((guix build utils)))
               (snippet
                '(begin
@@ -7728,7 +7728,13 @@ configuration program to choose applications starting on 
login.")
              (setenv "DISPLAY" ":1")
 
              ;; For the missing /etc/machine-id.
-             (setenv "DBUS_FATAL_WARNINGS" "0")))
+             (setenv "DBUS_FATAL_WARNINGS" "0")
+             (setenv "HOME" (getcwd))))
+         (add-after 'unpack 'skip-failing-check
+           (lambda _
+             ;; See <https://gitlab.gnome.org/GNOME/gjs/-/issues/681>.
+             (substitute* "installed-tests/js/testGtk3.js"
+               (("expect\\(frameChild\\.visible\\)\\.toBe\\(true\\);") ""))))
          (add-after 'install 'wrap-gi
            (lambda* (#:key inputs outputs #:allow-other-keys)
              (wrap-program (string-append (assoc-ref outputs "out")

Reply via email to