Hello community,

here is the log from the commit of package perl-Cairo for openSUSE:Factory 
checked in at 2019-10-14 12:43:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Cairo (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Cairo.new.2352 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Cairo"

Mon Oct 14 12:43:00 2019 rev:39 rq:738166 version:1.107

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Cairo/perl-Cairo.changes    2016-06-12 
18:54:44.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Cairo.new.2352/perl-Cairo.changes  
2019-10-14 12:44:02.690301281 +0200
@@ -1,0 +2,12 @@
+Tue Oct  8 11:55:05 UTC 2019 - Tina Mueller <[email protected]>
+
+- Add license LGPL-2.1-or-later to cpanspec.yml as it couldn't be detected
+   automatically
+
+-------------------------------------------------------------------
+Tue Oct  8 07:55:50 UTC 2019 -  <[email protected]>
+
+- updated to 1.107
+   see /usr/share/doc/packages/perl-Cairo/ChangeLog.pre-git
+
+-------------------------------------------------------------------

Old:
----
  Cairo-1.106.tar.gz

New:
----
  Cairo-1.107.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-Cairo.spec ++++++
--- /var/tmp/diff_new_pack.mMPyM8/_old  2019-10-14 12:44:03.126300140 +0200
+++ /var/tmp/diff_new_pack.mMPyM8/_new  2019-10-14 12:44:03.130300130 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Cairo
 #
-# Copyright (c) 2016 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
@@ -12,19 +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:           perl-Cairo
-Version:        1.106
+Version:        1.107
 Release:        0
+#Upstream: CHECK(Artistic-1.0 or GPL-1.0-or-later)
 %define cpan_name Cairo
 Summary:        Perl interface to the cairo 2d vector graphics library
-License:        LGPL-2.1+
+License:        LGPL-2.1-or-later
 Group:          Development/Libraries/Perl
-Url:            http://search.cpan.org/dist/Cairo/
-Source0:        
http://www.cpan.org/authors/id/X/XA/XAOC/%{cpan_name}-%{version}.tar.gz
+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
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
@@ -45,11 +46,11 @@
 %setup -q -n %{cpan_name}-%{version}
 
 %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
@@ -58,6 +59,7 @@
 
 %files -f %{name}.files
 %defattr(-,root,root,755)
-%doc cairo-perl.typemap ChangeLog.pre-git doctypes examples LICENSE NEWS 
perl-Cairo.doap README TODO
+%doc cairo-perl.typemap ChangeLog.pre-git doctypes examples NEWS 
perl-Cairo.doap README TODO
+%license LICENSE
 
 %changelog

++++++ Cairo-1.106.tar.gz -> Cairo-1.107.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Cairo-1.106/Cairo.xs new/Cairo-1.107/Cairo.xs
--- old/Cairo-1.106/Cairo.xs    2013-02-03 07:07:45.000000000 +0100
+++ new/Cairo-1.107/Cairo.xs    2019-09-29 03:48:25.000000000 +0200
@@ -898,6 +898,14 @@
 
 cairo_status_t cairo_status (cairo_t *cr);
 
+#if CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1, 16, 0)
+
+void cairo_tag_begin (cairo_t * cr, const char_utf8 * tag_name, const 
char_utf8 * attributes);
+
+void cairo_tag_end (cairo_t * cr, const char_utf8 * tag_name);
+
+#endif
+
 # --------------------------------------------------------------------------- #
 
 MODULE = Cairo PACKAGE = Cairo PREFIX = cairo_
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Cairo-1.106/CairoSurface.xs 
new/Cairo-1.107/CairoSurface.xs
--- old/Cairo-1.106/CairoSurface.xs     2013-09-29 06:49:21.000000000 +0200
+++ new/Cairo-1.107/CairoSurface.xs     2019-09-29 03:48:25.000000000 +0200
@@ -580,6 +580,12 @@
 
 #endif
 
+#if CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1, 16, 0)
+
+void cairo_pdf_surface_set_metadata (cairo_surface_t *surface, 
cairo_pdf_metadata_t metadata, const char_utf8 * utf8);
+
+#endif
+
 #endif
 
 # --------------------------------------------------------------------------- #
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Cairo-1.106/META.json new/Cairo-1.107/META.json
--- old/Cairo-1.106/META.json   2015-09-29 07:06:31.000000000 +0200
+++ new/Cairo-1.107/META.json   2019-10-07 06:36:38.000000000 +0200
@@ -1,16 +1,18 @@
 {
    "abstract" : "Perl interface to the cairo 2d vector graphics library",
    "author" : [
+      "unknown",
       "Cairo Perl Team <gtk-perl-list at gnome dot org>"
    ],
    "dynamic_config" : 1,
-   "generated_by" : "ExtUtils::MakeMaker version 7.04, CPAN::Meta::Converter 
version 2.150001",
+   "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" : "Cairo",
    "no_index" : {
@@ -64,5 +66,6 @@
       },
       "x_MailingList" : "https://mail.gnome.org/mailman/listinfo/gtk-perl-list";
    },
-   "version" : "1.106"
+   "version" : "1.107",
+   "x_serialization_backend" : "JSON::PP version 2.97001"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Cairo-1.106/META.yml new/Cairo-1.107/META.yml
--- old/Cairo-1.106/META.yml    2015-09-29 07:06:31.000000000 +0200
+++ new/Cairo-1.107/META.yml    2019-10-07 06:36:38.000000000 +0200
@@ -1,6 +1,7 @@
 ---
 abstract: 'Perl interface to the cairo 2d vector graphics library'
 author:
+  - unknown
   - 'Cairo Perl Team <gtk-perl-list at gnome dot org>'
 build_requires:
   ExtUtils::MakeMaker: '0'
@@ -9,8 +10,8 @@
   ExtUtils::MakeMaker: '0'
   ExtUtils::PkgConfig: '1'
 dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 7.04, CPAN::Meta::Converter version 
2.150001'
-license: lgpl
+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
   version: '1.4'
@@ -30,4 +31,5 @@
   homepage: http://gtk2-perl.sourceforge.net
   license: http://www.gnu.org/licenses/lgpl-2.1.html
   repository: git://git.gnome.org/perl-Cairo
-version: '1.106'
+version: '1.107'
+x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Cairo-1.106/Makefile.PL new/Cairo-1.107/Makefile.PL
--- old/Cairo-1.106/Makefile.PL 2015-09-26 19:10:29.000000000 +0200
+++ new/Cairo-1.107/Makefile.PL 2019-09-29 03:48:25.000000000 +0200
@@ -325,6 +325,7 @@
 my $have_cairo_1_6 = ExtUtils::PkgConfig->atleast_version("cairo", "1.6.0");
 my $have_cairo_1_8 = ExtUtils::PkgConfig->atleast_version("cairo", "1.8.0");
 my $have_cairo_1_10 = ExtUtils::PkgConfig->atleast_version("cairo", "1.10.0");
+my $have_cairo_1_16 = ExtUtils::PkgConfig->atleast_version("cairo", "1.16.0");
 
 if ($have_cairo_1_2) {
        add_new_enum_values(
@@ -500,6 +501,21 @@
        $enums{cairo_region_overlap_t} = [];
 }
 
+if ($have_cairo_1_16) {
+       $enums{cairo_pdf_metadata_t} = [qw/
+               CAIRO_PDF_METADATA_
+               CAIRO_PDF_METADATA_TITLE
+               CAIRO_PDF_METADATA_AUTHOR
+               CAIRO_PDF_METADATA_SUBJECT
+               CAIRO_PDF_METADATA_KEYWORDS
+               CAIRO_PDF_METADATA_CREATOR
+               CAIRO_PDF_METADATA_CREATE_DATE
+               CAIRO_PDF_METADATA_MOD_DATE
+       /];
+} else {
+       $enums{cairo_pdf_metadata_t} = [];
+}
+
 # --------------------------------------------------------------------------- #
 
 my %object_guards = (
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Cairo-1.106/NEWS new/Cairo-1.107/NEWS
--- old/Cairo-1.106/NEWS        2015-09-29 07:05:00.000000000 +0200
+++ new/Cairo-1.107/NEWS        2019-10-07 06:33:40.000000000 +0200
@@ -1,3 +1,10 @@
+Overview of changes in Cairo 1.107
+==================================
+
+* Rename DOAP file to appease Gitlab
+* Add bindings for cairo_tag_begin and cairo_tag_end
+* Add a binding for cairo_pdf_surface_set_metadata
+
 Overview of changes in Cairo 1.106
 ==================================
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Cairo-1.106/lib/Cairo.pm new/Cairo-1.107/lib/Cairo.pm
--- old/Cairo-1.106/lib/Cairo.pm        2015-09-29 07:05:09.000000000 +0200
+++ new/Cairo-1.107/lib/Cairo.pm        2019-10-07 06:35:50.000000000 +0200
@@ -14,7 +14,7 @@
 
 our @ISA = qw/DynaLoader/;
 
-our $VERSION = '1.106';
+our $VERSION = '1.107';
 
 sub dl_load_flags { $^O eq 'darwin' ? 0x00 : 0x01 }
 
@@ -340,6 +340,24 @@
 
 =back
 
+=item $cr->tag_begin($name, $atts) [1.16]
+
+=over
+
+=item $name: string
+
+=item $atts: string
+
+=back
+
+=item $cr->tag_end($name) [1.16]
+
+=over
+
+=item $name: string
+
+=back
+
 =item $cr->copy_page
 
 =item $cr->show_page
@@ -1491,6 +1509,16 @@
 
 =back
 
+=item $surface->set_metadata($name, $value) [1.16]
+
+=over
+
+=item $name: string
+
+=item $value: string
+
+=back
+
 =back
 
 =cut
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Cairo-1.106/t/Cairo.t new/Cairo-1.107/t/Cairo.t
--- old/Cairo-1.106/t/Cairo.t   2012-01-20 07:48:37.000000000 +0100
+++ new/Cairo-1.107/t/Cairo.t   2019-09-29 03:48:25.000000000 +0200
@@ -10,7 +10,7 @@
 use strict;
 use warnings;
 
-use Test::More tests => 70;
+use Test::More tests => 72;
 
 unless (eval 'use Test::Number::Delta; 1;') {
        my $reason = 'Test::Number::Delta not available';
@@ -286,3 +286,13 @@
 $cr->append_path ($path);
 
 is ($cr->status, 'success');
+
+SKIP: {
+       skip 'new stuff', 2
+               unless Cairo::VERSION >= Cairo::VERSION_ENCODE (1, 16, 0);
+
+       $cr->tag_begin("Link","https://www.perl.org";);
+       is ($cr->status, 'success');
+       $cr->tag_end("Link");
+       is ($cr->status, 'success');
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Cairo-1.106/t/CairoSurface.t 
new/Cairo-1.107/t/CairoSurface.t
--- old/Cairo-1.106/t/CairoSurface.t    2011-11-27 08:56:45.000000000 +0100
+++ new/Cairo-1.107/t/CairoSurface.t    2019-09-29 03:48:25.000000000 +0200
@@ -12,7 +12,7 @@
 
 use Config; # for byteorder
 
-use Test::More tests => 88;
+use Test::More tests => 89;
 
 use constant IMG_WIDTH => 256;
 use constant IMG_HEIGHT => 256;
@@ -216,7 +216,7 @@
 }
 
 SKIP: {
-       skip 'pdf surface', 13
+       skip 'pdf surface', 14
                unless Cairo::HAS_PDF_SURFACE;
 
        my $surf = Cairo::PdfSurface->create ('tmp.pdf', IMG_WIDTH, IMG_HEIGHT);
@@ -268,6 +268,16 @@
                like (Cairo::PdfSurface->version_to_string('1-4'), qr/1\.4/);
        }
 
+       SKIP: {
+               skip 'new stuff', 1
+                       unless Cairo::VERSION >= Cairo::VERSION_ENCODE (1, 16, 
0);
+
+               $surf->set_metadata("title","Testing metadata");
+               $surf->set_metadata("author","Johan Vromans");
+               $surf->set_metadata("subject","cairo_pdf_set_metadata");
+               ok(1);  # No get_metadata, so assume OK if we're still alive
+       }
+
        unlink 'tmp.pdf';
 }
 

++++++ cpanspec.yml ++++++
--- /var/tmp/diff_new_pack.mMPyM8/_old  2019-10-14 12:44:03.226299879 +0200
+++ /var/tmp/diff_new_pack.mMPyM8/_new  2019-10-14 12:44:03.226299879 +0200
@@ -14,7 +14,7 @@
 # sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL 
 #post_install: |-
 # sed on %{name}.files
-#license: SUSE-NonFree
+license: LGPL-2.1-or-later
 #skip_noarch: 1
 #custom_build: |-
 #./Build build flags=%{?_smp_mflags} --myflag


Reply via email to