commit gjs for openSUSE:Leap:15.2
Hello community, here is the log from the commit of package gjs for openSUSE:Leap:15.2 checked in at 2020-01-30 14:49:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/gjs (Old) and /work/SRC/openSUSE:Leap:15.2/.gjs.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "gjs" Thu Jan 30 14:49:36 2020 rev:38 rq:757843 version:1.58.3 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/gjs/gjs.changes 2020-01-15 15:03:24.121840677 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.gjs.new.26092/gjs.changes 2020-01-30 14:50:21.294901011 +0100 @@ -2 +2 @@ -Tue Jun 11 09:25:07 UTC 2019 - hpj@suse.com +Wed Dec 4 13:52:11 UTC 2019 - Frederic Crozat <fcrozat@suse.com> @@ -4,2 +4 @@ -- Add gjs-aggressive-gc.patch (bsc#1093541). This ensures the GC - runs repeatedly until there are no more objects to be destroyed. +- Enable systemtap support. @@ -8 +7 @@ -Thu Jun 6 03:10:17 UTC 2019 - Chingkai <qkzhu@suse.com> +Mon Nov 25 19:26:00 UTC 2019 - Bjørn Lie <bjorn.lie@gmail.com> @@ -10,3 +9,587 @@ -- Add gjs-disable-destroyed-object-criticals.patch: We have a bunch of - corruption right now spamming the log. This commit gets rid of the - spam unless G_MESSAGES_DEBUG is set (glgo#GNOME/gjs!71, boo#1117221). +- Update to version 1.58.3: + + Emergency release, intended to correct two mistakes in 1.58.2, + both coming from crash fixes that had unexpected other effects + on working code. + +------------------------------------------------------------------- +Sun Nov 24 09:46:44 UTC 2019 - Bjørn Lie <bjorn.lie@gmail.com> + +- Update to version 1.58.2: + + GObject based class initialization checks. + + Silently leaked return value of callbacks. + + Crash when calling Gio.Initable.async_init with not + vfunc_async_init implementation. + + [cairo] insufficient checking. + + Various crash fixes backported from the development branch. + +------------------------------------------------------------------- +Mon Oct 7 07:42:54 UTC 2019 - Bjørn Lie <bjorn.lie@gmail.com> + +- Update to version 1.58.1: + + Closed bugs and merge requests: + - Import wiki documentation. + - Smaller CI, phase 1. + - Crashes after setting child property 'icon-name' on GtkStack + then displaying another GtkStack. + - GLib.strdelimit crashes. + +------------------------------------------------------------------- +Sat Sep 7 15:45:12 CDT 2019 - mgorse@suse.com + +- Update to version 1.58.0: + + No changes. + +------------------------------------------------------------------- +Thu Sep 5 14:51:49 NZST 2019 - luke@ljones.dev + +- Update to version 1.57.92: + + Enable regression test cases for GPtrArrays and GArrays + of structures. + * Various maintenance. + +------------------------------------------------------------------- +Thu Aug 29 09:38:16 UTC 2019 - Luke Jones <luke@ljones.dev> + +- Update to version 1.57.91: + + GJS no longer links to libgtk-3. This makes it possible to load the Gtk-4.0 + typelib in GJS and write programs that use GTK 4. + + The heapgraph tool has gained some improvements; it is now possible to print a + heap graph of multiple targets. You can also mark an object for better + identification in the heap graph by assigning a magic property: for example, + myObject.__heapgraph_name = 'Button' will make that object identify itself as + "Button" in heap graphs. + + Closed bugs and merge requests: + - Remove usage of Lang in non legacy code. + - GTK4. + - JS syntax fixes. + - gi: Avoid infinite recursion when converting GValues. + - Implement all GObject-introspection test suites. + - Heapgraph improvements. + +- Update to version 1.57.90: + + New JS API: GLib.Variant has gained a recursiveUnpack() method which + transforms the variant entirely into a JS object, discarding all type + information. This can be useful for dealing with a{sv} dictionaries, where + deepUnpack() will keep the values as GLib.Variant instances in order to + preserve the type information. + + New JS API: GLib.Variant has gained a deepUnpack() method which is exactly the + same as the already existing deep_unpack(), but fits with the other camelCase + APIs that GJS adds. + + Closed bugs and merge requests: + - Marshalling of GPtrArray broken. + - Fix locale chooser. + - dbus-wrapper: Remove interface skeleton flush idle on dispose. + - gobject: Use auto-compartment when getting property as well. + - modules/signals: Use array destructuring in _emit. + - GJS can't call glibtop_init function from libgtop. + - GLib's VariantDict is missing lookup. + - toString on an object implementing an interface fails. + - Regression in GstPbutils.Discoverer::discovered callback. + - GLib.Variant.deep_unpack not working properly with a{sv} variants. + - Various maintenance. + + Various CI fixes. + +- Update to version 1.57.4: + + Closed bugs and merge requests: + - gjs 1.57 requires a recent sysprof version for sysprof-capture-3. + + Misc documentation changes. + + +- Update to version 1.57.3: + + The GJS profiler is now integrated directly into Sysprof 3, via the + GJS_TRACE_FD environment variable. Call stack information and garbage + collector timing will show up in Sysprof. See also GNOME/Initiatives#10 + + New JS API: System.addressOfGObject(obj) will return a string with the hex + address of the underlying GObject of `obj` if it is a GObject wrapper, or + throw an exception if it is not. This is intended for debugging. + + New JS API: It's now possible to pass a value from Gio.DBusProxyFlags to the + constructor of a class created by Gio.DBusProxy.makeProxyWrapper(). + + Backwards-incompatible change: Trying to read a write-only property on a DBus + proxy object, or write a read-only property, will now throw an exception. + Previously it would fail silently. It seems unlikely any code is relying on + the old behaviour, and if so then it was probably masking a bug. + + Closed bugs and merge requests: + - Build failure on Continuous. + - build: Bump glib requirement. + - profiler: avoid clearing 512 bytes of stack. + - system: add addressOfGObject method. + - Add support for GJS_TRACE_FD. + - Gio: Make possible to pass DBusProxyFlags to proxy wrapper. + - Various maintenance. + - Marshalling of GPtrArray broken. + - Build fix. + - Gio: sync dbus wrapper properties flags. + - GjsMaybeOwned: Reduce allocation when used as Object member. + +- Update to version 1.57.2: + + There are now overrides for Gio.SettingsSchema and Gio.Settings which avoid + aborting the whole process when trying to access a nonexistent key or child + schema. The original API from GLib was intended for apps, since apps should + have complete control over which settings keys they are allowed to access. + However, it is not a good fit for shell extensions, which may need to access + different settings keys depending on the version of GNOME shell they're + running on. + This feature is based on code from Cinnamon which the copyright holders have + kindly agreed to relicense to GJS's license. + + New JS API: It is now possible to pass GObject.TypeFlags to + GObject.registerClass(). For example, passing + `GTypeFlags: GObject.TypeFlags.ABSTRACT` in the class info object, will create + a class that cannot be instantiated. This functionality was present in + Lang.Class but has been missing from GObject.registerClass(). + + Closed bugs and merge requests: + - Document logging features. + - Support optional GTypeFlags value in GObject subclasses. + - Ensure const-correctness in C++ objects. + - Programmer errors with GSettings cause segfaults. + - Various maintenance. + - debugger: Fix summary help. + - context: Use Heap pointers for GC objects stored in vectors. + +- Update to version 1.57.1: + + Closed bugs and merge requests: + - Various maintenance. + - mainloop: Assign null to property instead of deleting. + - Added -d version note README.md. + - Extra help for debugger commands. + - Crash in BoxedInstance when struct could not be allocated directly. + - Cairo conversion bugs. + +------------------------------------------------------------------- +Wed May 8 08:27:47 UTC 2019 - Bjørn Lie <bjorn.lie@gmail.com> + +- Update to version 1.56.2: + + Crash in BoxedInstance when struct could not be allocated + directly. + + Cairo conversion bugs fixed. + + Gjs crashes when binding inherited property to js added + gobject-property. + + console: Don't accept --profile after the script name. + +------------------------------------------------------------------- +Tue Apr 9 07:50:43 UTC 2019 - Bjørn Lie <bjorn.lie@gmail.com> + +- Update to version 1.56.1: + + Calling dumpHeap() on non-existent directory causes crash. + + Using Gio.MemoryInputStream.new_from_data ("string") causes + segfault. + + Fix gjs_context_eval() for non-zero-terminated strings. + +------------------------------------------------------------------- +Tue Mar 12 06:46:15 UTC 2019 - Bjørn Lie <bjorn.lie@gmail.com> + +- Update to version 1.56.0: + + Stable release version bump. + +------------------------------------------------------------------- +Tue Mar 5 06:14:24 UTC 2019 - Bjørn Lie <bjorn.lie@gmail.com> + +- Update to version 1.55.92: + + Possible memory allocation/deallocation bug (possibly in + js_free() in GJS). + + cairo-context: Special-case 0-sized vector. + + Add some more eslint rules. + + NMake/libgjs-private: Export all the public symbols there. + ++++ 406 more lines (skipped) ++++ between /work/SRC/openSUSE:Leap:15.2/gjs/gjs.changes ++++ and /work/SRC/openSUSE:Leap:15.2/.gjs.new.26092/gjs.changes Old: ---- gjs-1.50.4.tar.xz gjs-aggressive-gc.patch gjs-disable-destroyed-object-criticals.patch New: ---- gjs-1.58.3.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gjs.spec ++++++ --- /var/tmp/diff_new_pack.zS3KcE/_old 2020-01-30 14:50:21.806901283 +0100 +++ /var/tmp/diff_new_pack.zS3KcE/_new 2020-01-30 14:50:21.814901287 +0100 @@ -1,7 +1,7 @@ # # spec file for package gjs # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,27 +12,20 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: gjs -Version: 1.50.4 +Version: 1.58.3 Release: 0 -# FIXME: find out if tapsets should really be in devel package or in main package Summary: JavaScript bindings based on gobject-introspection and Mozilla -License: MIT +License: MIT AND LGPL-2.0-or-later Group: Development/Libraries/GNOME -Url: https://wiki.gnome.org/Projects/Gjs -Source: https://download.gnome.org/sources/gjs/1.50/%{name}-%{version}.tar.xz - -#PATCH-FIX-UPSTREAM gjs-disable-destroyed-object-criticals.patch glgo#GNOME/gjs!71, boo#1117221 qkzhu@suse.com -- Disable destroyed object criticals -Patch0: gjs-disable-destroyed-object-criticals.patch -# PATCH-FIX-UPSTREAM gjs-aggressive-gc.patch bsc#1093541 hpj@suse.com -- Keep running GC sweeps until there are no more objects to be destroyed. -Patch1: gjs-aggressive-gc.patch +URL: https://wiki.gnome.org/Projects/Gjs +Source0: https://download.gnome.org/sources/gjs/1.58/%{name}-%{version}.tar.xz BuildRequires: gcc-c++ -BuildRequires: mozjs52-devel BuildRequires: pkgconfig BuildRequires: python BuildRequires: readline-devel @@ -41,14 +34,14 @@ BuildRequires: pkgconfig(cairo-gobject) BuildRequires: pkgconfig(cairo-xlib) BuildRequires: pkgconfig(dbus-glib-1) -BuildRequires: pkgconfig(gio-2.0) >= 2.50.0 -BuildRequires: pkgconfig(glib-2.0) >= 2.50.0 -BuildRequires: pkgconfig(gobject-2.0) >= 2.50.0 +BuildRequires: pkgconfig(gio-2.0) >= 2.58.0 +BuildRequires: pkgconfig(glib-2.0) >= 2.58.0 +BuildRequires: pkgconfig(gobject-2.0) >= 2.58.0 BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.53.4 BuildRequires: pkgconfig(gthread-2.0) >= 2.50.0 BuildRequires: pkgconfig(gtk+-3.0) >= 3.20 BuildRequires: pkgconfig(libffi) -#BuildRequires: pkgconfig(mozjs-52) +BuildRequires: pkgconfig(mozjs-60) Requires: libgjs0 = %{version} ExcludeArch: s390 @@ -58,6 +51,7 @@ %package -n libgjs0 Summary: JavaScript bindings based on gobject-introspection and Mozilla +License: LGPL-2.0-or-later Group: System/Libraries Provides: libgjs-0 = %{version} Obsoletes: libgjs-0 < %{version} @@ -69,6 +63,7 @@ %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 Group: System/Libraries Obsoletes: typelib-1_0-GjsDBus-1_0 < %{version} @@ -78,6 +73,7 @@ %package -n libgjs-devel Summary: Development files for the GJS library +License: MIT AND LGPL-2.0-or-later Group: Development/Libraries/GNOME Requires: %{name} = %{version} Requires: libgjs0 = %{version} @@ -90,11 +86,12 @@ Mozilla SpiderMonkey JavaScript engine. %prep -%setup -q -%patch0 -p1 -%patch1 -p1 +%autosetup -p1 %build +#doesn't play well with systemtap +%global _lto_cflags %{nil} + %configure \ --disable-static \ --enable-systemtap @@ -103,32 +100,31 @@ %install %make_install find %{buildroot} -type f -name "*.la" -delete -print +rm %{buildroot}/usr/share/glib-2.0/schemas/org.gnome.GjsTest.gschema.xml %post -n libgjs0 -p /sbin/ldconfig - %postun -n libgjs0 -p /sbin/ldconfig %files -%defattr(-,root,root) +%license COPYING +%doc NEWS README %{_bindir}/gjs %{_bindir}/gjs-console %files -n libgjs0 -%defattr(-,root,root) -%doc COPYING NEWS README +%license COPYING.LGPL %{_libdir}/*.so.* %files -n typelib-1_0-GjsPrivate-1_0 -%defattr(-,root,root) %dir %{_libdir}/gjs %dir %{_libdir}/gjs/girepository-1.0/ %{_libdir}/gjs/girepository-1.0/GjsPrivate-1.0.typelib %files -n libgjs-devel -%defattr(-,root,root) %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc +%{_datadir}/%{name}-1.0/ %{_datadir}/systemtap/tapset/*.stp %changelog ++++++ gjs-1.50.4.tar.xz -> gjs-1.58.3.tar.xz ++++++ ++++ 117216 lines of diff (skipped)
participants (1)
-
root