[arch-commits] Commit in lib32-freetype2/repos (6 files)

Jan Steffens heftig at gemini.archlinux.org
Thu Jul 22 17:15:02 UTC 2021


    Date: Thursday, July 22, 2021 @ 17:15:01
  Author: heftig
Revision: 983192

archrelease: copy trunk to multilib-testing-x86_64

Added:
  lib32-freetype2/repos/multilib-testing-x86_64/
  lib32-freetype2/repos/multilib-testing-x86_64/0001-Enable-table-validation-modules.patch
    (from rev 983191, lib32-freetype2/trunk/0001-Enable-table-validation-modules.patch)
  lib32-freetype2/repos/multilib-testing-x86_64/0002-Enable-subpixel-rendering.patch
    (from rev 983191, lib32-freetype2/trunk/0002-Enable-subpixel-rendering.patch)
  lib32-freetype2/repos/multilib-testing-x86_64/0003-Enable-infinality-subpixel-hinting.patch
    (from rev 983191, lib32-freetype2/trunk/0003-Enable-infinality-subpixel-hinting.patch)
  lib32-freetype2/repos/multilib-testing-x86_64/0004-Enable-long-PCF-family-names.patch
    (from rev 983191, lib32-freetype2/trunk/0004-Enable-long-PCF-family-names.patch)
  lib32-freetype2/repos/multilib-testing-x86_64/PKGBUILD
    (from rev 983191, lib32-freetype2/trunk/PKGBUILD)

-----------------------------------------------+
 0001-Enable-table-validation-modules.patch    |   42 ++++++++++++++++
 0002-Enable-subpixel-rendering.patch          |   22 ++++++++
 0003-Enable-infinality-subpixel-hinting.patch |   24 +++++++++
 0004-Enable-long-PCF-family-names.patch       |   22 ++++++++
 PKGBUILD                                      |   61 ++++++++++++++++++++++++
 5 files changed, 171 insertions(+)

Copied: lib32-freetype2/repos/multilib-testing-x86_64/0001-Enable-table-validation-modules.patch (from rev 983191, lib32-freetype2/trunk/0001-Enable-table-validation-modules.patch)
===================================================================
--- multilib-testing-x86_64/0001-Enable-table-validation-modules.patch	                        (rev 0)
+++ multilib-testing-x86_64/0001-Enable-table-validation-modules.patch	2021-07-22 17:15:01 UTC (rev 983192)
@@ -0,0 +1,42 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: "Jan Alexander Steffens (heftig)" <jan.steffens at gmail.com>
+Date: Tue, 23 Jun 2015 08:40:29 +0200
+Subject: [PATCH] Enable table validation modules
+
+---
+ modules.cfg | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/modules.cfg b/modules.cfg
+index 30f7fac45a..a9a4703989 100644
+--- a/modules.cfg
++++ b/modules.cfg
+@@ -114,26 +114,26 @@ AUX_MODULES += cache
+ 
+ # TrueType GX/AAT table validation.  Needs `ftgxval.c' below.
+ #
+-# AUX_MODULES += gxvalid
++AUX_MODULES += gxvalid
+ 
+ # Support for streams compressed with gzip (files with suffix .gz).
+ #
+ # See include/freetype/ftgzip.h for the API.
+ AUX_MODULES += gzip
+ 
+ # Support for streams compressed with LZW (files with suffix .Z).
+ #
+ # See include/freetype/ftlzw.h for the API.
+ AUX_MODULES += lzw
+ 
+ # Support for streams compressed with bzip2 (files with suffix .bz2).
+ #
+ # See include/freetype/ftbzip2.h for the API.
+ AUX_MODULES += bzip2
+ 
+ # OpenType table validation.  Needs `ftotval.c' below.
+ #
+-# AUX_MODULES += otvalid
++AUX_MODULES += otvalid
+ 
+ # Auxiliary PostScript driver component to share common code.
+ #

Copied: lib32-freetype2/repos/multilib-testing-x86_64/0002-Enable-subpixel-rendering.patch (from rev 983191, lib32-freetype2/trunk/0002-Enable-subpixel-rendering.patch)
===================================================================
--- multilib-testing-x86_64/0002-Enable-subpixel-rendering.patch	                        (rev 0)
+++ multilib-testing-x86_64/0002-Enable-subpixel-rendering.patch	2021-07-22 17:15:01 UTC (rev 983192)
@@ -0,0 +1,22 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: "Jan Alexander Steffens (heftig)" <jan.steffens at gmail.com>
+Date: Tue, 23 Jun 2015 08:43:07 +0200
+Subject: [PATCH] Enable subpixel rendering
+
+---
+ 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 4227fd376e..32da3fa039 100644
+--- a/include/freetype/config/ftoption.h
++++ b/include/freetype/config/ftoption.h
+@@ -123,7 +123,7 @@ FT_BEGIN_HEADER
+    * When this macro is not defined, FreeType offers alternative LCD
+    * rendering technology that produces excellent output.
+    */
+-/* #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING */
++#define FT_CONFIG_OPTION_SUBPIXEL_RENDERING
+ 
+ 
+   /**************************************************************************

Copied: lib32-freetype2/repos/multilib-testing-x86_64/0003-Enable-infinality-subpixel-hinting.patch (from rev 983191, lib32-freetype2/trunk/0003-Enable-infinality-subpixel-hinting.patch)
===================================================================
--- multilib-testing-x86_64/0003-Enable-infinality-subpixel-hinting.patch	                        (rev 0)
+++ multilib-testing-x86_64/0003-Enable-infinality-subpixel-hinting.patch	2021-07-22 17:15:01 UTC (rev 983192)
@@ -0,0 +1,24 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: "Jan Alexander Steffens (heftig)" <jan.steffens at gmail.com>
+Date: Mon, 29 Aug 2016 08:43:10 +0200
+Subject: [PATCH] Enable infinality subpixel hinting
+
+---
+ include/freetype/config/ftoption.h | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/include/freetype/config/ftoption.h b/include/freetype/config/ftoption.h
+index 32da3fa039..0dd4021e24 100644
+--- a/include/freetype/config/ftoption.h
++++ b/include/freetype/config/ftoption.h
+@@ -688,8 +688,8 @@ FT_BEGIN_HEADER
+    * https://www.microsoft.com/typography/cleartype/truetypecleartype.aspx
+    */
+ /* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING  1         */
+-#define TT_CONFIG_OPTION_SUBPIXEL_HINTING  2
+-/* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING  ( 1 | 2 ) */
++/* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING  2         */
++#define TT_CONFIG_OPTION_SUBPIXEL_HINTING  ( 1 | 2 )
+ 
+ 
+   /**************************************************************************

Copied: lib32-freetype2/repos/multilib-testing-x86_64/0004-Enable-long-PCF-family-names.patch (from rev 983191, lib32-freetype2/trunk/0004-Enable-long-PCF-family-names.patch)
===================================================================
--- multilib-testing-x86_64/0004-Enable-long-PCF-family-names.patch	                        (rev 0)
+++ multilib-testing-x86_64/0004-Enable-long-PCF-family-names.patch	2021-07-22 17:15:01 UTC (rev 983192)
@@ -0,0 +1,22 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: "Jan Alexander Steffens (heftig)" <jan.steffens at gmail.com>
+Date: Sun, 14 May 2017 18:09:31 +0200
+Subject: [PATCH] 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 0dd4021e24..8da3073b6d 100644
+--- a/include/freetype/config/ftoption.h
++++ b/include/freetype/config/ftoption.h
+@@ -877,7 +877,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
+ 
+ 
+   /*************************************************************************/

Copied: lib32-freetype2/repos/multilib-testing-x86_64/PKGBUILD (from rev 983191, lib32-freetype2/trunk/PKGBUILD)
===================================================================
--- multilib-testing-x86_64/PKGBUILD	                        (rev 0)
+++ multilib-testing-x86_64/PKGBUILD	2021-07-22 17:15:01 UTC (rev 983192)
@@ -0,0 +1,61 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=lib32-freetype2
+pkgver=2.11.0
+pkgrel=1
+pkgdesc="Font rasterization library (32-bit)"
+url="https://www.freetype.org/"
+arch=(x86_64)
+license=(GPL)
+# adding harfbuzz for improved OpenType features auto-hinting
+# introduces a cycle dep to harfbuzz depending on freetype wanted by upstream
+depends=(lib32-zlib lib32-bzip2 lib32-libpng lib32-harfbuzz lib32-brotli
+         freetype2)
+makedepends=(meson)
+provides=(libfreetype.so)
+source=(https://download.savannah.gnu.org/releases/freetype/freetype-$pkgver.tar.xz{,.sig}
+        0001-Enable-table-validation-modules.patch
+        0002-Enable-subpixel-rendering.patch
+        0003-Enable-infinality-subpixel-hinting.patch
+        0004-Enable-long-PCF-family-names.patch)
+sha256sums=('8bee39bd3968c4804b70614a0a3ad597299ad0e824bc8aad5ce8aaf48067bde7'
+            'SKIP'
+            'e606bdba5c0ee698902886140e4643551ffc8327b1b7d2b0c9129d1f93b1f36c'
+            '17ab1609cdbcaba3c5975f5cf1ffd078e067d560f906d5507390d41997e6c468'
+            '561d2f2503d180b796f868470612610f6d7fcb34efa0620ecab38fd39002e27a'
+            '9c068a984e7b9a27ff9e709839d522b66815ac4e8c7a5bd4ea0224335f7f2ef6')
+validpgpkeys=(58E0C111E39F5408C5D3EC76C1A60EACE707FDA5) # Werner Lemberg <wl at gnu.org>
+
+prepare() {
+  cd freetype-$pkgver
+
+  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() {
+  export CC="gcc -m32"
+  export CXX="g++ -m32"
+  export PKG_CONFIG="i686-pc-linux-gnu-pkg-config"
+
+  arch-meson freetype-$pkgver build \
+    --libdir=/usr/lib32 \
+    -D default_library=shared
+  meson compile -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package() {
+  meson install -C build --destdir="$pkgdir"
+
+  rm -r "$pkgdir"/usr/include
+}
+
+# vim:set sw=2 et:




More information about the arch-commits mailing list