1
0
forked from perl/perl-Imager

Accepting request 1125764 from devel:languages:perl:autoupdate

- updated to 1.020
   see /usr/share/doc/packages/perl-Imager/Changes
  Imager 1.020 - 12 Nov 2023
  ============
   - masked(): disallow negative width/height masked images
   - masked(): adjust source corners as bottom right relative if they
     are negative.
   - masked(): reject image source corners where either co-ordinate is
     negative after the above adjustment.
   - Imager::Files: update external image file support modules list
   - internal test: don't fail on Imager::File::APNG link
   - disable Imager::Font::T1 and Freetype 1.x fonts by default.
     Unpatched t1lib simply doesn't work on 64 bit systems, and no-one
     ships the patched version anymore.
     https://github.com/tonycoz/imager/issues/510

OBS-URL: https://build.opensuse.org/request/show/1125764
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Imager?expand=0&rev=12
This commit is contained in:
2023-11-16 16:41:52 +00:00
committed by Git OBS Bridge
parent 914a34a45e
commit a8e181a15c
4 changed files with 60 additions and 8 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:74d44d701c1f14fc4b984fada1e955726b504c2d8b06d265e7a861fa5943cb48
size 1336152

3
Imager-1.020.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d6f10cccfde409de65ec31373f2cb7f24b96d1dd4f73ee39b6c667b8e0d48429
size 1336397

View File

@@ -1,3 +1,23 @@
-------------------------------------------------------------------
Mon Nov 13 03:07:44 UTC 2023 - Tina Müller <timueller+perl@suse.de>
- updated to 1.020
see /usr/share/doc/packages/perl-Imager/Changes
Imager 1.020 - 12 Nov 2023
============
- masked(): disallow negative width/height masked images
- masked(): adjust source corners as bottom right relative if they
are negative.
- masked(): reject image source corners where either co-ordinate is
negative after the above adjustment.
- Imager::Files: update external image file support modules list
- internal test: don't fail on Imager::File::APNG link
- disable Imager::Font::T1 and Freetype 1.x fonts by default.
Unpatched t1lib simply doesn't work on 64 bit systems, and no-one
ships the patched version anymore.
https://github.com/tonycoz/imager/issues/510
-------------------------------------------------------------------
Sun Jul 10 03:06:31 UTC 2022 - Tina Müller <timueller+perl@suse.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Imager
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,17 +18,48 @@
%define cpan_name Imager
Name: perl-Imager
Version: 1.019
Version: 1.20.0
Release: 0
%define cpan_version 1.020
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Perl extension for Generating 24 bit Images
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/T/TO/TONYC/%{cpan_name}-%{version}.tar.gz
Source0: https://cpan.metacpan.org/authors/id/T/TO/TONYC/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Test::More) >= 0.99
Requires: perl(Test::More) >= 0.99
Provides: perl(Imager) = 1.20.0
Provides: perl(Imager::Color) = 1.015
Provides: perl(Imager::Color::Float) = 1.008
Provides: perl(Imager::Color::Table) = 1.004
Provides: perl(Imager::Expr) = 1.008
Provides: perl(Imager::Expr::Assem) = 1.004
Provides: perl(Imager::Expr::Infix)
Provides: perl(Imager::Expr::Postfix)
Provides: perl(Imager::ExtUtils) = 1.003
Provides: perl(Imager::FORMATS)
Provides: perl(Imager::Fill) = 1.013
Provides: perl(Imager::Font) = 1.039
Provides: perl(Imager::Font::BBox) = 1.007
Provides: perl(Imager::Font::FreeType2) = 1.021
Provides: perl(Imager::Font::Image) = 1.000
Provides: perl(Imager::Font::Test) = 1.002
Provides: perl(Imager::Font::Truetype) = 1.013
Provides: perl(Imager::Font::Type1) = 1.013
Provides: perl(Imager::Font::Wrap) = 1.005
Provides: perl(Imager::Fountain) = 1.009
Provides: perl(Imager::IO)
Provides: perl(Imager::Matrix2d) = 1.013
Provides: perl(Imager::Preprocess) = 1.003
Provides: perl(Imager::Probe) = 1.008
Provides: perl(Imager::Regops) = 1.000
Provides: perl(Imager::Test) = 1.007
Provides: perl(Imager::Test::OverUtf8)
Provides: perl(Imager::Transform) = 1.007
Provides: perl(Imager::TrimColorList) = 1.000
%define __perllib_provides /bin/true
Recommends: perl(Parse::RecDescent)
%{perl_requires}
# MANUAL BEGIN
@@ -50,8 +81,9 @@ multiple images together in various ways, scale, crop, render text and
more.
%prep
%autosetup -n %{cpan_name}-%{version}
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
%autosetup -n %{cpan_name}-%{cpan_version}
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"