Hello community, here is the log from the commit of package perl-Cairo for openSUSE:Factory checked in at 2012-02-14 13:07:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Cairo (Old) and /work/SRC/openSUSE:Factory/.perl-Cairo.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Cairo", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Cairo/perl-Cairo.changes 2011-10-18 14:35:07.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Cairo.new/perl-Cairo.changes 2012-02-14 13:08:00.000000000 +0100 @@ -1,0 +2,18 @@ +Mon Jan 23 02:47:56 UTC 2012 - [email protected] + +- update to 1.090 + * Make "use Cairo x.yyy" work; fixes RT#72783. This required renaming the old + Cairo::VERSION, a wrapper for CAIRO_VERSION, to Cairo::LIB_VERSION -- but we + kept the old way of calling it working. Cairo::version, + Cairo::version_string and Cairo::VERSION_ENCODE got the same treatment for + consistency. + * Updated FSF LGPL notice address (RT#72664) + +------------------------------------------------------------------- +Mon Jan 2 13:03:57 UTC 2012 - [email protected] + +- update to 1.082 + - Update the symbol export list for linking on win32 + (https://bugzilla.gnome.org/show_bug.cgi?id=665265) + +------------------------------------------------------------------- Old: ---- Cairo-1.081.tar.gz New: ---- Cairo-1.090.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Cairo.spec ++++++ --- /var/tmp/diff_new_pack.xoOxv7/_old 2012-02-14 13:08:01.000000000 +0100 +++ /var/tmp/diff_new_pack.xoOxv7/_new 2012-02-14 13:08:01.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-Cairo # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,23 +16,22 @@ # - Name: perl-Cairo -Version: 1.081 -Release: 1 -License: LGPL-2.1+ +Version: 1.090 +Release: 0 %define cpan_name Cairo Summary: Perl interface to the cairo library -Url: http://search.cpan.org/dist/Cairo/ +License: LGPL-2.1+ Group: Development/Libraries/Perl +Url: http://search.cpan.org/dist/Cairo/ #Source: http://www.cpan.org/authors/id/T/TS/TSCH/Cairo-1.061.tar.gz Source: %{cpan_name}-%{version}.tar.gz BuildRequires: perl +BuildRequires: perl-macros +BuildRequires: pkgconfig BuildRequires: perl(ExtUtils::Depends) >= 0.2 BuildRequires: perl(ExtUtils::PkgConfig) >= 1 BuildRequires: perl(Test::Number::Delta) >= 1 -BuildRequires: perl-macros -BuildRequires: pkgconfig BuildRequires: pkgconfig(cairo) # Requires: perl(ExtUtils::Depends) >= 0.2 ++++++ Cairo-1.081.tar.gz -> Cairo-1.090.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Cairo-1.081/Cairo.xs new/Cairo-1.090/Cairo.xs --- old/Cairo-1.081/Cairo.xs 2011-08-21 15:47:42.000000000 +0200 +++ new/Cairo-1.090/Cairo.xs 2012-01-20 07:46:51.000000000 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004-2005 by the cairo perl team (see the file README) + * Copyright (c) 2004-2012 by the cairo perl team (see the file README) * * Licensed under the LGPL, see LICENSE file for more information. * @@ -425,13 +425,16 @@ call_atexit ((ATEXIT_t) cairo_debug_reset_static_data, NULL); #endif -int VERSION (class=NULL) +# The VERSION fallback is implemented in lib/Cairo.pm. +int LIB_VERSION (...) CODE: RETVAL = CAIRO_VERSION; OUTPUT: RETVAL -int VERSION_ENCODE (...) +int LIB_VERSION_ENCODE (...) + ALIAS: + VERSION_ENCODE = 1 PREINIT: int major, minor, micro; CODE: @@ -444,7 +447,7 @@ minor = SvIV (ST (2)); micro = SvIV (ST (3)); } else { - croak ("Usage: Cairo::VERSION_ENCODE (major, minor, micro) or Cairo->VERSION_ENCODE (major, minor, micro)"); + croak ("Usage: Cairo::LIB_VERSION_ENCODE (major, minor, micro) or Cairo->LIB_VERSION_ENCODE (major, minor, micro)"); } RETVAL = CAIRO_VERSION_ENCODE (major, minor, micro); @@ -453,11 +456,15 @@ # int cairo_version (); int cairo_version (class=NULL) + ALIAS: + lib_version = 1 C_ARGS: /* void */ # const char* cairo_version_string (); const char* cairo_version_string (class=NULL) + ALIAS: + lib_version_string = 1 C_ARGS: /* void */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Cairo-1.081/ChangeLog.pre-git new/Cairo-1.090/ChangeLog.pre-git --- old/Cairo-1.081/ChangeLog.pre-git 2010-05-16 23:35:08.000000000 +0200 +++ new/Cairo-1.090/ChangeLog.pre-git 2012-01-20 07:26:43.000000000 +0100 @@ -1,7 +1,8 @@ === ChangeLog discontinued === With the move to git, we stop maintaining a separate ChangeLog and - rely on proper commit messages instead. + rely on proper commit messages instead. Web view of changes: + <http://git.gnome.org/browse/perl-Cairo/>. 2009-03-28 Torsten Schoenfeld <[email protected]> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Cairo-1.081/LICENSE new/Cairo-1.090/LICENSE --- old/Cairo-1.081/LICENSE 2009-05-17 13:57:33.000000000 +0200 +++ new/Cairo-1.090/LICENSE 2012-01-20 07:43:40.000000000 +0100 @@ -2,7 +2,7 @@ Version 2.1, February 1999 Copyright (C) 1991, 1999 Free Software Foundation, Inc. - 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. @@ -485,7 +485,9 @@ You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 + USA + Also add information on how to contact you by electronic and paper mail. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Cairo-1.081/MANIFEST new/Cairo-1.090/MANIFEST --- old/Cairo-1.081/MANIFEST 2011-10-14 23:46:10.000000000 +0200 +++ new/Cairo-1.090/MANIFEST 2012-01-20 08:05:24.000000000 +0100 @@ -49,5 +49,4 @@ t/CairoRegion.t t/CairoSurface.t TODO -META.yml Module YAML meta-data (added by MakeMaker) -META.json Module JSON meta-data (added by MakeMaker) +META.yml Module meta-data (added by MakeMaker) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Cairo-1.081/META.json new/Cairo-1.090/META.json --- old/Cairo-1.081/META.json 2011-10-14 23:46:10.000000000 +0200 +++ new/Cairo-1.090/META.json 1970-01-01 01:00:00.000000000 +0100 @@ -1,48 +0,0 @@ -{ - "abstract" : "Perl interface to the cairo 2d vector graphics library", - "author" : [ - "unknown" - ], - "dynamic_config" : 1, - "generated_by" : "ExtUtils::MakeMaker version 6.59, CPAN::Meta::Converter version 2.112621", - "license" : [ - "unknown" - ], - "meta-spec" : { - "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", - "version" : "2" - }, - "name" : "Cairo", - "no_index" : { - "directory" : [ - "t", - "inc" - ], - "x_files" : [ - "inc/MakeHelper.pm" - ] - }, - "prereqs" : { - "build" : { - "requires" : { - "ExtUtils::MakeMaker" : 0, - "Test::Number::Delta" : "1" - } - }, - "configure" : { - "requires" : { - "ExtUtils::Depends" : "0.2", - "ExtUtils::MakeMaker" : 0, - "ExtUtils::PkgConfig" : "1" - } - }, - "runtime" : { - "requires" : { - "ExtUtils::Depends" : "0.2", - "ExtUtils::PkgConfig" : "1" - } - } - }, - "release_status" : "stable", - "version" : "1.081" -} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Cairo-1.081/META.yml new/Cairo-1.090/META.yml --- old/Cairo-1.081/META.yml 2011-10-14 23:46:10.000000000 +0200 +++ new/Cairo-1.090/META.yml 2012-01-20 08:05:24.000000000 +0100 @@ -1,28 +1,27 @@ ---- -abstract: 'Perl interface to the cairo 2d vector graphics library' -author: - - unknown -build_requires: - ExtUtils::MakeMaker: 0 - Test::Number::Delta: 1 +--- #YAML:1.0 +name: Cairo +version: 1.090 +abstract: Perl interface to the cairo 2d vector graphics library +author: [] +license: unknown +distribution_type: module configure_requires: - ExtUtils::Depends: 0.2 - ExtUtils::MakeMaker: 0 - ExtUtils::PkgConfig: 1 -dynamic_config: 1 -generated_by: 'ExtUtils::MakeMaker version 6.59, CPAN::Meta::Converter version 2.112621' -license: unknown -meta-spec: - url: http://module-build.sourceforge.net/META-spec-v1.4.html - version: 1.4 -name: Cairo -no_index: - directory: - - t - - inc - x_files: - - inc/MakeHelper.pm + ExtUtils::Depends: 0.2 + ExtUtils::MakeMaker: 0 + ExtUtils::PkgConfig: 1 +build_requires: + ExtUtils::MakeMaker: 0 + Test::Number::Delta: 1 requires: - ExtUtils::Depends: 0.2 - ExtUtils::PkgConfig: 1 -version: 1.081 + ExtUtils::Depends: 0.2 + ExtUtils::PkgConfig: 1 +no_index: + directory: + - t + - inc + files: + - inc/MakeHelper.pm +generated_by: ExtUtils::MakeMaker version 6.57_05 +meta-spec: + url: http://module-build.sourceforge.net/META-spec-v1.4.html + version: 1.4 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Cairo-1.081/Makefile.PL new/Cairo-1.090/Makefile.PL --- old/Cairo-1.081/Makefile.PL 2011-10-14 23:38:11.000000000 +0200 +++ new/Cairo-1.090/Makefile.PL 2012-01-20 07:47:14.000000000 +0100 @@ -1,5 +1,5 @@ # -# Copyright (c) 2004-2006 by the cairo perl team (see the file README) +# Copyright (c) 2004-2012 by the cairo perl team (see the file README) # # Licensed under the LGPL, see LICENSE file for more information. # @@ -216,6 +216,60 @@ # --------------------------------------------------------------------------- # +my @exports = qw( + cairo_font_face_to_sv + cairo_font_type_from_sv + cairo_font_type_to_sv + cairo_object_from_sv + cairo_object_to_sv + cairo_pattern_to_sv + cairo_struct_from_sv + cairo_struct_to_sv + cairo_surface_to_sv + + newSVCairoGlyph + SvCairoGlyph + newSVCairoPath + SvCairoPath + newSVCairoFontExtents + newSVCairoTextExtents + + cairo_antialias_from_sv + cairo_antialias_to_sv + cairo_content_from_sv + cairo_content_to_sv + cairo_extend_from_sv + cairo_extend_to_sv + cairo_fill_rule_from_sv + cairo_fill_rule_to_sv + cairo_filter_from_sv + cairo_filter_to_sv + cairo_font_slant_from_sv + cairo_font_slant_to_sv + cairo_font_weight_from_sv + cairo_font_weight_to_sv + cairo_format_from_sv + cairo_format_to_sv + cairo_hint_metrics_from_sv + cairo_hint_metrics_to_sv + cairo_hint_style_from_sv + cairo_hint_style_to_sv + cairo_line_cap_from_sv + cairo_line_cap_to_sv + cairo_line_join_from_sv + cairo_line_join_to_sv + cairo_operator_from_sv + cairo_operator_to_sv + cairo_path_data_type_from_sv + cairo_path_data_type_to_sv + cairo_status_from_sv + cairo_status_to_sv + cairo_subpixel_order_from_sv + cairo_subpixel_order_to_sv +); + +# --------------------------------------------------------------------------- # + sub add_new_enum_values { my (%new) = @_; foreach my $enum (keys %new) { @@ -277,6 +331,15 @@ CAIRO_SVG_VERSION_1_1 CAIRO_SVG_VERSION_1_2 /]; + + push @exports, qw/cairo_font_type_from_sv + cairo_font_type_to_sv + cairo_pattern_type_from_sv + cairo_pattern_type_to_sv + cairo_surface_type_from_sv + cairo_surface_type_to_sv + cairo_svg_version_from_sv + cairo_svg_version_to_sv/; } else { # We need to create empty enum entries for new types so that typemaps # are generated for them. xsubpp demands typemaps even if the code is @@ -292,6 +355,9 @@ cairo_status_t => [qw/CAIRO_STATUS_INVALID_INDEX CAIRO_STATUS_CLIP_NOT_REPRESENTABLE/], ); + + push @exports, qw/newSVCairoRectangle + SvCairoRectangle/; } if ($have_cairo_1_6) { @@ -307,6 +373,9 @@ CAIRO_PS_LEVEL_2 CAIRO_PS_LEVEL_3 /]; + + push @exports, qw/cairo_ps_level_from_sv + cairo_ps_level_to_sv/; } else { $enums{cairo_ps_level_t} = []; } @@ -327,6 +396,11 @@ CAIRO_TEXT_CLUSTER_FLAG_ CAIRO_TEXT_CLUSTER_FLAG_BACKWARD /]; + + push @exports, qw/newSVCairoTextCluster + SvCairoTextCluster + cairo_text_cluster_flags_from_sv + cairo_text_cluster_flags_to_sv/; } else { $flags{cairo_text_cluster_flags_t} = []; } @@ -374,6 +448,13 @@ CAIRO_REGION_OVERLAP_OUT CAIRO_REGION_OVERLAP_PART /]; + + push @exports, qw/newSVCairoRectangleInt + SvCairoRectangleInt + cairo_pdf_version_from_sv + cairo_pdf_version_to_sv + cairo_region_overlap_from_sv + cairo_region_overlap_to_sv/; } else { $enums{cairo_pdf_version_t} = []; $enums{cairo_region_overlap_t} = []; @@ -450,23 +531,6 @@ build/cairo-perl-auto.typemap)); $dep->save_config ('build/IFiles.pm'); -my @exports = qw( - cairo_font_type_from_sv - cairo_font_type_to_sv - cairo_object_from_sv - cairo_object_to_sv - cairo_pattern_to_sv - cairo_struct_from_sv - cairo_struct_to_sv - cairo_surface_to_sv - newSVCairoFontExtents - newSVCairoGlyph - newSVCairoPath - newSVCairoTextExtents - SvCairoGlyph - SvCairoPath -); - WriteMakefile ( NAME => 'Cairo', VERSION_FROM => 'lib/Cairo.pm', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Cairo-1.081/NEWS new/Cairo-1.090/NEWS --- old/Cairo-1.081/NEWS 2011-10-14 23:44:26.000000000 +0200 +++ new/Cairo-1.090/NEWS 2012-01-20 07:54:11.000000000 +0100 @@ -1,3 +1,19 @@ +Overview of changes in Cairo 1.090 +================================== + +* Make "use Cairo x.yyy" work; fixes RT#72783. This required renaming the old + Cairo::VERSION, a wrapper for CAIRO_VERSION, to Cairo::LIB_VERSION -- but we + kept the old way of calling it working. Cairo::version, + Cairo::version_string and Cairo::VERSION_ENCODE got the same treatment for + consistency. +* Updated FSF LGPL notice address (RT#72664) + +Overview of changes in Cairo 1.082 +================================== + +* Update the symbol export list for linking on win32 + (https://bugzilla.gnome.org/show_bug.cgi?id=665265) + Overview of changes in Cairo 1.081 ================================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Cairo-1.081/README new/Cairo-1.090/README --- old/Cairo-1.081/README 2011-08-21 15:47:28.000000000 +0200 +++ new/Cairo-1.090/README 2012-01-20 07:44:14.000000000 +0100 @@ -56,7 +56,7 @@ COPYRIGHT AND LICENSE --------------------- -Copyright (C) 2004-2011 by the cairo perl team +Copyright (C) 2004-2012 by the cairo perl team Ross McFarland rwmcfa1 at neces dot com Torsten Schoenfeld kaffeetisch at gmx dot de @@ -72,5 +72,5 @@ details. You should have received a copy of the GNU Library General Public License along -with this library; if not, write to the Free Software Foundation, Inc., 59 -Temple Place - Suite 330, Boston, MA 02111-1307 USA. +with this library; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Cairo-1.081/lib/Cairo.pm new/Cairo-1.090/lib/Cairo.pm --- old/Cairo-1.081/lib/Cairo.pm 2011-10-14 23:43:37.000000000 +0200 +++ new/Cairo-1.090/lib/Cairo.pm 2012-01-20 08:04:11.000000000 +0100 @@ -1,5 +1,5 @@ # -# Copyright (c) 2004-2011 by the cairo perl team (see the file README) +# Copyright (c) 2004-2012 by the cairo perl team (see the file README) # # Licensed under the LGPL, see LICENSE file for more information. # @@ -14,15 +14,23 @@ our @ISA = qw/DynaLoader/; -our $VERSION = '1.081'; +our $VERSION = '1.090'; sub dl_load_flags { $^O eq 'darwin' ? 0x00 : 0x01 } Cairo->bootstrap ($VERSION); -# --------------------------------------------------------------------------- # - -package Cairo; +# Our Cairo::VERSION used to be a simple wrapper around CAIRO_VERSION. But a +# package's VERSION sub is supposed to do Perl version checking so that things +# like 'use Cairo 1.00' work. To not break backwards-compatibility, we +# dispatch according to the number of arguments passed in. +sub VERSION { + if (scalar @_ == 2) { + shift->SUPER::VERSION (@_); + } else { + Cairo::LIB_VERSION (@_); + } +} 1; @@ -1409,6 +1417,16 @@ =item $stride = $surface->get_stride [1.2] +=item $stride = Cairo::Format::stride_for_width ($format, $width) [1.6] + +=over + +=item $format: I<Cairo::Format> + +=item $width: integer + +=back + =back =cut @@ -1715,13 +1733,18 @@ =over -=item $version = Cairo->version +=item $version_code = Cairo->lib_version + +=item $version_string = Cairo->lib_version_string + +These two functions return the version of libcairo that the program is +currently running against. -=item $string = Cairo->version_string +=item $version_code = Cairo->LIB_VERSION -=item $version_code = Cairo->VERSION +Returns the version of libcairo that L<Cairo> was compiled against. -=item $version_code = Cairo->VERSION_ENCODE ($major, $minor, $micro) +=item $version_code = Cairo->LIB_VERSION_ENCODE ($major, $minor, $micro) =over @@ -1733,15 +1756,8 @@ =back -=item $stride = Cairo::Format::stride_for_width ($format, $width) [1.6] - -=over - -=item $format: I<Cairo::Format> - -=item $width: integer - -=back +Encodes the version C<$major.$minor.$micro> as an integer suitable for +comparison against C<< Cairo->lib_version >> and C<< Cairo->LIB_VERSION >>. =back diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Cairo-1.081/t/Cairo.t new/Cairo-1.090/t/Cairo.t --- old/Cairo-1.081/t/Cairo.t 2011-08-06 12:02:34.000000000 +0200 +++ new/Cairo-1.090/t/Cairo.t 2012-01-20 07:48:37.000000000 +0100 @@ -1,6 +1,6 @@ #!/usr/bin/perl # -# Copyright (c) 2004-2005 by the cairo perl team (see the file README) +# Copyright (c) 2004-2012 by the cairo perl team (see the file README) # # Licensed under the LGPL, see LICENSE file for more information. # @@ -10,7 +10,7 @@ use strict; use warnings; -use Test::More tests => 75; +use Test::More tests => 70; unless (eval 'use Test::Number::Delta; 1;') { my $reason = 'Test::Number::Delta not available'; @@ -20,15 +20,7 @@ use constant IMG_WIDTH => 256; use constant IMG_HEIGHT => 256; -BEGIN { - use_ok ('Cairo'); -} - -ok(defined Cairo::version); -ok(defined Cairo::version_string); - -ok(defined Cairo->version); -ok(defined Cairo->version_string); +use Cairo; my $surf = Cairo::ImageSurface->create ('rgb24', IMG_WIDTH, IMG_HEIGHT); isa_ok ($surf, 'Cairo::Surface'); -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
