Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package perl-Glib-Object-Introspection for openSUSE:Factory checked in at 2023-09-13 20:44:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Glib-Object-Introspection (Old) and /work/SRC/openSUSE:Factory/.perl-Glib-Object-Introspection.new.1766 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Glib-Object-Introspection" Wed Sep 13 20:44:15 2023 rev:15 rq:1110661 version:0.51.0 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Glib-Object-Introspection/perl-Glib-Object-Introspection.changes 2023-04-05 21:35:33.130533229 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Glib-Object-Introspection.new.1766/perl-Glib-Object-Introspection.changes 2023-09-13 20:45:01.387059802 +0200 @@ -1,0 +2,6 @@ +Tue Sep 5 16:48:53 UTC 2023 - Tina Müller <timueller+p...@suse.de> + +- updated to 0.051 + see /usr/share/doc/packages/perl-Glib-Object-Introspection/ + +------------------------------------------------------------------- Old: ---- Glib-Object-Introspection-0.050.tar.gz New: ---- Glib-Object-Introspection-0.051.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Glib-Object-Introspection.spec ++++++ --- /var/tmp/diff_new_pack.Q0K3cy/_old 2023-09-13 20:45:02.423096634 +0200 +++ /var/tmp/diff_new_pack.Q0K3cy/_new 2023-09-13 20:45:02.427096776 +0200 @@ -18,13 +18,14 @@ %define cpan_name Glib-Object-Introspection Name: perl-Glib-Object-Introspection -Version: 0.050 +Version: 0.51.0 Release: 0 +%define cpan_version 0.051 #Upstream: This library is free software; you can redistribute it and/or modify it under the terms of the Lesser General Public License (LGPL). For more information, see http://www.fsf.org/licenses/lgpl.txt License: LGPL-2.1-only Summary: Dynamically create Perl language bindings URL: https://metacpan.org/release/%{cpan_name} -Source0: https://cpan.metacpan.org/authors/id/X/XA/XAOC/%{cpan_name}-%{version}.tar.gz +Source0: https://cpan.metacpan.org/authors/id/X/XA/XAOC/%{cpan_name}-%{cpan_version}.tar.gz Source1: cpanspec.yml BuildRequires: perl BuildRequires: perl-macros @@ -34,6 +35,9 @@ Requires: perl(ExtUtils::Depends) >= 0.3 Requires: perl(ExtUtils::PkgConfig) >= 1 Requires: perl(Glib) >= 1.32 +Provides: perl(Glib::Object::Introspection) = 0.51.0 +Provides: perl(Glib::Object::Introspection::_FuncWrapper) +%define __perllib_provides /bin/true %{perl_requires} # MANUAL BEGIN BuildRequires: pkgconfig @@ -44,7 +48,7 @@ Dynamically create Perl language bindings %prep -%autosetup -n %{cpan_name}-%{version} +%autosetup -n %{cpan_name}-%{cpan_version} %build perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" ++++++ Glib-Object-Introspection-0.050.tar.gz -> Glib-Object-Introspection-0.051.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Glib-Object-Introspection-0.050/GObjectIntrospection.xs new/Glib-Object-Introspection-0.051/GObjectIntrospection.xs --- old/Glib-Object-Introspection-0.050/GObjectIntrospection.xs 2023-03-27 07:20:53.000000000 +0200 +++ new/Glib-Object-Introspection-0.051/GObjectIntrospection.xs 2023-08-28 18:30:42.000000000 +0200 @@ -941,8 +941,7 @@ "ClosureMarshal"); g_assert (closure_marshal_info); cif = g_new0 (ffi_cif, 1); - - #if defined(GI_CHECK_VERSION) && GI_CHECK_VERSION (1, 72, 0) +#if GI_CHECK_VERSION (1, 72, 0) closure = g_callable_info_create_closure (closure_marshal_info, cif, invoke_perl_signal_handler, @@ -951,15 +950,14 @@ closure = (ffi_closure *) g_callable_info_get_closure_native_address (closure_marshal_info, closure); - #else +#else G_GNUC_BEGIN_IGNORE_DEPRECATIONS closure = g_callable_info_prepare_closure (closure_marshal_info, cif, invoke_perl_signal_handler, signal_info); G_GNUC_END_IGNORE_DEPRECATIONS - #endif - +#endif g_base_info_unref (closure_marshal_info); dwarn ("package = %s, signal = %s => closure = %p\n", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Glib-Object-Introspection-0.050/META.json new/Glib-Object-Introspection-0.051/META.json --- old/Glib-Object-Introspection-0.050/META.json 2023-03-27 07:22:11.000000000 +0200 +++ new/Glib-Object-Introspection-0.051/META.json 2023-08-28 23:56:38.000000000 +0200 @@ -5,7 +5,7 @@ "Glib::Object::Introspection Team <gtk-perl-list at gnome dot org>" ], "dynamic_config" : 1, - "generated_by" : "ExtUtils::MakeMaker version 7.44, CPAN::Meta::Converter version 2.150010", + "generated_by" : "ExtUtils::MakeMaker version 7.70, CPAN::Meta::Converter version 2.150010", "license" : [ "unknown", "lgpl_2_1" @@ -67,6 +67,6 @@ "x_IRC" : "irc://irc.gimp.org/#gtk-perl", "x_MailingList" : "https://mail.gnome.org/mailman/listinfo/gtk-perl-list" }, - "version" : "0.050", - "x_serialization_backend" : "JSON::PP version 2.97001" + "version" : "0.051", + "x_serialization_backend" : "JSON::PP version 4.16" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Glib-Object-Introspection-0.050/META.yml new/Glib-Object-Introspection-0.051/META.yml --- old/Glib-Object-Introspection-0.050/META.yml 2023-03-27 07:22:11.000000000 +0200 +++ new/Glib-Object-Introspection-0.051/META.yml 2023-08-28 23:56:37.000000000 +0200 @@ -11,7 +11,7 @@ ExtUtils::PkgConfig: '1' Glib: '1.32' dynamic_config: 1 -generated_by: 'ExtUtils::MakeMaker version 7.44, CPAN::Meta::Converter version 2.150010' +generated_by: 'ExtUtils::MakeMaker version 7.70, CPAN::Meta::Converter version 2.150010' license: unknown meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -37,5 +37,5 @@ homepage: http://gtk2-perl.sourceforge.net license: http://www.gnu.org/licenses/lgpl-2.1.html repository: https://gitlab.gnome.org/GNOME/perl-glib-object-introspection -version: '0.050' +version: '0.051' x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Glib-Object-Introspection-0.050/NEWS new/Glib-Object-Introspection-0.051/NEWS --- old/Glib-Object-Introspection-0.050/NEWS 2023-03-27 07:21:05.000000000 +0200 +++ new/Glib-Object-Introspection-0.051/NEWS 2023-08-28 23:55:53.000000000 +0200 @@ -1,3 +1,9 @@ +Overview of changes in Glib::Object::Introspection 0.051 +======================================================== +- Check for empty closures (RT#147409) +- tests: Add empty callback (GNOME/perl-glib-object-introspection!8) +- Fix use of GI_CHECK_VERSION (GNOME/perl-glib-object-introspection!10) + Overview of changes in Glib::Object::Introspection 0.050 ======================================================== - Add CI pipeline (on Gnome GitLab server) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Glib-Object-Introspection-0.050/gperl-i11n-marshal-callback.c new/Glib-Object-Introspection-0.051/gperl-i11n-marshal-callback.c --- old/Glib-Object-Introspection-0.050/gperl-i11n-marshal-callback.c 2023-03-27 07:20:53.000000000 +0200 +++ new/Glib-Object-Introspection-0.051/gperl-i11n-marshal-callback.c 2023-04-23 00:51:23.000000000 +0200 @@ -57,8 +57,11 @@ callback_info->closure, callback_info); #if GI_CHECK_VERSION (1, 72, 0) - return g_callable_info_get_closure_native_address (callback_interface_info, - callback_info->closure); + if (callback_info->closure) + return g_callable_info_get_closure_native_address (callback_interface_info, + callback_info->closure); + else + return NULL; #else return callback_info->closure; #endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Glib-Object-Introspection-0.050/lib/Glib/Object/Introspection.pm new/Glib-Object-Introspection-0.051/lib/Glib/Object/Introspection.pm --- old/Glib-Object-Introspection-0.050/lib/Glib/Object/Introspection.pm 2023-03-27 07:21:05.000000000 +0200 +++ new/Glib-Object-Introspection-0.051/lib/Glib/Object/Introspection.pm 2023-08-28 23:56:02.000000000 +0200 @@ -19,7 +19,7 @@ use warnings; use Glib; -our $VERSION = '0.050'; +our $VERSION = '0.051'; use Carp; $Carp::Internal{(__PACKAGE__)}++; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Glib-Object-Introspection-0.050/t/callbacks.t new/Glib-Object-Introspection-0.051/t/callbacks.t --- old/Glib-Object-Introspection-0.050/t/callbacks.t 2013-02-05 00:47:18.000000000 +0100 +++ new/Glib-Object-Introspection-0.051/t/callbacks.t 2023-04-23 00:51:23.000000000 +0200 @@ -5,11 +5,15 @@ use strict; use warnings; -plan tests => 25; +plan tests => 27; my $data = 42; my $result = 23; my $callback = sub { is @_, 1; is $_[0], $data; return $result; }; +my $empty_callback = sub { return $result }; + +is (Regress::test_callback ($empty_callback), $result); +is (Regress::test_callback (undef), 0); is (Regress::test_callback_user_data ($callback, $data), $result);