Upgrade to fontconfig-2.11.1 and freetype-2.5.4
authorHugo Villeneuve <hugo@hugovil.com>
Sun, 14 Dec 2014 20:42:07 +0000 (15:42 -0500)
committerHugo Villeneuve <hugo@hugovil.com>
Sat, 27 Dec 2014 05:01:50 +0000 (00:01 -0500)
config/packages-list
stage3/hv-install-1
stage3/patches/common/freetype-2.5.4-enable-gx-ot.patch [new file with mode: 0644]
stage3/patches/common/freetype-2.5.4-enable-subpixel.patch [new file with mode: 0644]
stage3/pkg/freetype [deleted file]

index 5449003..04e748c 100644 (file)
@@ -95,11 +95,11 @@ FINDUTILS="findutils-4.4.2"
 FIRMWARE_B43_LPPHY="broadcom-wl-5.100.138"
 FLAC="flac-1.3.0"
 FLEX="flex-2.5.37"
-FONTCONFIG="fontconfig-2.10.1"
+FONTCONFIG="fontconfig-2.11.1"
 FONTFORGE="fontforge_full-20120731-b"
 FOO2ZJS="foo2zjs"
 FOOMATIC_FILTERS="foomatic-filters-4.0.17"
-FREETYPE="freetype-2.4.10"
+FREETYPE="freetype-2.5.4"
 FRIBIDI="fribidi-0.19.2"
 FUSE="fuse-2.9.1"
 B43_FWCUTTER="b43-fwcutter-015"
index 1c21acd..ff66308 100755 (executable)
@@ -142,7 +142,7 @@ ipkg -m acnb ${HICOLOR_ICON_THEME}
 ipkg ${GIFLIB}
 ipkg -m noac ${LIBMNG}
 
-ipkg ${FREETYPE}
+ipkg ${FREETYPE} "--disable-static"
 ipkg ${FONTCONFIG}
 
 ipkg -m noac ${CKERMIT}
diff --git a/stage3/patches/common/freetype-2.5.4-enable-gx-ot.patch b/stage3/patches/common/freetype-2.5.4-enable-gx-ot.patch
new file mode 100644 (file)
index 0000000..c1ae723
--- /dev/null
@@ -0,0 +1,21 @@
+diff -Naur freetype-2.5.4.orig/modules.cfg freetype-2.5.4.new/modules.cfg
+--- freetype-2.5.4.orig/modules.cfg    2014-04-20 12:18:50.479380666 -0400
++++ freetype-2.5.4.new/modules.cfg     2014-12-09 22:49:00.290333666 -0500
+@@ -110,7 +110,7 @@
+ 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).
+ #
+@@ -129,7 +129,7 @@
+ # OpenType table validation.  Needs ftotval.c below.
+ #
+-# AUX_MODULES += otvalid
++AUX_MODULES += otvalid
+ # Auxiliary PostScript driver component to share common code.
+ #
diff --git a/stage3/patches/common/freetype-2.5.4-enable-subpixel.patch b/stage3/patches/common/freetype-2.5.4-enable-subpixel.patch
new file mode 100644 (file)
index 0000000..16ac285
--- /dev/null
@@ -0,0 +1,21 @@
+diff -Naur freetype-2.5.4.orig2/include/config/ftoption.h freetype-2.5.4.new/include/config/ftoption.h
+--- freetype-2.5.4.orig2/include/config/ftoption.h     2014-11-19 16:38:59.612015975 -0500
++++ freetype-2.5.4.new/include/config/ftoption.h       2014-12-09 22:41:35.854352254 -0500
+@@ -92,7 +92,7 @@
+   /* This is done to allow FreeType clients to run unmodified, forcing     */
+   /* them to display normal gray-level anti-aliased glyphs.                */
+   /*                                                                       */
+-/* #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING */
++#define FT_CONFIG_OPTION_SUBPIXEL_RENDERING
+   /*************************************************************************/
+@@ -604,7 +604,7 @@
+   /*   This option requires TT_CONFIG_OPTION_BYTECODE_INTERPRETER to be    */
+   /*   defined.                                                            */
+   /*                                                                       */
+-/* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING */
++#define TT_CONFIG_OPTION_SUBPIXEL_HINTING
+   /*************************************************************************/
diff --git a/stage3/pkg/freetype b/stage3/pkg/freetype
deleted file mode 100644 (file)
index 4d24af0..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/bash
-
-hvconfig_pre()
-{
-    cd ${LFS_TMP}/${PACKAGE}
-
-    sed -i -r 's:.*(#.*SUBPIXEL.*) .*:\1:' \
-        include/freetype/config/ftoption.h
-}