From aef27f4151a88d672e9588418bc16f10f22eb7e6 Mon Sep 17 00:00:00 2001 From: Martchus Date: Sat, 20 May 2017 15:53:34 +0200 Subject: [PATCH] Update mingw-w64-freetype2 to 2.8 --- .../0004-Enable-long-PCF-family-names.patch | 25 +++++++++++++++++++ freetype2/mingw-w64-bootstrap/PKGBUILD | 17 +++++++------ .../0004-Enable-long-PCF-family-names.patch | 25 +++++++++++++++++++ freetype2/mingw-w64/PKGBUILD | 17 +++++++------ 4 files changed, 70 insertions(+), 14 deletions(-) create mode 100644 freetype2/mingw-w64-bootstrap/0004-Enable-long-PCF-family-names.patch create mode 100644 freetype2/mingw-w64/0004-Enable-long-PCF-family-names.patch diff --git a/freetype2/mingw-w64-bootstrap/0004-Enable-long-PCF-family-names.patch b/freetype2/mingw-w64-bootstrap/0004-Enable-long-PCF-family-names.patch new file mode 100644 index 00000000..675423a7 --- /dev/null +++ b/freetype2/mingw-w64-bootstrap/0004-Enable-long-PCF-family-names.patch @@ -0,0 +1,25 @@ +From 62da6a0f7f5cb77859a793863c386c452411e2a6 Mon Sep 17 00:00:00 2001 +From: "Jan Alexander Steffens (heftig)" +Date: Sun, 14 May 2017 18:09:31 +0200 +Subject: [PATCH 4/4] Enable long PCF family names + +--- + include/freetype/config/ftoption.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/include/freetype/config/ftoption.h b/include/freetype/config/ftoption.h +index ebb44acdbbef9a47..0b39b417162707e4 100644 +--- a/include/freetype/config/ftoption.h ++++ b/include/freetype/config/ftoption.h +@@ -865,7 +865,7 @@ FT_BEGIN_HEADER + /* If this option is activated, it can be controlled with the */ + /* `no-long-family-names' property of the pcf driver module. */ + /* */ +-/* #define PCF_CONFIG_OPTION_LONG_FAMILY_NAMES */ ++#define PCF_CONFIG_OPTION_LONG_FAMILY_NAMES + + + /*************************************************************************/ +-- +2.13.0 + diff --git a/freetype2/mingw-w64-bootstrap/PKGBUILD b/freetype2/mingw-w64-bootstrap/PKGBUILD index 8de673d5..36589bd2 100644 --- a/freetype2/mingw-w64-bootstrap/PKGBUILD +++ b/freetype2/mingw-w64-bootstrap/PKGBUILD @@ -4,27 +4,29 @@ # you also find the URL of a binary repository. pkgname=mingw-w64-freetype2-bootstrap -pkgver=2.7.1 +pkgver=2.8 pkgrel=1 -pkgdesc='TrueType font rendering library (mingw-w64)' +pkgdesc='Font rasterization library (mingw-w64)' arch=('any') -url='http://www.freetype.org/' +url='https://www.freetype.org/' license=('GPL') depends=(mingw-w64-crt mingw-w64-zlib mingw-w64-bzip2) makedepends=(mingw-w64-gcc mingw-w64-configure) provides=(mingw-w64-freetype) replaces=(mingw-w64-freetype) conflicts=(mingw-w64-freetype) -source=(http://download.savannah.gnu.org/releases/freetype/freetype-${pkgver}.tar.bz2{,.sig} +source=(https://download-mirror.savannah.gnu.org/releases/freetype/freetype-${pkgver}.tar.bz2{,.sig} 0001-Enable-table-validation-modules.patch 0002-Enable-subpixel-rendering.patch - 0003-Enable-infinality-subpixel-hinting.patch) + 0003-Enable-infinality-subpixel-hinting.patch + 0004-Enable-long-PCF-family-names.patch) options=(!strip !buildflags !libtool staticlibs) -sha1sums=('4d08a9a6567c6332d58e9a5f9a7e9e3fbce66789' +sha1sums=('42c6b1f733fe13a3eba135f5025b22cb68450f91' 'SKIP' 'b31882ef5e8447e761acee1c4a44c0630cd4d465' 'b1494810ed3aca25cdd8e8cedf634e5adfe6c09e' - '41d27140fd590945e22e012c9dce62de3d6f11e6') + '41d27140fd590945e22e012c9dce62de3d6f11e6' + '334f229875039794adeb574e27d365bb445fb314') validpgpkeys=('58E0C111E39F5408C5D3EC76C1A60EACE707FDA5') if [[ $pkgname = 'mingw-w64-freetype2-bootstrap' ]]; then @@ -47,6 +49,7 @@ prepare() { patch -Np1 -i ../0001-Enable-table-validation-modules.patch patch -Np1 -i ../0002-Enable-subpixel-rendering.patch patch -Np1 -i ../0003-Enable-infinality-subpixel-hinting.patch + patch -Np1 -i ../0004-Enable-long-PCF-family-names.patch } build() { diff --git a/freetype2/mingw-w64/0004-Enable-long-PCF-family-names.patch b/freetype2/mingw-w64/0004-Enable-long-PCF-family-names.patch new file mode 100644 index 00000000..675423a7 --- /dev/null +++ b/freetype2/mingw-w64/0004-Enable-long-PCF-family-names.patch @@ -0,0 +1,25 @@ +From 62da6a0f7f5cb77859a793863c386c452411e2a6 Mon Sep 17 00:00:00 2001 +From: "Jan Alexander Steffens (heftig)" +Date: Sun, 14 May 2017 18:09:31 +0200 +Subject: [PATCH 4/4] Enable long PCF family names + +--- + include/freetype/config/ftoption.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/include/freetype/config/ftoption.h b/include/freetype/config/ftoption.h +index ebb44acdbbef9a47..0b39b417162707e4 100644 +--- a/include/freetype/config/ftoption.h ++++ b/include/freetype/config/ftoption.h +@@ -865,7 +865,7 @@ FT_BEGIN_HEADER + /* If this option is activated, it can be controlled with the */ + /* `no-long-family-names' property of the pcf driver module. */ + /* */ +-/* #define PCF_CONFIG_OPTION_LONG_FAMILY_NAMES */ ++#define PCF_CONFIG_OPTION_LONG_FAMILY_NAMES + + + /*************************************************************************/ +-- +2.13.0 + diff --git a/freetype2/mingw-w64/PKGBUILD b/freetype2/mingw-w64/PKGBUILD index b96eb411..e2612f13 100644 --- a/freetype2/mingw-w64/PKGBUILD +++ b/freetype2/mingw-w64/PKGBUILD @@ -4,27 +4,29 @@ # you also find the URL of a binary repository. pkgname=mingw-w64-freetype2 -pkgver=2.7.1 +pkgver=2.8 pkgrel=1 -pkgdesc='TrueType font rendering library (mingw-w64)' +pkgdesc='Font rasterization library (mingw-w64)' arch=('any') -url='http://www.freetype.org/' +url='https://www.freetype.org/' license=('GPL') depends=(mingw-w64-crt mingw-w64-zlib mingw-w64-bzip2) makedepends=(mingw-w64-gcc mingw-w64-configure) provides=(mingw-w64-freetype) replaces=(mingw-w64-freetype) conflicts=(mingw-w64-freetype) -source=(http://download.savannah.gnu.org/releases/freetype/freetype-${pkgver}.tar.bz2{,.sig} +source=(https://download-mirror.savannah.gnu.org/releases/freetype/freetype-${pkgver}.tar.bz2{,.sig} 0001-Enable-table-validation-modules.patch 0002-Enable-subpixel-rendering.patch - 0003-Enable-infinality-subpixel-hinting.patch) + 0003-Enable-infinality-subpixel-hinting.patch + 0004-Enable-long-PCF-family-names.patch) options=(!strip !buildflags !libtool staticlibs) -sha1sums=('4d08a9a6567c6332d58e9a5f9a7e9e3fbce66789' +sha1sums=('42c6b1f733fe13a3eba135f5025b22cb68450f91' 'SKIP' 'b31882ef5e8447e761acee1c4a44c0630cd4d465' 'b1494810ed3aca25cdd8e8cedf634e5adfe6c09e' - '41d27140fd590945e22e012c9dce62de3d6f11e6') + '41d27140fd590945e22e012c9dce62de3d6f11e6' + '334f229875039794adeb574e27d365bb445fb314') validpgpkeys=('58E0C111E39F5408C5D3EC76C1A60EACE707FDA5') if [[ $pkgname = 'mingw-w64-freetype2-bootstrap' ]]; then @@ -47,6 +49,7 @@ prepare() { patch -Np1 -i ../0001-Enable-table-validation-modules.patch patch -Np1 -i ../0002-Enable-subpixel-rendering.patch patch -Np1 -i ../0003-Enable-infinality-subpixel-hinting.patch + patch -Np1 -i ../0004-Enable-long-PCF-family-names.patch } build() {