commit perl-GD for openSUSE:Factory
Hello community, here is the log from the commit of package perl-GD for openSUSE:Factory checked in at 2013-12-31 16:47:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-GD (Old) and /work/SRC/openSUSE:Factory/.perl-GD.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "perl-GD" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-GD/perl-GD.changes 2011-09-23 12:37:09.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-GD.new/perl-GD.changes 2013-12-31 16:47:32.000000000 +0100 @@ -1,0 +2,17 @@ +Tue Dec 31 05:25:05 UTC 2013 - coolo@suse.com + +- disable test suite - comparing the bits of pngs is not good enough, + debian and fedora have the same problem and no reaction upstream + (RT#85789) + +------------------------------------------------------------------- +Sat Jul 27 11:58:20 UTC 2013 - coolo@suse.com + +- updated to 2.50 + Fix gdUseFontConfig so that it can be called as a class method. + Add GitHub information to README. + Fix compile crash on windows and strawberry (https://rt.cpan.org/Public/Bug/Display.html?id=67990). + Fix compilation on older perl's without the Newxz macros. +- rebased GD-cflags.patch + +------------------------------------------------------------------- Old: ---- GD-2.46.tar.gz New: ---- GD-2.50.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-GD.spec ++++++ --- /var/tmp/diff_new_pack.LAaSo7/_old 2013-12-31 16:47:33.000000000 +0100 +++ /var/tmp/diff_new_pack.LAaSo7/_new 2013-12-31 16:47:33.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-GD # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 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,24 @@ # - Name: perl-GD -Version: 2.46 -Release: 4 -License: GPL-1.0+ or Artistic-1.0 +Version: 2.50 +Release: 0 %define cpan_name GD Summary: Interface to Gd Graphics Library -Url: http://search.cpan.org/dist/GD/ +License: GPL-1.0+ or Artistic-1.0 Group: Development/Libraries/Perl +Url: http://search.cpan.org/dist/GD/ Source: http://www.cpan.org/authors/id/L/LD/LDS/%{cpan_name}-%{version}.tar.gz Patch0: GD-cflags.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: perl -BuildRequires: perl-macros BuildRequires: freetype2-devel BuildRequires: gd-devel >= 2.0.28 -BuildRequires: libjpeg-devel libpng-devel xorg-x11-devel +BuildRequires: libjpeg-devel +BuildRequires: libpng-devel +BuildRequires: perl +BuildRequires: perl-macros +BuildRequires: xorg-x11-devel %{perl_requires} %description @@ -47,20 +48,18 @@ find . -type f -print0 | xargs -0 chmod 644 %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" %{__make} %{?_smp_mflags} %check -%{__make} test +# see https://rt.cpan.org/Public/Bug/Display.html?id=85789 for the reason +# %{__make} test %install %perl_make_install %perl_process_packlist %perl_gen_filelist -%clean -%{__rm} -rf %{buildroot} - %files -f %{name}.files %defattr(-,root,root,755) %doc ChangeLog README README.QUICKDRAW README.unix ++++++ GD-2.46.tar.gz -> GD-2.50.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/GD-2.46/ChangeLog new/GD-2.50/ChangeLog --- old/GD-2.46/ChangeLog 2011-05-01 19:44:50.000000000 +0200 +++ new/GD-2.50/ChangeLog 2013-07-02 22:45:40.000000000 +0200 @@ -1,3 +1,7 @@ +2.50 Fix gdUseFontConfig so that it can be called as a class method. +2.49 Add GitHub information to README. +2.48 Fix compile crash on windows and strawberry (https://rt.cpan.org/Public/Bug/Display.html?id=67990). +2.47 Fix compilation on older perl's without the Newxz macros. 2.46 Added a basic "use" test for GD::Simple 2.45 Clarified the GD license. There is now a formal LICENSE file in the package. 2.44 GD::Group now installed properly. @@ -5,7 +9,6 @@ 2.43 Added "transparent" color to GD::Simple. Fixed Makefile so that GD/Image.pm depends both on GD/Image.pm.PLS and .config.cache 2.42 Fixed magic number detection to autodetect certain missed jpeg files (thanks to Mike Walker) - 2.41 Added backend support for grouping features in GD::SVG module. 2.40 ** Do not use - contains a bug ** 2.39 Makefile.PL will refuse to run if the proper version of libgd is unavailable. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/GD-2.46/GD.pm new/GD-2.50/GD.pm --- old/GD-2.46/GD.pm 2011-05-01 19:44:27.000000000 +0200 +++ new/GD-2.50/GD.pm 2013-07-02 22:46:31.000000000 +0200 @@ -16,7 +16,7 @@ use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS $AUTOLOAD); -$VERSION = '2.46'; +$VERSION = '2.50'; @ISA = qw(Exporter DynaLoader); # Items to export into callers namespace by default. Note: do not export @@ -1376,6 +1376,8 @@ $flag, this method will return a true value if the fontconfig library is present, or false otherwise. +This method can also be called as a class method of GD::Image; + =item B<$result = $image->stringFTCircle($cx,$cy,$radius,$textRadius,$fillPortion,$font,$points,$top,$bottom,$fgcolor)> This draws text in a circle. Currently (libgd 2.0.33) this function diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/GD-2.46/GD.xs new/GD-2.50/GD.xs --- old/GD-2.46/GD.xs 2009-01-12 02:39:31.000000000 +0100 +++ new/GD-2.50/GD.xs 2013-07-02 22:41:36.000000000 +0200 @@ -433,7 +433,11 @@ static gdIOCtx* newDynamicCtx (char* data, int length) { bufIOCtxPtr ctx; +#ifdef Newz + Newz(0,ctx,1,bufIOCtx); +#else Newxz(ctx,1,bufIOCtx); +#endif if (ctx == NULL) return NULL; ctx->data = data; ctx->pos = 0; @@ -2287,7 +2291,7 @@ int gduseFontConfig(image,flag) - GD::Image image + SV* image int flag PROTOTYPE: $$ PREINIT: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/GD-2.46/MANIFEST new/GD-2.50/MANIFEST --- old/GD-2.46/MANIFEST 2011-05-01 19:40:58.000000000 +0200 +++ new/GD-2.50/MANIFEST 2013-07-02 22:47:18.000000000 +0200 @@ -85,3 +85,4 @@ t/tile.jpeg t/tile.png typemap +META.json Module JSON meta-data (added by MakeMaker) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/GD-2.46/META.json new/GD-2.50/META.json --- old/GD-2.46/META.json 1970-01-01 01:00:00.000000000 +0100 +++ new/GD-2.50/META.json 2013-07-02 22:47:17.000000000 +0200 @@ -0,0 +1,41 @@ +{ + "abstract" : "Interface to Gd Graphics Library", + "author" : [ + "Lincoln Stein (lstein@cshl.org)" + ], + "dynamic_config" : 1, + "generated_by" : "ExtUtils::MakeMaker version 6.68, CPAN::Meta::Converter version 2.112621", + "license" : [ + "unknown" + ], + "meta-spec" : { + "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", + "version" : "2" + }, + "name" : "GD", + "no_index" : { + "directory" : [ + "t", + "inc" + ] + }, + "prereqs" : { + "build" : { + "requires" : { + "ExtUtils::MakeMaker" : 0 + } + }, + "configure" : { + "requires" : { + "ExtUtils::MakeMaker" : 0 + } + }, + "runtime" : { + "requires" : { + "Math::Trig" : 0 + } + } + }, + "release_status" : "stable", + "version" : "2.50" +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/GD-2.46/META.yml new/GD-2.50/META.yml --- old/GD-2.46/META.yml 2011-05-01 19:45:05.000000000 +0200 +++ new/GD-2.50/META.yml 2013-07-02 22:47:17.000000000 +0200 @@ -1,22 +1,22 @@ ---- #YAML:1.0 -name: GD -version: 2.46 -abstract: Interface to Gd Graphics Library +--- +abstract: 'Interface to Gd Graphics Library' author: - - Lincoln Stein (lstein@cshl.org) -license: unknown -distribution_type: module -configure_requires: - ExtUtils::MakeMaker: 0 + - 'Lincoln Stein (lstein@cshl.org)' build_requires: - ExtUtils::MakeMaker: 0 -requires: - Math::Trig: 0 -no_index: - directory: - - t - - inc -generated_by: ExtUtils::MakeMaker version 6.55_02 + ExtUtils::MakeMaker: 0 +configure_requires: + ExtUtils::MakeMaker: 0 +dynamic_config: 1 +generated_by: 'ExtUtils::MakeMaker version 6.68, CPAN::Meta::Converter version 2.112621' +license: unknown meta-spec: - url: http://module-build.sourceforge.net/META-spec-v1.4.html - version: 1.4 + url: http://module-build.sourceforge.net/META-spec-v1.4.html + version: 1.4 +name: GD +no_index: + directory: + - t + - inc +requires: + Math::Trig: 0 +version: 2.50 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/GD-2.46/Makefile.PL new/GD-2.50/Makefile.PL --- old/GD-2.46/Makefile.PL 2011-02-05 21:36:46.000000000 +0100 +++ new/GD-2.50/Makefile.PL 2013-07-02 22:32:51.000000000 +0200 @@ -245,7 +245,7 @@ 'PL_FILES' => {'bdf_scripts/bdf2gdfont.PLS' => 'bdf_scripts/bdf2gdfont.pl', 'GD/Image.pm.PLS' => 'GD/Image.pm', }, - 'CCFLAGS' => '-Wformat=0', + 'CCFLAGS' => "$Config{ccflags} -Wformat=0", 'EXE_FILES' => ['bdf_scripts/bdf2gdfont.pl'], 'AUTHOR' => 'Lincoln Stein (lstein@cshl.org)', 'ABSTRACT' => 'Interface to Gd Graphics Library', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/GD-2.46/README new/GD-2.50/README --- old/GD-2.46/README 2011-02-05 21:36:46.000000000 +0100 +++ new/GD-2.50/README 2013-07-02 22:32:51.000000000 +0200 @@ -425,10 +425,11 @@ UPDATES: -The current version of GD can be found in CPAN. +The current version of GD can be found in CPAN. The development +version can be found on GitHub at https://github.com/lstein/Perl-GD. AUTHOR: Lincoln Stein -lstein@cshl.org -http://stein.cshl.org/~lstein +lincoln.stein@gmail.com + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/GD-2.46/qd.pl new/GD-2.50/qd.pl --- old/GD-2.46/qd.pl 2001-12-07 00:25:48.000000000 +0100 +++ new/GD-2.50/qd.pl 2013-07-02 22:32:51.000000000 +0200 @@ -1,6 +1,6 @@ #!/usr/local/bin/perl -# $Id: qd.pl,v 1.1.1.1 2001-12-06 23:25:48 lstein Exp $ +# $Id: qd.pl,v 1.1 2001-12-06 23:25:48 lstein Exp $ # This is a package of routines that let you create Macintosh # PICT files from within perl. It implements a subset of Quickdraw ++++++ GD-cflags.patch ++++++ --- /var/tmp/diff_new_pack.LAaSo7/_old 2013-12-31 16:47:33.000000000 +0100 +++ /var/tmp/diff_new_pack.LAaSo7/_new 2013-12-31 16:47:33.000000000 +0100 @@ -1,12 +1,13 @@ -Index: GD-2.46/Makefile.PL +Index: GD-2.50/Makefile.PL =================================================================== ---- GD-2.46.orig/Makefile.PL 2011-02-05 21:36:46.000000000 +0100 -+++ GD-2.46/Makefile.PL 2011-05-26 16:44:38.754118580 +0200 -@@ -245,7 +245,6 @@ WriteMakefile( +--- GD-2.50.orig/Makefile.PL ++++ GD-2.50/Makefile.PL +@@ -245,7 +245,7 @@ WriteMakefile( 'PL_FILES' => {'bdf_scripts/bdf2gdfont.PLS' => 'bdf_scripts/bdf2gdfont.pl', 'GD/Image.pm.PLS' => 'GD/Image.pm', }, -- 'CCFLAGS' => '-Wformat=0', +- 'CCFLAGS' => "$Config{ccflags} -Wformat=0", ++ 'CCFLAGS' => "$Config{ccflags}", 'EXE_FILES' => ['bdf_scripts/bdf2gdfont.pl'], 'AUTHOR' => 'Lincoln Stein (lstein@cshl.org)', 'ABSTRACT' => 'Interface to Gd Graphics Library', -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de