Hello community, here is the log from the commit of package perl-Glib for openSUSE:Factory checked in at 2019-09-11 10:16:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Glib (Old) and /work/SRC/openSUSE:Factory/.perl-Glib.new.7948 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Glib" Wed Sep 11 10:16:00 2019 rev:54 rq:726738 version:1.3291 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Glib/perl-Glib.changes 2019-03-19 11:08:42.598089980 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Glib.new.7948/perl-Glib.changes 2019-09-11 10:16:02.571543153 +0200 @@ -1,0 +2,23 @@ +Wed Aug 28 09:40:45 UTC 2019 - Pedro Monreal Gonzalez <[email protected]> + +- Removed patch fixed upstream: + * perl-Glib-1.328-glib2.59-comment-linebreaks.patch + +------------------------------------------------------------------- +Wed Aug 28 05:12:58 UTC 2019 - Stephan Kulow <[email protected]> + +- updated to 1.3291 + see /usr/share/doc/packages/perl-Glib/ChangeLog.pre-git + +------------------------------------------------------------------- +Tue Aug 27 21:50:35 CEST 2019 - Tina Mueller <[email protected]> + +- Add patch and glib2-devel dependency to cpanspec.yml + +------------------------------------------------------------------- +Wed Apr 3 06:59:51 UTC 2019 - Stephan Kulow <[email protected]> + +- updated to 1.329 + see /usr/share/doc/packages/perl-Glib/ChangeLog.pre-git + +------------------------------------------------------------------- Old: ---- Glib-1.328.tar.gz perl-Glib-1.328-glib2.59-comment-linebreaks.patch New: ---- Glib-1.3291.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Glib.spec ++++++ --- /var/tmp/diff_new_pack.hQmpAZ/_old 2019-09-11 10:16:03.067543091 +0200 +++ /var/tmp/diff_new_pack.hQmpAZ/_new 2019-09-11 10:16:03.071543091 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-Glib # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,26 +17,26 @@ Name: perl-Glib -Version: 1.328 +Version: 1.3291 Release: 0 %define cpan_name Glib Summary: Perl wrappers for the GLib utility and Object libraries License: LGPL-2.1-or-later Group: Development/Libraries/Perl -Url: https://metacpan.org/pod/%{cpan_name} +Url: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/X/XA/XAOC/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml -Patch0: perl-Glib-1.328-glib2.59-comment-linebreaks.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: glib2-devel >= 2.0.0 BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(ExtUtils::Depends) >= 0.300 BuildRequires: perl(ExtUtils::PkgConfig) >= 1.000000 Requires: perl(ExtUtils::Depends) >= 0.300 Requires: perl(ExtUtils::PkgConfig) >= 1.000000 -Provides: %{name}-devel = %{version} %{perl_requires} +# MANUAL BEGIN +BuildRequires: glib2-devel >= 2.0.0 +# MANUAL END %description This wrapper attempts to provide a perlish interface while remaining as @@ -48,14 +48,13 @@ %prep %setup -q -n %{cpan_name}-%{version} -%patch0 -p1 %build -%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" -%{__make} %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +make %{?_smp_mflags} %check -%{__make} test +make test %install %perl_make_install ++++++ Glib-1.328.tar.gz -> Glib-1.3291.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Glib-1.328/ChangeLog.pre-git new/Glib-1.3291/ChangeLog.pre-git --- old/Glib-1.328/ChangeLog.pre-git 2012-01-20 07:55:06.000000000 +0100 +++ new/Glib-1.3291/ChangeLog.pre-git 2018-09-27 03:07:50.000000000 +0200 @@ -2,7 +2,7 @@ With the move to git, we stop maintaining a separate ChangeLog and rely on proper commit messages instead. Web view of changes: - <http://git.gnome.org/browse/perl-Glib/>. + <https://gitlab.gnome.org/GNOME/perl-glib> 2009-03-31 Torsten Schoenfeld <[email protected]> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Glib-1.328/GBoxed.xs new/Glib-1.3291/GBoxed.xs --- old/Glib-1.328/GBoxed.xs 2017-05-21 21:02:34.000000000 +0200 +++ new/Glib-1.3291/GBoxed.xs 2019-08-19 18:16:51.000000000 +0200 @@ -517,7 +517,7 @@ G_UNLOCK (info_by_gtype); if (!boxed_info) - croak ("GType %s (%d) is not registered with gperl", + croak ("GType %s (%lu) is not registered with gperl", g_type_name (gtype), gtype); wrap = boxed_info->wrapper_class @@ -569,7 +569,7 @@ G_UNLOCK (info_by_gtype); if (!boxed_info) - croak ("internal problem: GType %s (%d) has not been registered with GPerl", + croak ("internal problem: GType %s (%lu) has not been registered with GPerl", g_type_name (gtype), gtype); unwrap = boxed_info->wrapper_class diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Glib-1.328/GObject.xs new/Glib-1.3291/GObject.xs --- old/Glib-1.328/GObject.xs 2018-09-26 05:50:15.000000000 +0200 +++ new/Glib-1.3291/GObject.xs 2019-08-19 18:16:51.000000000 +0200 @@ -1024,7 +1024,7 @@ const char * package; package = gperl_object_package_from_type (gtype); if (!package) - croak ("INTERNAL: GType %s (%d) is not registered with GPerl!", + croak ("INTERNAL: GType %s (%lu) is not registered with GPerl!", g_type_name (gtype), gtype); if (!gperl_sv_is_ref (sv) || !sv_derived_from (sv, package)) croak ("%s is not of type %s", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Glib-1.328/GType.xs new/Glib-1.3291/GType.xs --- old/Glib-1.328/GType.xs 2018-09-26 05:50:15.000000000 +0200 +++ new/Glib-1.3291/GType.xs 2019-08-19 18:16:51.000000000 +0200 @@ -2542,7 +2542,7 @@ pkg = gperl_package_from_type (parent_gtype); if (!pkg) croak("problem looking up parent package name, " - "gtype %d", parent_gtype); + "gtype %lu", parent_gtype); XPUSHs (sv_2mortal (newSVpv (pkg, 0))); parent_gtype = g_type_parent (parent_gtype); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Glib-1.328/GValue.xs new/Glib-1.3291/GValue.xs --- old/Glib-1.328/GValue.xs 2012-12-07 23:45:19.000000000 +0100 +++ new/Glib-1.3291/GValue.xs 2019-08-19 18:16:51.000000000 +0200 @@ -169,7 +169,7 @@ break; } - croak ("[gperl_value_from_sv] FIXME: unhandled type - %d (%s fundamental for %s)\n", + croak ("[gperl_value_from_sv] FIXME: unhandled type - %lu (%s fundamental for %s)\n", type, g_type_name (type), G_VALUE_TYPE_NAME (value)); return FALSE; } @@ -305,7 +305,7 @@ if (wrapper_class && wrapper_class->wrap) return wrapper_class->wrap (value); - croak ("[gperl_sv_from_value] FIXME: unhandled type - %d (%s fundamental for %s)\n", + croak ("[gperl_sv_from_value] FIXME: unhandled type - %lu (%s fundamental for %s)\n", type, g_type_name (type), G_VALUE_TYPE_NAME (value)); } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Glib-1.328/GVariant.xs new/Glib-1.3291/GVariant.xs --- old/Glib-1.328/GVariant.xs 2018-09-26 05:50:15.000000000 +0200 +++ new/Glib-1.3291/GVariant.xs 2019-08-19 18:16:51.000000000 +0200 @@ -497,9 +497,13 @@ GVariant_noinc * g_variant_get_child_value (GVariant *value, gsize index_); +#if GLIB_CHECK_VERSION (2, 28, 0) + # gboolean g_variant_lookup (GVariant *dictionary, const gchar *key, const gchar *format_string, ...); GVariant_noinc * g_variant_lookup_value (GVariant *dictionary, const gchar *key, const GVariantType *expected_type); +#endif + # FIXME: # gconstpointer g_variant_get_fixed_array (GVariant *value, gsize *n_elements, gsize element_size); @@ -708,6 +712,12 @@ MODULE = Glib::Variant PACKAGE = Glib::VariantDict PREFIX = g_variant_dict_ +=for object Glib::VariantDict Utilities for dealing with the GVariantDict mutable interface to GVariant dictionaries +=cut + +=for see_also Glib::Variant +=cut + GVariantDict_own * g_variant_dict_new (class, GVariant *from_asv); C_ARGS: from_asv diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Glib-1.328/META.json new/Glib-1.3291/META.json --- old/Glib-1.328/META.json 2018-09-26 07:15:25.000000000 +0200 +++ new/Glib-1.3291/META.json 2019-08-27 06:49:33.000000000 +0200 @@ -5,14 +5,14 @@ "gtk2-perl Team <gtk-perl-list at gnome dot org>" ], "dynamic_config" : 1, - "generated_by" : "ExtUtils::MakeMaker version 7.3, CPAN::Meta::Converter version 2.150010", + "generated_by" : "ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 2.150010", "license" : [ "unknown", "lgpl_2_1" ], "meta-spec" : { "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", - "version" : "2" + "version" : 2 }, "name" : "Glib", "no_index" : { @@ -83,6 +83,6 @@ "x_IRC" : "irc://irc.gimp.org/#gtk-perl", "x_MailingList" : "https://mail.gnome.org/mailman/listinfo/gtk-perl-list" }, - "version" : "1.328", - "x_serialization_backend" : "JSON::PP version 2.27400_02" + "version" : "1.3291", + "x_serialization_backend" : "JSON::PP version 2.97001" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Glib-1.328/META.yml new/Glib-1.3291/META.yml --- old/Glib-1.328/META.yml 2018-09-26 07:15:24.000000000 +0200 +++ new/Glib-1.3291/META.yml 2019-08-27 06:49:33.000000000 +0200 @@ -10,7 +10,7 @@ ExtUtils::MakeMaker: '0' ExtUtils::PkgConfig: '1.000' dynamic_config: 1 -generated_by: 'ExtUtils::MakeMaker version 7.3, CPAN::Meta::Converter version 2.150010' +generated_by: 'ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 2.150010' license: unknown meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -53,5 +53,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 -version: '1.328' +version: '1.3291' x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Glib-1.328/NEWS new/Glib-1.3291/NEWS --- old/Glib-1.328/NEWS 2018-09-26 07:12:52.000000000 +0200 +++ new/Glib-1.3291/NEWS 2019-08-27 06:40:58.000000000 +0200 @@ -1,3 +1,17 @@ +Overview of changes in Glib 1.3210 (stable) +============================================ + +* POD: add short description for Glib::VariantDict +* Fix test failure in t/g.t due to apparent changes in GKeyFile +* Hush a few compiler warnings +∗ POD: add short description for Glib::VariantDict. (GNOME/perl-glib!3) + +Overview of changes in Glib 1.329 (stable) +============================================ + +* Fix compilation and testing against glib < 2.28.0 (RT# 127831) +* ChangeLog.pre-git/README: Updated Git URIs + Overview of changes in Glib 1.328 (stable) ============================================ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Glib-1.328/README new/Glib-1.3291/README --- old/Glib-1.328/README 2012-12-07 23:45:19.000000000 +0100 +++ new/Glib-1.3291/README 2018-09-27 02:58:18.000000000 +0200 @@ -132,25 +132,25 @@ OBTAINING SOURCE FROM THE GNOME.ORG GIT REPO -------------------------------------------- Assuming you already have the 'git' command installed on your system, you can -use the 'git://' protocol: +use the 'git://' or 'https://' protocols -git clone git://git.gnome.org/perl-Glib +git clone [email protected]:GNOME/perl-glib.git -Or, read-only access via HTTP: +- or - -git clone http://git.gnome.org/browse/perl-Glib +git clone https://gitlab.gnome.org/GNOME/perl-glib.git To update an existing clone of the source: git pull -Most Linux distros package the 'git' command in a package called 'git-core'. +Most Linux distros now package the 'git' command in the 'git' package. COPYRIGHT AND LICENSE --------------------- -Copyright (C) 2003-2012 by the gtk2-perl team (see the file AUTHORS for the +Copyright (C) 2003-2018 by the gtk2-perl team (see the file AUTHORS for the full list) See the LICENSE file in the top-level directory of this distribution for the diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Glib-1.328/lib/Glib/CodeGen.pm new/Glib-1.3291/lib/Glib/CodeGen.pm --- old/Glib-1.328/lib/Glib/CodeGen.pm 2018-09-26 07:13:13.000000000 +0200 +++ new/Glib-1.3291/lib/Glib/CodeGen.pm 2019-08-27 06:46:36.000000000 +0200 @@ -5,7 +5,7 @@ use Carp; use IO::File; -our $VERSION = '1.328'; +our $VERSION = '1.3291'; # type handlers should look like this: # sub gen_foo_stuff { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Glib-1.328/lib/Glib/GenPod.pm new/Glib-1.3291/lib/Glib/GenPod.pm --- old/Glib-1.328/lib/Glib/GenPod.pm 2018-09-26 07:13:35.000000000 +0200 +++ new/Glib-1.3291/lib/Glib/GenPod.pm 2019-08-27 06:47:50.000000000 +0200 @@ -9,7 +9,7 @@ package Glib::GenPod; -our $VERSION = '1.328'; +our $VERSION = '1.3291'; use strict; use warnings; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Glib-1.328/lib/Glib/MakeHelper.pm new/Glib-1.3291/lib/Glib/MakeHelper.pm --- old/Glib-1.328/lib/Glib/MakeHelper.pm 2018-09-26 07:13:52.000000000 +0200 +++ new/Glib-1.3291/lib/Glib/MakeHelper.pm 2019-08-27 06:48:05.000000000 +0200 @@ -4,7 +4,7 @@ package Glib::MakeHelper; -our $VERSION = '1.328'; +our $VERSION = '1.3291'; =head1 NAME diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Glib-1.328/lib/Glib/Object/Subclass.pm new/Glib-1.3291/lib/Glib/Object/Subclass.pm --- old/Glib-1.328/lib/Glib/Object/Subclass.pm 2018-09-26 07:14:16.000000000 +0200 +++ new/Glib-1.3291/lib/Glib/Object/Subclass.pm 2019-08-27 06:48:47.000000000 +0200 @@ -20,7 +20,7 @@ package Glib::Object::Subclass; -our $VERSION = '1.328'; +our $VERSION = '1.3291'; use Glib; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Glib-1.328/lib/Glib/ParseXSDoc.pm new/Glib-1.3291/lib/Glib/ParseXSDoc.pm --- old/Glib-1.328/lib/Glib/ParseXSDoc.pm 2018-09-26 07:14:03.000000000 +0200 +++ new/Glib-1.3291/lib/Glib/ParseXSDoc.pm 2019-08-27 06:48:30.000000000 +0200 @@ -13,7 +13,7 @@ xsdocparse ); -our $VERSION = '1.328'; +our $VERSION = '1.3291'; our $NOISY = $ENV{NOISYDOC}; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Glib-1.328/lib/Glib.pm new/Glib-1.3291/lib/Glib.pm --- old/Glib-1.328/lib/Glib.pm 2018-09-26 07:13:02.000000000 +0200 +++ new/Glib-1.3291/lib/Glib.pm 2019-08-27 06:46:18.000000000 +0200 @@ -27,7 +27,7 @@ require DynaLoader; our @ISA = qw(DynaLoader Exporter); -our $VERSION = '1.328'; +our $VERSION = '1.3291'; use constant { TRUE => 1, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Glib-1.328/t/g.t new/Glib-1.3291/t/g.t --- old/Glib-1.328/t/g.t 2012-01-06 07:26:40.000000000 +0100 +++ new/Glib-1.3291/t/g.t 2019-08-19 18:16:51.000000000 +0200 @@ -84,7 +84,7 @@ eq_array (\@bools, [FALSE, TRUE, FALSE]); ok ($key_file->has_group('locales')); - is ($key_file->get_comment('locales', 'mystring'), "some string\n"); + like ($key_file->get_comment('locales', 'mystring'), qr/^some string$/); is ($key_file->get_string('locales', 'mystring'), 'Good morning'); is ($key_file->get_locale_string('locales', 'mystring', 'it'), 'Buongiorno'); @@ -94,11 +94,11 @@ $key_file->set_string_list('listsection', 'stringlist', 'one', 'two', 'three'); $key_file->set_locale_string('locales', 'mystring', 'en', 'one'); $key_file->set_comment('locales', 'mystring', 'comment'); - is ($key_file->get_comment('locales', 'mystring'), "comment\n"); + like ($key_file->get_comment('locales', 'mystring'), qr/^comment$/); $key_file->set_comment('locales', undef, "another comment\n"); is ($key_file->get_comment('locales', undef), "#another comment\n#"); $key_file->set_comment(undef, undef, 'one comment more'); - is ($key_file->get_comment(undef, undef), "one comment more\n"); + like ($key_file->get_comment(undef, undef), qr/^one comment more$/); $key_file->set_boolean($start_group, 'boolkey', FALSE); $key_file->set_value($start_group, 'boolkey', '0'); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Glib-1.328/t/variant.t new/Glib-1.3291/t/variant.t --- old/Glib-1.328/t/variant.t 2018-09-26 05:50:15.000000000 +0200 +++ new/Glib-1.3291/t/variant.t 2019-02-02 22:12:43.000000000 +0100 @@ -205,7 +205,9 @@ } note ('lookup_value'); -{ +SKIP: { + skip 'lookup_value', 3 + unless Glib->CHECK_VERSION (2, 28, 0); my $entries = [map { Glib::Variant->new_dict_entry (Glib::Variant->new_string ($_->[0]), Glib::Variant->new_byte ($_->[1])) } (['one' => 1], ['two' => 2], ['four' => 4], ['eight' => 8])]; ++++++ cpanspec.yml ++++++ --- /var/tmp/diff_new_pack.hQmpAZ/_old 2019-09-11 10:16:03.179543077 +0200 +++ /var/tmp/diff_new_pack.hQmpAZ/_new 2019-09-11 10:16:03.179543077 +0200 @@ -7,11 +7,10 @@ #sources: # - source1 # - source2 -#patches: -# foo.patch: -p1 -# bar.patch: -#preamble: |- -# BuildRequires: gcc-c++ +# patches: +# perl-Glib-1.328-glib2.59-comment-linebreaks.patch: -p1 +preamble: |- + BuildRequires: glib2-devel >= 2.0.0 #post_prep: |- # hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'` # sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
