forked from pool/perl-GD
Accepting request 506103 from devel:languages:perl
- updated to 2.66
see /usr/share/doc/packages/perl-GD/ChangeLog
2.66 * throw proper error on newFrom* with not-existing file
* add t/transp.t from RT #40525
* Improve RT #54366 multiple gd.h warning
* better doc for GD::Simple->arc
* fix ANIMGIF with libgd 2.3.0-dev
2.65 * fix --gdlib_config_path to accept an argument (fperrad)
2.64 * Update doc for LIBGD_VERSION()
* Fix 5.6.2, which does not have float in its typemap
2.63 * renamed VERSION() to LIBGD_VERSION(), RT #121307.
It was treated magically by "use GD 2.18"
2.62 * fixed wrong <5.14 code generated with ExtUtils::Constants
RT #121297. Don't generate const-xs.inc, only when missing.
* add -liconv on hpux also (our pkgconfig parser cannot handle it)
2.61 * add CONFIGURE_REQUIRES META
* add --gdlib_config_path
* add Image Filters: scatter, pixelate, negate, grayscale, brightness,
contrast, color, selectiveBlur, edgeDetectQuick, gaussianBlur, emboss,
meanRemoval, smooth, copyGaussianBlurred
* add palette methods: createPaletteFromTrueColor,
neuQuant (but discouraged), colorMatch.
* add interpolation methods: copyScale, copyRotateInterpolated,
interpolationMethod.
* add double GD::VERSION
* add all gd.h constants
2.60 * add missing methods newFromWBMP, newFromXbm,
(RT #68784) and some missing docs
* Add --lib_fontconfig_path, --fcgi options
* rewrote most of the XS code
OBS-URL: https://build.opensuse.org/request/show/506103
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-GD?expand=0&rev=29
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1f103d1c98de8621504642ed7fb79f1b40f5f6a63c2abe9390a8ab78617248f9
|
||||
size 273441
|
||||
3
GD-2.66.tar.gz
Normal file
3
GD-2.66.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ea28343301b82ea862bc58c0c2d1953a074e23cf8d1d09df94c05c52f1c98281
|
||||
size 253000
|
||||
@@ -1,13 +1,13 @@
|
||||
Index: GD-2.56/Makefile.PL
|
||||
Index: GD-2.66/Makefile.PL
|
||||
===================================================================
|
||||
--- GD-2.56.orig/Makefile.PL
|
||||
+++ GD-2.56/Makefile.PL
|
||||
@@ -253,7 +253,7 @@ WriteMakefile(
|
||||
'PL_FILES' => {'bdf_scripts/bdf2gdfont.PLS' => 'bdf_scripts/bdf2gdfont.pl',
|
||||
'lib/GD/Image.pm.PLS' => 'lib/GD/Image.pm',
|
||||
},
|
||||
- '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',
|
||||
--- GD-2.66.orig/Makefile.PL
|
||||
+++ GD-2.66/Makefile.PL
|
||||
@@ -259,7 +259,7 @@ print F $DEFINES,"\n";
|
||||
close F;
|
||||
|
||||
my $CCFLAGS = $Config{ccflags};
|
||||
-$CCFLAGS .= " -Wall -Wextra -Wformat=0" if $Config{gccversion} and $] > 5.020;
|
||||
+$CCFLAGS .= " -Wall -Wextra" if $Config{gccversion} and $] > 5.020;
|
||||
|
||||
my %WriteMakefileArgs = (
|
||||
'NAME' => 'GD',
|
||||
|
||||
@@ -18,8 +18,8 @@ preamble: |-
|
||||
#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: |-
|
||||
mv %{buildroot}%{_bindir}/bdftogd{,.perl-gd}
|
||||
#post_install: |-
|
||||
# mv %{buildroot}%{_bindir}/bdftogd{,.perl-gd}
|
||||
#license: SUSE-NonFree
|
||||
#skip_noarch: 1
|
||||
#custom_build: -
|
||||
|
||||
@@ -1,3 +1,57 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 24 05:47:28 UTC 2017 - coolo@suse.com
|
||||
|
||||
- updated to 2.66
|
||||
see /usr/share/doc/packages/perl-GD/ChangeLog
|
||||
|
||||
2.66 * throw proper error on newFrom* with not-existing file
|
||||
* add t/transp.t from RT #40525
|
||||
* Improve RT #54366 multiple gd.h warning
|
||||
* better doc for GD::Simple->arc
|
||||
* fix ANIMGIF with libgd 2.3.0-dev
|
||||
2.65 * fix --gdlib_config_path to accept an argument (fperrad)
|
||||
2.64 * Update doc for LIBGD_VERSION()
|
||||
* Fix 5.6.2, which does not have float in its typemap
|
||||
2.63 * renamed VERSION() to LIBGD_VERSION(), RT #121307.
|
||||
It was treated magically by "use GD 2.18"
|
||||
2.62 * fixed wrong <5.14 code generated with ExtUtils::Constants
|
||||
RT #121297. Don't generate const-xs.inc, only when missing.
|
||||
* add -liconv on hpux also (our pkgconfig parser cannot handle it)
|
||||
2.61 * add CONFIGURE_REQUIRES META
|
||||
* add --gdlib_config_path
|
||||
* add Image Filters: scatter, pixelate, negate, grayscale, brightness,
|
||||
contrast, color, selectiveBlur, edgeDetectQuick, gaussianBlur, emboss,
|
||||
meanRemoval, smooth, copyGaussianBlurred
|
||||
* add palette methods: createPaletteFromTrueColor,
|
||||
neuQuant (but discouraged), colorMatch.
|
||||
* add interpolation methods: copyScale, copyRotateInterpolated,
|
||||
interpolationMethod.
|
||||
* add double GD::VERSION
|
||||
* add all gd.h constants
|
||||
2.60 * add missing methods newFromWBMP, newFromXbm,
|
||||
(RT #68784) and some missing docs
|
||||
* Add --lib_fontconfig_path, --fcgi options
|
||||
* rewrote most of the XS code
|
||||
* cleanup Makefile.PL #20
|
||||
2.59 * error on failing libgd calls
|
||||
* fix colorClosestAlpha, colorAllocateAlpha
|
||||
* add missing documentation
|
||||
2.58 * fix VERSION_STRING for 2.0.x
|
||||
* honor --lib_gd_path specific gdlib-config
|
||||
* Loosen the comparison tests with GDIMAGETYPE ne gd2
|
||||
* Improve gdlib-config parsing (PR #17), esp. with 2.0.34
|
||||
2.57 * fix Jpeg magic number detection RT #26146
|
||||
* fix RGB - HSV roundtrips: RT #120572 by J2N-FORGET
|
||||
* fix -print-search-dirs errors RT #106265
|
||||
* co-maint to rurban
|
||||
* add hv_fetchs, CI smokers
|
||||
* add GD::VERSION_STRING api
|
||||
2.56_03 * add alpha method
|
||||
* improve option handling
|
||||
* fix meta data
|
||||
2.56_02 * fix feature extraction >= 2.2 [RT #119459]
|
||||
2.56_01 * rm Build.PL, fix permissions, fix for missing gdlib-config
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 18 14:29:09 UTC 2015 - coolo@suse.com
|
||||
|
||||
|
||||
36
perl-GD.spec
36
perl-GD.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-GD
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 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,21 +17,29 @@
|
||||
|
||||
|
||||
Name: perl-GD
|
||||
Version: 2.56
|
||||
Version: 2.66
|
||||
Release: 0
|
||||
%define cpan_name GD
|
||||
Summary: Interface to Gd Graphics Library
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/GD/
|
||||
Source0: http://www.cpan.org/authors/id/L/LD/LDS/%{cpan_name}-%{version}.tar.gz
|
||||
Source0: https://cpan.metacpan.org/authors/id/R/RU/RURBAN/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
Patch0: GD-cflags.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(ExtUtils::CBuilder)
|
||||
BuildRequires: perl(Module::Build) >= 0.420000
|
||||
BuildRequires: perl(ExtUtils::Constant) >= 0.22
|
||||
BuildRequires: perl(ExtUtils::PkgConfig)
|
||||
Recommends: perl(Class::XSAccessor)
|
||||
Recommends: perl(ExtUtils::Constant) >= 0.23
|
||||
Recommends: perl(List::MoreUtils)
|
||||
Recommends: perl(Pod::Spell::CommonMistakes)
|
||||
Recommends: perl(Test::Kwalitee)
|
||||
Recommends: perl(Test::More) >= 0.88
|
||||
Recommends: perl(Test::Pod) >= 1.00
|
||||
Recommends: perl(Text::CSV_XS)
|
||||
%{perl_requires}
|
||||
# MANUAL BEGIN
|
||||
BuildRequires: freetype2-devel
|
||||
@@ -52,27 +60,25 @@ files.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
find . -type f -print0 | xargs -0 chmod 644
|
||||
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%{__perl} Build.PL installdirs=vendor optimize="%{optflags}"
|
||||
./Build build flags=%{?_smp_mflags}
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
# MANUAL no testing (see https://rt.cpan.org/Public/Bug/Display.html?id=85789)
|
||||
#./Build test
|
||||
#%{__make} test
|
||||
|
||||
%install
|
||||
./Build install destdir=%{buildroot} create_packlist=0
|
||||
# MANUAL BEGIN
|
||||
mv %{buildroot}%{_bindir}/bdftogd{,.perl-gd}
|
||||
#sed on %{name}.files
|
||||
# MANUAL END
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc bdf_scripts ChangeLog demos LICENSE Makefile.old README README.QUICKDRAW
|
||||
%doc ChangeLog const-c.inc const-xs.inc README README.QUICKDRAW
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user