diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-02-12 08:22:14 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-02-12 08:22:14 (GMT) |
commit | 40727c47f4a6319dc101ca97cddd72732db03889 (patch) | |
tree | c469bd876c58981ef4abd517af7af7f6c8f8868a /abs/core-testing/freetype2-static | |
parent | d39d6198243375c7cc8e72aa926d24fc6b625982 (diff) | |
download | linhes_pkgbuild-40727c47f4a6319dc101ca97cddd72732db03889.zip linhes_pkgbuild-40727c47f4a6319dc101ca97cddd72732db03889.tar.gz linhes_pkgbuild-40727c47f4a6319dc101ca97cddd72732db03889.tar.bz2 |
Initial inclusion of fbsplash and deps.
Diffstat (limited to 'abs/core-testing/freetype2-static')
5 files changed, 105 insertions, 0 deletions
diff --git a/abs/core-testing/freetype2-static/PKGBUILD b/abs/core-testing/freetype2-static/PKGBUILD new file mode 100644 index 0000000..6436cd2 --- /dev/null +++ b/abs/core-testing/freetype2-static/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 4337 2008-07-06 17:43:50Z jgc $ +# Maintainer: judd <jvinet@zeroflux.org> +pkgname=freetype2-static +pkgver=2.3.7 +pkgrel=2 +pkgdesc="TrueType font rendering library" +arch=(i686 x86_64) +license=('GPL') +url="http://freetype.sourceforge.net" +depends=('zlib') +conflicts=('freetype2') +provides=('freetype2') +replaces=('freetype2') +options=('!libtool') +source=(http://downloads.sourceforge.net/sourceforge/freetype/freetype-${pkgver}.tar.bz2 + bytecode.patch + freetype-2.3.0-enable-spr.patch + freetype-2.2.1-enable-valid.patch + freetype-2.2.1-memcpy-fix.patch) +md5sums=('83306194817ebdea554133b4232a34aa' '9ff19e742968c29e3ba52b08d6bf0a50' '816dc8619a6904a7385769433c0a8653' '214119610444c9b02766ccee5e220680' '6fb6606d28082ecb8e0c6d986b0b26aa') + +build() { + cd ${startdir}/src/freetype-${pkgver} + patch -Np0 -i ${startdir}/src/bytecode.patch || return 1 + patch -Np1 -i ${startdir}/src/freetype-2.3.0-enable-spr.patch || return 1 + patch -Np1 -i ${startdir}/src/freetype-2.2.1-enable-valid.patch || return 1 + patch -Np1 -i ${startdir}/src/freetype-2.2.1-memcpy-fix.patch || return 1 + ./configure --prefix=/usr --enable-static || return 1 + make || return 1 + make DESTDIR=${startdir}/pkg install || return 1 +} diff --git a/abs/core-testing/freetype2-static/bytecode.patch b/abs/core-testing/freetype2-static/bytecode.patch new file mode 100644 index 0000000..dd901ad --- /dev/null +++ b/abs/core-testing/freetype2-static/bytecode.patch @@ -0,0 +1,29 @@ +--- include/freetype/config/ftoption.h.old 2006-05-12 02:05:49.000000000 +0800 ++++ include/freetype/config/ftoption.h 2006-10-02 01:22:50.000000000 +0800 +@@ -436,7 +436,7 @@ + /* Do not #undef this macro here, since the build system might */ + /* define it for certain configurations only. */ + /* */ +-/* #define TT_CONFIG_OPTION_BYTECODE_INTERPRETER */ ++#define TT_CONFIG_OPTION_BYTECODE_INTERPRETER + + + /*************************************************************************/ +@@ -448,7 +448,7 @@ + /* FT_PARAM_TAG_UNPATENTED_HINTING; or when the debug hook */ + /* FT_DEBUG_HOOK_UNPATENTED_HINTING is globally activated. */ + /* */ +-#define TT_CONFIG_OPTION_UNPATENTED_HINTING ++#undef TT_CONFIG_OPTION_UNPATENTED_HINTING + + + /*************************************************************************/ +@@ -480,7 +480,7 @@ + /* http://partners.adobe.com/asn/developer/opentype/glyf.html */ + /* http://fonts.apple.com/TTRefMan/RM06/Chap6glyf.html */ + /* */ +-#undef TT_CONFIG_OPTION_COMPONENT_OFFSET_SCALED ++#define TT_CONFIG_OPTION_COMPONENT_OFFSET_SCALED + + + /*************************************************************************/ diff --git a/abs/core-testing/freetype2-static/freetype-2.2.1-enable-valid.patch b/abs/core-testing/freetype2-static/freetype-2.2.1-enable-valid.patch new file mode 100644 index 0000000..c78b6b7 --- /dev/null +++ b/abs/core-testing/freetype2-static/freetype-2.2.1-enable-valid.patch @@ -0,0 +1,20 @@ +--- freetype-2.2.1/modules.cfg.orig 2006-07-07 21:01:09.000000000 -0400 ++++ freetype-2.2.1/modules.cfg 2006-07-07 21:01:54.000000000 -0400 +@@ -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). + # +@@ -124,7 +124,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/abs/core-testing/freetype2-static/freetype-2.2.1-memcpy-fix.patch b/abs/core-testing/freetype2-static/freetype-2.2.1-memcpy-fix.patch new file mode 100644 index 0000000..67a1c07 --- /dev/null +++ b/abs/core-testing/freetype2-static/freetype-2.2.1-memcpy-fix.patch @@ -0,0 +1,14 @@ +--- freetype-2.2.1/src/psaux/psobjs.c~ 2006-04-26 16:38:17.000000000 +0200 ++++ freetype-2.2.1/src/psaux/psobjs.c 2006-09-10 15:01:13.000000000 +0200 +@@ -165,6 +165,11 @@ + return PSaux_Err_Invalid_Argument; + } + ++ if ( length < 0 ) { ++ FT_ERROR(( "ps_table_add: invalid length\n" )); ++ return PSaux_Err_Invalid_Argument; ++ } ++ + /* grow the base block if needed */ + if ( table->cursor + length > table->capacity ) + { diff --git a/abs/core-testing/freetype2-static/freetype-2.3.0-enable-spr.patch b/abs/core-testing/freetype2-static/freetype-2.3.0-enable-spr.patch new file mode 100644 index 0000000..8432e28 --- /dev/null +++ b/abs/core-testing/freetype2-static/freetype-2.3.0-enable-spr.patch @@ -0,0 +1,11 @@ +--- freetype-2.3.0/include/freetype/config/ftoption.h.spf 2007-01-18 14:27:34.000000000 -0500 ++++ freetype-2.3.0/include/freetype/config/ftoption.h 2007-01-18 14:27:48.000000000 -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 + + + /*************************************************************************/ |