]> git.pld-linux.org Git - packages/perl-Font-FreeType.git/commitdiff
- updated to 0.16 auto/th/perl-Font-FreeType-0.16-1
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 23 Jun 2021 19:48:18 +0000 (21:48 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Wed, 23 Jun 2021 19:48:18 +0000 (21:48 +0200)
- removed obsolete gcc4 patch
- tests are passing now

perl-Font-FreeType-gcc4.patch [deleted file]
perl-Font-FreeType.spec

diff --git a/perl-Font-FreeType-gcc4.patch b/perl-Font-FreeType-gcc4.patch
deleted file mode 100644 (file)
index e8f752d..0000000
+++ /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);
index f8b8d12ad1360b7b5410c7ed3579bf4107127e97..b3e047e2b8aff49ffdb7ebe0c5b7b588ec4daf04 100644 (file)
@@ -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 \
This page took 0.127771 seconds and 4 git commands to generate.