[gnome-weather: 1/2] build: Raise gjs dependency to ensure ES6 classes
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-weather: 1/2] build: Raise gjs dependency to ensure ES6 classes
- Date: Sat, 10 Nov 2018 01:24:20 +0000 (UTC)
commit c6236afbaa61e262b881a4d5ae68fdce00ff88f3
Author: Mart Raudsepp <leio gentoo org>
Date: Sun Sep 9 16:12:02 2018 +0300
build: Raise gjs dependency to ensure ES6 classes
Without ES6 (e.g. gjs-1.48.x) gnome-weather fails to run
since commit d23c49c0654 with:
Gjs-CRITICAL **: 16:08:50.395: JS ERROR: SyntaxError:
class is a reserved identifier @
resource:///org/gnome/Weather/Application/js/app/currentLocationController.js:33
JS_EvaluateScript() failed
Update the gjs requirement in configure to ensure a new
enough gjs for this.
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/configure.ac b/configure.ac
index 9c66647..a4277b4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -26,7 +26,7 @@ AX_REQUIRE_DEFINED([GLIB_GSETTINGS])
GLIB_GSETTINGS
AX_REQUIRE_DEFINED([GOBJECT_INTROSPECTION_REQUIRE])
GOBJECT_INTROSPECTION_REQUIRE([1.35.9])
-GJS_MIN_VERSION=1.39.91
+GJS_MIN_VERSION=1.50.0
PKG_CHECK_MODULES([DEPS], [gdk-3.0
gdk-pixbuf-2.0
gio-2.0
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]