From 9c1475b65dc2af6161a98a82cb63ea6a258ecc690f71d8b7f9cfb7be20a7084e Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 24 Mar 2021 16:32:10 +0000 Subject: [PATCH] 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 --- gjs-1.66.2.tar.xz | 3 -- gjs-1.68.0.tar.xz | 3 ++ gjs.changes | 70 +++++++++++++++++++++++++++++++++++++++++++++++ gjs.spec | 20 ++++++++------ 4 files changed, 85 insertions(+), 11 deletions(-) delete mode 100644 gjs-1.66.2.tar.xz create mode 100644 gjs-1.68.0.tar.xz diff --git a/gjs-1.66.2.tar.xz b/gjs-1.66.2.tar.xz deleted file mode 100644 index f46a6b8..0000000 --- a/gjs-1.66.2.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bd7f5f8b171277cc0bb9ee1754b0240b62f06a76b8b18c968cf471b34ab34e59 -size 440184 diff --git a/gjs-1.68.0.tar.xz b/gjs-1.68.0.tar.xz new file mode 100644 index 0000000..cd7147b --- /dev/null +++ b/gjs-1.68.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f00e74a00e81ab61bb92669e0f1c8bb613cc019586097f06aed0572efcaf1aef +size 553044 diff --git a/gjs.changes b/gjs.changes index 431971d..659cc81 100644 --- a/gjs.changes +++ b/gjs.changes @@ -1,3 +1,73 @@ +------------------------------------------------------------------- +Sat Mar 20 17:25:14 UTC 2021 - Dominique Leuenberger + +- 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 + +- 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 + +- 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 + +- 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 + +- 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 diff --git a/gjs.spec b/gjs.spec index e54ee2e..ef823d9 100644 --- a/gjs.spec +++ b/gjs.spec @@ -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