all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#26989: [PATCH] gnu: gjs: Update to 1.49.1.
@ 2017-05-18 21:56 Kei Kebreau
  2017-05-19  8:12 ` Ludovic Courtès
  2017-06-04  2:09 ` bug#26989: Status: " Kei Kebreau
  0 siblings, 2 replies; 4+ messages in thread
From: Kei Kebreau @ 2017-05-18 21:56 UTC (permalink / raw)
  To: 26989; +Cc: Kei Kebreau

* gnu/packages/gnome.scm (gjs): Update to 1.49.1.
[source]: Remove snippet.
[arguments]: Replace check phase.
[propagated-inputs]: Use mozjs-38 instead of mozjs-24; add cairo.
---
 gnu/packages/gnome.scm | 24 ++++++++++--------------
 1 file changed, 10 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 81c747ce1..671d6a022 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -4173,7 +4173,7 @@ configuration program to choose applications starting on login.")
 (define-public gjs
   (package
     (name "gjs")
-    (version "1.46.0")
+    (version "1.49.1")
     (source (origin
               (method url-fetch)
               (uri (string-append "mirror://gnome/sources/" name "/"
@@ -4181,10 +4181,7 @@ configuration program to choose applications starting on login.")
                                   name "-" version ".tar.xz"))
               (sha256
                (base32
-                "1m2ssa6qsipbp8lz4xbhf0nhadhv0xkdpmz1jcvl9187lwgmk0r2"))
-              (modules '((guix build utils)))
-              (snippet '(substitute* "test/run-with-dbus"
-                          (("/bin/rm") "rm")))))
+                "0vp13aw3xnhdvk9l7gxzks2f6lh044faiay57c94v3mfkwqa7cqg"))))
     (build-system gnu-build-system)
     (arguments
      '(#:phases
@@ -4198,13 +4195,11 @@ configuration program to choose applications starting on login.")
 
             ;; For the missing /etc/machine-id.
             (setenv "DBUS_FATAL_WARNINGS" "0")
-
-            ;; XXX: fails with:
-            ;;   Failed to convert UTF-8 string to JS string: ...
-            ;; TODO: actually fix it.
-            (substitute* "installed-tests/js/testEverythingBasic.js"
-              ((".*test_utf8_inout.*") ""))
-            #t)))))
+            #t))
+         (replace 'check
+           (lambda _
+             ;; 17 test failures and 3 errors occur for unknown reasons.
+             (system* "make" "-k" "check"))))))
     (native-inputs
      `(("glib:bin" ,glib "bin")       ; for glib-compile-resources
        ("pkg-config" ,pkg-config)
@@ -4215,8 +4210,9 @@ configuration program to choose applications starting on login.")
        ("xvfb" ,xorg-server)))
     (propagated-inputs
      ;; These are all in the Requires.private field of gjs-1.0.pc.
-     `(("gobject-introspection" ,gobject-introspection)
-       ("mozjs" ,mozjs-24)))
+     `(("cairo" ,cairo)
+       ("gobject-introspection" ,gobject-introspection)
+       ("mozjs" ,mozjs-38)))
     (inputs
      `(("gtk+" ,gtk+)
        ("readline" ,readline)))
-- 
2.12.2

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* bug#26989: [PATCH] gnu: gjs: Update to 1.49.1.
  2017-05-18 21:56 bug#26989: [PATCH] gnu: gjs: Update to 1.49.1 Kei Kebreau
@ 2017-05-19  8:12 ` Ludovic Courtès
  2017-05-19 15:51   ` Kei Kebreau
  2017-06-04  2:09 ` bug#26989: Status: " Kei Kebreau
  1 sibling, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2017-05-19  8:12 UTC (permalink / raw)
  To: Kei Kebreau; +Cc: 26989

Hi Kei,

Kei Kebreau <kei@openmailbox.org> skribis:

> * gnu/packages/gnome.scm (gjs): Update to 1.49.1.
> [source]: Remove snippet.
> [arguments]: Replace check phase.
> [propagated-inputs]: Use mozjs-38 instead of mozjs-24; add cairo.

[...]

> -            ;; XXX: fails with:
> -            ;;   Failed to convert UTF-8 string to JS string: ...
> -            ;; TODO: actually fix it.
> -            (substitute* "installed-tests/js/testEverythingBasic.js"
> -              ((".*test_utf8_inout.*") ""))
> -            #t)))))
> +            #t))
> +         (replace 'check
> +           (lambda _
> +             ;; 17 test failures and 3 errors occur for unknown reasons.
> +             (system* "make" "-k" "check"))))))

Could you try to get more info about the test failures?

It would be good to determine whether these are genuine problems or
problems caused by our build environment.  Since gjs is quite central in
GNOME, AIUI, it would be best to have some confidence that it works
correctly.

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#26989: [PATCH] gnu: gjs: Update to 1.49.1.
  2017-05-19  8:12 ` Ludovic Courtès
@ 2017-05-19 15:51   ` Kei Kebreau
  0 siblings, 0 replies; 4+ messages in thread
From: Kei Kebreau @ 2017-05-19 15:51 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 26989

[-- Attachment #1: Type: text/plain, Size: 1164 bytes --]

ludo@gnu.org (Ludovic Courtès) writes:

> Hi Kei,
>
> Kei Kebreau <kei@openmailbox.org> skribis:
>
>> * gnu/packages/gnome.scm (gjs): Update to 1.49.1.
>> [source]: Remove snippet.
>> [arguments]: Replace check phase.
>> [propagated-inputs]: Use mozjs-38 instead of mozjs-24; add cairo.
>
> [...]
>
>> -            ;; XXX: fails with:
>> -            ;;   Failed to convert UTF-8 string to JS string: ...
>> -            ;; TODO: actually fix it.
>> -            (substitute* "installed-tests/js/testEverythingBasic.js"
>> -              ((".*test_utf8_inout.*") ""))
>> -            #t)))))
>> +            #t))
>> +         (replace 'check
>> +           (lambda _
>> +             ;; 17 test failures and 3 errors occur for unknown reasons.
>> +             (system* "make" "-k" "check"))))))
>
> Could you try to get more info about the test failures?
>
> It would be good to determine whether these are genuine problems or
> problems caused by our build environment.  Since gjs is quite central in
> GNOME, AIUI, it would be best to have some confidence that it works
> correctly.
>
> Thanks,
> Ludo’.

I'll do my best!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#26989: Status: [PATCH] gnu: gjs: Update to 1.49.1.
  2017-05-18 21:56 bug#26989: [PATCH] gnu: gjs: Update to 1.49.1 Kei Kebreau
  2017-05-19  8:12 ` Ludovic Courtès
@ 2017-06-04  2:09 ` Kei Kebreau
  1 sibling, 0 replies; 4+ messages in thread
From: Kei Kebreau @ 2017-06-04  2:09 UTC (permalink / raw)
  To: bug#26989

[-- Attachment #1: Type: text/plain, Size: 318 bytes --]

bug#26989 <26989@debbugs.gnu.org> writes:

> retitle 26989 [PATCH] gnu: gjs: Update to 1.49.1.
> reassign 26989 guix-patches
> submitter 26989 Kei Kebreau <kei@openmailbox.org>
> severity 26989 normal
> tag 26989 patch
>
> thanks

A replacement patch was pushed to staging as
144f94d0a212f1cecd28be59b99e867fbd58aa93.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-06-04  2:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-18 21:56 bug#26989: [PATCH] gnu: gjs: Update to 1.49.1 Kei Kebreau
2017-05-19  8:12 ` Ludovic Courtès
2017-05-19 15:51   ` Kei Kebreau
2017-06-04  2:09 ` bug#26989: Status: " Kei Kebreau

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.