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
1 changed files with 6 additions and 3 deletions

View File

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