Hello community, here is the log from the commit of package perl-Cairo for openSUSE:Factory checked in at 2015-09-03 18:02:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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 2013-10-06 14:30:44.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Cairo.new/perl-Cairo.changes 2015-09-03 18:07:35.000000000 +0200 @@ -1,0 +2,11 @@ +Fri Aug 28 11:53:07 UTC 2015 - bwiedemann@suse.com + +- BuildRequire pkgconfig(cairo) + +------------------------------------------------------------------- +Fri Aug 28 09:35:21 UTC 2015 - coolo@suse.com + +- updated to 1.105 + see /usr/share/doc/packages/perl-Cairo/ChangeLog.pre-git + +------------------------------------------------------------------- Old: ---- Cairo-1.104.tar.gz New: ---- Cairo-1.105.tar.gz cpanspec.yml ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Cairo.spec ++++++ --- /var/tmp/diff_new_pack.XkTQjZ/_old 2015-09-03 18:07:37.000000000 +0200 +++ /var/tmp/diff_new_pack.XkTQjZ/_new 2015-09-03 18:07:37.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-Cairo # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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,27 +17,26 @@ Name: perl-Cairo -Version: 1.104 +Version: 1.105 Release: 0 %define cpan_name Cairo Summary: Perl interface to the cairo 2d vector graphics library License: LGPL-2.1+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Cairo/ -Source: http://www.cpan.org/authors/id/X/XA/XAOC/%{cpan_name}-%{version}.tar.gz +Source0: http://www.cpan.org/authors/id/X/XA/XAOC/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(ExtUtils::Depends) >= 0.2 BuildRequires: perl(ExtUtils::PkgConfig) >= 1 -#BuildRequires: perl(Cairo) -#BuildRequires: perl(Cairo::Context) -#BuildRequires: perl(Glib) -#BuildRequires: perl(Pango) -# MANUAL -BuildRequires: pkgconfig -BuildRequires: pkgconfig(cairo) +Requires: perl(ExtUtils::Depends) >= 0.2 +Requires: perl(ExtUtils::PkgConfig) >= 1 %{perl_requires} +# MANUAL BEGIN +BuildRequires: pkgconfig(cairo) +# MANUAL END %description Perl interface to the cairo 2d vector graphics library ++++++ Cairo-1.104.tar.gz -> Cairo-1.105.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Cairo-1.104/META.json new/Cairo-1.105/META.json --- old/Cairo-1.104/META.json 2013-09-29 07:00:11.000000000 +0200 +++ new/Cairo-1.105/META.json 2014-11-26 01:44:14.000000000 +0100 @@ -4,7 +4,7 @@ "Cairo Perl Team <gtk-perl-list at gnome dot org>" ], "dynamic_config" : 1, - "generated_by" : "ExtUtils::MakeMaker version 6.66, CPAN::Meta::Converter version 2.120921", + "generated_by" : "ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version 2.141520", "license" : [ "lgpl_2_1" ], @@ -23,9 +23,21 @@ ] }, "prereqs" : { + "build" : { + "requires" : { + "ExtUtils::MakeMaker" : "0" + } + }, "configure" : { "requires" : { "ExtUtils::Depends" : "0.2", + "ExtUtils::MakeMaker" : "0", + "ExtUtils::PkgConfig" : "1" + } + }, + "runtime" : { + "requires" : { + "ExtUtils::Depends" : "0.2", "ExtUtils::PkgConfig" : "1" } }, @@ -52,5 +64,5 @@ }, "x_MailingList" : "https://mail.gnome.org/mailman/listinfo/gtk-perl-list" }, - "version" : "1.104" + "version" : "1.105" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Cairo-1.104/META.yml new/Cairo-1.105/META.yml --- old/Cairo-1.104/META.yml 2013-09-29 07:00:11.000000000 +0200 +++ new/Cairo-1.105/META.yml 2014-11-26 01:44:13.000000000 +0100 @@ -2,16 +2,18 @@ abstract: 'Perl interface to the cairo 2d vector graphics library' author: - 'Cairo Perl Team <gtk-perl-list at gnome dot org>' -build_requires: {} +build_requires: + ExtUtils::MakeMaker: '0' configure_requires: - ExtUtils::Depends: 0.2 - ExtUtils::PkgConfig: 1 + ExtUtils::Depends: '0.2' + ExtUtils::MakeMaker: '0' + ExtUtils::PkgConfig: '1' dynamic_config: 1 -generated_by: 'ExtUtils::MakeMaker version 6.66, CPAN::Meta::Converter version 2.120921' +generated_by: 'ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version 2.141520' license: lgpl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html - version: 1.4 + version: '1.4' name: Cairo no_index: directory: @@ -19,10 +21,13 @@ - inc file: - inc/MakeHelper.pm +requires: + ExtUtils::Depends: '0.2' + ExtUtils::PkgConfig: '1' resources: + MailingList: https://mail.gnome.org/mailman/listinfo/gtk-perl-list bugtracker: http://rt.cpan.org/Public/Dist/Display.html?Name=Cairo homepage: http://gtk2-perl.sourceforge.net license: http://www.gnu.org/licenses/lgpl-2.1.html repository: git://git.gnome.org/perl-Cairo - x_MailingList: https://mail.gnome.org/mailman/listinfo/gtk-perl-list -version: 1.104 +version: '1.105' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Cairo-1.104/Makefile.PL new/Cairo-1.105/Makefile.PL --- old/Cairo-1.104/Makefile.PL 2012-12-07 23:45:06.000000000 +0100 +++ new/Cairo-1.105/Makefile.PL 2014-11-26 01:26:49.000000000 +0100 @@ -571,6 +571,20 @@ build/cairo-perl-auto.typemap)); $dep->save_config ('build/IFiles.pm'); +# On OpenBSD, 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", + " *** or we need to set LD_PRELOAD=libpthread.so; doing the latter now...\n ***\n"; + @openbsd_compat_flags = ( + macro => {FULLPERLRUN => 'LD_PRELOAD=libpthread.so $(FULLPERL)'}, + ); +} + WriteMakefile ( NAME => 'Cairo', #AUTHOR, LICENSE are now part of %meta_merge @@ -582,6 +596,7 @@ DL_FUNCS => { Cairo=> [] }, META_MERGE => \%meta_merge, $dep->get_makefile_vars, + @openbsd_compat_flags, ); sub MY::postamble diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Cairo-1.104/NEWS new/Cairo-1.105/NEWS --- old/Cairo-1.104/NEWS 2013-09-29 06:57:07.000000000 +0200 +++ new/Cairo-1.105/NEWS 2014-11-26 01:40:37.000000000 +0100 @@ -1,3 +1,8 @@ +Overview of changes in Cairo 1.105 +================================== + +* Fix libpthread-related building issues on OpenBSD + Overview of changes in Cairo 1.104 ================================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Cairo-1.104/lib/Cairo.pm new/Cairo-1.105/lib/Cairo.pm --- old/Cairo-1.104/lib/Cairo.pm 2013-09-29 06:58:28.000000000 +0200 +++ new/Cairo-1.105/lib/Cairo.pm 2014-11-26 01:42:02.000000000 +0100 @@ -14,7 +14,7 @@ our @ISA = qw/DynaLoader/; -our $VERSION = '1.104'; +our $VERSION = '1.105'; sub dl_load_flags { $^O eq 'darwin' ? 0x00 : 0x01 } ++++++ cpanspec.yml ++++++ --- #description_paragraphs: 3 #no_testing: broken upstream #sources: # - source1 # - source2 #patches: # foo.patch: -p1 # bar.patch: preamble: |- BuildRequires: pkgconfig(cairo) #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 #post_install: |- # sed on %{name}.files #license: SUSE-NonFree #skip_noarch: 1 #custom_build: |- #./Build build flags=%{?_smp_mflags} --myflag #custom_test: |- #startserver && make test #ignore_requires: Bizarre::Module