Hello community,

here is the log from the commit of package perl-Cairo for openSUSE:Factory 
checked in at 2015-10-14 16:44:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Cairo (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Cairo.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Cairo"

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Cairo/perl-Cairo.changes    2015-09-03 
18:07:35.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Cairo.new/perl-Cairo.changes       
2015-10-14 16:44:09.000000000 +0200
@@ -1,0 +2,6 @@
+Fri Oct  2 08:51:54 UTC 2015 - co...@suse.com
+
+- updated to 1.106
+   see /usr/share/doc/packages/perl-Cairo/ChangeLog.pre-git
+
+-------------------------------------------------------------------

Old:
----
  Cairo-1.105.tar.gz

New:
----
  Cairo-1.106.tar.gz

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

Other differences:
------------------
++++++ perl-Cairo.spec ++++++
--- /var/tmp/diff_new_pack.ASFhT1/_old  2015-10-14 16:44:10.000000000 +0200
+++ /var/tmp/diff_new_pack.ASFhT1/_new  2015-10-14 16:44:10.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           perl-Cairo
-Version:        1.105
+Version:        1.106
 Release:        0
 %define cpan_name Cairo
 Summary:        Perl interface to the cairo 2d vector graphics library

++++++ Cairo-1.105.tar.gz -> Cairo-1.106.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Cairo-1.105/META.json new/Cairo-1.106/META.json
--- old/Cairo-1.105/META.json   2014-11-26 01:44:14.000000000 +0100
+++ new/Cairo-1.106/META.json   2015-09-29 07:06:31.000000000 +0200
@@ -4,7 +4,7 @@
       "Cairo Perl Team <gtk-perl-list at gnome dot org>"
    ],
    "dynamic_config" : 1,
-   "generated_by" : "ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter 
version 2.141520",
+   "generated_by" : "ExtUtils::MakeMaker version 7.04, CPAN::Meta::Converter 
version 2.150001",
    "license" : [
       "lgpl_2_1"
    ],
@@ -64,5 +64,5 @@
       },
       "x_MailingList" : "https://mail.gnome.org/mailman/listinfo/gtk-perl-list";
    },
-   "version" : "1.105"
+   "version" : "1.106"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Cairo-1.105/META.yml new/Cairo-1.106/META.yml
--- old/Cairo-1.105/META.yml    2014-11-26 01:44:13.000000000 +0100
+++ new/Cairo-1.106/META.yml    2015-09-29 07:06:31.000000000 +0200
@@ -9,7 +9,7 @@
   ExtUtils::MakeMaker: '0'
   ExtUtils::PkgConfig: '1'
 dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version 
2.141520'
+generated_by: 'ExtUtils::MakeMaker version 7.04, CPAN::Meta::Converter version 
2.150001'
 license: lgpl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -30,4 +30,4 @@
   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.105'
+version: '1.106'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Cairo-1.105/Makefile.PL new/Cairo-1.106/Makefile.PL
--- old/Cairo-1.105/Makefile.PL 2014-11-26 01:26:49.000000000 +0100
+++ new/Cairo-1.106/Makefile.PL 2015-09-26 19:10:29.000000000 +0200
@@ -571,16 +571,16 @@
                   build/cairo-perl-auto.typemap));
 $dep->save_config ('build/IFiles.pm');
 
-# On OpenBSD, any program that directly or indirectly wants to load
+# On OpenBSD/NetBSD, any program that directly or indirectly wants to load
 # libpthread.so must do so from the start.  But when perl is built without
 # ithreads, it will also most likely not be compiled with "-pthread".  When
-# libglib/libgobject then go and try to load libpthread.so, the loader will
-# error out.
-my @openbsd_compat_flags = ();
-if ($^O eq 'openbsd' && $Config::Config{ldflags} !~ m/-pthread\b/) {
-  warn " ***\n *** on OpenBSD, we either need perl linked with '-pthread',\n",
+# libcairo then goes and tries to load libpthread.so, the loader will error
+# out.
+my @bsd_compat_flags = ();
+if (($^O eq 'openbsd' || $^O eq 'netbsd') && $Config::Config{ldflags} !~ 
m/-pthread\b/) {
+  warn " ***\n *** on OpenBSD/NetBSD, we either need perl linked with 
'-pthread',\n",
        " ***   or we need to set LD_PRELOAD=libpthread.so; doing the latter 
now...\n ***\n";
-  @openbsd_compat_flags = (
+  @bsd_compat_flags = (
     macro => {FULLPERLRUN => 'LD_PRELOAD=libpthread.so $(FULLPERL)'},
   );
 }
@@ -596,7 +596,7 @@
     DL_FUNCS      => { Cairo=> [] },
     META_MERGE    => \%meta_merge,
     $dep->get_makefile_vars,
-    @openbsd_compat_flags,
+    @bsd_compat_flags,
 );
 
 sub MY::postamble
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Cairo-1.105/NEWS new/Cairo-1.106/NEWS
--- old/Cairo-1.105/NEWS        2014-11-26 01:40:37.000000000 +0100
+++ new/Cairo-1.106/NEWS        2015-09-29 07:05:00.000000000 +0200
@@ -1,3 +1,11 @@
+Overview of changes in Cairo 1.106
+==================================
+
+* Generate cairo-perl-auto.typemap and cairo-perl-auto.h in a deterministic
+  fashion
+* Use the pthread compatibility workaround on NetBSD as well
+* Fix a test failure in t/CairoFont.t
+
 Overview of changes in Cairo 1.105
 ==================================
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Cairo-1.105/inc/MakeHelper.pm 
new/Cairo-1.106/inc/MakeHelper.pm
--- old/Cairo-1.105/inc/MakeHelper.pm   2013-09-29 08:32:28.000000000 +0200
+++ new/Cairo-1.106/inc/MakeHelper.pm   2015-09-22 17:05:43.000000000 +0200
@@ -110,12 +110,12 @@
                $1;
        }
 
-       foreach (keys %objects, keys %structs, keys %enums, keys %flags)
+       foreach (sort(keys %objects, keys %structs, keys %enums, keys %flags))
        {
                print TYPEMAP "$_\tT_CAIROPERL_GENERIC_WRAPPER\n";
        }
 
-       foreach (keys %objects, keys %structs)
+       foreach (sort(keys %objects, keys %structs))
        {
                my $trunk = $_;
                $trunk =~ s/ \*//;
@@ -125,7 +125,7 @@
                print TYPEMAP "const ${trunk}_ornull 
*\tT_CAIROPERL_GENERIC_WRAPPER\n";
        }
 
-       foreach (keys %objects)
+       foreach (sort(keys %objects))
        {
                my $trunk = $_;
                $trunk =~ s/ \*//;
@@ -196,7 +196,7 @@
 
        print HEADER "\n/* objects */\n\n";
 
-       foreach (keys %objects)
+       foreach (sort(keys %objects))
        {
                /^(.+) \*/;
                my $type = $1;
@@ -226,7 +226,7 @@
 
        print HEADER "\n/* structs */\n\n";
 
-       foreach (keys %structs)
+       foreach (sort(keys %structs))
        {
                /^(.+) \*/;
                my $type = $1;
@@ -253,7 +253,7 @@
 
        print HEADER "\n/* enums */\n\n";
 
-       foreach my $type (keys %enums)
+       foreach my $type (sort(keys %enums))
        {
                my $mangled = mangle ($type);
                my $name = name ($type);
@@ -280,7 +280,7 @@
 
        print HEADER "\n/* flags */\n\n";
 
-       foreach my $type (keys %flags)
+       foreach my $type (sort(keys %flags))
        {
                my $mangled = mangle ($type);
                my $name = name ($type);
@@ -380,7 +380,7 @@
 
 EOS
 
-       foreach my $type (keys %enums)
+       foreach my $type (sort(keys %enums))
        {
                my $name = name($type);
                my @enum_values = @{$enums{$type}};
@@ -492,7 +492,7 @@
 
 EOS
 
-       foreach my $type (keys %flags)
+       foreach my $type (sort(keys %flags))
        {
                my $name = name($type);
                my @flag_values = @{$flags{$type}};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Cairo-1.105/lib/Cairo.pm new/Cairo-1.106/lib/Cairo.pm
--- old/Cairo-1.105/lib/Cairo.pm        2014-11-26 01:42:02.000000000 +0100
+++ new/Cairo-1.106/lib/Cairo.pm        2015-09-29 07:05:09.000000000 +0200
@@ -14,7 +14,7 @@
 
 our @ISA = qw/DynaLoader/;
 
-our $VERSION = '1.105';
+our $VERSION = '1.106';
 
 sub dl_load_flags { $^O eq 'darwin' ? 0x00 : 0x01 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Cairo-1.105/t/CairoFont.t 
new/Cairo-1.106/t/CairoFont.t
--- old/Cairo-1.105/t/CairoFont.t       2012-04-23 00:22:37.000000000 +0200
+++ new/Cairo-1.106/t/CairoFont.t       2015-09-26 19:10:29.000000000 +0200
@@ -62,10 +62,13 @@
 my $font = Cairo::ScaledFont->create ($face, $matrix, $ctm, $options);
 isa_ok ($font, 'Cairo::ScaledFont');
 
-isa_ok ($font->extents, 'HASH');
-isa_ok ($font->glyph_extents ({ index => 1, x => 2, y => 3 }), 'HASH');
-
 SKIP: {
+       skip 'scaled font tests', 10
+               unless $font->status eq 'success';
+
+       isa_ok ($font->extents, 'HASH');
+       isa_ok ($font->glyph_extents ({ index => 1, x => 2, y => 3 }), 'HASH');
+
        skip 'new stuff', 8
                unless Cairo::VERSION >= Cairo::VERSION_ENCODE (1, 2, 0);
 
@@ -92,6 +95,8 @@
        my $text = 'æſðđŋ';
        my ($status, $glyphs, $clusters, $flags) =
                $font->text_to_glyphs (5, 10, $text);
+       skip 'show_text_glyphs', 1
+               unless $status eq 'success';
        $cr->show_text_glyphs ($text, $glyphs, $clusters, $flags);
        is ($cr->status, 'success');
 }


Reply via email to