diff --git a/gjs-1.58.6.tar.xz b/gjs-1.58.6.tar.xz deleted file mode 100644 index 6270125..0000000 --- a/gjs-1.58.6.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1864bf22f4f5e4107832b4c54127cce8509d37ccc14abd25a6878c7ffed96640 -size 637972 diff --git a/gjs-1.64.1.tar.xz b/gjs-1.64.1.tar.xz new file mode 100644 index 0000000..c49b42e --- /dev/null +++ b/gjs-1.64.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:55af83893e99ba2962eca46f47340a4cf8cba5b1966ab00a0f8b9c3034e9987c +size 418444 diff --git a/gjs.changes b/gjs.changes index 5faec8e..4c21b6d 100644 --- a/gjs.changes +++ b/gjs.changes @@ -1,3 +1,95 @@ +------------------------------------------------------------------- +Sat Mar 28 16:52:28 UTC 2020 - Bjørn Lie + +- Update to version 1.64.1: + + The BigInt type is now _actually_ available, as it wasn't + enabled in the 1.64.0 release even though it was mentioned in + the release notes. + + Closed bugs and merge requests: + - testCommandLine's Unicode tests failing on Alpine Linux. + - build: Various clean-ups. + - Correctly handle vfunc inout parameters. + - Fix failed redirect of output in CommandLine tests. + +------------------------------------------------------------------- +Sat Mar 28 16:52:27 UTC 2020 - Bjørn Lie + +- Update to version 1.64.0: + + No changes, stable version update only. + +------------------------------------------------------------------- +Sat Mar 28 16:52:26 UTC 2020 - bjorn.lie@gmail.com + +- Update to version 1.63.92: + + object: Use g_irepository_get_object_gtype_interfaces. + + Add -fno-semantic-interposition to -Bsymbolic-functions. + + examples: add a dbus-client and dbus-service example. + + Various GNOME Shell crashes during GC, mozjs68 regression. +- Drop gjs-fix-gnome-shell-crash-mr396.patch: Fixed upstream. + +------------------------------------------------------------------- +Sat Mar 28 16:52:25 UTC 2020 - Bjørn Lie + +- Add yet a commit from upstream wip mr (glgo#GNOME/gjs!396). + +------------------------------------------------------------------- +Sat Mar 28 16:52:24 UTC 2020 - Bjørn Lie + +- Add gjs-fix-gnome-shell-crash-mr396.patch: Fix various crashes in + gnome-shell caused by gjs, drop gjs-dont-zero-out-wrapper.patch + as that is part of this new patch too. + +------------------------------------------------------------------- +Sat Mar 28 16:52:23 UTC 2020 - Bjørn Lie + +- Add gjs-dont-zero-out-wrapper.patch: object: Don't zero out + wrapper if destroying ObjectInstance anyway (glgo#GNOME/gjs!396). + +------------------------------------------------------------------- +Sat Mar 28 16:52:22 UTC 2020 - Dominique Leuenberger + +- Update to version 1.63.91: + + [mozjs68] Reorganize modules for ESM. + + Various maintenance. + + Fix building GJS master with Visual Studio and update build + instructions. + + Resolve "Gnome Shell crash on GC run with mozjs68". + + installed-tests/js: Add missing dep on warnlib_typelib. + + object: Cache known unresolvable properties. + + Updated translations. + +------------------------------------------------------------------- +Sat Mar 28 16:52:21 UTC 2020 - dimstar@opensuse.org + +- Update to version 1.63.90: + + This version of GJS is based on SpiderMonkey 68, an upgrade + from the previous ESR (Extended Support Release) of + SpiderMonkey 60. + + New language features + - The BigInt type, currently a stage 3 proposal in the ES + standard, is now available. + + New syntax + - `globalThis` is now the ES-standard supported way to get the + global object, no matter what kind of JS environment. + - BigInt literals are expressed by a number with "n" appended + to it: for example, `1n`, `9007199254740992n`. + + New behaviour: There are a lot of minor behaviour changes as + SpiderMonkey's JS implementation conforms ever closer to + existing ECMAScript standards and adopts new ones. For complete + information, read the Firefox developer release notes + + Backwards-incompatible changes: The nonstandard String generics + were removed. +- Changes from version 1.63.3: + + JS ERROR: TypeError: this._rooms.get(...) is undefined. + + gjs-symlink script is incompatible with distro builds. + + object: Warn when setting a deprecated property. +- Switch to meson buildsystem, add meson BuildRequires and macros. +- Replace gcc-c++ with c++_compiler BuildRequires. +- Add git BuildRequires: New dependency (expected to be dropped). +- Add pkgconfig(sysprof-3) and pkgconfig(sysprof-capture-3) + BuildRequires, build profiler support. +- Add new sub package gjs-tests, build and package tests. + ------------------------------------------------------------------- Sat Mar 28 16:52:20 UTC 2020 - Bjørn Lie diff --git a/gjs.spec b/gjs.spec index fa05e4c..93af58c 100644 --- a/gjs.spec +++ b/gjs.spec @@ -17,15 +17,17 @@ Name: gjs -Version: 1.58.6 +Version: 1.64.1 Release: 0 Summary: JavaScript bindings based on gobject-introspection and Mozilla License: MIT AND LGPL-2.0-or-later Group: Development/Libraries/GNOME URL: https://wiki.gnome.org/Projects/Gjs -Source0: https://download.gnome.org/sources/gjs/1.58/%{name}-%{version}.tar.xz +Source0: https://download.gnome.org/sources/gjs/1.64/%{name}-%{version}.tar.xz -BuildRequires: gcc-c++ +BuildRequires: c++_compiler +BuildRequires: git +BuildRequires: meson BuildRequires: pkgconfig BuildRequires: python BuildRequires: readline-devel @@ -41,7 +43,10 @@ BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.53.4 BuildRequires: pkgconfig(gthread-2.0) >= 2.50.0 BuildRequires: pkgconfig(gtk+-3.0) >= 3.20 BuildRequires: pkgconfig(libffi) -BuildRequires: pkgconfig(mozjs-60) +BuildRequires: pkgconfig(mozjs-68) +# Hack - fix sysprof static devel requires instead +BuildRequires: pkgconfig(sysprof-3) +BuildRequires: pkgconfig(sysprof-capture-3) Requires: libgjs0 = %{version} ExcludeArch: s390 @@ -85,29 +90,42 @@ Provides: gjs-devel = %{version} This module contains JavaScript bindings based on gobject-introspection and the Mozilla SpiderMonkey JavaScript engine. +%package tests +Summary: Tests for the gjs package +License: MIT AND LGPL-2.0-or-later +Group: Development/Libraries/GNOME +Requires: %{name} = %{version} + +%description tests +The gjs-tests package contains tests that can be used to verify +the functionality of the installed gjs package. + %prep %autosetup -p1 %build -#doesn't play well with systemtap +# FIXME # Doesn't play well with systemtap -- lets test this during 3.37 unstable round, do we still needed? %global _lto_cflags %{nil} -%configure \ - --disable-static \ - --enable-systemtap -make %{?_smp_mflags} +%meson \ + -Ddtrace=true \ + -Dsystemtap=true \ + %{nil} +%meson_build %install -%make_install -find %{buildroot} -type f -name "*.la" -delete -print -rm %{buildroot}/usr/share/glib-2.0/schemas/org.gnome.GjsTest.gschema.xml +%meson_install + +# FIXME # Try again on next versionbump +#%%check +#%%meson_test %post -n libgjs0 -p /sbin/ldconfig %postun -n libgjs0 -p /sbin/ldconfig %files %license COPYING -%doc NEWS README +%doc NEWS README.md %{_bindir}/gjs %{_bindir}/gjs-console @@ -127,4 +145,10 @@ rm %{buildroot}/usr/share/glib-2.0/schemas/org.gnome.GjsTest.gschema.xml %{_datadir}/%{name}-1.0/ %{_datadir}/systemtap/tapset/*.stp +%files tests +%dir %{_libexecdir}/gjs +%{_libexecdir}/gjs/installed-tests +%{_datadir}/glib-2.0/schemas/org.gnome.GjsTest.gschema.xml +%{_datadir}/installed-tests + %changelog