Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=bf83b3dfd10248507c065f9d790ee30cf236360e

commit bf83b3dfd10248507c065f9d790ee30cf236360e
Author: crazy <[email protected]>
Date:   Thu Feb 26 20:42:21 2009 +0100

freetype2-2.3.8-2-x86_64
* release bump
* replaced sed with patches and removed build()
* added patch to enable subpixel rendering features ( from Debian / Ubuntu )
* well we enable already bytecode interpreter which is basically
* the same evil thing =) So Bill *wink* :)
* also switched to sf.net since the other download location
* seems to be broken

diff --git a/source/lib/freetype2/FrugalBuild b/source/lib/freetype2/FrugalBuild
index 76fabeb..2fefb23 100644
--- a/source/lib/freetype2/FrugalBuild
+++ b/source/lib/freetype2/FrugalBuild
@@ -4,23 +4,21 @@

pkgname=freetype2
pkgver=2.3.8
-pkgrel=1
+pkgrel=2
pkgdesc="TrueType font rendering library - 2.0 series (with bytecode 
interpreter)"
-url="http://freetype.sourceforge.net";
groups=('lib')
archs=('i686' 'x86_64' 'ppc')
depends=('zlib')
+_F_sourceforge_realname="$pkgname"
+_F_sourceforge_dirname="freetype"
+_F_sourceforge_name="freetype"
+_F_sourceforge_ext=".tar.bz2"
+Finclude sourceforge
_F_cd_path="freetype-$pkgver"
-up2date="lynx -dump 
'http://sourceforge.net/project/showfiles.php?group_id=3157&package_id=3121'|grep
 'freetype-' |sed -e 's/.*type-\(.*\).tar.bz2.*/\1/;q'"
-source=(http://download.savannah.gnu.org/releases/freetype/freetype-$pkgver.tar.bz2
 \
-       freetype-2.2.1-memcpy-fix.patch)
-signatures=("$source.sig" '')
-
-build()
-{
-
-       Fsed '^/\* \(#define TT_CONFIG_OPTION_BYTECODE_INTERPRETER\) \*/' '\1' 
include/freetype/config/ftoption.h
-       Fbuild
-}
+#up2date="lynx -dump 
'http://sourceforge.net/project/showfiles.php?group_id=3157&package_id=3121'|grep
 'freetype-' |sed -e 's/.*type-\(.*\).tar.bz2.*/\1/;q'"
+source=($source \
+       enable-full-bytecode-interpreter.patch enable-subpixel-rendering.patch \
+       freetype-2.2.1-memcpy-fix.patch freetype-bytecode-interpreter.patch)
+signatures=("$source.sig" '' '' '' '')

# optimization OK
diff --git a/source/lib/freetype2/enable-full-bytecode-interpreter.patch 
b/source/lib/freetype2/enable-full-bytecode-interpreter.patch
new file mode 100644
index 0000000..967fac5
--- /dev/null
+++ b/source/lib/freetype2/enable-full-bytecode-interpreter.patch
@@ -0,0 +1,15 @@
+
+Index: freetype-2.3.5/include/freetype/config/ftoption.h
+===================================================================
+--- freetype-2.3.5.orig/include/freetype/config/ftoption.h     2007-07-07 
01:14:27.000000000 -0700
++++ freetype-2.3.5/include/freetype/config/ftoption.h  2007-07-07 
01:14:42.000000000 -0700
+@@ -505,7 +505,7 @@
+   /*     ...                                                               */
+   /*   }                                                                   */
+   /*                                                                       */
+-#define TT_CONFIG_OPTION_UNPATENTED_HINTING
++/* #define TT_CONFIG_OPTION_UNPATENTED_HINTING */
+
+
+   /*************************************************************************/
+
diff --git a/source/lib/freetype2/enable-subpixel-rendering.patch 
b/source/lib/freetype2/enable-subpixel-rendering.patch
new file mode 100644
index 0000000..0b4cc73
--- /dev/null
+++ b/source/lib/freetype2/enable-subpixel-rendering.patch
@@ -0,0 +1,11 @@
+--- freetype-2.2.1.orig/include/freetype/config/ftoption.h     2006-09-27 
00:55:44.000000000 +0300
++++ freetype-2.2.1/include/freetype/config/ftoption.h  2006-10-31 
03:08:14.000000000 +0200
+@@ -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
+
+
+   /*************************************************************************/
diff --git a/source/lib/freetype2/freetype-bytecode-interpreter.patch 
b/source/lib/freetype2/freetype-bytecode-interpreter.patch
new file mode 100644
index 0000000..55a2b3a
--- /dev/null
+++ b/source/lib/freetype2/freetype-bytecode-interpreter.patch
@@ -0,0 +1,15 @@
+
+Index: include/freetype/config/ftoption.h
+===================================================================
+--- include/freetype/config/ftoption.h.orig    2007-07-07 01:14:19.000000000 
-0700
++++ include/freetype/config/ftoption.h 2007-07-07 01:14:21.000000000 -0700
+@@ -458,7 +458,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
+
+
+   /*************************************************************************/
+
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to