* [PATCH 1/3] freetype: updated to 2.3.12
@ 2010-05-23 19:20 Enrico Scholz
2010-05-23 19:20 ` [PATCH 2/3] freetype: build with system zlib Enrico Scholz
` (4 more replies)
0 siblings, 5 replies; 10+ messages in thread
From: Enrico Scholz @ 2010-05-23 19:20 UTC (permalink / raw)
To: openembedded-devel; +Cc: Enrico Scholz
That's (nearly) a copy of the old 2.3.11 recipe.
Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
---
.../freetype/freetype-2.3.12/fix-configure.patch | 13 ++++++
recipes/freetype/freetype-2.3.12/libtool-tag.patch | 20 ++++++++++
recipes/freetype/freetype_2.3.12.bb | 40 ++++++++++++++++++++
3 files changed, 73 insertions(+), 0 deletions(-)
create mode 100644 recipes/freetype/freetype-2.3.12/fix-configure.patch
create mode 100644 recipes/freetype/freetype-2.3.12/libtool-tag.patch
create mode 100644 recipes/freetype/freetype_2.3.12.bb
diff --git a/recipes/freetype/freetype-2.3.12/fix-configure.patch b/recipes/freetype/freetype-2.3.12/fix-configure.patch
new file mode 100644
index 0000000..ecd9673
--- /dev/null
+++ b/recipes/freetype/freetype-2.3.12/fix-configure.patch
@@ -0,0 +1,13 @@
+Index: freetype-2.3.6/builds/unix/configure.ac
+===================================================================
+--- freetype-2.3.6.orig/builds/unix/configure.ac
++++ freetype-2.3.6/builds/unix/configure.ac
+@@ -506,8 +506,6 @@ AC_SUBST([FT2_EXTRA_LIBS])
+ AC_SUBST([SYSTEM_ZLIB])
+
+
+-LT_INIT(win32-dll)
+-
+ AC_SUBST([hardcode_libdir_flag_spec])
+ AC_SUBST([wl])
+ AC_SUBST([build_libtool_libs])
diff --git a/recipes/freetype/freetype-2.3.12/libtool-tag.patch b/recipes/freetype/freetype-2.3.12/libtool-tag.patch
new file mode 100644
index 0000000..2f096cd
--- /dev/null
+++ b/recipes/freetype/freetype-2.3.12/libtool-tag.patch
@@ -0,0 +1,20 @@
+--- freetype-2.3.6/builds/unix/unix-cc.in
++++ freetype-2.3.6/builds/unix/unix-cc.in
+@@ -88,7 +88,7 @@
+ #
+ #
+ CCraw := $(CC)
+-CC := $(LIBTOOL) --mode=compile $(CCraw)
++CC := $(LIBTOOL) --tag=CC --mode=compile $(CCraw)
+
+ # Linker flags.
+ #
+@@ -105,7 +105,7 @@
+
+ # Library linking
+ #
+-LINK_LIBRARY = $(LIBTOOL) --mode=link $(CCraw) -o $@ $(OBJECTS_LIST) \
++LINK_LIBRARY = $(LIBTOOL) --tag=CC --mode=link $(CCraw) -o $@ $(OBJECTS_LIST) \
+ -rpath $(libdir) -version-info $(version_info) \
+ $(LDFLAGS) -no-undefined \
+ # -export-symbols $(EXPORTS_LIST)
diff --git a/recipes/freetype/freetype_2.3.12.bb b/recipes/freetype/freetype_2.3.12.bb
new file mode 100644
index 0000000..de9ff29
--- /dev/null
+++ b/recipes/freetype/freetype_2.3.12.bb
@@ -0,0 +1,40 @@
+DESCRIPTION = "Freetype font rendering library"
+SECTION = "libs"
+LICENSE = "freetype"
+PR = "r0"
+
+SRC_URI = "\
+ ${SOURCEFORGE_MIRROR}/freetype/freetype-${PV}.tar.bz2 \
+ file://no-hardcode.patch;patch=1 \
+ file://fix-configure.patch;patch=1 \
+ file://libtool-tag.patch;patch=1 \
+"
+S = "${WORKDIR}/freetype-${PV}"
+
+SRC_URI[md5sum] = "e974a82e5939be8e05ee65f07275d7c5"
+SRC_URI[sha256sum] = "3b96438f016a62b676c1d2089c00ca777f710d19f6aefa66ccf068d360db3e92"
+
+inherit autotools pkgconfig binconfig
+
+LIBTOOL = "${HOST_SYS}-libtool"
+EXTRA_OEMAKE = "'LIBTOOL=${LIBTOOL}'"
+EXTRA_OECONF = "--without-zlib"
+
+do_configure() {
+ cd builds/unix
+ libtoolize --force --copy
+ gnu-configize --force
+ aclocal -I .
+ autoconf
+ cd ${S}
+ oe_runconf
+}
+
+do_compile_prepend() {
+ ${BUILD_CC} -o objs/apinames src/tools/apinames.c
+}
+
+BBCLASSEXTEND = "native"
+
+FILES_${PN} = "${libdir}/lib*.so.*"
+FILES_${PN}-dev += "${bindir}"
--
1.7.0.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH 2/3] freetype: build with system zlib
2010-05-23 19:20 [PATCH 1/3] freetype: updated to 2.3.12 Enrico Scholz
@ 2010-05-23 19:20 ` Enrico Scholz
2010-05-23 19:20 ` [PATCH 3/3] freetype: enable bytecode interpreter Enrico Scholz
2010-05-24 23:39 ` [PATCH 2/3] freetype: build with system zlib Denys Dmytriyenko
2010-05-24 23:39 ` [PATCH 1/3] freetype: updated to 2.3.12 Denys Dmytriyenko
` (3 subsequent siblings)
4 siblings, 2 replies; 10+ messages in thread
From: Enrico Scholz @ 2010-05-23 19:20 UTC (permalink / raw)
To: openembedded-devel; +Cc: Enrico Scholz
Problems mentioned in 4187d3df8838506f6578a2b0f2fb98f98c41e151 (Aug
2006) seem to went away and build succeeds with system zlib now. Using
system libraries is preferable because it saves space and allows better
tracking of security issues.
Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
---
recipes/freetype/freetype_2.3.12.bb | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/recipes/freetype/freetype_2.3.12.bb b/recipes/freetype/freetype_2.3.12.bb
index de9ff29..b1f8d6f 100644
--- a/recipes/freetype/freetype_2.3.12.bb
+++ b/recipes/freetype/freetype_2.3.12.bb
@@ -1,7 +1,8 @@
DESCRIPTION = "Freetype font rendering library"
SECTION = "libs"
LICENSE = "freetype"
-PR = "r0"
+PR = "r1"
+DEPENDS = "zlib"
SRC_URI = "\
${SOURCEFORGE_MIRROR}/freetype/freetype-${PV}.tar.bz2 \
@@ -18,7 +19,6 @@ inherit autotools pkgconfig binconfig
LIBTOOL = "${HOST_SYS}-libtool"
EXTRA_OEMAKE = "'LIBTOOL=${LIBTOOL}'"
-EXTRA_OECONF = "--without-zlib"
do_configure() {
cd builds/unix
--
1.7.0.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH 3/3] freetype: enable bytecode interpreter
2010-05-23 19:20 ` [PATCH 2/3] freetype: build with system zlib Enrico Scholz
@ 2010-05-23 19:20 ` Enrico Scholz
2010-05-23 20:10 ` pieterg
2010-05-24 23:39 ` [PATCH 2/3] freetype: build with system zlib Denys Dmytriyenko
1 sibling, 1 reply; 10+ messages in thread
From: Enrico Scholz @ 2010-05-23 19:20 UTC (permalink / raw)
To: openembedded-devel; +Cc: Enrico Scholz, Enrico Scholz
From: Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Bytecode stuff is patent encumbered so it can be enabled for
non-enterprise distributions only.
Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
---
.../freetype-2.3.12/bytecode-interpreter.patch | 22 ++++++++++++++++++++
recipes/freetype/freetype_2.3.12.bb | 1 +
2 files changed, 23 insertions(+), 0 deletions(-)
create mode 100644 recipes/freetype/freetype-2.3.12/bytecode-interpreter.patch
diff --git a/recipes/freetype/freetype-2.3.12/bytecode-interpreter.patch b/recipes/freetype/freetype-2.3.12/bytecode-interpreter.patch
new file mode 100644
index 0000000..599e67d
--- /dev/null
+++ b/recipes/freetype/freetype-2.3.12/bytecode-interpreter.patch
@@ -0,0 +1,22 @@
+Index: freetype-2.3.12/include/freetype/config/ftoption.h
+===================================================================
+--- freetype-2.3.12.orig/include/freetype/config/ftoption.h
++++ freetype-2.3.12/include/freetype/config/ftoption.h
+@@ -93,7 +93,7 @@ FT_BEGIN_HEADER
+ /* 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
+
+
+ /*************************************************************************/
+@@ -497,7 +497,7 @@ FT_BEGIN_HEADER
+ /* 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
+
+
+ /*************************************************************************/
diff --git a/recipes/freetype/freetype_2.3.12.bb b/recipes/freetype/freetype_2.3.12.bb
index b1f8d6f..53372fc 100644
--- a/recipes/freetype/freetype_2.3.12.bb
+++ b/recipes/freetype/freetype_2.3.12.bb
@@ -9,6 +9,7 @@ SRC_URI = "\
file://no-hardcode.patch;patch=1 \
file://fix-configure.patch;patch=1 \
file://libtool-tag.patch;patch=1 \
+ ${@base_conditional('ENTERPRISE_DISTRO','1','','file://bytecode-interpreter.patch;patch=1',d)} \
"
S = "${WORKDIR}/freetype-${PV}"
--
1.7.0.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [PATCH 3/3] freetype: enable bytecode interpreter
2010-05-23 19:20 ` [PATCH 3/3] freetype: enable bytecode interpreter Enrico Scholz
@ 2010-05-23 20:10 ` pieterg
2010-05-23 20:59 ` Enrico Scholz
0 siblings, 1 reply; 10+ messages in thread
From: pieterg @ 2010-05-23 20:10 UTC (permalink / raw)
To: Enrico Scholz; +Cc: openembedded-devel
On Sunday 23 May 2010 21:20:03 Enrico Scholz wrote:
> Bytecode stuff is patent encumbered so it can be enabled for
> non-enterprise distributions only.
The bytecode patents have expired, so there's no more need to use a
conditional patch
http://lists.nongnu.org/archive/html/freetype-devel/2006-11/msg00006.html
Rgds, Pieter
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 3/3] freetype: enable bytecode interpreter
2010-05-23 20:10 ` pieterg
@ 2010-05-23 20:59 ` Enrico Scholz
0 siblings, 0 replies; 10+ messages in thread
From: Enrico Scholz @ 2010-05-23 20:59 UTC (permalink / raw)
To: pieterg; +Cc: openembedded-devel
pieterg <pieterg@gmx.com> writes:
>> Bytecode stuff is patent encumbered so it can be enabled for
>> non-enterprise distributions only.
>
> The bytecode patents have expired,
afaik (I am not a lawer) that's only true for the second part
(TT_CONFIG_OPTION_BYTECODE_INTERPRETER) of the patch. The ClearType
patents (which are violated by FT_CONFIG_OPTION_SUBPIXEL_RENDERING) were
filed in 1999 and are probably still valid.
I should have been clearer in the patch description and mention that it
enables also subpixel rendering.
Enrico
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 1/3] freetype: updated to 2.3.12
2010-05-23 19:20 [PATCH 1/3] freetype: updated to 2.3.12 Enrico Scholz
2010-05-23 19:20 ` [PATCH 2/3] freetype: build with system zlib Enrico Scholz
@ 2010-05-24 23:39 ` Denys Dmytriyenko
2010-05-27 14:57 ` [PATCH (rebase) " Enrico Scholz
` (2 subsequent siblings)
4 siblings, 0 replies; 10+ messages in thread
From: Denys Dmytriyenko @ 2010-05-24 23:39 UTC (permalink / raw)
To: openembedded-devel; +Cc: Enrico Scholz
On Sun, May 23, 2010 at 09:20:01PM +0200, Enrico Scholz wrote:
> That's (nearly) a copy of the old 2.3.11 recipe.
>
> Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
I'm going to ack the first 2 patches, but skip the 3rd one for now, as I need
to talk to our legal department first...
Acked-by: Denys Dmytriyenko <denis@denix.org>
> ---
> .../freetype/freetype-2.3.12/fix-configure.patch | 13 ++++++
> recipes/freetype/freetype-2.3.12/libtool-tag.patch | 20 ++++++++++
> recipes/freetype/freetype_2.3.12.bb | 40 ++++++++++++++++++++
> 3 files changed, 73 insertions(+), 0 deletions(-)
> create mode 100644 recipes/freetype/freetype-2.3.12/fix-configure.patch
> create mode 100644 recipes/freetype/freetype-2.3.12/libtool-tag.patch
> create mode 100644 recipes/freetype/freetype_2.3.12.bb
>
> diff --git a/recipes/freetype/freetype-2.3.12/fix-configure.patch b/recipes/freetype/freetype-2.3.12/fix-configure.patch
> new file mode 100644
> index 0000000..ecd9673
> --- /dev/null
> +++ b/recipes/freetype/freetype-2.3.12/fix-configure.patch
> @@ -0,0 +1,13 @@
> +Index: freetype-2.3.6/builds/unix/configure.ac
> +===================================================================
> +--- freetype-2.3.6.orig/builds/unix/configure.ac
> ++++ freetype-2.3.6/builds/unix/configure.ac
> +@@ -506,8 +506,6 @@ AC_SUBST([FT2_EXTRA_LIBS])
> + AC_SUBST([SYSTEM_ZLIB])
> +
> +
> +-LT_INIT(win32-dll)
> +-
> + AC_SUBST([hardcode_libdir_flag_spec])
> + AC_SUBST([wl])
> + AC_SUBST([build_libtool_libs])
> diff --git a/recipes/freetype/freetype-2.3.12/libtool-tag.patch b/recipes/freetype/freetype-2.3.12/libtool-tag.patch
> new file mode 100644
> index 0000000..2f096cd
> --- /dev/null
> +++ b/recipes/freetype/freetype-2.3.12/libtool-tag.patch
> @@ -0,0 +1,20 @@
> +--- freetype-2.3.6/builds/unix/unix-cc.in
> ++++ freetype-2.3.6/builds/unix/unix-cc.in
> +@@ -88,7 +88,7 @@
> + #
> + #
> + CCraw := $(CC)
> +-CC := $(LIBTOOL) --mode=compile $(CCraw)
> ++CC := $(LIBTOOL) --tag=CC --mode=compile $(CCraw)
> +
> + # Linker flags.
> + #
> +@@ -105,7 +105,7 @@
> +
> + # Library linking
> + #
> +-LINK_LIBRARY = $(LIBTOOL) --mode=link $(CCraw) -o $@ $(OBJECTS_LIST) \
> ++LINK_LIBRARY = $(LIBTOOL) --tag=CC --mode=link $(CCraw) -o $@ $(OBJECTS_LIST) \
> + -rpath $(libdir) -version-info $(version_info) \
> + $(LDFLAGS) -no-undefined \
> + # -export-symbols $(EXPORTS_LIST)
> diff --git a/recipes/freetype/freetype_2.3.12.bb b/recipes/freetype/freetype_2.3.12.bb
> new file mode 100644
> index 0000000..de9ff29
> --- /dev/null
> +++ b/recipes/freetype/freetype_2.3.12.bb
> @@ -0,0 +1,40 @@
> +DESCRIPTION = "Freetype font rendering library"
> +SECTION = "libs"
> +LICENSE = "freetype"
> +PR = "r0"
> +
> +SRC_URI = "\
> + ${SOURCEFORGE_MIRROR}/freetype/freetype-${PV}.tar.bz2 \
> + file://no-hardcode.patch;patch=1 \
> + file://fix-configure.patch;patch=1 \
> + file://libtool-tag.patch;patch=1 \
> +"
> +S = "${WORKDIR}/freetype-${PV}"
> +
> +SRC_URI[md5sum] = "e974a82e5939be8e05ee65f07275d7c5"
> +SRC_URI[sha256sum] = "3b96438f016a62b676c1d2089c00ca777f710d19f6aefa66ccf068d360db3e92"
> +
> +inherit autotools pkgconfig binconfig
> +
> +LIBTOOL = "${HOST_SYS}-libtool"
> +EXTRA_OEMAKE = "'LIBTOOL=${LIBTOOL}'"
> +EXTRA_OECONF = "--without-zlib"
> +
> +do_configure() {
> + cd builds/unix
> + libtoolize --force --copy
> + gnu-configize --force
> + aclocal -I .
> + autoconf
> + cd ${S}
> + oe_runconf
> +}
> +
> +do_compile_prepend() {
> + ${BUILD_CC} -o objs/apinames src/tools/apinames.c
> +}
> +
> +BBCLASSEXTEND = "native"
> +
> +FILES_${PN} = "${libdir}/lib*.so.*"
> +FILES_${PN}-dev += "${bindir}"
> --
> 1.7.0.1
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 2/3] freetype: build with system zlib
2010-05-23 19:20 ` [PATCH 2/3] freetype: build with system zlib Enrico Scholz
2010-05-23 19:20 ` [PATCH 3/3] freetype: enable bytecode interpreter Enrico Scholz
@ 2010-05-24 23:39 ` Denys Dmytriyenko
1 sibling, 0 replies; 10+ messages in thread
From: Denys Dmytriyenko @ 2010-05-24 23:39 UTC (permalink / raw)
To: openembedded-devel; +Cc: Enrico Scholz
On Sun, May 23, 2010 at 09:20:02PM +0200, Enrico Scholz wrote:
> Problems mentioned in 4187d3df8838506f6578a2b0f2fb98f98c41e151 (Aug
> 2006) seem to went away and build succeeds with system zlib now. Using
> system libraries is preferable because it saves space and allows better
> tracking of security issues.
>
> Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Acked-by: Denys Dmytriyenko <denis@denix.org>
> ---
> recipes/freetype/freetype_2.3.12.bb | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/recipes/freetype/freetype_2.3.12.bb b/recipes/freetype/freetype_2.3.12.bb
> index de9ff29..b1f8d6f 100644
> --- a/recipes/freetype/freetype_2.3.12.bb
> +++ b/recipes/freetype/freetype_2.3.12.bb
> @@ -1,7 +1,8 @@
> DESCRIPTION = "Freetype font rendering library"
> SECTION = "libs"
> LICENSE = "freetype"
> -PR = "r0"
> +PR = "r1"
> +DEPENDS = "zlib"
>
> SRC_URI = "\
> ${SOURCEFORGE_MIRROR}/freetype/freetype-${PV}.tar.bz2 \
> @@ -18,7 +19,6 @@ inherit autotools pkgconfig binconfig
>
> LIBTOOL = "${HOST_SYS}-libtool"
> EXTRA_OEMAKE = "'LIBTOOL=${LIBTOOL}'"
> -EXTRA_OECONF = "--without-zlib"
>
> do_configure() {
> cd builds/unix
> --
> 1.7.0.1
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH (rebase) 1/3] freetype: updated to 2.3.12
2010-05-23 19:20 [PATCH 1/3] freetype: updated to 2.3.12 Enrico Scholz
2010-05-23 19:20 ` [PATCH 2/3] freetype: build with system zlib Enrico Scholz
2010-05-24 23:39 ` [PATCH 1/3] freetype: updated to 2.3.12 Denys Dmytriyenko
@ 2010-05-27 14:57 ` Enrico Scholz
2010-05-27 14:57 ` [PATCH (rebase) 2/3] freetype: build with system zlib Enrico Scholz
2010-05-27 14:57 ` [PATCH (rebase) 3/3] freetype: enable bytecode interpreter Enrico Scholz
4 siblings, 0 replies; 10+ messages in thread
From: Enrico Scholz @ 2010-05-27 14:57 UTC (permalink / raw)
To: openembedded-devel; +Cc: Enrico Scholz
That's (nearly) a copy of the old 2.3.11 recipe.
Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
---
.../freetype/freetype-2.3.12/fix-configure.patch | 13 ++++++
recipes/freetype/freetype-2.3.12/libtool-tag.patch | 20 ++++++++++
recipes/freetype/freetype_2.3.12.bb | 40 ++++++++++++++++++++
3 files changed, 73 insertions(+), 0 deletions(-)
create mode 100644 recipes/freetype/freetype-2.3.12/fix-configure.patch
create mode 100644 recipes/freetype/freetype-2.3.12/libtool-tag.patch
create mode 100644 recipes/freetype/freetype_2.3.12.bb
diff --git a/recipes/freetype/freetype-2.3.12/fix-configure.patch b/recipes/freetype/freetype-2.3.12/fix-configure.patch
new file mode 100644
index 0000000..78e76eb
--- /dev/null
+++ b/recipes/freetype/freetype-2.3.12/fix-configure.patch
@@ -0,0 +1,13 @@
+Index: freetype-2.3.6/builds/unix/configure.ac
+===================================================================
+--- freetype-2.3.6.orig/builds/unix/configure.ac
++++ freetype-2.3.6/builds/unix/configure.ac
+@@ -506,8 +506,6 @@ AC_SUBST([FT2_EXTRA_LIBS])
+ AC_SUBST([SYSTEM_ZLIB])
+
+
+-LT_INIT(win32-dll)
+-
+ AC_SUBST([hardcode_libdir_flag_spec])
+ AC_SUBST([wl])
+ AC_SUBST([build_libtool_libs])
diff --git a/recipes/freetype/freetype-2.3.12/libtool-tag.patch b/recipes/freetype/freetype-2.3.12/libtool-tag.patch
new file mode 100644
index 0000000..356a256
--- /dev/null
+++ b/recipes/freetype/freetype-2.3.12/libtool-tag.patch
@@ -0,0 +1,20 @@
+--- freetype-2.3.6/builds/unix/unix-cc.in
++++ freetype-2.3.6/builds/unix/unix-cc.in
+@@ -88,7 +88,7 @@
+ #
+ #
+ CCraw := $(CC)
+-CC := $(LIBTOOL) --mode=compile $(CCraw)
++CC := $(LIBTOOL) --tag=CC --mode=compile $(CCraw)
+
+ # Linker flags.
+ #
+@@ -105,7 +105,7 @@
+
+ # Library linking
+ #
+-LINK_LIBRARY = $(LIBTOOL) --mode=link $(CCraw) -o $@ $(OBJECTS_LIST) \
++LINK_LIBRARY = $(LIBTOOL) --tag=CC --mode=link $(CCraw) -o $@ $(OBJECTS_LIST) \
+ -rpath $(libdir) -version-info $(version_info) \
+ $(LDFLAGS) -no-undefined \
+ # -export-symbols $(EXPORTS_LIST)
diff --git a/recipes/freetype/freetype_2.3.12.bb b/recipes/freetype/freetype_2.3.12.bb
new file mode 100644
index 0000000..fb57094
--- /dev/null
+++ b/recipes/freetype/freetype_2.3.12.bb
@@ -0,0 +1,40 @@
+DESCRIPTION = "Freetype font rendering library"
+SECTION = "libs"
+LICENSE = "freetype"
+PR = "r0"
+
+SRC_URI = "\
+ ${SOURCEFORGE_MIRROR}/freetype/freetype-${PV}.tar.bz2 \
+ file://no-hardcode.patch \
+ file://fix-configure.patch \
+ file://libtool-tag.patch \
+"
+S = "${WORKDIR}/freetype-${PV}"
+
+SRC_URI[md5sum] = "e974a82e5939be8e05ee65f07275d7c5"
+SRC_URI[sha256sum] = "3b96438f016a62b676c1d2089c00ca777f710d19f6aefa66ccf068d360db3e92"
+
+inherit autotools pkgconfig binconfig
+
+LIBTOOL = "${HOST_SYS}-libtool"
+EXTRA_OEMAKE = "'LIBTOOL=${LIBTOOL}'"
+EXTRA_OECONF = "--without-zlib"
+
+do_configure() {
+ cd builds/unix
+ libtoolize --force --copy
+ gnu-configize --force
+ aclocal -I .
+ autoconf
+ cd ${S}
+ oe_runconf
+}
+
+do_compile_prepend() {
+ ${BUILD_CC} -o objs/apinames src/tools/apinames.c
+}
+
+BBCLASSEXTEND = "native"
+
+FILES_${PN} = "${libdir}/lib*.so.*"
+FILES_${PN}-dev += "${bindir}"
--
1.7.0.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH (rebase) 2/3] freetype: build with system zlib
2010-05-23 19:20 [PATCH 1/3] freetype: updated to 2.3.12 Enrico Scholz
` (2 preceding siblings ...)
2010-05-27 14:57 ` [PATCH (rebase) " Enrico Scholz
@ 2010-05-27 14:57 ` Enrico Scholz
2010-05-27 14:57 ` [PATCH (rebase) 3/3] freetype: enable bytecode interpreter Enrico Scholz
4 siblings, 0 replies; 10+ messages in thread
From: Enrico Scholz @ 2010-05-27 14:57 UTC (permalink / raw)
To: openembedded-devel; +Cc: Enrico Scholz
Problems mentioned in 4187d3df8838506f6578a2b0f2fb98f98c41e151 (Aug
2006) seem to went away and build succeeds with system zlib now. Using
system libraries is preferable because it saves space and allows better
tracking of security issues.
Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
---
recipes/freetype/freetype_2.3.12.bb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/recipes/freetype/freetype_2.3.12.bb b/recipes/freetype/freetype_2.3.12.bb
index fb57094..6e0641e 100644
--- a/recipes/freetype/freetype_2.3.12.bb
+++ b/recipes/freetype/freetype_2.3.12.bb
@@ -2,6 +2,7 @@ DESCRIPTION = "Freetype font rendering library"
SECTION = "libs"
LICENSE = "freetype"
PR = "r0"
+DEPENDS = "zlib"
SRC_URI = "\
${SOURCEFORGE_MIRROR}/freetype/freetype-${PV}.tar.bz2 \
@@ -18,7 +19,6 @@ inherit autotools pkgconfig binconfig
LIBTOOL = "${HOST_SYS}-libtool"
EXTRA_OEMAKE = "'LIBTOOL=${LIBTOOL}'"
-EXTRA_OECONF = "--without-zlib"
do_configure() {
cd builds/unix
--
1.7.0.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH (rebase) 3/3] freetype: enable bytecode interpreter
2010-05-23 19:20 [PATCH 1/3] freetype: updated to 2.3.12 Enrico Scholz
` (3 preceding siblings ...)
2010-05-27 14:57 ` [PATCH (rebase) 2/3] freetype: build with system zlib Enrico Scholz
@ 2010-05-27 14:57 ` Enrico Scholz
4 siblings, 0 replies; 10+ messages in thread
From: Enrico Scholz @ 2010-05-27 14:57 UTC (permalink / raw)
To: openembedded-devel; +Cc: Enrico Scholz, Enrico Scholz
From: Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Bytecode stuff is patent encumbered so it can be enabled for
non-enterprise distributions only.
Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
---
.../freetype-2.3.12/bytecode-interpreter.patch | 22 ++++++++++++++++++++
recipes/freetype/freetype_2.3.12.bb | 1 +
2 files changed, 23 insertions(+), 0 deletions(-)
create mode 100644 recipes/freetype/freetype-2.3.12/bytecode-interpreter.patch
diff --git a/recipes/freetype/freetype-2.3.12/bytecode-interpreter.patch b/recipes/freetype/freetype-2.3.12/bytecode-interpreter.patch
new file mode 100644
index 0000000..599e67d
--- /dev/null
+++ b/recipes/freetype/freetype-2.3.12/bytecode-interpreter.patch
@@ -0,0 +1,22 @@
+Index: freetype-2.3.12/include/freetype/config/ftoption.h
+===================================================================
+--- freetype-2.3.12.orig/include/freetype/config/ftoption.h
++++ freetype-2.3.12/include/freetype/config/ftoption.h
+@@ -93,7 +93,7 @@ FT_BEGIN_HEADER
+ /* 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
+
+
+ /*************************************************************************/
+@@ -497,7 +497,7 @@ FT_BEGIN_HEADER
+ /* 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
+
+
+ /*************************************************************************/
diff --git a/recipes/freetype/freetype_2.3.12.bb b/recipes/freetype/freetype_2.3.12.bb
index 6e0641e..04e445c 100644
--- a/recipes/freetype/freetype_2.3.12.bb
+++ b/recipes/freetype/freetype_2.3.12.bb
@@ -9,6 +9,7 @@ SRC_URI = "\
file://no-hardcode.patch \
file://fix-configure.patch \
file://libtool-tag.patch \
+ ${@base_conditional('ENTERPRISE_DISTRO','1','','file://bytecode-interpreter.patch',d)} \
"
S = "${WORKDIR}/freetype-${PV}"
--
1.7.0.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
end of thread, other threads:[~2010-05-27 15:01 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-23 19:20 [PATCH 1/3] freetype: updated to 2.3.12 Enrico Scholz
2010-05-23 19:20 ` [PATCH 2/3] freetype: build with system zlib Enrico Scholz
2010-05-23 19:20 ` [PATCH 3/3] freetype: enable bytecode interpreter Enrico Scholz
2010-05-23 20:10 ` pieterg
2010-05-23 20:59 ` Enrico Scholz
2010-05-24 23:39 ` [PATCH 2/3] freetype: build with system zlib Denys Dmytriyenko
2010-05-24 23:39 ` [PATCH 1/3] freetype: updated to 2.3.12 Denys Dmytriyenko
2010-05-27 14:57 ` [PATCH (rebase) " Enrico Scholz
2010-05-27 14:57 ` [PATCH (rebase) 2/3] freetype: build with system zlib Enrico Scholz
2010-05-27 14:57 ` [PATCH (rebase) 3/3] freetype: enable bytecode interpreter Enrico Scholz
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.