Accepting request 1002620 from GNOME:Next

GNOME 43.rc - let's get this into Staging to see what we break (e.g meson:test seems to be an issue already)

OBS-URL: https://build.opensuse.org/request/show/1002620
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gjs?expand=0&rev=211
This commit is contained in:
Dominique Leuenberger 2022-09-13 07:32:42 +00:00 committed by Git OBS Bridge
parent 548de2b00b
commit 605f9d3d04
4 changed files with 100 additions and 7 deletions

View File

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

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

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

View File

@ -1,3 +1,96 @@
-------------------------------------------------------------------
Fri Aug 26 18:31:37 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 1.73.2:
+ New JavaScript features! This version of GJS is based on
SpiderMonkey 102, an upgrade from the previous ESR (Extended
Support Release) of SpiderMonkey 91. Here are the highlights of
the new JavaScript features. For more information, look them up
on MDN or devdocs.io.
+ New APIs
- The `Object.hasOwn()` static method can be used as an easier
replacement for `Object.prototype.hasOwnProperty.call(...)`.
- `Intl.supportedValuesOf()` lets you enumerate which
calendars, currencies, collation strategies, numbering
systems, time zones, and units are available for
internationalization.
+ It's now possible to use
`GObject.BindingGroup.prototype.bind_full()` with JS functions.
Previously this method was unusable in JS.
+ Gio.FileEnumerator is now iterable, both synchronously (with
for-of or array spread syntax) and asynchronously (with
for-await-of).
+ Performance improvements in the built-in `imports.signals`
module.
+ Many improvements to the examples and documentation.
+ Closed bugs and merge requests:
- Spidermonkey 102
- Object connections / signal emissions optimizations
- tests/Gio: Cleanup Gio._promisify
- Include JUnit reports in builds
- Integrate pretty print to the debugger
- doc:
. Edit GJS description
. note the version `constructor()` became supported
. Modernize examples
. Document byteArray deprecation and migration
. add simple Gtk.TickCallback example
- build: disable sysprof agent for subproject fallback
- Update CI images
- GListModel.get_n_items returns garbage value
- Add override for g_binding_group_bind_full()
- Make GFileEnumerator iterable and async iterable
- Replace pkgconfig(mozjs-91) with pkgconfig(mozjs-102)
BuildRequires following upstreams changes.
-------------------------------------------------------------------
Tue Aug 9 12:23:46 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 1.73.1:
+ The interactive interpreter now displays its output more
intelligently, pretty-printing the properties and values of
objects based on their type. This improvement also applies to
the log() and logError() functions.
+ New API: DBus proxy classes now include methods named with the
suffix 'Async', which perform async calls to DBus APIs and
return Promises. This is in addition to the existing suffixes
'Sync' (for blocking calls) and 'Remote' (for async calls with
callbacks.)
+ There is an override for
Gio.ActionMap.prototype.add_action_entries(). Previously this
method wouldn't work because it required an array of
Gio.ActionEntry objects, which are not possible to construct in
GJS. Now it can be used with an array of plain objects. (e.g.
`this.add_action_entries
([{name: 'open', activate() { ... }}]);`
+ GJS is now compatible with libffi 3.4.2 and later. All earlier
versions of GJS are not compatible with libffi 3.4.2 and later
unless libffi is built with the --disable-exec-static-tramp
flag.
+ GJS now requires Meson 0.54 to build.
+ Closed bugs and merge requests:
- Verbose Object Print Output
- Add support for JS async calls in DBusProxyWrapper
- Crash after build against libffi 3.4.2
- Handle reference cycles in new console pretty print function
- Gnome-Shell 42 - crash after login (general protection fault)
- Various maintenance
- jsapi-util-strings: Ignore locale to compute the upper case
of a char (i.e. fix implicit properties on Turkish locale)
- Dockerfile: Install Turkish locale in CI for UTF-8 locale too
- Improve pretty-print output for GObject-introspected objects
- Expose pretty print function to tests
- build: track changes to Sysprof meson options
- Make Gio.ActionMap.add_action_entries work
- Make DBus session and system props non-enumerable
- gi/arg-inl: Mark the arg functions as constexpr
- build: Do not use verbose GJS debug logging in tests by
default
- minijasmine: Print test JS errors output if any
- doc: document the existence of the console object in GJS
- arg-cache: Use a switch to select the not-introspectable error
- log_set_writer_func is not safe to use
-------------------------------------------------------------------
Mon Aug 8 08:39:36 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -17,18 +17,18 @@
Name: gjs
Version: 1.72.2
Version: 1.73.2
# FIXME # Disable tests for unstable 1.71.1 - Try tests again on next versionbump
Release: 0
Summary: JavaScript bindings based on gobject-introspection and Mozilla
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.72/%{name}-%{version}.tar.xz
Source0: https://download.gnome.org/sources/gjs/1.73/%{name}-%{version}.tar.xz
BuildRequires: c++_compiler
BuildRequires: git
BuildRequires: meson >= 0.52.0
BuildRequires: meson >= 0.54.0
BuildRequires: pkgconfig
BuildRequires: readline-devel
%if 0%{?sle_version} && 0%{?sle_version} <= 150400
@ -48,7 +48,7 @@ BuildRequires: pkgconfig(gthread-2.0) >= 2.50.0
BuildRequires: pkgconfig(gtk+-3.0) >= 3.20
BuildRequires: pkgconfig(gtk4)
BuildRequires: pkgconfig(libffi)
BuildRequires: pkgconfig(mozjs-91)
BuildRequires: pkgconfig(mozjs-102)
# Hack - fix sysprof static devel requires instead
BuildRequires: pkgconfig(sysprof-4)
BuildRequires: pkgconfig(sysprof-capture-4)