Accepting request 1109808 from GNOME:Next

Pushing GNOME 45.rc packages

OBS-URL: https://build.opensuse.org/request/show/1109808
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gjs?expand=0&rev=225
This commit is contained in:
Luciano Santos 2023-09-12 02:33:59 +00:00 committed by Git OBS Bridge
parent a1f64918f5
commit edb292bb06
4 changed files with 120 additions and 8 deletions

View File

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

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

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

View File

@ -1,3 +1,112 @@
-------------------------------------------------------------------
Wed Sep 6 01:06:31 UTC 2023 - Luciano Santos <luc14n0@opensuse.org>
- Drop pkgconfig(sysprof-4) BuildRequires. This was only needed
because sysprof-capture-static-devel was lacking header files,
which was mistakenly being packaged with sysprof-devel, and it's
fixed now.
- Add with(out) "profiling" build switch and disable it, by
default, as profiling isn't meant for general use. This nests
pkgconfig(sysprof-capture-4) BuildRequires under an if-with
expression and passes profiler=(enabled|disabled) to meson,
depending on the profiling switch.
-------------------------------------------------------------------
Tue Sep 5 09:49:41 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 1.77.90:
+ Building GJS with -fno-exceptions is now the default. To retain
the previous behaviour, invoke Meson with -Dcpp_eh=default.
+ Closed bugs and merge requests:
- testEverything fails make check
- Using a Gio.Appinfo().launch with context may crash gjs
- Fixed-size and Zero-terminated arrays are leaked when used as
in or inout arguments with transfer none
- Crash due to bad memory usage when calling a function taking
an inout array with length parameter and transfer full
- Various maintenance
- README.MSVC.md: Update for SpiderMonkey-115.x
- GJS returns pointers instead of numbers for function with
output parameters
- Profiler spuriously records GJS.boxed_instance and
GJS.boxed_prototype
- installed-tests/js/meson: Add tests dependencies to dbus
tests
- eslint: Make multi-line imports to always include a trailing
comma
- Make console.error format GError correctly
- Gtk:
. Throw an error for an invalid Template string
. Attempt to load Template from a string, if it appears valid
- global: Really enable non-mutating Array methods
-------------------------------------------------------------------
Sun Aug 13 07:05:21 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 1.77.2:
+ New JavaScript features! This version of GJS is based on
SpiderMonkey 115, an upgrade from the previous ESR (Extended
Support Release) of SpiderMonkey 102. Here are the highlights
of the new JavaScript features. For more information, look them
up on MDN or devdocs.io.
+ New APIs:
- Arrays and typed arrays have gained `findLast()` and
`findLastIndex()` methods, which act like `find()` and
`findIndex()` respectively, but start searching at the end of
the array.
- Arrays and typed arrays have gained the `with()` method,
which returns a copy of the array with one element replaced.
- Arrays and typed arrays have gained `toReversed()`,
`toSorted()`, and `toSpliced()` methods, which act like
`reverse()`, `sort()`, and `splice()` respectively, but
return a copy of the array instead of modifying it in-place.
- The `Array.fromAsync()` static method acts like
`Array.from()` but with async iterables, and returns a
Promise that fulfills to the new Array.
+ It is now possible to build GJS with -fno-exceptions, by
invoking Meson with -Dcpp_eh=none.
+ Closed bugs and merge requests:
- Port to mozjs115
- Various maintenance
- arg: Preserve transfer when freeing out arrays
- Some values leak fixes and cleanups
- Does not parse hash tables in signals
- docs: fix minor URL mistakes and behavioural omissions
- gjs: Listen to GMemoryMonitor::low-memory-warning to trigger
GC
- GSettings override in Gio.js may fail on construction
- Gio: Fix constructing Settings with a SettingsSchema object
- Replace pkgconfig(mozjs-102) with pkgconfig(mozjs-115)
BuildRequires following upstreams port.
-------------------------------------------------------------------
Mon Jul 10 15:21:24 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 1.77.1:
+ Many documentation improvements and cleanups.
+ New API for C programs embedding GJS:
gjs_context_run_in_realm(). This allows using the SpiderMonkey
API, for advanced use cases, while having entered the main
realm where GJS code runs. Most programs will not need to use
this.
+ Closed bugs and merge requests:
- Cleanups: Use more autopointers.
- bug(build, tests): broken dependency cycle associated with
the `have_gtk4` variable.
- Better handling of callbacks during GC.
- doc: Add Gio and GLib runAsync overrides.
- installed-tests/meson: Add tests dependencies on gjs console
and GjsPrivate.
- gi/arg: Cleanup handling of C arrays and GValue arrays.
- Various maintenance.
- doc: Fix http-client.js example.
- use `meson setup` instead of ambiguous `meson`.
- docs: document `GObject.gtypeNameBasedOnJSPath`.
- docs: fix formatting for `Signals.md`.
- Provide API to get GTypes defined in a module.
- doc: Update inroduction.
- gi/args.cpp: Fix build with Visual Studio.
-------------------------------------------------------------------
Thu Jun 15 07:27:19 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -16,14 +16,16 @@
#
%bcond_with profiling
Name: gjs
Version: 1.76.2
Version: 1.77.90
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.76/%{name}-%{version}.tar.xz
Source0: https://download.gnome.org/sources/gjs/1.77/%{name}-%{version}.tar.xz
BuildRequires: c++_compiler
BuildRequires: git
@ -47,10 +49,10 @@ BuildRequires: pkgconfig(gthread-2.0) >= 2.50.0
BuildRequires: pkgconfig(gtk+-3.0) >= 3.20
BuildRequires: pkgconfig(gtk4)
BuildRequires: pkgconfig(libffi)
BuildRequires: pkgconfig(mozjs-102)
# Hack - fix sysprof static devel requires instead
BuildRequires: pkgconfig(sysprof-4)
BuildRequires: pkgconfig(mozjs-115)
%if %{with profiling}
BuildRequires: pkgconfig(sysprof-capture-4)
%endif
Requires: libgjs0 = %{version}
ExcludeArch: s390
@ -100,6 +102,7 @@ Mozilla SpiderMonkey JavaScript engine.
%build
%meson \
-Dinstalled_tests=false \
-Dprofiler=%{?with_profiling:enabled}%{!?with_profiling:disabled} \
%{nil}
%meson_build