Hello community, here is the log from the commit of package perl-Cairo for openSUSE:Factory checked in at 2012-06-10 20:18:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Cairo (Old) and /work/SRC/openSUSE:Factory/.perl-Cairo.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Cairo", Maintainer is "dlova...@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Cairo/perl-Cairo.changes 2012-02-14 13:08:00.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Cairo.new/perl-Cairo.changes 2012-06-10 21:52:05.000000000 +0200 @@ -1,0 +2,5 @@ +Wed Jun 6 18:31:31 CEST 2012 - m...@suse.de + +- cairo-1.12 lazily addes the move-to element when closing a path + +------------------------------------------------------------------- New: ---- perl-Cairo.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Cairo.spec ++++++ --- /var/tmp/diff_new_pack.xUrSDw/_old 2012-06-10 21:52:07.000000000 +0200 +++ /var/tmp/diff_new_pack.xUrSDw/_new 2012-06-10 21:52:07.000000000 +0200 @@ -26,6 +26,7 @@ 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 +Patch: perl-Cairo.diff BuildRequires: perl BuildRequires: perl-macros BuildRequires: pkgconfig @@ -46,6 +47,7 @@ %prep %setup -q -n %{cpan_name}-%{version} +%patch %build #disable some randomly failing tests ++++++ perl-Cairo.diff ++++++ --- ./t/CairoPath.t.orig 2012-06-06 16:30:07.000000000 +0000 +++ ./t/CairoPath.t 2012-06-06 16:30:32.000000000 +0000 @@ -30,8 +30,11 @@ my $expected_path = [ { type => "line-to", points => [[3, 4]] }, { type => "curve-to", points => [[5, 6], [7, 8], [9, 10]] }, { type => "close-path", points => [] }, - { type => "move-to", points => [[1, 2]] } ]; +# since cairo-1.12 close_path() lazily adds a move-to element +if (Cairo::VERSION() < Cairo::VERSION_ENCODE(1, 12, 0)) { + push @$expected_path, { type => "move-to", points => [[1, 2]] }; +} my $path = $cr->copy_path; is_deeply ($path, $expected_path); -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org