gnu: gjs: Update to 1.56.2.

* gnu/packages/gnome.scm (gjs): Update to 1.56.2.
[arguments]: Adjust pre-check phase.
[propagated-inputs]: Replace mozjs-52 with mozjs-60.
This commit is contained in:
Kei Kebreau 2019-07-05 00:35:02 -04:00
parent 9d4d439b0a
commit d054fbf57d
No known key found for this signature in database
GPG key ID: E6A5EE3C19467A0D

View file

@ -4812,7 +4812,7 @@ (define-public gnome-session
(define-public gjs
(package
(name "gjs")
(version "1.52.3")
(version "1.56.2")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/" name "/"
@ -4820,7 +4820,7 @@ (define-public gjs
name "-" version ".tar.xz"))
(sha256
(base32
"1z4n15wdz6pbqd2hfzrqc8mmprhv50v4jk43p08v0xv07yldh8ff"))))
"1b5321krn89p3f7s2ik6gpfnc61apzljhlnbqky8c88f7n6832ac"))))
(build-system gnu-build-system)
(arguments
'(#:phases
@ -4840,6 +4840,9 @@ (define-public gjs
(substitute* "installed-tests/js/testLocale.js"
((".*toBeDefined.*") "")
((".*expect\\(datestr\\).*") ""))
(substitute* "installed-tests/scripts/testCommandLine.sh"
(("Valentín") "")
(("☭") ""))
#t)))))
(native-inputs
`(("glib:bin" ,glib "bin") ; for glib-compile-resources
@ -4853,7 +4856,7 @@ (define-public gjs
;; These are all in the Requires.private field of gjs-1.0.pc.
`(("cairo" ,cairo)
("gobject-introspection" ,gobject-introspection)
("mozjs" ,mozjs-52)))
("mozjs" ,mozjs-60)))
(inputs
`(("gtk+" ,gtk+)
("readline" ,readline)))