Accepting request 796099 from GNOME:Factory

OBS-URL: https://build.opensuse.org/request/show/796099
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gjs?expand=0&rev=88
This commit is contained in:
Dominique Leuenberger 2020-04-23 16:29:04 +00:00 committed by Git OBS Bridge
commit 9fb79f3bba
4 changed files with 119 additions and 16 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1864bf22f4f5e4107832b4c54127cce8509d37ccc14abd25a6878c7ffed96640
size 637972

3
gjs-1.64.1.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:55af83893e99ba2962eca46f47340a4cf8cba5b1966ab00a0f8b9c3034e9987c
size 418444

View File

@ -1,3 +1,97 @@
-------------------------------------------------------------------
Sat Mar 28 16:52:28 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>
- 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 <bjorn.lie@gmail.com>
- 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 <bjorn.lie@gmail.com>
- Add yet a commit from upstream wip mr (glgo#GNOME/gjs!396).
-------------------------------------------------------------------
Sat Mar 28 16:52:24 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>
- 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 <bjorn.lie@gmail.com>
- 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 <dimstar@opensuse.org>
- 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.
- Pass -Dinstalled_tests=false to meson: do not install the test
suite (it's meant to be invalid code, which in turn confuses the
dep scanner).
-------------------------------------------------------------------
Sat Mar 28 16:52:20 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -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
@ -89,25 +94,29 @@ Mozilla SpiderMonkey JavaScript engine.
%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 \
-Dinstalled_tests=false \
%{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