Compare commits
12 Commits
Author | SHA256 | Date | |
---|---|---|---|
ca444b8c21 | |||
02edc82710 | |||
22f6b8bd7b | |||
7a184032d3 | |||
e6b4c797a2 | |||
c7d9afd116 | |||
745df11c53 | |||
8027c32491 | |||
85bc4e392a | |||
f86ea77574 | |||
8a8a50b682 | |||
50a5c50000 |
7
_service
7
_service
@@ -3,9 +3,10 @@
|
|||||||
<service name="obs_scm" mode="manual">
|
<service name="obs_scm" mode="manual">
|
||||||
<param name="scm">git</param>
|
<param name="scm">git</param>
|
||||||
<param name="url">https://gitlab.gnome.org/GNOME/gjs.git</param>
|
<param name="url">https://gitlab.gnome.org/GNOME/gjs.git</param>
|
||||||
<param name="revision">1.80.2</param>
|
<param name="revision">1.84.2</param>
|
||||||
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
|
<!-- Using +TAG_OFFSET breaks the test suite - https://gitlab.gnome.org/GNOME/gjs/-/issues/646 -->
|
||||||
<param name="versionrewrite-pattern">(.*)\+0</param>
|
<param name="versionformat">@PARENT_TAG@.g@TAG_OFFSET@</param>
|
||||||
|
<param name="versionrewrite-pattern">(.*).g0</param>
|
||||||
<param name="versionrewrite-replacement">\1</param>
|
<param name="versionrewrite-replacement">\1</param>
|
||||||
<!-- <param name="changesgenerate">enable</param> -->
|
<!-- <param name="changesgenerate">enable</param> -->
|
||||||
</service>
|
</service>
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:533eae10f7f097ab7d953f1d130a2ba1a64b1eec8ab2a409a4ed272616bbac93
|
|
||||||
size 3890188
|
|
BIN
gjs-1.84.2.obscpio
(Stored with Git LFS)
Normal file
BIN
gjs-1.84.2.obscpio
(Stored with Git LFS)
Normal file
Binary file not shown.
160
gjs.changes
160
gjs.changes
@@ -1,3 +1,163 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 14 08:23:27 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
- Update to version 1.84.2:
|
||||||
|
+ Closed bugs and merge requests: GtkNotebook.pages GListModel is
|
||||||
|
inaccessible from GJS.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Apr 13 09:15:34 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
- Exclude s390x arch from testing, to unstable/slow to test ok.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 31 09:27:20 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
- Enable tests during build again, resolved elsewhere in the stack.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 18 06:22:27 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
- Update to version 1.84.1:
|
||||||
|
+ tests: Prevent failures when GTK4/DISPLAY is missing
|
||||||
|
+ testWarnings: run gc wrapper test only under Gtk4
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Mar 2 22:06:24 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
- Update to version 1.83.90 (Unstable):
|
||||||
|
+ Various maintenance
|
||||||
|
+ Add type checking job
|
||||||
|
+ Write g-i regression tests for flags and enum values with gaps
|
||||||
|
- Drop no longer needed nor used git BuildRequires.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 4 09:48:25 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
- Update to version 1.83.4 (Unstable):
|
||||||
|
+ The gjs-console REPL is now asynchronous. You can, for example,
|
||||||
|
create a window with a button, connect a signal handler, click
|
||||||
|
the button, and the signal handler will run when the button is
|
||||||
|
clicked. Previously, the signal handler wouldn't run because it
|
||||||
|
was blocked by the console waiting for input. This doesn't yet
|
||||||
|
make `await` work in the console, but it is a prerequisite.
|
||||||
|
+ Usually for C APIs that use GValue, GJS transparently
|
||||||
|
substitutes native JS values. However, in some cases you need
|
||||||
|
to use the GObject.Value wrapper in JS. There is now a new API
|
||||||
|
to construct GObject.Value. Instead of constructing an empty
|
||||||
|
Value object, calling `init()` with the type, and then
|
||||||
|
`set_...` to fill it, you can now do it in one: `new
|
||||||
|
GObject.Value(String, 'a string')`. (The old way still works.)
|
||||||
|
+ Closed bugs and merge requests:
|
||||||
|
- interactive interpreter + mainloop
|
||||||
|
- object: Add support for static virtual functions
|
||||||
|
- "%Id" support in format strings for alternative digits
|
||||||
|
disabled due to error in detection at configure/build time
|
||||||
|
- null-prototype objects should be pretty-printed less
|
||||||
|
confusingly
|
||||||
|
- Missing property with gjs 1.83.2
|
||||||
|
- arg-types-inl: Replace `<T, TAG>` pairs with a single TAG
|
||||||
|
- Introduce simpler override for GObject.Value
|
||||||
|
- Use Meson 1.4 and full_path() feature
|
||||||
|
- Update gobject-introspection-tests
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jan 18 20:23:14 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
- Update to version 1.83.2 (Unstable):
|
||||||
|
+ Closed bugs and merge requests:
|
||||||
|
- profiler: only build dynamic string for profiler label if
|
||||||
|
profiling
|
||||||
|
- object: Fix missing static_type_name template parameter
|
||||||
|
- Disable meson_test, OK while we are in unstable branch.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jan 12 21:16:52 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
- Update to version 1.83.1 (Unstable):
|
||||||
|
+ GJS now supports source maps. If you use build tools such as
|
||||||
|
TypeScript for source code transformation, you can ship source
|
||||||
|
map files alongside your built JS files and make sure your
|
||||||
|
build tool adds the magic source map comment. You will then get
|
||||||
|
the original source locations printed in stack traces and in
|
||||||
|
the debugger.
|
||||||
|
+ In the interactive interpreter (gjs-console), command history
|
||||||
|
is now saved between runs. You can set the environment variable
|
||||||
|
GJS_REPL_HISTORY to save the command history to a custom file,
|
||||||
|
or set it to an empty string to switch this feature off.
|
||||||
|
+ The debugger now supports examining private fields.
|
||||||
|
+ Some performance and memory usage improvements around calling
|
||||||
|
GNOME platform functions and accessing properties of GNOME
|
||||||
|
platform objects.
|
||||||
|
+ Backwards-incompatible change: Gettext.setlocale() now only
|
||||||
|
affects the locale of the current thread. This will not affect
|
||||||
|
your JS code, but it may affect your app if you use a C library
|
||||||
|
with worker threads and you relied on being able to set the
|
||||||
|
locale in those worker threads from JS.
|
||||||
|
+ Closed bugs and merge requests:
|
||||||
|
- Rewrite arguments cache using C++ inheritance
|
||||||
|
- package: Try to load resource module name if available
|
||||||
|
- object, args-cache: Improve performance with properties basic
|
||||||
|
types
|
||||||
|
- Use property accessors and setters directly
|
||||||
|
- gjs-util: make gjs_setlocale thread-safe
|
||||||
|
- Support Source Maps
|
||||||
|
- Fix return value of load_contents_async
|
||||||
|
- Various maintenance
|
||||||
|
- Add history support to REPL
|
||||||
|
- Some prep for type safety refactors
|
||||||
|
- Update to latest gobject-introspection-tests
|
||||||
|
- Build failure regression for i686
|
||||||
|
- Segfault when using GtkListView and custom widgets
|
||||||
|
- ci: Switch to GNOME GitLab mirror of ci-templates
|
||||||
|
- Connecting to signal of a GstElement errors with "too much
|
||||||
|
recursion"
|
||||||
|
- Update to use GNOME Release Service
|
||||||
|
- Enable inspecting symbol properties and private fields in the
|
||||||
|
debugger
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 21 05:27:46 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
- Update to version 1.82.1:
|
||||||
|
+ Fixed gnome-shell crash when switching user after upgrade from
|
||||||
|
Fedora 40 to Fedora 41
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 17 06:17:05 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
- Update to version 1.82.0:
|
||||||
|
+ Installed tests are failing because they can't load internal
|
||||||
|
typelibs from parent directory
|
||||||
|
+ GIMarshalling test has 3 failures with 1.81.90 on i686.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 13 07:42:58 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- Update to version 1.81.90.g4:
|
||||||
|
+ arg-cache: Init out parameters with correct number of bits.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 2 07:55:45 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
- Update to version 1.81.90:
|
||||||
|
+ callbacks: fix sweeping check for incremental GC
|
||||||
|
+ GJS doesn't handle query parameters in imports
|
||||||
|
+ Integrate gobject-introspection-tests as submodule
|
||||||
|
+ module: Include full module specifier in import.meta.url
|
||||||
|
+ doap: Remove invalid maintainer entry
|
||||||
|
+ installed tests have the wrong libexecdir
|
||||||
|
+ Inheriting final class crashes GJS
|
||||||
|
+ Various maintenance
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 30 06:58:00 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
- Update to version 1.81.2:
|
||||||
|
+ This version of GJS is based on SpiderMonkey 128, an upgrade
|
||||||
|
from the previous ESR (Extended Support Release) of
|
||||||
|
SpiderMonkey 115.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Mar 26 08:03:31 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
Tue Mar 26 08:03:31 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
name: gjs
|
name: gjs
|
||||||
version: 1.80.2
|
version: 1.84.2
|
||||||
mtime: 1711420638
|
mtime: 1744578736
|
||||||
commit: 46a4ae6d484af6161bc05c05e179290f7a847951
|
commit: 0c924fbc79ca8615d7ae5d530fceeec36d737c7f
|
||||||
|
20
gjs.spec
20
gjs.spec
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package gjs
|
# spec file for package gjs
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
%bcond_with profiling
|
%bcond_with profiling
|
||||||
|
|
||||||
Name: gjs
|
Name: gjs
|
||||||
Version: 1.80.2
|
Version: 1.84.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: JavaScript bindings based on gobject-introspection and Mozilla
|
Summary: JavaScript bindings based on gobject-introspection and Mozilla
|
||||||
License: LGPL-2.0-or-later AND MIT
|
License: LGPL-2.0-or-later AND MIT
|
||||||
@@ -29,7 +29,6 @@ Source0: %{name}-%{version}.tar.zst
|
|||||||
|
|
||||||
BuildRequires: /usr/bin/dbus-run-session
|
BuildRequires: /usr/bin/dbus-run-session
|
||||||
BuildRequires: c++_compiler
|
BuildRequires: c++_compiler
|
||||||
BuildRequires: git
|
|
||||||
BuildRequires: meson >= 0.54.0
|
BuildRequires: meson >= 0.54.0
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: readline-devel
|
BuildRequires: readline-devel
|
||||||
@@ -50,7 +49,7 @@ BuildRequires: pkgconfig(gthread-2.0) >= 2.50.0
|
|||||||
BuildRequires: pkgconfig(gtk+-3.0) >= 3.20
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.20
|
||||||
BuildRequires: pkgconfig(gtk4)
|
BuildRequires: pkgconfig(gtk4)
|
||||||
BuildRequires: pkgconfig(libffi)
|
BuildRequires: pkgconfig(libffi)
|
||||||
BuildRequires: pkgconfig(mozjs-115)
|
BuildRequires: pkgconfig(mozjs-128)
|
||||||
%if %{with profiling}
|
%if %{with profiling}
|
||||||
BuildRequires: pkgconfig(sysprof-capture-4)
|
BuildRequires: pkgconfig(sysprof-capture-4)
|
||||||
%endif
|
%endif
|
||||||
@@ -111,10 +110,12 @@ Mozilla SpiderMonkey JavaScript engine.
|
|||||||
%meson_install
|
%meson_install
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
%ifnarch s390x
|
||||||
export DISPLAY=:98
|
export DISPLAY=:98
|
||||||
Xvfb :98 >& Xvfb.log & trap "kill $! || true" EXIT
|
Xvfb :98 >& Xvfb.log & trap "kill $! || true" EXIT
|
||||||
sleep 10
|
sleep 10
|
||||||
%meson_test
|
%meson_test
|
||||||
|
%endif
|
||||||
|
|
||||||
%ldconfig_scriptlets -n libgjs0
|
%ldconfig_scriptlets -n libgjs0
|
||||||
|
|
||||||
@@ -138,5 +139,16 @@ sleep 10
|
|||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
%{_datadir}/%{name}-1.0/
|
%{_datadir}/%{name}-1.0/
|
||||||
|
# FIXME -- nuke these
|
||||||
|
%dir %{_libexecdir}/installed-tests/gjs
|
||||||
|
%{_libexecdir}/installed-tests/gjs/GIMarshallingTests-1.0.typelib
|
||||||
|
%{_libexecdir}/installed-tests/gjs/Regress-1.0.typelib
|
||||||
|
%{_libexecdir}/installed-tests/gjs/RegressUnix-1.0.typelib
|
||||||
|
%{_libexecdir}/installed-tests/gjs/Utility-1.0.typelib
|
||||||
|
%{_libexecdir}/installed-tests/gjs/WarnLib-1.0.typelib
|
||||||
|
%{_libexecdir}/installed-tests/gjs/libgimarshallingtests.so
|
||||||
|
%{_libexecdir}/installed-tests/gjs/libregress.so
|
||||||
|
%{_libexecdir}/installed-tests/gjs/libutility.so
|
||||||
|
%{_libexecdir}/installed-tests/gjs/libwarnlib.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user