Update the required version of freetype and deps

This commit is contained in:
Akira TAGOH 2017-12-22 16:23:51 +09:00
parent 01873bf431
commit 829417676f
2 changed files with 15 additions and 2 deletions

View File

@ -0,0 +1,12 @@
diff -pruN fontconfig-2.12.91.orig/configure.ac fontconfig-2.12.91/configure.ac
--- fontconfig-2.12.91.orig/configure.ac 2017-12-14 15:44:20.000000000 +0900
+++ fontconfig-2.12.91/configure.ac 2017-12-22 16:20:11.556717785 +0900
@@ -314,7 +314,7 @@ AC_DEFINE_UNQUOTED(USE_ICONV,$use_iconv,
# Checks for FreeType
#
dnl See http://git.savannah.gnu.org/cgit/freetype/freetype2.git/tree/docs/VERSIONS.TXT for versioning in freetype
-PKG_CHECK_MODULES(FREETYPE, freetype2 >= 21.0.15)
+PKG_CHECK_MODULES(FREETYPE, freetype2 >= 20.0.14)
PKGCONFIG_REQUIRES="$PKGCONFIG_REQUIRES freetype2"
AC_SUBST(FREETYPE_LIBS)

View File

@ -1,4 +1,4 @@
%global freetype_version 2.8.1
%global freetype_version 2.8-7
Summary: Font configuration and customization library
Name: fontconfig
@ -16,6 +16,7 @@ Source2: fc-cache
# https://bugzilla.redhat.com/show_bug.cgi?id=140335
Patch0: %{name}-sleep-less.patch
Patch1: %{name}-required-freetype-version.patch
BuildRequires: expat-devel
BuildRequires: freetype-devel >= %{freetype_version}
@ -24,7 +25,7 @@ BuildRequires: autoconf automake libtool gettext itstool
BuildRequires: gperf
Requires: fontpackages-filesystem freetype
Requires(pre): freetype
Requires(pre): freetype >= 2.8-7
Requires(post): grep coreutils
Requires: font(:lang=en)