Accepting request 880934 from GNOME:Next

GNOME 40 - here we come

OBS-URL: https://build.opensuse.org/request/show/880934
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gjs?expand=0&rev=195
This commit is contained in:
Dominique Leuenberger 2021-03-24 16:32:10 +00:00 committed by Git OBS Bridge
parent 4e0aa9a49b
commit 9c1475b65d
4 changed files with 85 additions and 11 deletions

View File

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

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

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

View File

@ -1,3 +1,73 @@
-------------------------------------------------------------------
Sat Mar 20 17:25:14 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 1.68.0:
+ 40.rc session crashes in gjs on unlocking (sometimes).
+ 40.rc: installed-tests installed despite explicitly disabled.
- Drop 589.patch: fixed uptream.
-------------------------------------------------------------------
Fri Mar 19 08:33:31 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
- Re-enable test suite:
+ Enable %check section and run %meson_test
+ As the test suite also runs some graphical application, run
Xvfb before, so we have an X server available.
+ Add xorg-x11-server-Xvfb BuildRequires
-------------------------------------------------------------------
Thu Mar 18 11:12:23 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 1.67.3:
+ Closed bugs and merge requests:
- System.exit() doesn't work inside signal handler.
- GdkEvent subtypes trigger assert in Gtk4.
- 1.67.2: build fails with gcc 11.
- Warnings introspecting array of boxed type as signal
argument.
- Add list command to debugger.
- Assertion failure in enqueuePromiseJob.
- in interpreter Ctrl-c should exit inner shell if stuck.
- Compiler ambiguity in enum-utils.h on operator overloading.
- Fix GJS_DISABLE_JIT not fully disabling JIT.
- 1.67.2: Regress test hangs / timeouts on i686.
- object: Do not call any function on disposed GObject
pointers.
- Add 589.patch: Do not wrongly install files for installed_tests
if explicitly disabled.
-------------------------------------------------------------------
Mon Feb 15 10:51:56 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>
- Update to version 1.67.2:
+ Importing ES modules is now supported.
+ The debugger now has a "list" command which works very
similarly to its GDB equivalent.
+ New API: GObject.ParamSpec.jsobject() works like the other
GObject.ParamSpec types.
+ New API: System.programPath is the name of the JS program that
GJS is running.
+ New API: System.programArgs is an array of arguments given to
the JS program.
-------------------------------------------------------------------
Tue Jan 12 11:01:47 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 1.67.1:
+ The debugger now has a "backtrace full" command which works
very similarly to its GDB equivalent.
+ The GObject.ParamFlags.CONSTRUCT_ONLY flag is now correctly
enforced, when using it on GObject classes defined in
JavaScript. This might break code that was incorrectly trying
to set a property that it had previously defined as
construct-only. The workaround is to remove the CONSTRUCT_ONLY
flag.
+ Fixed exception when calling GObject.Type().
+ Several performance improvements.
+ Progress on ES Modules.
+ Various refactors for type safety.
+ Various maintenance.
-------------------------------------------------------------------
Sun Jan 10 11:28:08 UTC 2021 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -17,13 +17,13 @@
Name: gjs
Version: 1.66.2
Version: 1.68.0
Release: 0
Summary: JavaScript bindings based on gobject-introspection and Mozilla
License: MIT AND LGPL-2.0-or-later
License: LGPL-2.0-or-later AND MIT
Group: Development/Libraries/GNOME
URL: https://wiki.gnome.org/Projects/Gjs
Source0: https://download.gnome.org/sources/gjs/1.66/%{name}-%{version}.tar.xz
Source0: https://download.gnome.org/sources/gjs/1.68/%{name}-%{version}.tar.xz
BuildRequires: c++_compiler
BuildRequires: git
@ -31,6 +31,7 @@ BuildRequires: meson >= 0.52.0
BuildRequires: pkgconfig
BuildRequires: readline-devel
BuildRequires: systemtap-sdt-devel
BuildRequires: xorg-x11-server-Xvfb
BuildRequires: pkgconfig(cairo)
BuildRequires: pkgconfig(cairo-gobject)
BuildRequires: pkgconfig(cairo-xlib)
@ -67,7 +68,7 @@ Mozilla SpiderMonkey JavaScript engine.
%package -n typelib-1_0-GjsPrivate-1_0
Summary: Introspection bindings for the GJS library
# The tyeplib was renamed in gnome 3.6, to reflect it is a private lib.
License: MIT AND LGPL-2.0-or-later
License: LGPL-2.0-or-later AND MIT
Group: System/Libraries
Obsoletes: typelib-1_0-GjsDBus-1_0 < %{version}
@ -77,7 +78,7 @@ Mozilla SpiderMonkey JavaScript engine.
%package -n libgjs-devel
Summary: Development files for the GJS library
License: MIT AND LGPL-2.0-or-later
License: LGPL-2.0-or-later AND MIT
Group: Development/Libraries/GNOME
Requires: %{name} = %{version}
Requires: libgjs0 = %{version}
@ -107,8 +108,11 @@ Mozilla SpiderMonkey JavaScript engine.
%meson_install
# FIXME # Try again on next versionbump
#%%check
#%%meson_test
%check
export DISPLAY=:98
Xvfb :98 >& Xvfb.log & trap "kill $! || true" EXIT
sleep 10
%meson_test
%post -n libgjs0 -p /sbin/ldconfig
%postun -n libgjs0 -p /sbin/ldconfig
@ -120,7 +124,7 @@ Mozilla SpiderMonkey JavaScript engine.
%{_bindir}/gjs-console
%files -n libgjs0
%license COPYING.LGPL
%license LICENSES/LGPL-2.0-or-later.txt
%{_libdir}/*.so.*
%files -n typelib-1_0-GjsPrivate-1_0