From 83f810cf0f86ac30390893c3aeafd9bf7e7e9e52b4075e0a48166852853826a8 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 22 Feb 2017 20:41:49 +0000 Subject: [PATCH 1/4] Accepting request 459881 from GNOME:Next scripted push OBS-URL: https://build.opensuse.org/request/show/459881 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gjs?expand=0&rev=110 --- gjs-1.46.0.tar.xz | 3 -- gjs-1.47.90.tar.xz | 3 ++ gjs.changes | 79 ++++++++++++++++++++++++++++++++++++++++++++++ gjs.spec | 14 ++++---- 4 files changed, 88 insertions(+), 11 deletions(-) delete mode 100644 gjs-1.46.0.tar.xz create mode 100644 gjs-1.47.90.tar.xz diff --git a/gjs-1.46.0.tar.xz b/gjs-1.46.0.tar.xz deleted file mode 100644 index c416a71..0000000 --- a/gjs-1.46.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2283591fa70785443793e1d7db66071b36052d707075f229baeb468d8dd25ad4 -size 490812 diff --git a/gjs-1.47.90.tar.xz b/gjs-1.47.90.tar.xz new file mode 100644 index 0000000..008849b --- /dev/null +++ b/gjs-1.47.90.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:646a78cc3be21fc1c7393972a4b7a9eaf7fddff09b5861169cabb9dbc67263c7 +size 603024 diff --git a/gjs.changes b/gjs.changes index 3930b58..ef57b4c 100644 --- a/gjs.changes +++ b/gjs.changes @@ -1,3 +1,82 @@ +------------------------------------------------------------------- +Wed Feb 15 09:34:55 UTC 2017 - dimstar@opensuse.org + +- Update to version 1.47.90: + + This version of GJS is based on SpiderMonkey 38. + + Syntax enhancements. + + Various API additions. + + Backwards-incompatible changes: + - It is now a syntax error to declare the same variable twice + with "let" or "const" in the same scope. Existing code may + need to be fixed, but the fix is trivial. + + SpiderMonkey is now extra vocal about warning when you access + an undefined property, and this causes some false positives. + You can turn this warning off by setting + GJS_DISABLE_EXTRA_WARNINGS=1. + + When enumerating the importer object (i.e., + "for (let i in imports) {...}") you will now get the names of + any built-in modules that have previously been imported. + + Bugs fixed: bgo#776966, bgo#777205, bgo#642506, bgo#776549, + bgo#777962. +- Replace pkgconfig(mozjs-31) BuildRequires with + pkgconfig(mozjs-38), following upstreams port. + +------------------------------------------------------------------- +Fri Jan 20 12:26:42 UTC 2017 - dimstar@opensuse.org + +- Update to version 1.47.4: + + News for GJS embedders such as gnome-shell: + - New API: The GjsCoverage type and its methods are now + exposed. Use this if you are embedding GJS and need to output + code coverage statistics. + + Bugs fixed: bgo#563391, bgo#619710, bgo#636283, bgo#697020, + bgo#730101, bgo#737607, bgo#742852, bgo#751146, bgo#760057, + bgo#775444, bgo#775776, bgo#776193, bgo#776938. + +------------------------------------------------------------------- +Tue Dec 13 13:56:44 UTC 2016 - dimstar@opensuse.org + +- Update to version 1.47.3: + + New JavaScript features! This version of GJS is based on + SpiderMonkey 31, an upgrade from the previous ESR (Extended + Support Release) of SpiderMonkey 24. + + New syntax: + - Spread operator in function calls: someFunction(arg1, arg2, + ...iterableObj). + - Generator functions: yield, function*, yield*. + - Binary and octal numeric literals: 0b10011100, 0o377. + - Function arguments without defaults can now come after those + with defaults: function f(x=1, y) {}. + + New standard library module: Intl - Locale-sensitive formatting + and string comparison. + + New behaviour: + - -0 and +0 are now considered equal as Map keys and Set + values. + - On typed arrays, numerical indexed properties ignore the + prototype object: + Int8Array.prototype[20] = 'foo';(new Int8Array(32))[20] == 0. + + New non-standard Mozilla extensions: + - Array comprehensions. + - Generator comprehensions; both were originally proposed for + ES6 but removed. + + Bugs fixed: bgo#573335, bgo#595439, bgo#605972, bgo#742249, + bgo#751252, bgo#770244, bgo#771598, bgo#771745, bgo#772027, + bgo#772033, bgo#772386, bgo#772790, bgo#773297, bgo#773335, + bgo#775205. +- Replace pkgconfig(mozjs-24) BuildRequires with + pkgconfig(mozjs-31), following upstreams port. + +------------------------------------------------------------------- +Thu Nov 10 10:11:35 UTC 2016 - dimstar@opensuse.org + +- Update to version 1.47.0: + + Backwards-incompatible change: we have changed the way certain + JavaScript values are marshalled into GObject introspection 32 + or 64-bit signed integer values, to match the ECMA standard. + + Backwards-incompatible change: we have changed the way + gjs-console interprets command-line arguments. +- Add pkgconfig(gtk+-3.0) BuildRequires: enable GTK+ support. + ------------------------------------------------------------------- Tue Sep 20 18:18:52 UTC 2016 - zaitor@opensuse.org diff --git a/gjs.spec b/gjs.spec index bd57284..ef35100 100644 --- a/gjs.spec +++ b/gjs.spec @@ -1,7 +1,7 @@ # # spec file for package gjs # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,14 +17,14 @@ Name: gjs -Version: 1.46.0 +Version: 1.47.90 Release: 0 # FIXME: find out if tapsets should really be in devel package or in main package Summary: JavaScript bindings based on gobject-introspection and Mozilla License: MIT Group: Development/Libraries/GNOME Url: http://live.gnome.org/Gjs -Source: http://download.gnome.org/sources/gjs/1.46/%{name}-%{version}.tar.xz +Source: http://download.gnome.org/sources/gjs/1.47/%{name}-%{version}.tar.xz BuildRequires: gcc-c++ BuildRequires: python BuildRequires: readline-devel @@ -34,8 +34,9 @@ BuildRequires: pkgconfig(cairo-xlib) BuildRequires: pkgconfig(dbus-glib-1) BuildRequires: pkgconfig(glib-2.0) >= 2.36.0 BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.41.4 +BuildRequires: pkgconfig(gtk+-3.0) >= 3.20 BuildRequires: pkgconfig(libffi) -BuildRequires: pkgconfig(mozjs-24) +BuildRequires: pkgconfig(mozjs-38) Requires: libgjs0 = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -55,8 +56,8 @@ Mozilla SpiderMonkey JavaScript engine. %package -n typelib-1_0-GjsPrivate-1_0 Summary: GJS DBus utility library -- Introspection bindings -Group: System/Libraries # The tyeplib was renamed in gnome 3.6, to reflecht it is a private lib. +Group: System/Libraries Obsoletes: typelib-1_0-GjsDBus-1_0 < %{version} %description -n typelib-1_0-GjsPrivate-1_0 @@ -88,9 +89,6 @@ make -j1 V=1 %install %make_install find %{buildroot} -type f -name "*.la" -delete -print -# fix installation of systemtap files -mkdir -p %{buildroot}%{_datadir} -mv %{buildroot}%{buildroot}%{_datadir}/systemtap %{buildroot}%{_datadir}/systemtap %clean rm -rf %{buildroot} From 52e0337e53050b991f6515c9ac2039aef097f16a2578be6a791894d160f99708 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Tue, 28 Feb 2017 21:40:58 +0000 Subject: [PATCH 2/4] Accepting request 460970 from GNOME:Next Scripted push of GNOME:Next OBS-URL: https://build.opensuse.org/request/show/460970 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gjs?expand=0&rev=111 --- gjs-1.47.90.tar.xz | 3 --- gjs-1.47.91.tar.xz | 3 +++ gjs.changes | 22 ++++++++++++++++++++++ gjs.spec | 8 +++++--- 4 files changed, 30 insertions(+), 6 deletions(-) delete mode 100644 gjs-1.47.90.tar.xz create mode 100644 gjs-1.47.91.tar.xz diff --git a/gjs-1.47.90.tar.xz b/gjs-1.47.90.tar.xz deleted file mode 100644 index 008849b..0000000 --- a/gjs-1.47.90.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:646a78cc3be21fc1c7393972a4b7a9eaf7fddff09b5861169cabb9dbc67263c7 -size 603024 diff --git a/gjs-1.47.91.tar.xz b/gjs-1.47.91.tar.xz new file mode 100644 index 0000000..9edfa3f --- /dev/null +++ b/gjs-1.47.91.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b8bd21620f8bb252ec9922d9fdd036ac6229e509af225b0ab9b4379ef333de35 +size 592592 diff --git a/gjs.changes b/gjs.changes index ef57b4c..20fe430 100644 --- a/gjs.changes +++ b/gjs.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Tue Feb 28 01:46:36 UTC 2017 - zaitor@opensuse.org + +- Update to version 1.47.91: + + overrides/Gio: Provide an empty array on error, rather than + null (bgo#677513). + + WithSignals parameter for Lang.Class (bgo#664897). + + Add API to better support asynchronous code (bgo#608450). + + Fix 1.47.90 tests are failing (bgo#778780). + + boxed: Plug a memory leak (bgo#779036). + + Don't crash when marshalling an unsafe integer from + introspection (bgo#778705). + + Lang.Class should include symbol properties (bgo#778718). + + Console output of arrays should be UTF-8 aware (bgo#778729). + + Various fixes for 1.47.91 (bgo#779293). + + Progress towards a Visual Studio build of GJS on Windows. + + Misc bug fixes. +- Pass JS_INTERP=/usr/bin/js to configure in order to help it find + the default, unversioned js binary. +- Add moyjs38 BuildRequires: the mozjs interpreter is not installed + per default together with mozjs-devel. + ------------------------------------------------------------------- Wed Feb 15 09:34:55 UTC 2017 - dimstar@opensuse.org diff --git a/gjs.spec b/gjs.spec index ef35100..de00ec1 100644 --- a/gjs.spec +++ b/gjs.spec @@ -17,7 +17,7 @@ Name: gjs -Version: 1.47.90 +Version: 1.47.91 Release: 0 # FIXME: find out if tapsets should really be in devel package or in main package Summary: JavaScript bindings based on gobject-introspection and Mozilla @@ -26,6 +26,7 @@ Group: Development/Libraries/GNOME Url: http://live.gnome.org/Gjs Source: http://download.gnome.org/sources/gjs/1.47/%{name}-%{version}.tar.xz BuildRequires: gcc-c++ +BuildRequires: mozjs38 BuildRequires: python BuildRequires: readline-devel BuildRequires: systemtap-sdt-devel @@ -33,7 +34,7 @@ BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(cairo-xlib) BuildRequires: pkgconfig(dbus-glib-1) BuildRequires: pkgconfig(glib-2.0) >= 2.36.0 -BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.41.4 +BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.51.2 BuildRequires: pkgconfig(gtk+-3.0) >= 3.20 BuildRequires: pkgconfig(libffi) BuildRequires: pkgconfig(mozjs-38) @@ -83,7 +84,8 @@ Mozilla SpiderMonkey JavaScript engine. %build %configure \ --disable-static \ - --enable-systemtap + --enable-systemtap \ + JS_INTERP=%{_bindir}/js make -j1 V=1 %install From aa8f6167b59b94d15e4e499d6d96c96e6d8067e6d9e05d01cd03a28a28ad58f3 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Tue, 14 Mar 2017 18:46:26 +0000 Subject: [PATCH 3/4] Accepting request 479237 from GNOME:Next New sub, with tweaks and fixes OBS-URL: https://build.opensuse.org/request/show/479237 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gjs?expand=0&rev=112 --- gjs-1.47.91.tar.xz | 3 --- gjs-1.47.92.tar.xz | 3 +++ gjs.changes | 18 ++++++++++++++++++ gjs.spec | 6 ++---- 4 files changed, 23 insertions(+), 7 deletions(-) delete mode 100644 gjs-1.47.91.tar.xz create mode 100644 gjs-1.47.92.tar.xz diff --git a/gjs-1.47.91.tar.xz b/gjs-1.47.91.tar.xz deleted file mode 100644 index 9edfa3f..0000000 --- a/gjs-1.47.91.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b8bd21620f8bb252ec9922d9fdd036ac6229e509af225b0ab9b4379ef333de35 -size 592592 diff --git a/gjs-1.47.92.tar.xz b/gjs-1.47.92.tar.xz new file mode 100644 index 0000000..ae70336 --- /dev/null +++ b/gjs-1.47.92.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:da02ea6b75459a9fd10e7d664c94befcdfa6e3c79138f54b5869b27b8a2da9cb +size 605416 diff --git a/gjs.changes b/gjs.changes index 20fe430..03c627b 100644 --- a/gjs.changes +++ b/gjs.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Tue Mar 14 09:19:56 UTC 2017 - zaitor@opensuse.org + +- Update to version 1.47.92: + + gjs 1.47.91 configure fails with Fedora's mozjs38 (bgo#779412). + + tests: Don't fail when Gtk+-4.0 is available (bgo#779594). + + gjs 1.47.91 test failures on non-amd64 (bgo#779399). + + gjs_eval_thread should always be set (bgo#779693). + + System.exit() should exit even across main loop iterations + (bgo#779692). + + Fix a typo in testCommandLine.sh (bgo#779772). + + arg: Fix accidental fallthrough (bgo#779838). + + jsUnit: Explicitly check if tempTop.parent is defined + (bgo#779871). + + Misc bug fixes. +- Drop mozjs38 BuildRequires and stop passing JS_INTERP=/usr/bin/js + to configure: No longer needed after upstream fixes. + ------------------------------------------------------------------- Tue Feb 28 01:46:36 UTC 2017 - zaitor@opensuse.org diff --git a/gjs.spec b/gjs.spec index de00ec1..b60f07c 100644 --- a/gjs.spec +++ b/gjs.spec @@ -17,7 +17,7 @@ Name: gjs -Version: 1.47.91 +Version: 1.47.92 Release: 0 # FIXME: find out if tapsets should really be in devel package or in main package Summary: JavaScript bindings based on gobject-introspection and Mozilla @@ -26,7 +26,6 @@ Group: Development/Libraries/GNOME Url: http://live.gnome.org/Gjs Source: http://download.gnome.org/sources/gjs/1.47/%{name}-%{version}.tar.xz BuildRequires: gcc-c++ -BuildRequires: mozjs38 BuildRequires: python BuildRequires: readline-devel BuildRequires: systemtap-sdt-devel @@ -84,8 +83,7 @@ Mozilla SpiderMonkey JavaScript engine. %build %configure \ --disable-static \ - --enable-systemtap \ - JS_INTERP=%{_bindir}/js + --enable-systemtap make -j1 V=1 %install From c0c7dc835afbf49a25a8aef017bd7914aaadc4cfdbde4cfc14e6ab77d25c6bc8 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 20 Mar 2017 20:48:45 +0000 Subject: [PATCH 4/4] Accepting request 481563 from GNOME:Next Update to 1.48.0 OBS-URL: https://build.opensuse.org/request/show/481563 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gjs?expand=0&rev=113 --- gjs-1.47.92.tar.xz | 3 --- gjs-1.48.0.tar.xz | 3 +++ gjs.changes | 14 ++++++++++++++ gjs.spec | 4 ++-- 4 files changed, 19 insertions(+), 5 deletions(-) delete mode 100644 gjs-1.47.92.tar.xz create mode 100644 gjs-1.48.0.tar.xz diff --git a/gjs-1.47.92.tar.xz b/gjs-1.47.92.tar.xz deleted file mode 100644 index ae70336..0000000 --- a/gjs-1.47.92.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:da02ea6b75459a9fd10e7d664c94befcdfa6e3c79138f54b5869b27b8a2da9cb -size 605416 diff --git a/gjs-1.48.0.tar.xz b/gjs-1.48.0.tar.xz new file mode 100644 index 0000000..45852e3 --- /dev/null +++ b/gjs-1.48.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ed7db93e12709fe43b2fbe1e157331a0b1dcf3e0d19b81ccebd2d96bfcbe9525 +size 593132 diff --git a/gjs.changes b/gjs.changes index 03c627b..a3bd78c 100644 --- a/gjs.changes +++ b/gjs.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Mon Mar 20 19:58:00 UTC 2017 - dimstar@opensuse.org + +- Update to version 1.48.0: + + Memory leak in object_instance_resolve() (bgo#780171). +- Drop gjs-object-Fix-memory-leak-in-resolve.patch: fixed upstream. + +------------------------------------------------------------------- +Thu Mar 16 22:59:02 UTC 2017 - luke.nukem.jones@gmail.com + +- Add patch gjs-object-Fix-memory-leak-in-resolve.patch: The "name" + string, allocated in gjs_get_string_id(), wasn't getting freed at + every exit point of the function (bgo#780171). + ------------------------------------------------------------------- Tue Mar 14 09:19:56 UTC 2017 - zaitor@opensuse.org diff --git a/gjs.spec b/gjs.spec index b60f07c..3dc4fee 100644 --- a/gjs.spec +++ b/gjs.spec @@ -17,14 +17,14 @@ Name: gjs -Version: 1.47.92 +Version: 1.48.0 Release: 0 # FIXME: find out if tapsets should really be in devel package or in main package Summary: JavaScript bindings based on gobject-introspection and Mozilla License: MIT Group: Development/Libraries/GNOME Url: http://live.gnome.org/Gjs -Source: http://download.gnome.org/sources/gjs/1.47/%{name}-%{version}.tar.xz +Source: http://download.gnome.org/sources/gjs/1.48/%{name}-%{version}.tar.xz BuildRequires: gcc-c++ BuildRequires: python BuildRequires: readline-devel