[packages/perl-Font-FreeType] - updated to 0.16 - removed obsolete gcc4 patch - tests are passing now
qboosh
qboosh at pld-linux.org
Wed Jun 23 21:45:33 CEST 2021
commit 60c5d6fde8f322ae892288aa0b7d4d251c1abe9f
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Jun 23 21:48:18 2021 +0200
- updated to 0.16
- removed obsolete gcc4 patch
- tests are passing now
perl-Font-FreeType-gcc4.patch | 12 ------------
perl-Font-FreeType.spec | 21 ++++++++++++---------
2 files changed, 12 insertions(+), 21 deletions(-)
---
diff --git a/perl-Font-FreeType.spec b/perl-Font-FreeType.spec
index f8b8d12..b3e047e 100644
--- a/perl-Font-FreeType.spec
+++ b/perl-Font-FreeType.spec
@@ -1,26 +1,30 @@
#
-# TODO: check why tests fail (freetype expert needed)
-#
# Conditional build:
-%bcond_with tests # do perform "make test" (fails with recent freetype versions)
+%bcond_without tests # unit tests
#
%define pdir Font
%define pnam FreeType
Summary: Font::FreeType - read font files and render glyphs from Perl using FreeType2
Summary(pl.UTF-8): Font::FreeType - odczyt plików fontów oraz rendering znaków graficznych za pomocą FreeType2
Name: perl-Font-FreeType
-Version: 0.03
-Release: 17
+Version: 0.16
+Release: 1
# same as perl
License: GPL v1+ or Artistic
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/Font/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: 47b9483c92f1b2df0bbb5258a6a596b2
-Patch0: %{name}-gcc4.patch
-URL: http://search.cpan.org/dist/Font-FreeType/
+# Source0-md5: 01b17b1844c7369084288bb6c70b9021
+URL: https://metacpan.org/dist/Font-FreeType
BuildRequires: freetype-devel >= 2
+BuildRequires: perl-Devel-CheckLib
+BuildRequires: perl-ExtUtils-MakeMaker >= 6.64
+BuildRequires: perl-File-Which
+%if %{with tests}
+BuildRequires: perl-Test-Warnings
+%endif
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
+BuildRequires: rpmbuild(macros) >= 1.745
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -41,7 +45,6 @@ formatów skalowalnych, takich jak TrueType.
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
-%patch0 -p1
%build
%{__perl} Makefile.PL \
diff --git a/perl-Font-FreeType-gcc4.patch b/perl-Font-FreeType-gcc4.patch
deleted file mode 100644
index e8f752d..0000000
--- a/perl-Font-FreeType-gcc4.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -urN Font-FreeType-0.03.org/FreeType.xs Font-FreeType-0.03/FreeType.xs
---- Font-FreeType-0.03.org/FreeType.xs 2004-09-11 22:50:44.000000000 +0200
-+++ Font-FreeType-0.03/FreeType.xs 2007-06-10 00:44:09.873808974 +0200
-@@ -805,7 +805,7 @@
- char_code = FT_Get_First_Char(face, &glyph_idx);
- while (glyph_idx) {
- if (glyph_idx == glyph->index) {
-- RETVAL = newSVuv((UV) glyph->char_code = char_code);
-+ RETVAL = newSVuv(glyph->char_code = char_code);
- break;
- }
- char_code = FT_Get_Next_Char(face, char_code, &glyph_idx);
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Font-FreeType.git/commitdiff/60c5d6fde8f322ae892288aa0b7d4d251c1abe9f
More information about the pld-cvs-commit
mailing list