Hello community, here is the log from the commit of package gjs for openSUSE:Factory checked in at 2020-07-13 09:05:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gjs (Old) and /work/SRC/openSUSE:Factory/.gjs.new.3060 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gjs" Mon Jul 13 09:05:29 2020 rev:91 rq:819951 version:1.64.4 Changes: -------- --- /work/SRC/openSUSE:Factory/gjs/gjs.changes 2020-06-08 23:49:48.174432565 +0200 +++ /work/SRC/openSUSE:Factory/.gjs.new.3060/gjs.changes 2020-07-13 09:05:42.176119166 +0200 @@ -1,0 +2,6 @@ +Mon Jul 6 19:54:50 UTC 2020 - Bjørn Lie <[email protected]> + +- Update to version 1.64.4: + + Fix CI failure caused by GTK4 update. + +------------------------------------------------------------------- Old: ---- gjs-1.64.3.tar.xz New: ---- gjs-1.64.4.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gjs.spec ++++++ --- /var/tmp/diff_new_pack.GzcbA2/_old 2020-07-13 09:05:42.692120463 +0200 +++ /var/tmp/diff_new_pack.GzcbA2/_new 2020-07-13 09:05:42.692120463 +0200 @@ -17,7 +17,7 @@ Name: gjs -Version: 1.64.3 +Version: 1.64.4 Release: 0 Summary: JavaScript bindings based on gobject-introspection and Mozilla License: MIT AND LGPL-2.0-or-later ++++++ gjs-1.64.3.tar.xz -> gjs-1.64.4.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gjs-1.64.3/NEWS new/gjs-1.64.4/NEWS --- old/gjs-1.64.3/NEWS 2020-05-31 19:42:30.593444000 +0200 +++ new/gjs-1.64.4/NEWS 2020-07-06 01:49:25.966761000 +0200 @@ -1,3 +1,9 @@ +Version 1.64.4 +-------------- + +- Closed bugs and merge requests: + * Fix CI failure caused by GTK4 update [!447, Philip Chimento] + Version 1.64.3 -------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gjs-1.64.3/installed-tests/js/testGtk4.js new/gjs-1.64.4/installed-tests/js/testGtk4.js --- old/gjs-1.64.3/installed-tests/js/testGtk4.js 2020-05-31 19:42:30.608444000 +0200 +++ new/gjs-1.64.4/installed-tests/js/testGtk4.js 2020-07-06 01:49:25.986761300 +0200 @@ -1,8 +1,7 @@ imports.gi.versions.Gtk = '4.0'; const ByteArray = imports.byteArray; -const {GLib, Gio, GObject, Gtk} = imports.gi; -const System = imports.system; +const {Gio, GObject, Gtk} = imports.gi; // This is ugly here, but usually it would be in a resource function createTemplate(className) { @@ -118,7 +117,7 @@ content = new ClassName(); content.label_child.emit('copy-clipboard'); content.label_child2.emit('copy-clipboard'); - win.add(content); + win.set_child(content); }); it('sets up internal and public template children', function () { @@ -167,26 +166,6 @@ expect(Gtk.Widget.get_css_name.call(MyComplexGtkSubclass)).toEqual('complex-subclass'); }); - it('avoid crashing when GTK vfuncs are called in garbage collection', function () { - GLib.test_expect_message('Gjs', GLib.LogLevelFlags.LEVEL_CRITICAL, - '*during garbage collection*'); - GLib.test_expect_message('Gjs', GLib.LogLevelFlags.LEVEL_CRITICAL, - '*destroy*'); - - let BadLabel = GObject.registerClass(class BadLabel extends Gtk.Label { - vfunc_destroy() {} - }); - - let w = new Gtk.Window(); - w.add(new BadLabel()); - - w.destroy(); - System.gc(); - - GLib.test_assert_expected_messages_internal('Gjs', 'testGtk4.js', 0, - 'Gtk overrides avoid crashing and print a stack trace'); - }); - it('can create a Gtk.TreeIter with accessible stamp field', function () { const iter = new Gtk.TreeIter(); iter.stamp = 42; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gjs-1.64.3/meson.build new/gjs-1.64.4/meson.build --- old/gjs-1.64.3/meson.build 2020-05-31 19:42:30.610444000 +0200 +++ new/gjs-1.64.4/meson.build 2020-07-06 01:49:25.990761300 +0200 @@ -1,4 +1,4 @@ -project('gjs', 'cpp', 'c', version: '1.64.3', license: ['MIT', 'LGPL2+'], +project('gjs', 'cpp', 'c', version: '1.64.4', license: ['MIT', 'LGPL2+'], meson_version: '>= 0.50.0', default_options: ['cpp_std=c++14', 'c_std=c99', 'warning_level=2'])
