* [Buildroot] svn commit: trunk/buildroot/package/fontconfig
@ 2007-01-15 21:26 andersen at uclibc.org
0 siblings, 0 replies; 19+ messages in thread
From: andersen at uclibc.org @ 2007-01-15 21:26 UTC (permalink / raw)
To: buildroot
Author: andersen
Date: 2007-01-15 13:26:43 -0800 (Mon, 15 Jan 2007)
New Revision: 17315
Log:
teach fontconfig to actually apply its patches
Modified:
trunk/buildroot/package/fontconfig/fontconfig.mk
trunk/buildroot/package/fontconfig/libdir-la.patch
Changeset:
Modified: trunk/buildroot/package/fontconfig/fontconfig.mk
===================================================================
--- trunk/buildroot/package/fontconfig/fontconfig.mk 2007-01-15 17:34:58 UTC (rev 17314)
+++ trunk/buildroot/package/fontconfig/fontconfig.mk 2007-01-15 21:26:43 UTC (rev 17315)
@@ -16,6 +16,8 @@
$(FONTCONFIG_DIR)/.unpacked: $(DL_DIR)/$(FONTCONFIG_SOURCE)
$(FONTCONFIG_CAT) $(DL_DIR)/$(FONTCONFIG_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
+ toolchain/patch-kernel.sh $(FONTCONFIG_DIR) package/fontconfig/ \*.patch*
+ $(CONFIG_UPDATE) $(FONTCONFIG_DIR)
touch $(FONTCONFIG_DIR)/.unpacked
$(FONTCONFIG_DIR)/.configured: $(FONTCONFIG_DIR)/.unpacked
@@ -54,6 +56,8 @@
$(TARGET_DIR)/lib/libfontconfig.so: $(STAGING_DIR)/lib/libfontconfig.so
cp -dpf $(STAGING_DIR)/lib/libfontconfig.so* $(TARGET_DIR)/lib/
+ mkdir -p $(TARGET_DIR)/etc/fonts
+ cp $(STAGING_DIR)/etc/fonts/fonts.conf $(TARGET_DIR)/etc/fonts/
-$(STRIP) --strip-unneeded $(TARGET_DIR)/lib/libfontconfig.so
fontconfig: uclibc freetype $(TARGET_DIR)/lib/libfontconfig.so
Modified: trunk/buildroot/package/fontconfig/libdir-la.patch
===================================================================
--- trunk/buildroot/package/fontconfig/libdir-la.patch 2007-01-15 17:34:58 UTC (rev 17314)
+++ trunk/buildroot/package/fontconfig/libdir-la.patch 2007-01-15 21:26:43 UTC (rev 17315)
@@ -1,5 +1,5 @@
---- fontconfig/builds/unix/ltmain.sh.orig 2006-04-20 08:27:27.000000000 -0600
-+++ fontconfig/builds/unix/ltmain.sh 2007-01-13 14:26:01.000000000 -0700
+--- fontconfig/ltmain.sh.orig 2006-04-20 08:27:27.000000000 -0600
++++ fontconfig/ltmain.sh 2007-01-13 14:26:01.000000000 -0700
@@ -273,8 +273,9 @@
# line option must be used.
if test -z "$tagname"; then
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/fontconfig
@ 2007-01-16 8:10 andersen at uclibc.org
0 siblings, 0 replies; 19+ messages in thread
From: andersen at uclibc.org @ 2007-01-16 8:10 UTC (permalink / raw)
To: buildroot
Author: andersen
Date: 2007-01-16 00:10:27 -0800 (Tue, 16 Jan 2007)
New Revision: 17323
Log:
Add in a few useful bits for font handling
Modified:
trunk/buildroot/package/fontconfig/fontconfig.mk
Changeset:
Modified: trunk/buildroot/package/fontconfig/fontconfig.mk
===================================================================
--- trunk/buildroot/package/fontconfig/fontconfig.mk 2007-01-16 01:29:38 UTC (rev 17322)
+++ trunk/buildroot/package/fontconfig/fontconfig.mk 2007-01-16 08:10:27 UTC (rev 17323)
@@ -59,6 +59,12 @@
mkdir -p $(TARGET_DIR)/etc/fonts
cp $(STAGING_DIR)/etc/fonts/fonts.conf $(TARGET_DIR)/etc/fonts/
-$(STRIP) --strip-unneeded $(TARGET_DIR)/lib/libfontconfig.so
+ mkdir -p $(TARGET_DIR)/var/cache/fontconfig
+ mkdir -p $(TARGET_DIR)/usr/bin
+ cp -a $(STAGING_DIR)/usr/bin/fc-cache $(TARGET_DIR)/usr/bin/
+ -$(STRIP) --strip-unneeded $(TARGET_DIR)/usr/bin/fc-cache
+ cp -a $(STAGING_DIR)/usr/bin/fc-list $(TARGET_DIR)/usr/bin/
+ -$(STRIP) --strip-unneeded $(TARGET_DIR)/usr/bin/fc-list
fontconfig: uclibc freetype $(TARGET_DIR)/lib/libfontconfig.so
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/fontconfig
@ 2007-01-16 16:06 aldot at uclibc.org
0 siblings, 0 replies; 19+ messages in thread
From: aldot at uclibc.org @ 2007-01-16 16:06 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-01-16 08:06:45 -0800 (Tue, 16 Jan 2007)
New Revision: 17327
Log:
- pass the freetype-config location to make and disable building docs.
This package is broken since it passes TARGET_CFLAGS down to the HOSTCC in e.g. fc-case
Modified:
trunk/buildroot/package/fontconfig/fontconfig.mk
Changeset:
Modified: trunk/buildroot/package/fontconfig/fontconfig.mk
===================================================================
--- trunk/buildroot/package/fontconfig/fontconfig.mk 2007-01-16 13:26:32 UTC (rev 17326)
+++ trunk/buildroot/package/fontconfig/fontconfig.mk 2007-01-16 16:06:45 UTC (rev 17327)
@@ -25,6 +25,7 @@
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS) " \
CCexe="$(HOSTCC)" \
+ ac_cv_func_mmap_fixed_mapped=yes \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
@@ -42,6 +43,8 @@
--includedir=/include \
--mandir=/usr/man \
--infodir=/usr/info \
+ --with-freetype-config="$(STAGING_DIR)/usr/bin/freetype-config" \
+ --disable-docs \
);
touch $(FONTCONFIG_DIR)/.configured
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/fontconfig
@ 2007-01-29 12:59 aldot at uclibc.org
0 siblings, 0 replies; 19+ messages in thread
From: aldot at uclibc.org @ 2007-01-29 12:59 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-01-29 04:59:17 -0800 (Mon, 29 Jan 2007)
New Revision: 17630
Log:
- make fontconfig a little bit saner. It still tries to use the target stuff to create the binaries intended to run on the host, but this is a first step
Added:
trunk/buildroot/package/fontconfig/002-fix-crosscompile-CC_FOR_BUILD-flags.patch
trunk/buildroot/package/fontconfig/003-autoreconf.patch
Modified:
trunk/buildroot/package/fontconfig/fontconfig.mk
Changeset:
Added: trunk/buildroot/package/fontconfig/002-fix-crosscompile-CC_FOR_BUILD-flags.patch
===================================================================
--- trunk/buildroot/package/fontconfig/002-fix-crosscompile-CC_FOR_BUILD-flags.patch (rev 0)
+++ trunk/buildroot/package/fontconfig/002-fix-crosscompile-CC_FOR_BUILD-flags.patch 2007-01-29 12:59:17 UTC (rev 17630)
@@ -0,0 +1,84 @@
+diff -X ../excl -rdup fontconfig-2.4.2.orig/configure.in fontconfig-2.4.2/configure.in
+--- fontconfig-2.4.2.orig/configure.in 2006-12-03 00:24:39.000000000 +0100
++++ fontconfig-2.4.2/configure.in 2007-01-16 17:54:48.000000000 +0100
+@@ -97,6 +97,10 @@ AM_CONDITIONAL(CROSS_COMPILING, test $cr
+
+ dnl ==========================================================================
+
++if test "x$BUILD_CFLAGS" = "x"; then
++ BUILD_CFLAGS="-O2 "
++fi
++AC_SUBST(BUILD_CFLAGS)
+ # Setup for compiling build tools (fc-glyphname, etc)
+ AC_MSG_CHECKING([for a C compiler for build tools])
+ if test $cross_compiling = yes; then
+diff -X ../excl -rdup fontconfig-2.4.2.orig/doc/Makefile.am fontconfig-2.4.2/doc/Makefile.am
+--- fontconfig-2.4.2.orig/doc/Makefile.am 2006-12-02 23:14:42.000000000 +0100
++++ fontconfig-2.4.2/doc/Makefile.am 2007-01-16 17:47:17.000000000 +0100
+@@ -22,8 +22,9 @@
+ # PERFORMANCE OF THIS SOFTWARE.
+
+ CC = @CC_FOR_BUILD@
++BUILD_CFLAGS = @BUILD_CFLAGS@
+ EXEEXT = @EXEEXT_FOR_BUILD@
+-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
++LINK = $(CCLD) $(AM_CFLAGS) $(BUILD_CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+
+ DOC_SRC = $(srcdir)
+ DOC_MODULE = fontconfig
+diff -X ../excl -rdup fontconfig-2.4.2.orig/fc-arch/Makefile.am fontconfig-2.4.2/fc-arch/Makefile.am
+--- fontconfig-2.4.2.orig/fc-arch/Makefile.am 2006-09-05 11:05:07.000000000 +0200
++++ fontconfig-2.4.2/fc-arch/Makefile.am 2007-01-16 17:48:11.000000000 +0100
+@@ -23,8 +23,9 @@
+ #
+
+ CC = @CC_FOR_BUILD@
++BUILD_CFLAGS = @BUILD_CFLAGS@
+ EXEEXT = @EXEEXT_FOR_BUILD@
+-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
++LINK = $(CCLD) $(AM_CFLAGS) $(BUILD_CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+
+ INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(FREETYPE_CFLAGS) $(WARN_CFLAGS)
+
+diff -X ../excl -rdup fontconfig-2.4.2.orig/fc-case/Makefile.am fontconfig-2.4.2/fc-case/Makefile.am
+--- fontconfig-2.4.2.orig/fc-case/Makefile.am 2006-09-05 11:04:31.000000000 +0200
++++ fontconfig-2.4.2/fc-case/Makefile.am 2007-01-16 17:48:03.000000000 +0100
+@@ -23,8 +23,9 @@
+ #
+
+ CC = @CC_FOR_BUILD@
++BUILD_CFLAGS = @BUILD_CFLAGS@
+ EXEEXT = @EXEEXT_FOR_BUILD@
+-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
++LINK = $(CCLD) $(AM_CFLAGS) $(BUILD_CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+
+ INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(FREETYPE_CFLAGS) $(WARN_CFLAGS)
+
+diff -X ../excl -rdup fontconfig-2.4.2.orig/fc-glyphname/Makefile.am fontconfig-2.4.2/fc-glyphname/Makefile.am
+--- fontconfig-2.4.2.orig/fc-glyphname/Makefile.am 2006-09-05 11:04:47.000000000 +0200
++++ fontconfig-2.4.2/fc-glyphname/Makefile.am 2007-01-16 17:47:37.000000000 +0100
+@@ -23,8 +23,9 @@
+ #
+
+ CC = @CC_FOR_BUILD@
++BUILD_CFLAGS = @BUILD_CFLAGS@
+ EXEEXT = @EXEEXT_FOR_BUILD@
+-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
++LINK = $(CCLD) $(AM_CFLAGS) $(BUILD_CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+
+ INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(FREETYPE_CFLAGS) $(WARN_CFLAGS)
+
+diff -X ../excl -rdup fontconfig-2.4.2.orig/fc-lang/Makefile.am fontconfig-2.4.2/fc-lang/Makefile.am
+--- fontconfig-2.4.2.orig/fc-lang/Makefile.am 2006-09-05 11:03:45.000000000 +0200
++++ fontconfig-2.4.2/fc-lang/Makefile.am 2007-01-16 17:47:49.000000000 +0100
+@@ -23,8 +23,9 @@
+ #
+
+ CC = @CC_FOR_BUILD@
++BUILD_CFLAGS = @BUILD_CFLAGS@
+ EXEEXT = @EXEEXT_FOR_BUILD@
+-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
++LINK = $(CCLD) $(AM_CFLAGS) $(BUILD_CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+
+ INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(FREETYPE_CFLAGS) $(WARN_CFLAGS)
+
Added: trunk/buildroot/package/fontconfig/003-autoreconf.patch
===================================================================
--- trunk/buildroot/package/fontconfig/003-autoreconf.patch (rev 0)
+++ trunk/buildroot/package/fontconfig/003-autoreconf.patch 2007-01-29 12:59:17 UTC (rev 17630)
@@ -0,0 +1,275 @@
+diff -rdup fontconfig-2.4.2.orig/Makefile.in fontconfig-2.4.2/Makefile.in
+--- fontconfig-2.4.2.orig/Makefile.in 2006-12-03 00:27:34.000000000 +0100
++++ fontconfig-2.4.2/Makefile.in 2007-01-16 18:08:30.000000000 +0100
+@@ -122,6 +122,7 @@ AWK = @AWK@
+ CC = @CC@
+ CCDEPMODE = @CCDEPMODE@
+ CC_FOR_BUILD = @CC_FOR_BUILD@
++BUILD_CFLAGS = @BUILD_CFLAGS@
+ CFLAGS = @CFLAGS@
+ CONFDIR = @CONFDIR@
+ CPP = @CPP@
+diff -rdup fontconfig-2.4.2.orig/doc/Makefile.in fontconfig-2.4.2/doc/Makefile.in
+--- fontconfig-2.4.2.orig/doc/Makefile.in 2006-12-03 00:27:32.000000000 +0100
++++ fontconfig-2.4.2/doc/Makefile.in 2007-01-16 18:10:09.000000000 +0100
+@@ -79,10 +79,10 @@ DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(t
+ depcomp = $(SHELL) $(top_srcdir)/depcomp
+ am__depfiles_maybe = depfiles
+ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++ $(CPPFLAGS) $(AM_CFLAGS) $(BUILD_CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+- $(AM_CFLAGS) $(CFLAGS)
++ $(AM_CFLAGS) $(BUILD_CFLAGS)
+ CCLD = $(CC)
+ SOURCES = $(edit_sgml_SOURCES)
+ DIST_SOURCES = $(edit_sgml_SOURCES)
+@@ -118,6 +118,7 @@ AWK = @AWK@
+ CC = @CC_FOR_BUILD@
+ CCDEPMODE = @CCDEPMODE@
+ CC_FOR_BUILD = @CC_FOR_BUILD@
++BUILD_CFLAGS = @BUILD_CFLAGS@
+ CFLAGS = @CFLAGS@
+ CONFDIR = @CONFDIR@
+ CPP = @CPP@
+@@ -254,7 +255,7 @@ sbindir = @sbindir@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
+-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
++LINK = $(CCLD) $(AM_CFLAGS) $(BUILD_CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+ DOC_SRC = $(srcdir)
+ DOC_MODULE = fontconfig
+ DOC2HTML = docbook2html
+diff -rdup fontconfig-2.4.2.orig/fc-arch/Makefile.in fontconfig-2.4.2/fc-arch/Makefile.in
+--- fontconfig-2.4.2.orig/fc-arch/Makefile.in 2006-12-03 00:27:32.000000000 +0100
++++ fontconfig-2.4.2/fc-arch/Makefile.in 2007-01-16 18:24:19.000000000 +0100
+@@ -80,10 +80,10 @@ DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(t
+ depcomp = $(SHELL) $(top_srcdir)/depcomp
+ am__depfiles_maybe = depfiles
+ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++ $(CPPFLAGS) $(AM_CFLAGS) $(BUILD_CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+- $(AM_CFLAGS) $(CFLAGS)
++ $(AM_CFLAGS) $(BUILD_CFLAGS)
+ CCLD = $(CC)
+ SOURCES = fc-arch.c
+ DIST_SOURCES = fc-arch.c
+@@ -105,6 +105,7 @@ AWK = @AWK@
+ CC = @CC_FOR_BUILD@
+ CCDEPMODE = @CCDEPMODE@
+ CC_FOR_BUILD = @CC_FOR_BUILD@
++BUILD_CFLAGS = @BUILD_CFLAGS@
+ CFLAGS = @CFLAGS@
+ CONFDIR = @CONFDIR@
+ CPP = @CPP@
+@@ -241,7 +242,7 @@ sbindir = @sbindir@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
+-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
++LINK = $(CCLD) $(AM_CFLAGS) $(BUILD_CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+ INCLUDES = -I${top_srcdir}/src -I${top_srcdir} $(FREETYPE_CFLAGS) $(WARN_CFLAGS)
+ TMPL = fcarch.tmpl.h
+ STMPL = ${top_srcdir}/fc-arch/fcarch.tmpl.h
+diff -rdup fontconfig-2.4.2.orig/fc-case/Makefile.in fontconfig-2.4.2/fc-case/Makefile.in
+--- fontconfig-2.4.2.orig/fc-case/Makefile.in 2006-12-03 00:27:32.000000000 +0100
++++ fontconfig-2.4.2/fc-case/Makefile.in 2007-01-16 18:23:16.000000000 +0100
+@@ -80,10 +80,10 @@ DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(t
+ depcomp = $(SHELL) $(top_srcdir)/depcomp
+ am__depfiles_maybe = depfiles
+ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++ $(CPPFLAGS) $(AM_CFLAGS) $(BUILD_CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+- $(AM_CFLAGS) $(CFLAGS)
++ $(AM_CFLAGS) $(BUILD_CFLAGS)
+ CCLD = $(CC)
+ SOURCES = fc-case.c
+ DIST_SOURCES = fc-case.c
+@@ -105,6 +105,7 @@ AWK = @AWK@
+ CC = @CC_FOR_BUILD@
+ CCDEPMODE = @CCDEPMODE@
+ CC_FOR_BUILD = @CC_FOR_BUILD@
++BUILD_CFLAGS = @BUILD_CFLAGS@
+ CFLAGS = @CFLAGS@
+ CONFDIR = @CONFDIR@
+ CPP = @CPP@
+@@ -241,7 +242,7 @@ sbindir = @sbindir@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
+-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
++LINK = $(CCLD) $(AM_CFLAGS) $(BUILD_CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+ INCLUDES = -I${top_srcdir}/src -I${top_srcdir} $(FREETYPE_CFLAGS) $(WARN_CFLAGS)
+ TMPL = fccase.tmpl.h
+ STMPL = ${top_srcdir}/fc-case/${TMPL}
+diff -rdup fontconfig-2.4.2.orig/fc-cat/Makefile.in fontconfig-2.4.2/fc-cat/Makefile.in
+--- fontconfig-2.4.2.orig/fc-cat/Makefile.in 2006-12-03 00:27:32.000000000 +0100
++++ fontconfig-2.4.2/fc-cat/Makefile.in 2007-01-16 18:13:33.000000000 +0100
+@@ -110,6 +110,7 @@ AWK = @AWK@
+ CC = @CC@
+ CCDEPMODE = @CCDEPMODE@
+ CC_FOR_BUILD = @CC_FOR_BUILD@
++BUILD_CFLAGS = @BUILD_CFLAGS@
+ CFLAGS = @CFLAGS@
+ CONFDIR = @CONFDIR@
+ CPP = @CPP@
+diff -rdup fontconfig-2.4.2.orig/fc-glyphname/Makefile.in fontconfig-2.4.2/fc-glyphname/Makefile.in
+--- fontconfig-2.4.2.orig/fc-glyphname/Makefile.in 2006-12-03 00:27:33.000000000 +0100
++++ fontconfig-2.4.2/fc-glyphname/Makefile.in 2007-01-16 18:10:59.000000000 +0100
+@@ -80,10 +80,10 @@ DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(t
+ depcomp = $(SHELL) $(top_srcdir)/depcomp
+ am__depfiles_maybe = depfiles
+ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++ $(CPPFLAGS) $(AM_CFLAGS) $(BUILD_CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+- $(AM_CFLAGS) $(CFLAGS)
++ $(AM_CFLAGS) $(BUILD_CFLAGS)
+ CCLD = $(CC)
+ SOURCES = fc-glyphname.c
+ DIST_SOURCES = fc-glyphname.c
+@@ -105,6 +105,7 @@ AWK = @AWK@
+ CC = @CC_FOR_BUILD@
+ CCDEPMODE = @CCDEPMODE@
+ CC_FOR_BUILD = @CC_FOR_BUILD@
++BUILD_CFLAGS = @BUILD_CFLAGS@
+ CFLAGS = @CFLAGS@
+ CONFDIR = @CONFDIR@
+ CPP = @CPP@
+@@ -241,7 +242,7 @@ sbindir = @sbindir@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
+-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
++LINK = $(CCLD) $(AM_CFLAGS) $(BUILD_CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+ INCLUDES = -I${top_srcdir}/src -I${top_srcdir} $(FREETYPE_CFLAGS) $(WARN_CFLAGS)
+ TMPL = fcglyphname.tmpl.h
+ STMPL = ${top_srcdir}/fc-glyphname/${TMPL}
+diff -rdup fontconfig-2.4.2.orig/fc-list/Makefile.in fontconfig-2.4.2/fc-list/Makefile.in
+--- fontconfig-2.4.2.orig/fc-list/Makefile.in 2006-12-03 00:27:33.000000000 +0100
++++ fontconfig-2.4.2/fc-list/Makefile.in 2007-01-16 18:20:18.000000000 +0100
+@@ -110,6 +110,7 @@ AWK = @AWK@
+ CC = @CC@
+ CCDEPMODE = @CCDEPMODE@
+ CC_FOR_BUILD = @CC_FOR_BUILD@
++BUILD_CFLAGS = @BUILD_CFLAGS@
+ CFLAGS = @CFLAGS@
+ CONFDIR = @CONFDIR@
+ CPP = @CPP@
+diff -rdup fontconfig-2.4.2.orig/fontconfig/Makefile.in fontconfig-2.4.2/fontconfig/Makefile.in
+--- fontconfig-2.4.2.orig/fontconfig/Makefile.in 2006-12-03 00:27:33.000000000 +0100
++++ fontconfig-2.4.2/fontconfig/Makefile.in 2007-01-16 18:12:57.000000000 +0100
+@@ -74,6 +74,7 @@ AWK = @AWK@
+ CC = @CC@
+ CCDEPMODE = @CCDEPMODE@
+ CC_FOR_BUILD = @CC_FOR_BUILD@
++BUILD_CFLAGS = @BUILD_CFLAGS@
+ CFLAGS = @CFLAGS@
+ CONFDIR = @CONFDIR@
+ CPP = @CPP@
+diff -rdup fontconfig-2.4.2.orig/src/Makefile.in fontconfig-2.4.2/src/Makefile.in
+--- fontconfig-2.4.2.orig/src/Makefile.in 2006-12-03 00:27:33.000000000 +0100
++++ fontconfig-2.4.2/src/Makefile.in 2007-01-16 18:21:17.000000000 +0100
+@@ -119,6 +119,7 @@ AWK = @AWK@
+ CC = @CC@
+ CCDEPMODE = @CCDEPMODE@
+ CC_FOR_BUILD = @CC_FOR_BUILD@
++BUILD_CFLAGS = @BUILD_CFLAGS@
+ CFLAGS = @CFLAGS@
+ CONFDIR = @CONFDIR@
+ CPP = @CPP@
+--- fontconfig-2.4.2.orig/conf.d/Makefile.in 2006-12-03 00:27:31.000000000 +0100
++++ fontconfig-2.4.2/conf.d/Makefile.in 2007-01-16 18:35:32.000000000 +0100
+@@ -94,6 +94,7 @@ AWK = @AWK@
+ CC = @CC@
+ CCDEPMODE = @CCDEPMODE@
+ CC_FOR_BUILD = @CC_FOR_BUILD@
++BUILD_CFLAGS = @BUILD_CFLAGS@
+ CFLAGS = @CFLAGS@
+ CONFDIR = @CONFDIR@
+ CPP = @CPP@
+--- fontconfig-2.4.2.orig/fc-lang/Makefile.in 2006-12-03 00:27:33.000000000 +0100
++++ fontconfig-2.4.2/fc-lang/Makefile.in 2007-01-16 18:38:07.000000000 +0100
+@@ -105,6 +105,7 @@ AWK = @AWK@
+ CC = @CC_FOR_BUILD@
+ CCDEPMODE = @CCDEPMODE@
+ CC_FOR_BUILD = @CC_FOR_BUILD@
++BUILD_CFLAGS = @BUILD_CFLAGS@
+ CFLAGS = @CFLAGS@
+ CONFDIR = @CONFDIR@
+ CPP = @CPP@
+--- fontconfig-2.4.2.orig/test/Makefile.in 2006-12-03 00:27:34.000000000 +0100
++++ fontconfig-2.4.2/test/Makefile.in 2007-01-16 18:38:20.000000000 +0100
+@@ -61,6 +61,7 @@ AWK = @AWK@
+ CC = @CC@
+ CCDEPMODE = @CCDEPMODE@
+ CC_FOR_BUILD = @CC_FOR_BUILD@
++BUILD_CFLAGS = @BUILD_CFLAGS@
+ CFLAGS = @CFLAGS@
+ CONFDIR = @CONFDIR@
+ CPP = @CPP@
+--- fontconfig-2.4.2.orig/fc-cache/Makefile.in 2006-12-03 00:27:32.000000000 +0100
++++ fontconfig-2.4.2/fc-cache/Makefile.in 2007-01-16 18:38:26.000000000 +0100
+@@ -110,6 +110,7 @@ AWK = @AWK@
+ CC = @CC@
+ CCDEPMODE = @CCDEPMODE@
+ CC_FOR_BUILD = @CC_FOR_BUILD@
++BUILD_CFLAGS = @BUILD_CFLAGS@
+ CFLAGS = @CFLAGS@
+ CONFDIR = @CONFDIR@
+ CPP = @CPP@
+--- fontconfig-2.4.2.orig/fc-match/Makefile.in 2006-12-03 00:27:33.000000000 +0100
++++ fontconfig-2.4.2/fc-match/Makefile.in 2007-01-16 18:40:17.000000000 +0100
+@@ -110,6 +110,7 @@ AWK = @AWK@
+ CC = @CC@
+ CCDEPMODE = @CCDEPMODE@
+ CC_FOR_BUILD = @CC_FOR_BUILD@
++BUILD_CFLAGS = @BUILD_CFLAGS@
+ CFLAGS = @CFLAGS@
+ CONFDIR = @CONFDIR@
+ CPP = @CPP@
+--- fontconfig-2.4.2.orig/configure 2006-12-03 00:27:35.000000000 +0100
++++ fontconfig-2.4.2/configure 2007-01-16 18:54:49.000000000 +0100
+@@ -871,6 +871,7 @@ WARN_CFLAGS
+ CROSS_COMPILING_TRUE
+ CROSS_COMPILING_FALSE
+ CC_FOR_BUILD
++BUILD_CFLAGS
+ EXEEXT_FOR_BUILD
+ ARCHITECTURE
+ ICONV_LIBS
+@@ -20231,7 +20232,9 @@ else
+ CROSS_COMPILING_FALSE=
+ fi
+
+-
++if test "x$BUILD_CFLAGS" = "x"; then
++ BUILD_CFLAGS="-O2 "
++fi
+
+ # Setup for compiling build tools (fc-glyphname, etc)
+ { echo "$as_me:$LINENO: checking for a C compiler for build tools" >&5
+@@ -24541,6 +24544,7 @@ WARN_CFLAGS!$WARN_CFLAGS$ac_delim
+ CROSS_COMPILING_TRUE!$CROSS_COMPILING_TRUE$ac_delim
+ CROSS_COMPILING_FALSE!$CROSS_COMPILING_FALSE$ac_delim
+ CC_FOR_BUILD!$CC_FOR_BUILD$ac_delim
++BUILD_CFLAGS!$BUILD_CFLAGS$ac_delim
+ EXEEXT_FOR_BUILD!$EXEEXT_FOR_BUILD$ac_delim
+ ARCHITECTURE!$ARCHITECTURE$ac_delim
+ ICONV_LIBS!$ICONV_LIBS$ac_delim
+@@ -24575,7 +24579,7 @@ LIBOBJS!$LIBOBJS$ac_delim
+ LTLIBOBJS!$LTLIBOBJS$ac_delim
+ _ACEOF
+
+- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 54; then
++ if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 55; then
+ break
+ elif $ac_last_try; then
+ { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
Modified: trunk/buildroot/package/fontconfig/fontconfig.mk
===================================================================
--- trunk/buildroot/package/fontconfig/fontconfig.mk 2007-01-29 12:55:00 UTC (rev 17629)
+++ trunk/buildroot/package/fontconfig/fontconfig.mk 2007-01-29 12:59:17 UTC (rev 17630)
@@ -24,7 +24,7 @@
(cd $(FONTCONFIG_DIR); \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS) " \
- CCexe="$(HOSTCC)" \
+ BUILD_CFLAGS="-O2 -I$(FREETYPE_HOST_DIR)/include/freetype2 -I$(FREETYPE_HOST_DIR)/include" \
ac_cv_func_mmap_fixed_mapped=yes \
./configure \
--target=$(GNU_TARGET_NAME) \
@@ -49,7 +49,7 @@
touch $(FONTCONFIG_DIR)/.configured
$(FONTCONFIG_DIR)/.compiled: $(FONTCONFIG_DIR)/.configured
- $(MAKE) CCexe="$(HOSTCC)" -C $(FONTCONFIG_DIR)
+ $(MAKE) -C $(FONTCONFIG_DIR)
touch $(FONTCONFIG_DIR)/.compiled
$(STAGING_DIR)/lib/libfontconfig.so: $(FONTCONFIG_DIR)/.compiled
@@ -69,7 +69,7 @@
cp -a $(STAGING_DIR)/usr/bin/fc-list $(TARGET_DIR)/usr/bin/
-$(STRIP) --strip-unneeded $(TARGET_DIR)/usr/bin/fc-list
-fontconfig: uclibc freetype $(TARGET_DIR)/lib/libfontconfig.so
+fontconfig: uclibc freetype host-freetype $(TARGET_DIR)/lib/libfontconfig.so
fontconfig-clean:
$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(FONTCONFIG_DIR) uninstall
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/fontconfig
@ 2007-02-03 20:52 andersen at uclibc.org
0 siblings, 0 replies; 19+ messages in thread
From: andersen at uclibc.org @ 2007-02-03 20:52 UTC (permalink / raw)
To: buildroot
Author: andersen
Date: 2007-02-03 12:52:33 -0800 (Sat, 03 Feb 2007)
New Revision: 17743
Log:
grumble grumble. fontconfig's fc-lang is broken upstream and
doesn't understand how to deal with trailing whitespace... So
I had to whip up this patch to bludgeon it into submission.
Added:
trunk/buildroot/package/fontconfig/fc-lang.patch
Changeset:
Added: trunk/buildroot/package/fontconfig/fc-lang.patch
===================================================================
--- trunk/buildroot/package/fontconfig/fc-lang.patch (rev 0)
+++ trunk/buildroot/package/fontconfig/fc-lang.patch 2007-02-03 20:52:33 UTC (rev 17743)
@@ -0,0 +1,51 @@
+--- /tmp/Makefile.am 2006-04-25 15:47:49.313035880 +0200
++++ fontconfig-2.3.94/fc-lang/Makefile.am 2006-04-25 15:48:22.807943880 +0200
+@@ -31,6 +31,7 @@
+ TMPL=fclang.tmpl.h
+ STMPL=${top_srcdir}/fc-lang/fclang.tmpl.h
+ TARG=fclang.h
++FC_LANG=./fc-lang
+
+ noinst_PROGRAMS=fc-lang
+
+@@ -44,6 +45,6 @@
+
+ $(TARG):$(ORTH) fc-lang${EXEEXT} $(STMPL)
+ rm -f $(TARG)
+- ./fc-lang${EXEEXT} -d ${srcdir} $(ORTH) < $(STMPL) > $(TARG)
++ $(FC_LANG)${EXEEXT} -d ${srcdir} $(ORTH) < $(STMPL) > $(TARG)
+
+ CLEANFILES=$(TARG)
+--- fontconfig-2.4.2/fc-lang/fc-lang.orig.c 2007-02-03 13:39:49.000000000 -0700
++++ fontconfig-2.4.2/fc-lang/fc-lang.c 2007-02-03 13:46:08.000000000 -0700
+@@ -116,6 +116,20 @@
+ return f;
+ }
+
++char* trim(char *s)
++{
++ int len = strlen(s);
++
++ /* nuke trailing whitespace */
++ while (len > 0 && (isspace(s[len - 1]) || s[len - 1]=='\n'))
++ s[--len] = '\0';
++
++ /* skip leading whitespace */
++ s += strspn(s, " \n\r\t\v");
++
++ return s;
++}
++
+ /*
+ * build a single charset from a source file
+ *
+@@ -142,8 +156,7 @@
+ if (!file)
+ fatal (line, lineno,
+ "invalid syntax, expected: include filename");
+- while (isspace(*file))
+- file++;
++ file = trim(file);
+ f = scanopen (file);
+ if (!f)
+ fatal (file, 0, "can't open");
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/fontconfig
@ 2007-05-22 10:31 jacmet at uclibc.org
0 siblings, 0 replies; 19+ messages in thread
From: jacmet at uclibc.org @ 2007-05-22 10:31 UTC (permalink / raw)
To: buildroot
Author: jacmet
Date: 2007-05-22 03:31:25 -0700 (Tue, 22 May 2007)
New Revision: 18666
Log:
Use freetype-host for host tools. Fixes #1328
Removed:
trunk/buildroot/package/fontconfig/002-fix-crosscompile-CC_FOR_BUILD-flags.patch
trunk/buildroot/package/fontconfig/003-autoreconf.patch
Modified:
trunk/buildroot/package/fontconfig/fontconfig.mk
Changeset:
Deleted: trunk/buildroot/package/fontconfig/002-fix-crosscompile-CC_FOR_BUILD-flags.patch
===================================================================
--- trunk/buildroot/package/fontconfig/002-fix-crosscompile-CC_FOR_BUILD-flags.patch 2007-05-22 07:42:32 UTC (rev 18665)
+++ trunk/buildroot/package/fontconfig/002-fix-crosscompile-CC_FOR_BUILD-flags.patch 2007-05-22 10:31:25 UTC (rev 18666)
@@ -1,84 +0,0 @@
-diff -X ../excl -rdup fontconfig-2.4.2.orig/configure.in fontconfig-2.4.2/configure.in
---- fontconfig-2.4.2.orig/configure.in 2006-12-03 00:24:39.000000000 +0100
-+++ fontconfig-2.4.2/configure.in 2007-01-16 17:54:48.000000000 +0100
-@@ -97,6 +97,10 @@ AM_CONDITIONAL(CROSS_COMPILING, test $cr
-
- dnl ==========================================================================
-
-+if test "x$BUILD_CFLAGS" = "x"; then
-+ BUILD_CFLAGS="-O2 "
-+fi
-+AC_SUBST(BUILD_CFLAGS)
- # Setup for compiling build tools (fc-glyphname, etc)
- AC_MSG_CHECKING([for a C compiler for build tools])
- if test $cross_compiling = yes; then
-diff -X ../excl -rdup fontconfig-2.4.2.orig/doc/Makefile.am fontconfig-2.4.2/doc/Makefile.am
---- fontconfig-2.4.2.orig/doc/Makefile.am 2006-12-02 23:14:42.000000000 +0100
-+++ fontconfig-2.4.2/doc/Makefile.am 2007-01-16 17:47:17.000000000 +0100
-@@ -22,8 +22,9 @@
- # PERFORMANCE OF THIS SOFTWARE.
-
- CC = @CC_FOR_BUILD@
-+BUILD_CFLAGS = @BUILD_CFLAGS@
- EXEEXT = @EXEEXT_FOR_BUILD@
--LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
-+LINK = $(CCLD) $(AM_CFLAGS) $(BUILD_CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
-
- DOC_SRC = $(srcdir)
- DOC_MODULE = fontconfig
-diff -X ../excl -rdup fontconfig-2.4.2.orig/fc-arch/Makefile.am fontconfig-2.4.2/fc-arch/Makefile.am
---- fontconfig-2.4.2.orig/fc-arch/Makefile.am 2006-09-05 11:05:07.000000000 +0200
-+++ fontconfig-2.4.2/fc-arch/Makefile.am 2007-01-16 17:48:11.000000000 +0100
-@@ -23,8 +23,9 @@
- #
-
- CC = @CC_FOR_BUILD@
-+BUILD_CFLAGS = @BUILD_CFLAGS@
- EXEEXT = @EXEEXT_FOR_BUILD@
--LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
-+LINK = $(CCLD) $(AM_CFLAGS) $(BUILD_CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
-
- INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(FREETYPE_CFLAGS) $(WARN_CFLAGS)
-
-diff -X ../excl -rdup fontconfig-2.4.2.orig/fc-case/Makefile.am fontconfig-2.4.2/fc-case/Makefile.am
---- fontconfig-2.4.2.orig/fc-case/Makefile.am 2006-09-05 11:04:31.000000000 +0200
-+++ fontconfig-2.4.2/fc-case/Makefile.am 2007-01-16 17:48:03.000000000 +0100
-@@ -23,8 +23,9 @@
- #
-
- CC = @CC_FOR_BUILD@
-+BUILD_CFLAGS = @BUILD_CFLAGS@
- EXEEXT = @EXEEXT_FOR_BUILD@
--LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
-+LINK = $(CCLD) $(AM_CFLAGS) $(BUILD_CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
-
- INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(FREETYPE_CFLAGS) $(WARN_CFLAGS)
-
-diff -X ../excl -rdup fontconfig-2.4.2.orig/fc-glyphname/Makefile.am fontconfig-2.4.2/fc-glyphname/Makefile.am
---- fontconfig-2.4.2.orig/fc-glyphname/Makefile.am 2006-09-05 11:04:47.000000000 +0200
-+++ fontconfig-2.4.2/fc-glyphname/Makefile.am 2007-01-16 17:47:37.000000000 +0100
-@@ -23,8 +23,9 @@
- #
-
- CC = @CC_FOR_BUILD@
-+BUILD_CFLAGS = @BUILD_CFLAGS@
- EXEEXT = @EXEEXT_FOR_BUILD@
--LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
-+LINK = $(CCLD) $(AM_CFLAGS) $(BUILD_CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
-
- INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(FREETYPE_CFLAGS) $(WARN_CFLAGS)
-
-diff -X ../excl -rdup fontconfig-2.4.2.orig/fc-lang/Makefile.am fontconfig-2.4.2/fc-lang/Makefile.am
---- fontconfig-2.4.2.orig/fc-lang/Makefile.am 2006-09-05 11:03:45.000000000 +0200
-+++ fontconfig-2.4.2/fc-lang/Makefile.am 2007-01-16 17:47:49.000000000 +0100
-@@ -23,8 +23,9 @@
- #
-
- CC = @CC_FOR_BUILD@
-+BUILD_CFLAGS = @BUILD_CFLAGS@
- EXEEXT = @EXEEXT_FOR_BUILD@
--LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
-+LINK = $(CCLD) $(AM_CFLAGS) $(BUILD_CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
-
- INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(FREETYPE_CFLAGS) $(WARN_CFLAGS)
-
Deleted: trunk/buildroot/package/fontconfig/003-autoreconf.patch
===================================================================
--- trunk/buildroot/package/fontconfig/003-autoreconf.patch 2007-05-22 07:42:32 UTC (rev 18665)
+++ trunk/buildroot/package/fontconfig/003-autoreconf.patch 2007-05-22 10:31:25 UTC (rev 18666)
@@ -1,275 +0,0 @@
-diff -rdup fontconfig-2.4.2.orig/Makefile.in fontconfig-2.4.2/Makefile.in
---- fontconfig-2.4.2.orig/Makefile.in 2006-12-03 00:27:34.000000000 +0100
-+++ fontconfig-2.4.2/Makefile.in 2007-01-16 18:08:30.000000000 +0100
-@@ -122,6 +122,7 @@ AWK = @AWK@
- CC = @CC@
- CCDEPMODE = @CCDEPMODE@
- CC_FOR_BUILD = @CC_FOR_BUILD@
-+BUILD_CFLAGS = @BUILD_CFLAGS@
- CFLAGS = @CFLAGS@
- CONFDIR = @CONFDIR@
- CPP = @CPP@
-diff -rdup fontconfig-2.4.2.orig/doc/Makefile.in fontconfig-2.4.2/doc/Makefile.in
---- fontconfig-2.4.2.orig/doc/Makefile.in 2006-12-03 00:27:32.000000000 +0100
-+++ fontconfig-2.4.2/doc/Makefile.in 2007-01-16 18:10:09.000000000 +0100
-@@ -79,10 +79,10 @@ DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(t
- depcomp = $(SHELL) $(top_srcdir)/depcomp
- am__depfiles_maybe = depfiles
- COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
-- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
-+ $(CPPFLAGS) $(AM_CFLAGS) $(BUILD_CFLAGS)
- LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
-- $(AM_CFLAGS) $(CFLAGS)
-+ $(AM_CFLAGS) $(BUILD_CFLAGS)
- CCLD = $(CC)
- SOURCES = $(edit_sgml_SOURCES)
- DIST_SOURCES = $(edit_sgml_SOURCES)
-@@ -118,6 +118,7 @@ AWK = @AWK@
- CC = @CC_FOR_BUILD@
- CCDEPMODE = @CCDEPMODE@
- CC_FOR_BUILD = @CC_FOR_BUILD@
-+BUILD_CFLAGS = @BUILD_CFLAGS@
- CFLAGS = @CFLAGS@
- CONFDIR = @CONFDIR@
- CPP = @CPP@
-@@ -254,7 +255,7 @@ sbindir = @sbindir@
- sharedstatedir = @sharedstatedir@
- sysconfdir = @sysconfdir@
- target_alias = @target_alias@
--LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
-+LINK = $(CCLD) $(AM_CFLAGS) $(BUILD_CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
- DOC_SRC = $(srcdir)
- DOC_MODULE = fontconfig
- DOC2HTML = docbook2html
-diff -rdup fontconfig-2.4.2.orig/fc-arch/Makefile.in fontconfig-2.4.2/fc-arch/Makefile.in
---- fontconfig-2.4.2.orig/fc-arch/Makefile.in 2006-12-03 00:27:32.000000000 +0100
-+++ fontconfig-2.4.2/fc-arch/Makefile.in 2007-01-16 18:24:19.000000000 +0100
-@@ -80,10 +80,10 @@ DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(t
- depcomp = $(SHELL) $(top_srcdir)/depcomp
- am__depfiles_maybe = depfiles
- COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
-- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
-+ $(CPPFLAGS) $(AM_CFLAGS) $(BUILD_CFLAGS)
- LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
-- $(AM_CFLAGS) $(CFLAGS)
-+ $(AM_CFLAGS) $(BUILD_CFLAGS)
- CCLD = $(CC)
- SOURCES = fc-arch.c
- DIST_SOURCES = fc-arch.c
-@@ -105,6 +105,7 @@ AWK = @AWK@
- CC = @CC_FOR_BUILD@
- CCDEPMODE = @CCDEPMODE@
- CC_FOR_BUILD = @CC_FOR_BUILD@
-+BUILD_CFLAGS = @BUILD_CFLAGS@
- CFLAGS = @CFLAGS@
- CONFDIR = @CONFDIR@
- CPP = @CPP@
-@@ -241,7 +242,7 @@ sbindir = @sbindir@
- sharedstatedir = @sharedstatedir@
- sysconfdir = @sysconfdir@
- target_alias = @target_alias@
--LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
-+LINK = $(CCLD) $(AM_CFLAGS) $(BUILD_CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
- INCLUDES = -I${top_srcdir}/src -I${top_srcdir} $(FREETYPE_CFLAGS) $(WARN_CFLAGS)
- TMPL = fcarch.tmpl.h
- STMPL = ${top_srcdir}/fc-arch/fcarch.tmpl.h
-diff -rdup fontconfig-2.4.2.orig/fc-case/Makefile.in fontconfig-2.4.2/fc-case/Makefile.in
---- fontconfig-2.4.2.orig/fc-case/Makefile.in 2006-12-03 00:27:32.000000000 +0100
-+++ fontconfig-2.4.2/fc-case/Makefile.in 2007-01-16 18:23:16.000000000 +0100
-@@ -80,10 +80,10 @@ DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(t
- depcomp = $(SHELL) $(top_srcdir)/depcomp
- am__depfiles_maybe = depfiles
- COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
-- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
-+ $(CPPFLAGS) $(AM_CFLAGS) $(BUILD_CFLAGS)
- LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
-- $(AM_CFLAGS) $(CFLAGS)
-+ $(AM_CFLAGS) $(BUILD_CFLAGS)
- CCLD = $(CC)
- SOURCES = fc-case.c
- DIST_SOURCES = fc-case.c
-@@ -105,6 +105,7 @@ AWK = @AWK@
- CC = @CC_FOR_BUILD@
- CCDEPMODE = @CCDEPMODE@
- CC_FOR_BUILD = @CC_FOR_BUILD@
-+BUILD_CFLAGS = @BUILD_CFLAGS@
- CFLAGS = @CFLAGS@
- CONFDIR = @CONFDIR@
- CPP = @CPP@
-@@ -241,7 +242,7 @@ sbindir = @sbindir@
- sharedstatedir = @sharedstatedir@
- sysconfdir = @sysconfdir@
- target_alias = @target_alias@
--LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
-+LINK = $(CCLD) $(AM_CFLAGS) $(BUILD_CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
- INCLUDES = -I${top_srcdir}/src -I${top_srcdir} $(FREETYPE_CFLAGS) $(WARN_CFLAGS)
- TMPL = fccase.tmpl.h
- STMPL = ${top_srcdir}/fc-case/${TMPL}
-diff -rdup fontconfig-2.4.2.orig/fc-cat/Makefile.in fontconfig-2.4.2/fc-cat/Makefile.in
---- fontconfig-2.4.2.orig/fc-cat/Makefile.in 2006-12-03 00:27:32.000000000 +0100
-+++ fontconfig-2.4.2/fc-cat/Makefile.in 2007-01-16 18:13:33.000000000 +0100
-@@ -110,6 +110,7 @@ AWK = @AWK@
- CC = @CC@
- CCDEPMODE = @CCDEPMODE@
- CC_FOR_BUILD = @CC_FOR_BUILD@
-+BUILD_CFLAGS = @BUILD_CFLAGS@
- CFLAGS = @CFLAGS@
- CONFDIR = @CONFDIR@
- CPP = @CPP@
-diff -rdup fontconfig-2.4.2.orig/fc-glyphname/Makefile.in fontconfig-2.4.2/fc-glyphname/Makefile.in
---- fontconfig-2.4.2.orig/fc-glyphname/Makefile.in 2006-12-03 00:27:33.000000000 +0100
-+++ fontconfig-2.4.2/fc-glyphname/Makefile.in 2007-01-16 18:10:59.000000000 +0100
-@@ -80,10 +80,10 @@ DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(t
- depcomp = $(SHELL) $(top_srcdir)/depcomp
- am__depfiles_maybe = depfiles
- COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
-- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
-+ $(CPPFLAGS) $(AM_CFLAGS) $(BUILD_CFLAGS)
- LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
-- $(AM_CFLAGS) $(CFLAGS)
-+ $(AM_CFLAGS) $(BUILD_CFLAGS)
- CCLD = $(CC)
- SOURCES = fc-glyphname.c
- DIST_SOURCES = fc-glyphname.c
-@@ -105,6 +105,7 @@ AWK = @AWK@
- CC = @CC_FOR_BUILD@
- CCDEPMODE = @CCDEPMODE@
- CC_FOR_BUILD = @CC_FOR_BUILD@
-+BUILD_CFLAGS = @BUILD_CFLAGS@
- CFLAGS = @CFLAGS@
- CONFDIR = @CONFDIR@
- CPP = @CPP@
-@@ -241,7 +242,7 @@ sbindir = @sbindir@
- sharedstatedir = @sharedstatedir@
- sysconfdir = @sysconfdir@
- target_alias = @target_alias@
--LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
-+LINK = $(CCLD) $(AM_CFLAGS) $(BUILD_CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
- INCLUDES = -I${top_srcdir}/src -I${top_srcdir} $(FREETYPE_CFLAGS) $(WARN_CFLAGS)
- TMPL = fcglyphname.tmpl.h
- STMPL = ${top_srcdir}/fc-glyphname/${TMPL}
-diff -rdup fontconfig-2.4.2.orig/fc-list/Makefile.in fontconfig-2.4.2/fc-list/Makefile.in
---- fontconfig-2.4.2.orig/fc-list/Makefile.in 2006-12-03 00:27:33.000000000 +0100
-+++ fontconfig-2.4.2/fc-list/Makefile.in 2007-01-16 18:20:18.000000000 +0100
-@@ -110,6 +110,7 @@ AWK = @AWK@
- CC = @CC@
- CCDEPMODE = @CCDEPMODE@
- CC_FOR_BUILD = @CC_FOR_BUILD@
-+BUILD_CFLAGS = @BUILD_CFLAGS@
- CFLAGS = @CFLAGS@
- CONFDIR = @CONFDIR@
- CPP = @CPP@
-diff -rdup fontconfig-2.4.2.orig/fontconfig/Makefile.in fontconfig-2.4.2/fontconfig/Makefile.in
---- fontconfig-2.4.2.orig/fontconfig/Makefile.in 2006-12-03 00:27:33.000000000 +0100
-+++ fontconfig-2.4.2/fontconfig/Makefile.in 2007-01-16 18:12:57.000000000 +0100
-@@ -74,6 +74,7 @@ AWK = @AWK@
- CC = @CC@
- CCDEPMODE = @CCDEPMODE@
- CC_FOR_BUILD = @CC_FOR_BUILD@
-+BUILD_CFLAGS = @BUILD_CFLAGS@
- CFLAGS = @CFLAGS@
- CONFDIR = @CONFDIR@
- CPP = @CPP@
-diff -rdup fontconfig-2.4.2.orig/src/Makefile.in fontconfig-2.4.2/src/Makefile.in
---- fontconfig-2.4.2.orig/src/Makefile.in 2006-12-03 00:27:33.000000000 +0100
-+++ fontconfig-2.4.2/src/Makefile.in 2007-01-16 18:21:17.000000000 +0100
-@@ -119,6 +119,7 @@ AWK = @AWK@
- CC = @CC@
- CCDEPMODE = @CCDEPMODE@
- CC_FOR_BUILD = @CC_FOR_BUILD@
-+BUILD_CFLAGS = @BUILD_CFLAGS@
- CFLAGS = @CFLAGS@
- CONFDIR = @CONFDIR@
- CPP = @CPP@
---- fontconfig-2.4.2.orig/conf.d/Makefile.in 2006-12-03 00:27:31.000000000 +0100
-+++ fontconfig-2.4.2/conf.d/Makefile.in 2007-01-16 18:35:32.000000000 +0100
-@@ -94,6 +94,7 @@ AWK = @AWK@
- CC = @CC@
- CCDEPMODE = @CCDEPMODE@
- CC_FOR_BUILD = @CC_FOR_BUILD@
-+BUILD_CFLAGS = @BUILD_CFLAGS@
- CFLAGS = @CFLAGS@
- CONFDIR = @CONFDIR@
- CPP = @CPP@
---- fontconfig-2.4.2.orig/fc-lang/Makefile.in 2006-12-03 00:27:33.000000000 +0100
-+++ fontconfig-2.4.2/fc-lang/Makefile.in 2007-01-16 18:38:07.000000000 +0100
-@@ -105,6 +105,7 @@ AWK = @AWK@
- CC = @CC_FOR_BUILD@
- CCDEPMODE = @CCDEPMODE@
- CC_FOR_BUILD = @CC_FOR_BUILD@
-+BUILD_CFLAGS = @BUILD_CFLAGS@
- CFLAGS = @CFLAGS@
- CONFDIR = @CONFDIR@
- CPP = @CPP@
---- fontconfig-2.4.2.orig/test/Makefile.in 2006-12-03 00:27:34.000000000 +0100
-+++ fontconfig-2.4.2/test/Makefile.in 2007-01-16 18:38:20.000000000 +0100
-@@ -61,6 +61,7 @@ AWK = @AWK@
- CC = @CC@
- CCDEPMODE = @CCDEPMODE@
- CC_FOR_BUILD = @CC_FOR_BUILD@
-+BUILD_CFLAGS = @BUILD_CFLAGS@
- CFLAGS = @CFLAGS@
- CONFDIR = @CONFDIR@
- CPP = @CPP@
---- fontconfig-2.4.2.orig/fc-cache/Makefile.in 2006-12-03 00:27:32.000000000 +0100
-+++ fontconfig-2.4.2/fc-cache/Makefile.in 2007-01-16 18:38:26.000000000 +0100
-@@ -110,6 +110,7 @@ AWK = @AWK@
- CC = @CC@
- CCDEPMODE = @CCDEPMODE@
- CC_FOR_BUILD = @CC_FOR_BUILD@
-+BUILD_CFLAGS = @BUILD_CFLAGS@
- CFLAGS = @CFLAGS@
- CONFDIR = @CONFDIR@
- CPP = @CPP@
---- fontconfig-2.4.2.orig/fc-match/Makefile.in 2006-12-03 00:27:33.000000000 +0100
-+++ fontconfig-2.4.2/fc-match/Makefile.in 2007-01-16 18:40:17.000000000 +0100
-@@ -110,6 +110,7 @@ AWK = @AWK@
- CC = @CC@
- CCDEPMODE = @CCDEPMODE@
- CC_FOR_BUILD = @CC_FOR_BUILD@
-+BUILD_CFLAGS = @BUILD_CFLAGS@
- CFLAGS = @CFLAGS@
- CONFDIR = @CONFDIR@
- CPP = @CPP@
---- fontconfig-2.4.2.orig/configure 2006-12-03 00:27:35.000000000 +0100
-+++ fontconfig-2.4.2/configure 2007-01-16 18:54:49.000000000 +0100
-@@ -871,6 +871,7 @@ WARN_CFLAGS
- CROSS_COMPILING_TRUE
- CROSS_COMPILING_FALSE
- CC_FOR_BUILD
-+BUILD_CFLAGS
- EXEEXT_FOR_BUILD
- ARCHITECTURE
- ICONV_LIBS
-@@ -20231,7 +20232,9 @@ else
- CROSS_COMPILING_FALSE=
- fi
-
--
-+if test "x$BUILD_CFLAGS" = "x"; then
-+ BUILD_CFLAGS="-O2 "
-+fi
-
- # Setup for compiling build tools (fc-glyphname, etc)
- { echo "$as_me:$LINENO: checking for a C compiler for build tools" >&5
-@@ -24541,6 +24544,7 @@ WARN_CFLAGS!$WARN_CFLAGS$ac_delim
- CROSS_COMPILING_TRUE!$CROSS_COMPILING_TRUE$ac_delim
- CROSS_COMPILING_FALSE!$CROSS_COMPILING_FALSE$ac_delim
- CC_FOR_BUILD!$CC_FOR_BUILD$ac_delim
-+BUILD_CFLAGS!$BUILD_CFLAGS$ac_delim
- EXEEXT_FOR_BUILD!$EXEEXT_FOR_BUILD$ac_delim
- ARCHITECTURE!$ARCHITECTURE$ac_delim
- ICONV_LIBS!$ICONV_LIBS$ac_delim
-@@ -24575,7 +24579,7 @@ LIBOBJS!$LIBOBJS$ac_delim
- LTLIBOBJS!$LTLIBOBJS$ac_delim
- _ACEOF
-
-- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 54; then
-+ if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 55; then
- break
- elif $ac_last_try; then
- { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
Modified: trunk/buildroot/package/fontconfig/fontconfig.mk
===================================================================
--- trunk/buildroot/package/fontconfig/fontconfig.mk 2007-05-22 07:42:32 UTC (rev 18665)
+++ trunk/buildroot/package/fontconfig/fontconfig.mk 2007-05-22 10:31:25 UTC (rev 18666)
@@ -17,6 +17,15 @@
$(FONTCONFIG_DIR)/.unpacked: $(DL_DIR)/$(FONTCONFIG_SOURCE)
$(FONTCONFIG_CAT) $(DL_DIR)/$(FONTCONFIG_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
toolchain/patch-kernel.sh $(FONTCONFIG_DIR) package/fontconfig/ \*.patch*
+# use freetype-host for host tools
+ FREETYPE_CFLAGS="$(shell $(FREETYPE_HOST_DIR)/bin/freetype-config --cflags)"; \
+ FREETYPE_LIBS="$(shell $(FREETYPE_HOST_DIR)/bin/freetype-config --libs)"; \
+ for dir in fc-case fc-glyphname fc-lang fc-arch; \
+ do \
+ $(SED) "s~^FREETYPE_CFLAGS =.*~FREETYPE_CFLAGS = $$FREETYPE_CFLAGS~" \
+ -e "s~^FREETYPE_LIBS =.*~FREETYPE_LIBS = $$FREETYPE_LIBS~" \
+ $(FONTCONFIG_DIR)/$$dir/Makefile.in; \
+ done
$(CONFIG_UPDATE) $(FONTCONFIG_DIR)
touch $(FONTCONFIG_DIR)/.unpacked
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/fontconfig
@ 2007-05-24 8:41 jacmet at uclibc.org
0 siblings, 0 replies; 19+ messages in thread
From: jacmet at uclibc.org @ 2007-05-24 8:41 UTC (permalink / raw)
To: buildroot
Author: jacmet
Date: 2007-05-24 01:41:49 -0700 (Thu, 24 May 2007)
New Revision: 18679
Log:
fontconfig requires expat
Modified:
trunk/buildroot/package/fontconfig/Config.in
trunk/buildroot/package/fontconfig/fontconfig.mk
Changeset:
Modified: trunk/buildroot/package/fontconfig/Config.in
===================================================================
--- trunk/buildroot/package/fontconfig/Config.in 2007-05-24 04:37:20 UTC (rev 18678)
+++ trunk/buildroot/package/fontconfig/Config.in 2007-05-24 08:41:49 UTC (rev 18679)
@@ -1,6 +1,7 @@
config BR2_PACKAGE_FONTCONFIG
bool "fontconfig"
select BR2_PACKAGE_FREETYPE
+ select BR2_PACKAGE_EXPAT
default n
help
Modified: trunk/buildroot/package/fontconfig/fontconfig.mk
===================================================================
--- trunk/buildroot/package/fontconfig/fontconfig.mk 2007-05-24 04:37:20 UTC (rev 18678)
+++ trunk/buildroot/package/fontconfig/fontconfig.mk 2007-05-24 08:41:49 UTC (rev 18679)
@@ -79,7 +79,7 @@
cp -a $(STAGING_DIR)/usr/bin/fc-list $(TARGET_DIR)/usr/bin/
-$(STRIP) --strip-unneeded $(TARGET_DIR)/usr/bin/fc-list
-fontconfig: uclibc freetype host-freetype $(TARGET_DIR)/lib/libfontconfig.so
+fontconfig: uclibc freetype host-freetype expat $(TARGET_DIR)/lib/libfontconfig.so
fontconfig-clean:
$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(FONTCONFIG_DIR) uninstall
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/fontconfig
@ 2007-06-28 14:03 aldot at uclibc.org
0 siblings, 0 replies; 19+ messages in thread
From: aldot at uclibc.org @ 2007-06-28 14:03 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-06-28 07:03:04 -0700 (Thu, 28 Jun 2007)
New Revision: 18963
Log:
- fix building the utilities that are ment to be run on the _HOST_ (Julien Letessier)
Added:
trunk/buildroot/package/fontconfig/host-tools.patch
Modified:
trunk/buildroot/package/fontconfig/fc-lang.patch
trunk/buildroot/package/fontconfig/fontconfig.mk
Changeset:
Modified: trunk/buildroot/package/fontconfig/fc-lang.patch
===================================================================
--- trunk/buildroot/package/fontconfig/fc-lang.patch 2007-06-28 13:51:07 UTC (rev 18962)
+++ trunk/buildroot/package/fontconfig/fc-lang.patch 2007-06-28 14:03:04 UTC (rev 18963)
@@ -1,21 +1,3 @@
---- /tmp/Makefile.am 2006-04-25 15:47:49.313035880 +0200
-+++ fontconfig-2.3.94/fc-lang/Makefile.am 2006-04-25 15:48:22.807943880 +0200
-@@ -31,6 +31,7 @@
- TMPL=fclang.tmpl.h
- STMPL=${top_srcdir}/fc-lang/fclang.tmpl.h
- TARG=fclang.h
-+FC_LANG=./fc-lang
-
- noinst_PROGRAMS=fc-lang
-
-@@ -44,6 +45,6 @@
-
- $(TARG):$(ORTH) fc-lang${EXEEXT} $(STMPL)
- rm -f $(TARG)
-- ./fc-lang${EXEEXT} -d ${srcdir} $(ORTH) < $(STMPL) > $(TARG)
-+ $(FC_LANG)${EXEEXT} -d ${srcdir} $(ORTH) < $(STMPL) > $(TARG)
-
- CLEANFILES=$(TARG)
--- fontconfig-2.4.2/fc-lang/fc-lang.orig.c 2007-02-03 13:39:49.000000000 -0700
+++ fontconfig-2.4.2/fc-lang/fc-lang.c 2007-02-03 13:46:08.000000000 -0700
@@ -116,6 +116,20 @@
Modified: trunk/buildroot/package/fontconfig/fontconfig.mk
===================================================================
--- trunk/buildroot/package/fontconfig/fontconfig.mk 2007-06-28 13:51:07 UTC (rev 18962)
+++ trunk/buildroot/package/fontconfig/fontconfig.mk 2007-06-28 14:03:04 UTC (rev 18963)
@@ -27,15 +27,15 @@
$(FONTCONFIG_DIR)/$$dir/Makefile.in; \
done
$(CONFIG_UPDATE) $(FONTCONFIG_DIR)
- touch $(FONTCONFIG_DIR)/.unpacked
+ touch $@
$(FONTCONFIG_DIR)/.configured: $(FONTCONFIG_DIR)/.unpacked
- (cd $(FONTCONFIG_DIR); \
+ (cd $(FONTCONFIG_DIR); rm -rf config.cache ; \
+ $(AUTORECONF) && \
$(TARGET_CONFIGURE_OPTS) \
$(TARGET_CONFIGURE_ARGS) \
- BUILD_CFLAGS="-O2 -I$(FREETYPE_HOST_DIR)/include/freetype2 -I$(FREETYPE_HOST_DIR)/include" \
- ac_cv_func_mmap_fixed_mapped=yes \
- ./configure \
+ CFLAGS_FOR_BUILD="-I$(FREETYPE_HOST_DIR)/include/freetype2 -I$(FREETYPE_HOST_DIR)/include" \
+ ./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
@@ -44,41 +44,42 @@
--exec-prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
- --libdir=/lib \
+ --libdir=/usr/lib \
--libexecdir=/usr/lib \
--sysconfdir=/etc \
--datadir=/usr/share \
--localstatedir=/var \
- --includedir=/include \
+ --includedir=/usr/include \
--mandir=/usr/man \
--infodir=/usr/info \
--with-freetype-config="$(STAGING_DIR)/usr/bin/freetype-config" \
--disable-docs \
- );
- touch $(FONTCONFIG_DIR)/.configured
+ )
+ touch $@
$(FONTCONFIG_DIR)/.compiled: $(FONTCONFIG_DIR)/.configured
$(MAKE) -C $(FONTCONFIG_DIR)
- touch $(FONTCONFIG_DIR)/.compiled
+ touch $@
-$(STAGING_DIR)/lib/libfontconfig.so: $(FONTCONFIG_DIR)/.compiled
+$(STAGING_DIR)/usr/lib/libfontconfig.so: $(FONTCONFIG_DIR)/.compiled
$(MAKE) DESTDIR=$(STAGING_DIR) -C $(FONTCONFIG_DIR) install
- $(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/lib\',g" $(STAGING_DIR)/lib/libfontconfig.la
- touch -c $(STAGING_DIR)/lib/libfontconfig.so
+ $(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" $(STAGING_DIR)/usr/lib/libfontconfig.la
+ touch -c $@
-$(TARGET_DIR)/lib/libfontconfig.so: $(STAGING_DIR)/lib/libfontconfig.so
- cp -dpf $(STAGING_DIR)/lib/libfontconfig.so* $(TARGET_DIR)/lib/
+$(TARGET_DIR)/usr/lib/libfontconfig.so: $(STAGING_DIR)/usr/lib/libfontconfig.so
+ cp -dpf $(STAGING_DIR)/usr/lib/libfontconfig.so* $(TARGET_DIR)/usr/lib/
mkdir -p $(TARGET_DIR)/etc/fonts
cp $(STAGING_DIR)/etc/fonts/fonts.conf $(TARGET_DIR)/etc/fonts/
- -$(STRIP) --strip-unneeded $(TARGET_DIR)/lib/libfontconfig.so
+ -$(STRIP) --strip-unneeded $(TARGET_DIR)/usr/lib/libfontconfig.so
mkdir -p $(TARGET_DIR)/var/cache/fontconfig
mkdir -p $(TARGET_DIR)/usr/bin
cp -a $(STAGING_DIR)/usr/bin/fc-cache $(TARGET_DIR)/usr/bin/
-$(STRIP) --strip-unneeded $(TARGET_DIR)/usr/bin/fc-cache
cp -a $(STAGING_DIR)/usr/bin/fc-list $(TARGET_DIR)/usr/bin/
-$(STRIP) --strip-unneeded $(TARGET_DIR)/usr/bin/fc-list
+ touch -c $@
-fontconfig: uclibc freetype host-freetype expat $(TARGET_DIR)/lib/libfontconfig.so
+fontconfig: uclibc freetype host-freetype expat $(TARGET_DIR)/usr/lib/libfontconfig.so
fontconfig-clean:
$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(FONTCONFIG_DIR) uninstall
Added: trunk/buildroot/package/fontconfig/host-tools.patch
===================================================================
--- trunk/buildroot/package/fontconfig/host-tools.patch (rev 0)
+++ trunk/buildroot/package/fontconfig/host-tools.patch 2007-06-28 14:03:04 UTC (rev 18963)
@@ -0,0 +1,95 @@
+--- fontconfig-2.4.2/fc-lang/Makefile.am.orig 2007-06-24 07:02:54.000000000 +0200
++++ fontconfig-2.4.2/fc-lang/Makefile.am 2007-06-24 07:05:14.000000000 +0200
+@@ -23,10 +23,16 @@
+ #
+
+ CC = @CC_FOR_BUILD@
++LD = @CC_FOR_BUILD@
++AM_CPPFLAGS =
++AM_CFLAGS = @CFLAGS_FOR_BUILD@
++AM_LDFLAGS = @LDFLAGS_FOR_BUILD@
+ EXEEXT = @EXEEXT_FOR_BUILD@
+-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++ $(AM_CFLAGS)
++LINK = $(LD) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@
+
+-INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(FREETYPE_CFLAGS) $(WARN_CFLAGS)
++INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(WARN_CFLAGS)
+
+ TMPL=fclang.tmpl.h
+ STMPL=${top_srcdir}/fc-lang/fclang.tmpl.h
+--- fontconfig-2.4.2/fc-case/Makefile.am.orig 2007-06-24 07:02:54.000000000 +0200
++++ fontconfig-2.4.2/fc-case/Makefile.am 2007-06-24 07:05:14.000000000 +0200
+@@ -23,10 +23,16 @@
+ #
+
+ CC = @CC_FOR_BUILD@
++LD = @CC_FOR_BUILD@
++AM_CPPFLAGS =
++AM_CFLAGS = @CFLAGS_FOR_BUILD@
++AM_LDFLAGS = @LDFLAGS_FOR_BUILD@
+ EXEEXT = @EXEEXT_FOR_BUILD@
+-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++ $(AM_CFLAGS)
++LINK = $(LD) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@
+
+-INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(FREETYPE_CFLAGS) $(WARN_CFLAGS)
++INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(WARN_CFLAGS)
+
+ TMPL=fccase.tmpl.h
+ STMPL=${top_srcdir}/fc-case/${TMPL}
+--- fontconfig-2.4.2/fc-glyphname/Makefile.am.orig 2007-06-24 07:02:54.000000000 +0200
++++ fontconfig-2.4.2/fc-glyphname/Makefile.am 2007-06-24 07:05:14.000000000 +0200
+@@ -23,10 +23,16 @@
+ #
+
+ CC = @CC_FOR_BUILD@
++LD = @CC_FOR_BUILD@
++AM_CPPFLAGS =
++AM_CFLAGS = @CFLAGS_FOR_BUILD@
++AM_LDFLAGS = @LDFLAGS_FOR_BUILD@
+ EXEEXT = @EXEEXT_FOR_BUILD@
+-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++ $(AM_CFLAGS)
++LINK = $(LD) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@
+
+-INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(FREETYPE_CFLAGS) $(WARN_CFLAGS)
++INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(WARN_CFLAGS)
+
+ TMPL=fcglyphname.tmpl.h
+ STMPL=${top_srcdir}/fc-glyphname/${TMPL}
+--- fontconfig-2.4.2/configure.in.orig 2007-06-24 07:02:54.000000000 +0200
++++ fontconfig-2.4.2/configure.in 2007-06-24 07:02:59.000000000 +0200
+@@ -101,6 +101,8 @@
+ AC_MSG_CHECKING([for a C compiler for build tools])
+ if test $cross_compiling = yes; then
+ AC_CHECK_PROGS(CC_FOR_BUILD, gcc cc)
++ AC_SUBST(CFLAGS_FOR_BUILD)
++ AC_SUBST(LDFLAGS_FOR_BUILD)
+ else
+ CC_FOR_BUILD=$CC
+ fi
+--- fontconfig-2.4.2/fc-arch/Makefile.am.orig 2007-06-24 07:02:54.000000000 +0200
++++ fontconfig-2.4.2/fc-arch/Makefile.am 2007-06-24 07:05:14.000000000 +0200
+@@ -23,10 +23,16 @@
+ #
+
+ CC = @CC_FOR_BUILD@
++LD = @CC_FOR_BUILD@
++AM_CPPFLAGS =
++AM_CFLAGS = @CFLAGS_FOR_BUILD@
++AM_LDFLAGS = @LDFLAGS_FOR_BUILD@
+ EXEEXT = @EXEEXT_FOR_BUILD@
+-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++ $(AM_CFLAGS)
++LINK = $(LD) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@
+
+-INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(FREETYPE_CFLAGS) $(WARN_CFLAGS)
++INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(WARN_CFLAGS)
+
+ TMPL=fcarch.tmpl.h
+ STMPL=${top_srcdir}/fc-arch/fcarch.tmpl.h
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/fontconfig
@ 2007-07-23 8:18 ulf at uclibc.org
0 siblings, 0 replies; 19+ messages in thread
From: ulf at uclibc.org @ 2007-07-23 8:18 UTC (permalink / raw)
To: buildroot
Author: ulf
Date: 2007-07-23 01:18:45 -0700 (Mon, 23 Jul 2007)
New Revision: 19202
Log:
Add fontconfig patches for cross-compile
Added:
trunk/buildroot/package/fontconfig/002-fix-crosscompile-CC_FOR_BUILD-flags.patch
trunk/buildroot/package/fontconfig/003-autoreconf.patch
Changeset:
Added: trunk/buildroot/package/fontconfig/002-fix-crosscompile-CC_FOR_BUILD-flags.patch
===================================================================
--- trunk/buildroot/package/fontconfig/002-fix-crosscompile-CC_FOR_BUILD-flags.patch (rev 0)
+++ trunk/buildroot/package/fontconfig/002-fix-crosscompile-CC_FOR_BUILD-flags.patch 2007-07-23 08:18:45 UTC (rev 19202)
@@ -0,0 +1,84 @@
+diff -X ../excl -rdup fontconfig-2.4.2.orig/configure.in fontconfig-2.4.2/configure.in
+--- fontconfig-2.4.2.orig/configure.in 2006-12-03 00:24:39.000000000 +0100
++++ fontconfig-2.4.2/configure.in 2007-01-16 17:54:48.000000000 +0100
+@@ -97,6 +97,10 @@ AM_CONDITIONAL(CROSS_COMPILING, test $cr
+
+ dnl ==========================================================================
+
++if test "x$BUILD_CFLAGS" = "x"; then
++ BUILD_CFLAGS="-O2 "
++fi
++AC_SUBST(BUILD_CFLAGS)
+ # Setup for compiling build tools (fc-glyphname, etc)
+ AC_MSG_CHECKING([for a C compiler for build tools])
+ if test $cross_compiling = yes; then
+diff -X ../excl -rdup fontconfig-2.4.2.orig/doc/Makefile.am fontconfig-2.4.2/doc/Makefile.am
+--- fontconfig-2.4.2.orig/doc/Makefile.am 2006-12-02 23:14:42.000000000 +0100
++++ fontconfig-2.4.2/doc/Makefile.am 2007-01-16 17:47:17.000000000 +0100
+@@ -22,8 +22,9 @@
+ # PERFORMANCE OF THIS SOFTWARE.
+
+ CC = @CC_FOR_BUILD@
++BUILD_CFLAGS = @BUILD_CFLAGS@
+ EXEEXT = @EXEEXT_FOR_BUILD@
+-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
++LINK = $(CCLD) $(AM_CFLAGS) $(BUILD_CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+
+ DOC_SRC = $(srcdir)
+ DOC_MODULE = fontconfig
+diff -X ../excl -rdup fontconfig-2.4.2.orig/fc-arch/Makefile.am fontconfig-2.4.2/fc-arch/Makefile.am
+--- fontconfig-2.4.2.orig/fc-arch/Makefile.am 2006-09-05 11:05:07.000000000 +0200
++++ fontconfig-2.4.2/fc-arch/Makefile.am 2007-01-16 17:48:11.000000000 +0100
+@@ -23,8 +23,9 @@
+ #
+
+ CC = @CC_FOR_BUILD@
++BUILD_CFLAGS = @BUILD_CFLAGS@
+ EXEEXT = @EXEEXT_FOR_BUILD@
+-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
++LINK = $(CCLD) $(AM_CFLAGS) $(BUILD_CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+
+ INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(FREETYPE_CFLAGS) $(WARN_CFLAGS)
+
+diff -X ../excl -rdup fontconfig-2.4.2.orig/fc-case/Makefile.am fontconfig-2.4.2/fc-case/Makefile.am
+--- fontconfig-2.4.2.orig/fc-case/Makefile.am 2006-09-05 11:04:31.000000000 +0200
++++ fontconfig-2.4.2/fc-case/Makefile.am 2007-01-16 17:48:03.000000000 +0100
+@@ -23,8 +23,9 @@
+ #
+
+ CC = @CC_FOR_BUILD@
++BUILD_CFLAGS = @BUILD_CFLAGS@
+ EXEEXT = @EXEEXT_FOR_BUILD@
+-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
++LINK = $(CCLD) $(AM_CFLAGS) $(BUILD_CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+
+ INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(FREETYPE_CFLAGS) $(WARN_CFLAGS)
+
+diff -X ../excl -rdup fontconfig-2.4.2.orig/fc-glyphname/Makefile.am fontconfig-2.4.2/fc-glyphname/Makefile.am
+--- fontconfig-2.4.2.orig/fc-glyphname/Makefile.am 2006-09-05 11:04:47.000000000 +0200
++++ fontconfig-2.4.2/fc-glyphname/Makefile.am 2007-01-16 17:47:37.000000000 +0100
+@@ -23,8 +23,9 @@
+ #
+
+ CC = @CC_FOR_BUILD@
++BUILD_CFLAGS = @BUILD_CFLAGS@
+ EXEEXT = @EXEEXT_FOR_BUILD@
+-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
++LINK = $(CCLD) $(AM_CFLAGS) $(BUILD_CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+
+ INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(FREETYPE_CFLAGS) $(WARN_CFLAGS)
+
+diff -X ../excl -rdup fontconfig-2.4.2.orig/fc-lang/Makefile.am fontconfig-2.4.2/fc-lang/Makefile.am
+--- fontconfig-2.4.2.orig/fc-lang/Makefile.am 2006-09-05 11:03:45.000000000 +0200
++++ fontconfig-2.4.2/fc-lang/Makefile.am 2007-01-16 17:47:49.000000000 +0100
+@@ -23,8 +23,9 @@
+ #
+
+ CC = @CC_FOR_BUILD@
++BUILD_CFLAGS = @BUILD_CFLAGS@
+ EXEEXT = @EXEEXT_FOR_BUILD@
+-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
++LINK = $(CCLD) $(AM_CFLAGS) $(BUILD_CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+
+ INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(FREETYPE_CFLAGS) $(WARN_CFLAGS)
+
Added: trunk/buildroot/package/fontconfig/003-autoreconf.patch
===================================================================
--- trunk/buildroot/package/fontconfig/003-autoreconf.patch (rev 0)
+++ trunk/buildroot/package/fontconfig/003-autoreconf.patch 2007-07-23 08:18:45 UTC (rev 19202)
@@ -0,0 +1,275 @@
+diff -rdup fontconfig-2.4.2.orig/Makefile.in fontconfig-2.4.2/Makefile.in
+--- fontconfig-2.4.2.orig/Makefile.in 2006-12-03 00:27:34.000000000 +0100
++++ fontconfig-2.4.2/Makefile.in 2007-01-16 18:08:30.000000000 +0100
+@@ -122,6 +122,7 @@ AWK = @AWK@
+ CC = @CC@
+ CCDEPMODE = @CCDEPMODE@
+ CC_FOR_BUILD = @CC_FOR_BUILD@
++BUILD_CFLAGS = @BUILD_CFLAGS@
+ CFLAGS = @CFLAGS@
+ CONFDIR = @CONFDIR@
+ CPP = @CPP@
+diff -rdup fontconfig-2.4.2.orig/doc/Makefile.in fontconfig-2.4.2/doc/Makefile.in
+--- fontconfig-2.4.2.orig/doc/Makefile.in 2006-12-03 00:27:32.000000000 +0100
++++ fontconfig-2.4.2/doc/Makefile.in 2007-01-16 18:10:09.000000000 +0100
+@@ -79,10 +79,10 @@ DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(t
+ depcomp = $(SHELL) $(top_srcdir)/depcomp
+ am__depfiles_maybe = depfiles
+ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++ $(CPPFLAGS) $(AM_CFLAGS) $(BUILD_CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+- $(AM_CFLAGS) $(CFLAGS)
++ $(AM_CFLAGS) $(BUILD_CFLAGS)
+ CCLD = $(CC)
+ SOURCES = $(edit_sgml_SOURCES)
+ DIST_SOURCES = $(edit_sgml_SOURCES)
+@@ -118,6 +118,7 @@ AWK = @AWK@
+ CC = @CC_FOR_BUILD@
+ CCDEPMODE = @CCDEPMODE@
+ CC_FOR_BUILD = @CC_FOR_BUILD@
++BUILD_CFLAGS = @BUILD_CFLAGS@
+ CFLAGS = @CFLAGS@
+ CONFDIR = @CONFDIR@
+ CPP = @CPP@
+@@ -254,7 +255,7 @@ sbindir = @sbindir@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
+-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
++LINK = $(CCLD) $(AM_CFLAGS) $(BUILD_CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+ DOC_SRC = $(srcdir)
+ DOC_MODULE = fontconfig
+ DOC2HTML = docbook2html
+diff -rdup fontconfig-2.4.2.orig/fc-arch/Makefile.in fontconfig-2.4.2/fc-arch/Makefile.in
+--- fontconfig-2.4.2.orig/fc-arch/Makefile.in 2006-12-03 00:27:32.000000000 +0100
++++ fontconfig-2.4.2/fc-arch/Makefile.in 2007-01-16 18:24:19.000000000 +0100
+@@ -80,10 +80,10 @@ DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(t
+ depcomp = $(SHELL) $(top_srcdir)/depcomp
+ am__depfiles_maybe = depfiles
+ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++ $(CPPFLAGS) $(AM_CFLAGS) $(BUILD_CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+- $(AM_CFLAGS) $(CFLAGS)
++ $(AM_CFLAGS) $(BUILD_CFLAGS)
+ CCLD = $(CC)
+ SOURCES = fc-arch.c
+ DIST_SOURCES = fc-arch.c
+@@ -105,6 +105,7 @@ AWK = @AWK@
+ CC = @CC_FOR_BUILD@
+ CCDEPMODE = @CCDEPMODE@
+ CC_FOR_BUILD = @CC_FOR_BUILD@
++BUILD_CFLAGS = @BUILD_CFLAGS@
+ CFLAGS = @CFLAGS@
+ CONFDIR = @CONFDIR@
+ CPP = @CPP@
+@@ -241,7 +242,7 @@ sbindir = @sbindir@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
+-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
++LINK = $(CCLD) $(AM_CFLAGS) $(BUILD_CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+ INCLUDES = -I${top_srcdir}/src -I${top_srcdir} $(FREETYPE_CFLAGS) $(WARN_CFLAGS)
+ TMPL = fcarch.tmpl.h
+ STMPL = ${top_srcdir}/fc-arch/fcarch.tmpl.h
+diff -rdup fontconfig-2.4.2.orig/fc-case/Makefile.in fontconfig-2.4.2/fc-case/Makefile.in
+--- fontconfig-2.4.2.orig/fc-case/Makefile.in 2006-12-03 00:27:32.000000000 +0100
++++ fontconfig-2.4.2/fc-case/Makefile.in 2007-01-16 18:23:16.000000000 +0100
+@@ -80,10 +80,10 @@ DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(t
+ depcomp = $(SHELL) $(top_srcdir)/depcomp
+ am__depfiles_maybe = depfiles
+ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++ $(CPPFLAGS) $(AM_CFLAGS) $(BUILD_CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+- $(AM_CFLAGS) $(CFLAGS)
++ $(AM_CFLAGS) $(BUILD_CFLAGS)
+ CCLD = $(CC)
+ SOURCES = fc-case.c
+ DIST_SOURCES = fc-case.c
+@@ -105,6 +105,7 @@ AWK = @AWK@
+ CC = @CC_FOR_BUILD@
+ CCDEPMODE = @CCDEPMODE@
+ CC_FOR_BUILD = @CC_FOR_BUILD@
++BUILD_CFLAGS = @BUILD_CFLAGS@
+ CFLAGS = @CFLAGS@
+ CONFDIR = @CONFDIR@
+ CPP = @CPP@
+@@ -241,7 +242,7 @@ sbindir = @sbindir@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
+-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
++LINK = $(CCLD) $(AM_CFLAGS) $(BUILD_CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+ INCLUDES = -I${top_srcdir}/src -I${top_srcdir} $(FREETYPE_CFLAGS) $(WARN_CFLAGS)
+ TMPL = fccase.tmpl.h
+ STMPL = ${top_srcdir}/fc-case/${TMPL}
+diff -rdup fontconfig-2.4.2.orig/fc-cat/Makefile.in fontconfig-2.4.2/fc-cat/Makefile.in
+--- fontconfig-2.4.2.orig/fc-cat/Makefile.in 2006-12-03 00:27:32.000000000 +0100
++++ fontconfig-2.4.2/fc-cat/Makefile.in 2007-01-16 18:13:33.000000000 +0100
+@@ -110,6 +110,7 @@ AWK = @AWK@
+ CC = @CC@
+ CCDEPMODE = @CCDEPMODE@
+ CC_FOR_BUILD = @CC_FOR_BUILD@
++BUILD_CFLAGS = @BUILD_CFLAGS@
+ CFLAGS = @CFLAGS@
+ CONFDIR = @CONFDIR@
+ CPP = @CPP@
+diff -rdup fontconfig-2.4.2.orig/fc-glyphname/Makefile.in fontconfig-2.4.2/fc-glyphname/Makefile.in
+--- fontconfig-2.4.2.orig/fc-glyphname/Makefile.in 2006-12-03 00:27:33.000000000 +0100
++++ fontconfig-2.4.2/fc-glyphname/Makefile.in 2007-01-16 18:10:59.000000000 +0100
+@@ -80,10 +80,10 @@ DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(t
+ depcomp = $(SHELL) $(top_srcdir)/depcomp
+ am__depfiles_maybe = depfiles
+ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++ $(CPPFLAGS) $(AM_CFLAGS) $(BUILD_CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+- $(AM_CFLAGS) $(CFLAGS)
++ $(AM_CFLAGS) $(BUILD_CFLAGS)
+ CCLD = $(CC)
+ SOURCES = fc-glyphname.c
+ DIST_SOURCES = fc-glyphname.c
+@@ -105,6 +105,7 @@ AWK = @AWK@
+ CC = @CC_FOR_BUILD@
+ CCDEPMODE = @CCDEPMODE@
+ CC_FOR_BUILD = @CC_FOR_BUILD@
++BUILD_CFLAGS = @BUILD_CFLAGS@
+ CFLAGS = @CFLAGS@
+ CONFDIR = @CONFDIR@
+ CPP = @CPP@
+@@ -241,7 +242,7 @@ sbindir = @sbindir@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
+-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
++LINK = $(CCLD) $(AM_CFLAGS) $(BUILD_CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+ INCLUDES = -I${top_srcdir}/src -I${top_srcdir} $(FREETYPE_CFLAGS) $(WARN_CFLAGS)
+ TMPL = fcglyphname.tmpl.h
+ STMPL = ${top_srcdir}/fc-glyphname/${TMPL}
+diff -rdup fontconfig-2.4.2.orig/fc-list/Makefile.in fontconfig-2.4.2/fc-list/Makefile.in
+--- fontconfig-2.4.2.orig/fc-list/Makefile.in 2006-12-03 00:27:33.000000000 +0100
++++ fontconfig-2.4.2/fc-list/Makefile.in 2007-01-16 18:20:18.000000000 +0100
+@@ -110,6 +110,7 @@ AWK = @AWK@
+ CC = @CC@
+ CCDEPMODE = @CCDEPMODE@
+ CC_FOR_BUILD = @CC_FOR_BUILD@
++BUILD_CFLAGS = @BUILD_CFLAGS@
+ CFLAGS = @CFLAGS@
+ CONFDIR = @CONFDIR@
+ CPP = @CPP@
+diff -rdup fontconfig-2.4.2.orig/fontconfig/Makefile.in fontconfig-2.4.2/fontconfig/Makefile.in
+--- fontconfig-2.4.2.orig/fontconfig/Makefile.in 2006-12-03 00:27:33.000000000 +0100
++++ fontconfig-2.4.2/fontconfig/Makefile.in 2007-01-16 18:12:57.000000000 +0100
+@@ -74,6 +74,7 @@ AWK = @AWK@
+ CC = @CC@
+ CCDEPMODE = @CCDEPMODE@
+ CC_FOR_BUILD = @CC_FOR_BUILD@
++BUILD_CFLAGS = @BUILD_CFLAGS@
+ CFLAGS = @CFLAGS@
+ CONFDIR = @CONFDIR@
+ CPP = @CPP@
+diff -rdup fontconfig-2.4.2.orig/src/Makefile.in fontconfig-2.4.2/src/Makefile.in
+--- fontconfig-2.4.2.orig/src/Makefile.in 2006-12-03 00:27:33.000000000 +0100
++++ fontconfig-2.4.2/src/Makefile.in 2007-01-16 18:21:17.000000000 +0100
+@@ -119,6 +119,7 @@ AWK = @AWK@
+ CC = @CC@
+ CCDEPMODE = @CCDEPMODE@
+ CC_FOR_BUILD = @CC_FOR_BUILD@
++BUILD_CFLAGS = @BUILD_CFLAGS@
+ CFLAGS = @CFLAGS@
+ CONFDIR = @CONFDIR@
+ CPP = @CPP@
+--- fontconfig-2.4.2.orig/conf.d/Makefile.in 2006-12-03 00:27:31.000000000 +0100
++++ fontconfig-2.4.2/conf.d/Makefile.in 2007-01-16 18:35:32.000000000 +0100
+@@ -94,6 +94,7 @@ AWK = @AWK@
+ CC = @CC@
+ CCDEPMODE = @CCDEPMODE@
+ CC_FOR_BUILD = @CC_FOR_BUILD@
++BUILD_CFLAGS = @BUILD_CFLAGS@
+ CFLAGS = @CFLAGS@
+ CONFDIR = @CONFDIR@
+ CPP = @CPP@
+--- fontconfig-2.4.2.orig/fc-lang/Makefile.in 2006-12-03 00:27:33.000000000 +0100
++++ fontconfig-2.4.2/fc-lang/Makefile.in 2007-01-16 18:38:07.000000000 +0100
+@@ -105,6 +105,7 @@ AWK = @AWK@
+ CC = @CC_FOR_BUILD@
+ CCDEPMODE = @CCDEPMODE@
+ CC_FOR_BUILD = @CC_FOR_BUILD@
++BUILD_CFLAGS = @BUILD_CFLAGS@
+ CFLAGS = @CFLAGS@
+ CONFDIR = @CONFDIR@
+ CPP = @CPP@
+--- fontconfig-2.4.2.orig/test/Makefile.in 2006-12-03 00:27:34.000000000 +0100
++++ fontconfig-2.4.2/test/Makefile.in 2007-01-16 18:38:20.000000000 +0100
+@@ -61,6 +61,7 @@ AWK = @AWK@
+ CC = @CC@
+ CCDEPMODE = @CCDEPMODE@
+ CC_FOR_BUILD = @CC_FOR_BUILD@
++BUILD_CFLAGS = @BUILD_CFLAGS@
+ CFLAGS = @CFLAGS@
+ CONFDIR = @CONFDIR@
+ CPP = @CPP@
+--- fontconfig-2.4.2.orig/fc-cache/Makefile.in 2006-12-03 00:27:32.000000000 +0100
++++ fontconfig-2.4.2/fc-cache/Makefile.in 2007-01-16 18:38:26.000000000 +0100
+@@ -110,6 +110,7 @@ AWK = @AWK@
+ CC = @CC@
+ CCDEPMODE = @CCDEPMODE@
+ CC_FOR_BUILD = @CC_FOR_BUILD@
++BUILD_CFLAGS = @BUILD_CFLAGS@
+ CFLAGS = @CFLAGS@
+ CONFDIR = @CONFDIR@
+ CPP = @CPP@
+--- fontconfig-2.4.2.orig/fc-match/Makefile.in 2006-12-03 00:27:33.000000000 +0100
++++ fontconfig-2.4.2/fc-match/Makefile.in 2007-01-16 18:40:17.000000000 +0100
+@@ -110,6 +110,7 @@ AWK = @AWK@
+ CC = @CC@
+ CCDEPMODE = @CCDEPMODE@
+ CC_FOR_BUILD = @CC_FOR_BUILD@
++BUILD_CFLAGS = @BUILD_CFLAGS@
+ CFLAGS = @CFLAGS@
+ CONFDIR = @CONFDIR@
+ CPP = @CPP@
+--- fontconfig-2.4.2.orig/configure 2006-12-03 00:27:35.000000000 +0100
++++ fontconfig-2.4.2/configure 2007-01-16 18:54:49.000000000 +0100
+@@ -871,6 +871,7 @@ WARN_CFLAGS
+ CROSS_COMPILING_TRUE
+ CROSS_COMPILING_FALSE
+ CC_FOR_BUILD
++BUILD_CFLAGS
+ EXEEXT_FOR_BUILD
+ ARCHITECTURE
+ ICONV_LIBS
+@@ -20231,7 +20232,9 @@ else
+ CROSS_COMPILING_FALSE=
+ fi
+
+-
++if test "x$BUILD_CFLAGS" = "x"; then
++ BUILD_CFLAGS="-O2 "
++fi
+
+ # Setup for compiling build tools (fc-glyphname, etc)
+ { echo "$as_me:$LINENO: checking for a C compiler for build tools" >&5
+@@ -24541,6 +24544,7 @@ WARN_CFLAGS!$WARN_CFLAGS$ac_delim
+ CROSS_COMPILING_TRUE!$CROSS_COMPILING_TRUE$ac_delim
+ CROSS_COMPILING_FALSE!$CROSS_COMPILING_FALSE$ac_delim
+ CC_FOR_BUILD!$CC_FOR_BUILD$ac_delim
++BUILD_CFLAGS!$BUILD_CFLAGS$ac_delim
+ EXEEXT_FOR_BUILD!$EXEEXT_FOR_BUILD$ac_delim
+ ARCHITECTURE!$ARCHITECTURE$ac_delim
+ ICONV_LIBS!$ICONV_LIBS$ac_delim
+@@ -24575,7 +24579,7 @@ LIBOBJS!$LIBOBJS$ac_delim
+ LTLIBOBJS!$LTLIBOBJS$ac_delim
+ _ACEOF
+
+- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 54; then
++ if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 55; then
+ break
+ elif $ac_last_try; then
+ { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/fontconfig
@ 2007-08-10 14:44 ulf at uclibc.org
0 siblings, 0 replies; 19+ messages in thread
From: ulf at uclibc.org @ 2007-08-10 14:44 UTC (permalink / raw)
To: buildroot
Author: ulf
Date: 2007-08-10 07:44:48 -0700 (Fri, 10 Aug 2007)
New Revision: 19422
Log:
Revert bad patch
Removed:
trunk/buildroot/package/fontconfig/002-fix-crosscompile-CC_FOR_BUILD-flags.patch
trunk/buildroot/package/fontconfig/003-autoreconf.patch
Changeset:
Deleted: trunk/buildroot/package/fontconfig/002-fix-crosscompile-CC_FOR_BUILD-flags.patch
===================================================================
--- trunk/buildroot/package/fontconfig/002-fix-crosscompile-CC_FOR_BUILD-flags.patch 2007-08-09 08:27:24 UTC (rev 19421)
+++ trunk/buildroot/package/fontconfig/002-fix-crosscompile-CC_FOR_BUILD-flags.patch 2007-08-10 14:44:48 UTC (rev 19422)
@@ -1,84 +0,0 @@
-diff -X ../excl -rdup fontconfig-2.4.2.orig/configure.in fontconfig-2.4.2/configure.in
---- fontconfig-2.4.2.orig/configure.in 2006-12-03 00:24:39.000000000 +0100
-+++ fontconfig-2.4.2/configure.in 2007-01-16 17:54:48.000000000 +0100
-@@ -97,6 +97,10 @@ AM_CONDITIONAL(CROSS_COMPILING, test $cr
-
- dnl ==========================================================================
-
-+if test "x$BUILD_CFLAGS" = "x"; then
-+ BUILD_CFLAGS="-O2 "
-+fi
-+AC_SUBST(BUILD_CFLAGS)
- # Setup for compiling build tools (fc-glyphname, etc)
- AC_MSG_CHECKING([for a C compiler for build tools])
- if test $cross_compiling = yes; then
-diff -X ../excl -rdup fontconfig-2.4.2.orig/doc/Makefile.am fontconfig-2.4.2/doc/Makefile.am
---- fontconfig-2.4.2.orig/doc/Makefile.am 2006-12-02 23:14:42.000000000 +0100
-+++ fontconfig-2.4.2/doc/Makefile.am 2007-01-16 17:47:17.000000000 +0100
-@@ -22,8 +22,9 @@
- # PERFORMANCE OF THIS SOFTWARE.
-
- CC = @CC_FOR_BUILD@
-+BUILD_CFLAGS = @BUILD_CFLAGS@
- EXEEXT = @EXEEXT_FOR_BUILD@
--LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
-+LINK = $(CCLD) $(AM_CFLAGS) $(BUILD_CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
-
- DOC_SRC = $(srcdir)
- DOC_MODULE = fontconfig
-diff -X ../excl -rdup fontconfig-2.4.2.orig/fc-arch/Makefile.am fontconfig-2.4.2/fc-arch/Makefile.am
---- fontconfig-2.4.2.orig/fc-arch/Makefile.am 2006-09-05 11:05:07.000000000 +0200
-+++ fontconfig-2.4.2/fc-arch/Makefile.am 2007-01-16 17:48:11.000000000 +0100
-@@ -23,8 +23,9 @@
- #
-
- CC = @CC_FOR_BUILD@
-+BUILD_CFLAGS = @BUILD_CFLAGS@
- EXEEXT = @EXEEXT_FOR_BUILD@
--LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
-+LINK = $(CCLD) $(AM_CFLAGS) $(BUILD_CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
-
- INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(FREETYPE_CFLAGS) $(WARN_CFLAGS)
-
-diff -X ../excl -rdup fontconfig-2.4.2.orig/fc-case/Makefile.am fontconfig-2.4.2/fc-case/Makefile.am
---- fontconfig-2.4.2.orig/fc-case/Makefile.am 2006-09-05 11:04:31.000000000 +0200
-+++ fontconfig-2.4.2/fc-case/Makefile.am 2007-01-16 17:48:03.000000000 +0100
-@@ -23,8 +23,9 @@
- #
-
- CC = @CC_FOR_BUILD@
-+BUILD_CFLAGS = @BUILD_CFLAGS@
- EXEEXT = @EXEEXT_FOR_BUILD@
--LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
-+LINK = $(CCLD) $(AM_CFLAGS) $(BUILD_CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
-
- INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(FREETYPE_CFLAGS) $(WARN_CFLAGS)
-
-diff -X ../excl -rdup fontconfig-2.4.2.orig/fc-glyphname/Makefile.am fontconfig-2.4.2/fc-glyphname/Makefile.am
---- fontconfig-2.4.2.orig/fc-glyphname/Makefile.am 2006-09-05 11:04:47.000000000 +0200
-+++ fontconfig-2.4.2/fc-glyphname/Makefile.am 2007-01-16 17:47:37.000000000 +0100
-@@ -23,8 +23,9 @@
- #
-
- CC = @CC_FOR_BUILD@
-+BUILD_CFLAGS = @BUILD_CFLAGS@
- EXEEXT = @EXEEXT_FOR_BUILD@
--LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
-+LINK = $(CCLD) $(AM_CFLAGS) $(BUILD_CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
-
- INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(FREETYPE_CFLAGS) $(WARN_CFLAGS)
-
-diff -X ../excl -rdup fontconfig-2.4.2.orig/fc-lang/Makefile.am fontconfig-2.4.2/fc-lang/Makefile.am
---- fontconfig-2.4.2.orig/fc-lang/Makefile.am 2006-09-05 11:03:45.000000000 +0200
-+++ fontconfig-2.4.2/fc-lang/Makefile.am 2007-01-16 17:47:49.000000000 +0100
-@@ -23,8 +23,9 @@
- #
-
- CC = @CC_FOR_BUILD@
-+BUILD_CFLAGS = @BUILD_CFLAGS@
- EXEEXT = @EXEEXT_FOR_BUILD@
--LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
-+LINK = $(CCLD) $(AM_CFLAGS) $(BUILD_CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
-
- INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(FREETYPE_CFLAGS) $(WARN_CFLAGS)
-
Deleted: trunk/buildroot/package/fontconfig/003-autoreconf.patch
===================================================================
--- trunk/buildroot/package/fontconfig/003-autoreconf.patch 2007-08-09 08:27:24 UTC (rev 19421)
+++ trunk/buildroot/package/fontconfig/003-autoreconf.patch 2007-08-10 14:44:48 UTC (rev 19422)
@@ -1,275 +0,0 @@
-diff -rdup fontconfig-2.4.2.orig/Makefile.in fontconfig-2.4.2/Makefile.in
---- fontconfig-2.4.2.orig/Makefile.in 2006-12-03 00:27:34.000000000 +0100
-+++ fontconfig-2.4.2/Makefile.in 2007-01-16 18:08:30.000000000 +0100
-@@ -122,6 +122,7 @@ AWK = @AWK@
- CC = @CC@
- CCDEPMODE = @CCDEPMODE@
- CC_FOR_BUILD = @CC_FOR_BUILD@
-+BUILD_CFLAGS = @BUILD_CFLAGS@
- CFLAGS = @CFLAGS@
- CONFDIR = @CONFDIR@
- CPP = @CPP@
-diff -rdup fontconfig-2.4.2.orig/doc/Makefile.in fontconfig-2.4.2/doc/Makefile.in
---- fontconfig-2.4.2.orig/doc/Makefile.in 2006-12-03 00:27:32.000000000 +0100
-+++ fontconfig-2.4.2/doc/Makefile.in 2007-01-16 18:10:09.000000000 +0100
-@@ -79,10 +79,10 @@ DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(t
- depcomp = $(SHELL) $(top_srcdir)/depcomp
- am__depfiles_maybe = depfiles
- COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
-- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
-+ $(CPPFLAGS) $(AM_CFLAGS) $(BUILD_CFLAGS)
- LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
-- $(AM_CFLAGS) $(CFLAGS)
-+ $(AM_CFLAGS) $(BUILD_CFLAGS)
- CCLD = $(CC)
- SOURCES = $(edit_sgml_SOURCES)
- DIST_SOURCES = $(edit_sgml_SOURCES)
-@@ -118,6 +118,7 @@ AWK = @AWK@
- CC = @CC_FOR_BUILD@
- CCDEPMODE = @CCDEPMODE@
- CC_FOR_BUILD = @CC_FOR_BUILD@
-+BUILD_CFLAGS = @BUILD_CFLAGS@
- CFLAGS = @CFLAGS@
- CONFDIR = @CONFDIR@
- CPP = @CPP@
-@@ -254,7 +255,7 @@ sbindir = @sbindir@
- sharedstatedir = @sharedstatedir@
- sysconfdir = @sysconfdir@
- target_alias = @target_alias@
--LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
-+LINK = $(CCLD) $(AM_CFLAGS) $(BUILD_CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
- DOC_SRC = $(srcdir)
- DOC_MODULE = fontconfig
- DOC2HTML = docbook2html
-diff -rdup fontconfig-2.4.2.orig/fc-arch/Makefile.in fontconfig-2.4.2/fc-arch/Makefile.in
---- fontconfig-2.4.2.orig/fc-arch/Makefile.in 2006-12-03 00:27:32.000000000 +0100
-+++ fontconfig-2.4.2/fc-arch/Makefile.in 2007-01-16 18:24:19.000000000 +0100
-@@ -80,10 +80,10 @@ DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(t
- depcomp = $(SHELL) $(top_srcdir)/depcomp
- am__depfiles_maybe = depfiles
- COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
-- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
-+ $(CPPFLAGS) $(AM_CFLAGS) $(BUILD_CFLAGS)
- LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
-- $(AM_CFLAGS) $(CFLAGS)
-+ $(AM_CFLAGS) $(BUILD_CFLAGS)
- CCLD = $(CC)
- SOURCES = fc-arch.c
- DIST_SOURCES = fc-arch.c
-@@ -105,6 +105,7 @@ AWK = @AWK@
- CC = @CC_FOR_BUILD@
- CCDEPMODE = @CCDEPMODE@
- CC_FOR_BUILD = @CC_FOR_BUILD@
-+BUILD_CFLAGS = @BUILD_CFLAGS@
- CFLAGS = @CFLAGS@
- CONFDIR = @CONFDIR@
- CPP = @CPP@
-@@ -241,7 +242,7 @@ sbindir = @sbindir@
- sharedstatedir = @sharedstatedir@
- sysconfdir = @sysconfdir@
- target_alias = @target_alias@
--LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
-+LINK = $(CCLD) $(AM_CFLAGS) $(BUILD_CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
- INCLUDES = -I${top_srcdir}/src -I${top_srcdir} $(FREETYPE_CFLAGS) $(WARN_CFLAGS)
- TMPL = fcarch.tmpl.h
- STMPL = ${top_srcdir}/fc-arch/fcarch.tmpl.h
-diff -rdup fontconfig-2.4.2.orig/fc-case/Makefile.in fontconfig-2.4.2/fc-case/Makefile.in
---- fontconfig-2.4.2.orig/fc-case/Makefile.in 2006-12-03 00:27:32.000000000 +0100
-+++ fontconfig-2.4.2/fc-case/Makefile.in 2007-01-16 18:23:16.000000000 +0100
-@@ -80,10 +80,10 @@ DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(t
- depcomp = $(SHELL) $(top_srcdir)/depcomp
- am__depfiles_maybe = depfiles
- COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
-- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
-+ $(CPPFLAGS) $(AM_CFLAGS) $(BUILD_CFLAGS)
- LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
-- $(AM_CFLAGS) $(CFLAGS)
-+ $(AM_CFLAGS) $(BUILD_CFLAGS)
- CCLD = $(CC)
- SOURCES = fc-case.c
- DIST_SOURCES = fc-case.c
-@@ -105,6 +105,7 @@ AWK = @AWK@
- CC = @CC_FOR_BUILD@
- CCDEPMODE = @CCDEPMODE@
- CC_FOR_BUILD = @CC_FOR_BUILD@
-+BUILD_CFLAGS = @BUILD_CFLAGS@
- CFLAGS = @CFLAGS@
- CONFDIR = @CONFDIR@
- CPP = @CPP@
-@@ -241,7 +242,7 @@ sbindir = @sbindir@
- sharedstatedir = @sharedstatedir@
- sysconfdir = @sysconfdir@
- target_alias = @target_alias@
--LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
-+LINK = $(CCLD) $(AM_CFLAGS) $(BUILD_CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
- INCLUDES = -I${top_srcdir}/src -I${top_srcdir} $(FREETYPE_CFLAGS) $(WARN_CFLAGS)
- TMPL = fccase.tmpl.h
- STMPL = ${top_srcdir}/fc-case/${TMPL}
-diff -rdup fontconfig-2.4.2.orig/fc-cat/Makefile.in fontconfig-2.4.2/fc-cat/Makefile.in
---- fontconfig-2.4.2.orig/fc-cat/Makefile.in 2006-12-03 00:27:32.000000000 +0100
-+++ fontconfig-2.4.2/fc-cat/Makefile.in 2007-01-16 18:13:33.000000000 +0100
-@@ -110,6 +110,7 @@ AWK = @AWK@
- CC = @CC@
- CCDEPMODE = @CCDEPMODE@
- CC_FOR_BUILD = @CC_FOR_BUILD@
-+BUILD_CFLAGS = @BUILD_CFLAGS@
- CFLAGS = @CFLAGS@
- CONFDIR = @CONFDIR@
- CPP = @CPP@
-diff -rdup fontconfig-2.4.2.orig/fc-glyphname/Makefile.in fontconfig-2.4.2/fc-glyphname/Makefile.in
---- fontconfig-2.4.2.orig/fc-glyphname/Makefile.in 2006-12-03 00:27:33.000000000 +0100
-+++ fontconfig-2.4.2/fc-glyphname/Makefile.in 2007-01-16 18:10:59.000000000 +0100
-@@ -80,10 +80,10 @@ DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(t
- depcomp = $(SHELL) $(top_srcdir)/depcomp
- am__depfiles_maybe = depfiles
- COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
-- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
-+ $(CPPFLAGS) $(AM_CFLAGS) $(BUILD_CFLAGS)
- LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
-- $(AM_CFLAGS) $(CFLAGS)
-+ $(AM_CFLAGS) $(BUILD_CFLAGS)
- CCLD = $(CC)
- SOURCES = fc-glyphname.c
- DIST_SOURCES = fc-glyphname.c
-@@ -105,6 +105,7 @@ AWK = @AWK@
- CC = @CC_FOR_BUILD@
- CCDEPMODE = @CCDEPMODE@
- CC_FOR_BUILD = @CC_FOR_BUILD@
-+BUILD_CFLAGS = @BUILD_CFLAGS@
- CFLAGS = @CFLAGS@
- CONFDIR = @CONFDIR@
- CPP = @CPP@
-@@ -241,7 +242,7 @@ sbindir = @sbindir@
- sharedstatedir = @sharedstatedir@
- sysconfdir = @sysconfdir@
- target_alias = @target_alias@
--LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
-+LINK = $(CCLD) $(AM_CFLAGS) $(BUILD_CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
- INCLUDES = -I${top_srcdir}/src -I${top_srcdir} $(FREETYPE_CFLAGS) $(WARN_CFLAGS)
- TMPL = fcglyphname.tmpl.h
- STMPL = ${top_srcdir}/fc-glyphname/${TMPL}
-diff -rdup fontconfig-2.4.2.orig/fc-list/Makefile.in fontconfig-2.4.2/fc-list/Makefile.in
---- fontconfig-2.4.2.orig/fc-list/Makefile.in 2006-12-03 00:27:33.000000000 +0100
-+++ fontconfig-2.4.2/fc-list/Makefile.in 2007-01-16 18:20:18.000000000 +0100
-@@ -110,6 +110,7 @@ AWK = @AWK@
- CC = @CC@
- CCDEPMODE = @CCDEPMODE@
- CC_FOR_BUILD = @CC_FOR_BUILD@
-+BUILD_CFLAGS = @BUILD_CFLAGS@
- CFLAGS = @CFLAGS@
- CONFDIR = @CONFDIR@
- CPP = @CPP@
-diff -rdup fontconfig-2.4.2.orig/fontconfig/Makefile.in fontconfig-2.4.2/fontconfig/Makefile.in
---- fontconfig-2.4.2.orig/fontconfig/Makefile.in 2006-12-03 00:27:33.000000000 +0100
-+++ fontconfig-2.4.2/fontconfig/Makefile.in 2007-01-16 18:12:57.000000000 +0100
-@@ -74,6 +74,7 @@ AWK = @AWK@
- CC = @CC@
- CCDEPMODE = @CCDEPMODE@
- CC_FOR_BUILD = @CC_FOR_BUILD@
-+BUILD_CFLAGS = @BUILD_CFLAGS@
- CFLAGS = @CFLAGS@
- CONFDIR = @CONFDIR@
- CPP = @CPP@
-diff -rdup fontconfig-2.4.2.orig/src/Makefile.in fontconfig-2.4.2/src/Makefile.in
---- fontconfig-2.4.2.orig/src/Makefile.in 2006-12-03 00:27:33.000000000 +0100
-+++ fontconfig-2.4.2/src/Makefile.in 2007-01-16 18:21:17.000000000 +0100
-@@ -119,6 +119,7 @@ AWK = @AWK@
- CC = @CC@
- CCDEPMODE = @CCDEPMODE@
- CC_FOR_BUILD = @CC_FOR_BUILD@
-+BUILD_CFLAGS = @BUILD_CFLAGS@
- CFLAGS = @CFLAGS@
- CONFDIR = @CONFDIR@
- CPP = @CPP@
---- fontconfig-2.4.2.orig/conf.d/Makefile.in 2006-12-03 00:27:31.000000000 +0100
-+++ fontconfig-2.4.2/conf.d/Makefile.in 2007-01-16 18:35:32.000000000 +0100
-@@ -94,6 +94,7 @@ AWK = @AWK@
- CC = @CC@
- CCDEPMODE = @CCDEPMODE@
- CC_FOR_BUILD = @CC_FOR_BUILD@
-+BUILD_CFLAGS = @BUILD_CFLAGS@
- CFLAGS = @CFLAGS@
- CONFDIR = @CONFDIR@
- CPP = @CPP@
---- fontconfig-2.4.2.orig/fc-lang/Makefile.in 2006-12-03 00:27:33.000000000 +0100
-+++ fontconfig-2.4.2/fc-lang/Makefile.in 2007-01-16 18:38:07.000000000 +0100
-@@ -105,6 +105,7 @@ AWK = @AWK@
- CC = @CC_FOR_BUILD@
- CCDEPMODE = @CCDEPMODE@
- CC_FOR_BUILD = @CC_FOR_BUILD@
-+BUILD_CFLAGS = @BUILD_CFLAGS@
- CFLAGS = @CFLAGS@
- CONFDIR = @CONFDIR@
- CPP = @CPP@
---- fontconfig-2.4.2.orig/test/Makefile.in 2006-12-03 00:27:34.000000000 +0100
-+++ fontconfig-2.4.2/test/Makefile.in 2007-01-16 18:38:20.000000000 +0100
-@@ -61,6 +61,7 @@ AWK = @AWK@
- CC = @CC@
- CCDEPMODE = @CCDEPMODE@
- CC_FOR_BUILD = @CC_FOR_BUILD@
-+BUILD_CFLAGS = @BUILD_CFLAGS@
- CFLAGS = @CFLAGS@
- CONFDIR = @CONFDIR@
- CPP = @CPP@
---- fontconfig-2.4.2.orig/fc-cache/Makefile.in 2006-12-03 00:27:32.000000000 +0100
-+++ fontconfig-2.4.2/fc-cache/Makefile.in 2007-01-16 18:38:26.000000000 +0100
-@@ -110,6 +110,7 @@ AWK = @AWK@
- CC = @CC@
- CCDEPMODE = @CCDEPMODE@
- CC_FOR_BUILD = @CC_FOR_BUILD@
-+BUILD_CFLAGS = @BUILD_CFLAGS@
- CFLAGS = @CFLAGS@
- CONFDIR = @CONFDIR@
- CPP = @CPP@
---- fontconfig-2.4.2.orig/fc-match/Makefile.in 2006-12-03 00:27:33.000000000 +0100
-+++ fontconfig-2.4.2/fc-match/Makefile.in 2007-01-16 18:40:17.000000000 +0100
-@@ -110,6 +110,7 @@ AWK = @AWK@
- CC = @CC@
- CCDEPMODE = @CCDEPMODE@
- CC_FOR_BUILD = @CC_FOR_BUILD@
-+BUILD_CFLAGS = @BUILD_CFLAGS@
- CFLAGS = @CFLAGS@
- CONFDIR = @CONFDIR@
- CPP = @CPP@
---- fontconfig-2.4.2.orig/configure 2006-12-03 00:27:35.000000000 +0100
-+++ fontconfig-2.4.2/configure 2007-01-16 18:54:49.000000000 +0100
-@@ -871,6 +871,7 @@ WARN_CFLAGS
- CROSS_COMPILING_TRUE
- CROSS_COMPILING_FALSE
- CC_FOR_BUILD
-+BUILD_CFLAGS
- EXEEXT_FOR_BUILD
- ARCHITECTURE
- ICONV_LIBS
-@@ -20231,7 +20232,9 @@ else
- CROSS_COMPILING_FALSE=
- fi
-
--
-+if test "x$BUILD_CFLAGS" = "x"; then
-+ BUILD_CFLAGS="-O2 "
-+fi
-
- # Setup for compiling build tools (fc-glyphname, etc)
- { echo "$as_me:$LINENO: checking for a C compiler for build tools" >&5
-@@ -24541,6 +24544,7 @@ WARN_CFLAGS!$WARN_CFLAGS$ac_delim
- CROSS_COMPILING_TRUE!$CROSS_COMPILING_TRUE$ac_delim
- CROSS_COMPILING_FALSE!$CROSS_COMPILING_FALSE$ac_delim
- CC_FOR_BUILD!$CC_FOR_BUILD$ac_delim
-+BUILD_CFLAGS!$BUILD_CFLAGS$ac_delim
- EXEEXT_FOR_BUILD!$EXEEXT_FOR_BUILD$ac_delim
- ARCHITECTURE!$ARCHITECTURE$ac_delim
- ICONV_LIBS!$ICONV_LIBS$ac_delim
-@@ -24575,7 +24579,7 @@ LIBOBJS!$LIBOBJS$ac_delim
- LTLIBOBJS!$LTLIBOBJS$ac_delim
- _ACEOF
-
-- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 54; then
-+ if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 55; then
- break
- elif $ac_last_try; then
- { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/fontconfig
@ 2007-08-12 12:06 ulf at uclibc.org
0 siblings, 0 replies; 19+ messages in thread
From: ulf at uclibc.org @ 2007-08-12 12:06 UTC (permalink / raw)
To: buildroot
Author: ulf
Date: 2007-08-12 05:05:55 -0700 (Sun, 12 Aug 2007)
New Revision: 19459
Log:
Make paths to expat available to fontconfig
Modified:
trunk/buildroot/package/fontconfig/fontconfig.mk
Changeset:
Modified: trunk/buildroot/package/fontconfig/fontconfig.mk
===================================================================
--- trunk/buildroot/package/fontconfig/fontconfig.mk 2007-08-12 11:59:51 UTC (rev 19458)
+++ trunk/buildroot/package/fontconfig/fontconfig.mk 2007-08-12 12:05:55 UTC (rev 19459)
@@ -53,6 +53,9 @@
--mandir=/usr/man \
--infodir=/usr/info \
--with-freetype-config="$(STAGING_DIR)/usr/bin/freetype-config" \
+ --with-expat="$(STAGING_DIR)/usr/lib" \
+ --with-expat-lib=$(STAGING_DIR)/usr/lib \
+ --with-expat-includes=$(STAGING_DIR)/usr/include \
--disable-docs \
)
touch $@
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/fontconfig
@ 2008-03-06 18:09 ninevoltz at uclibc.org
0 siblings, 0 replies; 19+ messages in thread
From: ninevoltz at uclibc.org @ 2008-03-06 18:09 UTC (permalink / raw)
To: buildroot
Author: ninevoltz
Date: 2008-03-06 10:09:37 -0800 (Thu, 06 Mar 2008)
New Revision: 21192
Log:
updated fontconfig
Added:
trunk/buildroot/package/fontconfig/fontconfig-2.4.2-fc-lang.patch
trunk/buildroot/package/fontconfig/fontconfig-2.4.2-host-tools.patch
trunk/buildroot/package/fontconfig/fontconfig-2.4.2-libdir-la.patch
Removed:
trunk/buildroot/package/fontconfig/fc-lang.patch
trunk/buildroot/package/fontconfig/host-tools.patch
trunk/buildroot/package/fontconfig/libdir-la.patch
Modified:
trunk/buildroot/package/fontconfig/Config.in
trunk/buildroot/package/fontconfig/fontconfig.mk
Changeset:
Modified: trunk/buildroot/package/fontconfig/Config.in
===================================================================
--- trunk/buildroot/package/fontconfig/Config.in 2008-03-06 18:09:12 UTC (rev 21191)
+++ trunk/buildroot/package/fontconfig/Config.in 2008-03-06 18:09:37 UTC (rev 21192)
@@ -4,5 +4,6 @@
select BR2_PACKAGE_EXPAT
default n
help
-
+ a library for font customization and configuration.
+
http://www.fontconfig.org/
Deleted: trunk/buildroot/package/fontconfig/fc-lang.patch
===================================================================
--- trunk/buildroot/package/fontconfig/fc-lang.patch 2008-03-06 18:09:12 UTC (rev 21191)
+++ trunk/buildroot/package/fontconfig/fc-lang.patch 2008-03-06 18:09:37 UTC (rev 21192)
@@ -1,33 +0,0 @@
---- fontconfig-2.4.2/fc-lang/fc-lang.orig.c 2007-02-03 13:39:49.000000000 -0700
-+++ fontconfig-2.4.2/fc-lang/fc-lang.c 2007-02-03 13:46:08.000000000 -0700
-@@ -116,6 +116,20 @@
- return f;
- }
-
-+char* trim(char *s)
-+{
-+ int len = strlen(s);
-+
-+ /* nuke trailing whitespace */
-+ while (len > 0 && (isspace(s[len - 1]) || s[len - 1]=='\n'))
-+ s[--len] = '\0';
-+
-+ /* skip leading whitespace */
-+ s += strspn(s, " \n\r\t\v");
-+
-+ return s;
-+}
-+
- /*
- * build a single charset from a source file
- *
-@@ -142,8 +156,7 @@
- if (!file)
- fatal (line, lineno,
- "invalid syntax, expected: include filename");
-- while (isspace(*file))
-- file++;
-+ file = trim(file);
- f = scanopen (file);
- if (!f)
- fatal (file, 0, "can't open");
Added: trunk/buildroot/package/fontconfig/fontconfig-2.4.2-fc-lang.patch
===================================================================
--- trunk/buildroot/package/fontconfig/fontconfig-2.4.2-fc-lang.patch (rev 0)
+++ trunk/buildroot/package/fontconfig/fontconfig-2.4.2-fc-lang.patch 2008-03-06 18:09:37 UTC (rev 21192)
@@ -0,0 +1,33 @@
+--- fontconfig-2.4.2/fc-lang/fc-lang.orig.c 2007-02-03 13:39:49.000000000 -0700
++++ fontconfig-2.4.2/fc-lang/fc-lang.c 2007-02-03 13:46:08.000000000 -0700
+@@ -116,6 +116,20 @@
+ return f;
+ }
+
++char* trim(char *s)
++{
++ int len = strlen(s);
++
++ /* nuke trailing whitespace */
++ while (len > 0 && (isspace(s[len - 1]) || s[len - 1]=='\n'))
++ s[--len] = '\0';
++
++ /* skip leading whitespace */
++ s += strspn(s, " \n\r\t\v");
++
++ return s;
++}
++
+ /*
+ * build a single charset from a source file
+ *
+@@ -142,8 +156,7 @@
+ if (!file)
+ fatal (line, lineno,
+ "invalid syntax, expected: include filename");
+- while (isspace(*file))
+- file++;
++ file = trim(file);
+ f = scanopen (file);
+ if (!f)
+ fatal (file, 0, "can't open");
Added: trunk/buildroot/package/fontconfig/fontconfig-2.4.2-host-tools.patch
===================================================================
--- trunk/buildroot/package/fontconfig/fontconfig-2.4.2-host-tools.patch (rev 0)
+++ trunk/buildroot/package/fontconfig/fontconfig-2.4.2-host-tools.patch 2008-03-06 18:09:37 UTC (rev 21192)
@@ -0,0 +1,95 @@
+--- fontconfig-2.4.2/fc-lang/Makefile.am.orig 2007-06-24 07:02:54.000000000 +0200
++++ fontconfig-2.4.2/fc-lang/Makefile.am 2007-06-24 07:05:14.000000000 +0200
+@@ -23,10 +23,16 @@
+ #
+
+ CC = @CC_FOR_BUILD@
++LD = @CC_FOR_BUILD@
++AM_CPPFLAGS =
++AM_CFLAGS = @CFLAGS_FOR_BUILD@
++AM_LDFLAGS = @LDFLAGS_FOR_BUILD@
+ EXEEXT = @EXEEXT_FOR_BUILD@
+-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++ $(AM_CFLAGS)
++LINK = $(LD) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@
+
+-INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(FREETYPE_CFLAGS) $(WARN_CFLAGS)
++INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(WARN_CFLAGS)
+
+ TMPL=fclang.tmpl.h
+ STMPL=${top_srcdir}/fc-lang/fclang.tmpl.h
+--- fontconfig-2.4.2/fc-case/Makefile.am.orig 2007-06-24 07:02:54.000000000 +0200
++++ fontconfig-2.4.2/fc-case/Makefile.am 2007-06-24 07:05:14.000000000 +0200
+@@ -23,10 +23,16 @@
+ #
+
+ CC = @CC_FOR_BUILD@
++LD = @CC_FOR_BUILD@
++AM_CPPFLAGS =
++AM_CFLAGS = @CFLAGS_FOR_BUILD@
++AM_LDFLAGS = @LDFLAGS_FOR_BUILD@
+ EXEEXT = @EXEEXT_FOR_BUILD@
+-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++ $(AM_CFLAGS)
++LINK = $(LD) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@
+
+-INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(FREETYPE_CFLAGS) $(WARN_CFLAGS)
++INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(WARN_CFLAGS)
+
+ TMPL=fccase.tmpl.h
+ STMPL=${top_srcdir}/fc-case/${TMPL}
+--- fontconfig-2.4.2/fc-glyphname/Makefile.am.orig 2007-06-24 07:02:54.000000000 +0200
++++ fontconfig-2.4.2/fc-glyphname/Makefile.am 2007-06-24 07:05:14.000000000 +0200
+@@ -23,10 +23,16 @@
+ #
+
+ CC = @CC_FOR_BUILD@
++LD = @CC_FOR_BUILD@
++AM_CPPFLAGS =
++AM_CFLAGS = @CFLAGS_FOR_BUILD@
++AM_LDFLAGS = @LDFLAGS_FOR_BUILD@
+ EXEEXT = @EXEEXT_FOR_BUILD@
+-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++ $(AM_CFLAGS)
++LINK = $(LD) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@
+
+-INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(FREETYPE_CFLAGS) $(WARN_CFLAGS)
++INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(WARN_CFLAGS)
+
+ TMPL=fcglyphname.tmpl.h
+ STMPL=${top_srcdir}/fc-glyphname/${TMPL}
+--- fontconfig-2.4.2/configure.in.orig 2007-06-24 07:02:54.000000000 +0200
++++ fontconfig-2.4.2/configure.in 2007-06-24 07:02:59.000000000 +0200
+@@ -101,6 +101,8 @@
+ AC_MSG_CHECKING([for a C compiler for build tools])
+ if test $cross_compiling = yes; then
+ AC_CHECK_PROGS(CC_FOR_BUILD, gcc cc)
++ AC_SUBST(CFLAGS_FOR_BUILD)
++ AC_SUBST(LDFLAGS_FOR_BUILD)
+ else
+ CC_FOR_BUILD=$CC
+ fi
+--- fontconfig-2.4.2/fc-arch/Makefile.am.orig 2007-06-24 07:02:54.000000000 +0200
++++ fontconfig-2.4.2/fc-arch/Makefile.am 2007-06-24 07:05:14.000000000 +0200
+@@ -23,10 +23,16 @@
+ #
+
+ CC = @CC_FOR_BUILD@
++LD = @CC_FOR_BUILD@
++AM_CPPFLAGS =
++AM_CFLAGS = @CFLAGS_FOR_BUILD@
++AM_LDFLAGS = @LDFLAGS_FOR_BUILD@
+ EXEEXT = @EXEEXT_FOR_BUILD@
+-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++ $(AM_CFLAGS)
++LINK = $(LD) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@
+
+-INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(FREETYPE_CFLAGS) $(WARN_CFLAGS)
++INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(WARN_CFLAGS)
+
+ TMPL=fcarch.tmpl.h
+ STMPL=${top_srcdir}/fc-arch/fcarch.tmpl.h
Added: trunk/buildroot/package/fontconfig/fontconfig-2.4.2-libdir-la.patch
===================================================================
--- trunk/buildroot/package/fontconfig/fontconfig-2.4.2-libdir-la.patch (rev 0)
+++ trunk/buildroot/package/fontconfig/fontconfig-2.4.2-libdir-la.patch 2008-03-06 18:09:37 UTC (rev 21192)
@@ -0,0 +1,77 @@
+--- fontconfig/ltmain.sh.orig 2006-04-20 08:27:27.000000000 -0600
++++ fontconfig/ltmain.sh 2007-01-13 14:26:01.000000000 -0700
+@@ -273,8 +273,9 @@
+ # line option must be used.
+ if test -z "$tagname"; then
+ $echo "$modename: unable to infer tagged configuration"
+- $echo "$modename: specify a tag with \`--tag'" 1>&2
+- exit $EXIT_FAILURE
++ $echo "$modename: defaulting to \`CC'"
++ $echo "$modename: if this is not correct, specify a tag with \`--tag'"
++# exit $EXIT_FAILURE
+ # else
+ # $echo "$modename: using $tagname tagged configuration"
+ fi
+@@ -2404,8 +2405,14 @@
+ absdir="$abs_ladir"
+ libdir="$abs_ladir"
+ else
+- dir="$libdir"
+- absdir="$libdir"
++ # Adding 'libdir' from the .la file to our library search paths
++ # breaks crosscompilation horribly. We cheat here and don't add
++ # it, instead adding the path where we found the .la. -CL
++ dir="$abs_ladir"
++ absdir="$abs_ladir"
++ libdir="$abs_ladir"
++ #dir="$libdir"
++ #absdir="$libdir"
+ fi
+ test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes
+ else
+@@ -2886,6 +2893,16 @@
+ esac
+ if grep "^installed=no" $deplib > /dev/null; then
+ path="$absdir/$objdir"
++# This interferes with crosscompilation. -CL
++# else
++# eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
++# if test -z "$libdir"; then
++# $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
++# exit 1
++# fi
++# if test "$absdir" != "$libdir"; then
++# $echo "$modename: warning: \`$deplib' seems to be moved" 1>&2
++# fi
+ else
+ eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
+ if test -z "$libdir"; then
+@@ -5598,6 +5615,10 @@
+ # Replace all uninstalled libtool libraries with the installed ones
+ newdependency_libs=
+ for deplib in $dependency_libs; do
++ # Replacing uninstalled with installed can easily break crosscompilation,
++ # since the installed path is generally the wrong architecture. -CL
++ newdependency_libs="$newdependency_libs $deplib"
++ continue
+ case $deplib in
+ *.la)
+ name=`$echo "X$deplib" | $Xsed -e 's%^.*/%%'`
+@@ -5919,10 +5940,13 @@
+ # At present, this check doesn't affect windows .dll's that
+ # are installed into $libdir/../bin (currently, that works fine)
+ # but it's something to keep an eye on.
+- if test "$inst_prefix_dir" = "$destdir"; then
+- $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2
+- exit $EXIT_FAILURE
+- fi
++ #
++ # This breaks install into our staging area. -PB
++ #
++ # if test "$inst_prefix_dir" = "$destdir"; then
++ # $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2
++ # exit $EXIT_FAILURE
++ # fi
+
+ if test -n "$inst_prefix_dir"; then
+ # Stick the inst_prefix_dir data into the link command.
Modified: trunk/buildroot/package/fontconfig/fontconfig.mk
===================================================================
--- trunk/buildroot/package/fontconfig/fontconfig.mk 2008-03-06 18:09:12 UTC (rev 21191)
+++ trunk/buildroot/package/fontconfig/fontconfig.mk 2008-03-06 18:09:37 UTC (rev 21192)
@@ -3,99 +3,29 @@
# fontconfig
#
#############################################################
-FONTCONFIG_VERSION:=2.4.2
-FONTCONFIG_SOURCE:=fontconfig-$(FONTCONFIG_VERSION).tar.gz
-FONTCONFIG_SITE:=http://fontconfig.org/release
-FONTCONFIG_CAT:=$(ZCAT)
-FONTCONFIG_DIR:=$(BUILD_DIR)/fontconfig-$(FONTCONFIG_VERSION)
+FONTCONFIG_VERSION = 2.4.2
+FONTCONFIG_SOURCE = fontconfig-$(FONTCONFIG_VERSION).tar.gz
+FONTCONFIG_SITE = http://fontconfig.org/release
+FONTCONFIG_AUTORECONF = NO
+FONTCONFIG_INSTALL_STAGING = YES
+FONTCONFIG_INSTALL_TARGET = YES
-$(DL_DIR)/$(FONTCONFIG_SOURCE):
- $(WGET) -P $(DL_DIR) $(FONTCONFIG_SITE)/$(FONTCONFIG_SOURCE)
+FONTCONFIG_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
-fontconfig-source: $(DL_DIR)/$(FONTCONFIG_SOURCE)
-
-$(FONTCONFIG_DIR)/.unpacked: $(DL_DIR)/$(FONTCONFIG_SOURCE)
- $(FONTCONFIG_CAT) $(DL_DIR)/$(FONTCONFIG_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
- toolchain/patch-kernel.sh $(FONTCONFIG_DIR) package/fontconfig/ \*.patch*
-# use freetype-host for host tools
- FREETYPE_CFLAGS="$(shell $(FREETYPE_HOST_DIR)/bin/freetype-config --cflags)"; \
- FREETYPE_LIBS="$(shell $(FREETYPE_HOST_DIR)/bin/freetype-config --libs)"; \
- for dir in fc-case fc-glyphname fc-lang fc-arch; \
- do \
- $(SED) "s~^FREETYPE_CFLAGS =.*~FREETYPE_CFLAGS = $$FREETYPE_CFLAGS~" \
- -e "s~^FREETYPE_LIBS =.*~FREETYPE_LIBS = $$FREETYPE_LIBS~" \
- $(FONTCONFIG_DIR)/$$dir/Makefile.in; \
- done
- $(CONFIG_UPDATE) $(FONTCONFIG_DIR)
- touch $@
-
-$(FONTCONFIG_DIR)/.configured: $(FONTCONFIG_DIR)/.unpacked
- (cd $(FONTCONFIG_DIR); rm -rf config.cache; \
- $(AUTORECONF) && \
- $(TARGET_CONFIGURE_OPTS) \
- $(TARGET_CONFIGURE_ARGS) \
- CFLAGS_FOR_BUILD="-I$(FREETYPE_HOST_DIR)/include/freetype2 -I$(FREETYPE_HOST_DIR)/include" \
- ./configure \
- --target=$(GNU_TARGET_NAME) \
- --host=$(GNU_TARGET_NAME) \
- --build=$(GNU_HOST_NAME) \
- --with-arch=$(GNU_TARGET_NAME) \
- --prefix=/usr \
- --exec-prefix=/usr \
- --bindir=/usr/bin \
- --sbindir=/usr/sbin \
- --libdir=/usr/lib \
- --libexecdir=/usr/lib \
- --sysconfdir=/etc \
- --datadir=/usr/share \
- --localstatedir=/var \
- --includedir=/usr/include \
- --mandir=/usr/man \
- --infodir=/usr/info \
+FONTCONFIG_CONF_OPT = --target=$(GNU_TARGET_NAME) --host=$(GNU_TARGET_NAME) \
+ --build=$(GNU_HOST_NAME) --with-arch=$(GNU_TARGET_NAME) \
+ --prefix=/usr --exec-prefix=/usr \
+ --bindir=/usr/bin --sbindir=/usr/sbin \
+ --libdir=/usr/lib --libexecdir=/usr/lib \
+ --sysconfdir=/etc --datadir=/usr/share \
+ --localstatedir=/var --includedir=/usr/include \
+ --mandir=/usr/man --infodir=/usr/info \
--with-freetype-config="$(STAGING_DIR)/usr/bin/freetype-config" \
--with-expat="$(STAGING_DIR)/usr/lib" \
--with-expat-lib=$(STAGING_DIR)/usr/lib \
--with-expat-includes=$(STAGING_DIR)/usr/include \
- --disable-docs \
- )
- touch $@
+ --disable-docs
-$(FONTCONFIG_DIR)/.compiled: $(FONTCONFIG_DIR)/.configured
- $(MAKE) -C $(FONTCONFIG_DIR)
- touch $@
+FONTCONFIG_DEPENDENCIES = uclibc freetype expat
-$(STAGING_DIR)/usr/lib/libfontconfig.so: $(FONTCONFIG_DIR)/.compiled
- $(MAKE) DESTDIR=$(STAGING_DIR) -C $(FONTCONFIG_DIR) install
- $(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" $(STAGING_DIR)/usr/lib/libfontconfig.la
- touch -c $@
-
-$(TARGET_DIR)/usr/lib/libfontconfig.so: $(STAGING_DIR)/usr/lib/libfontconfig.so
- cp -dpf $(STAGING_DIR)/usr/lib/libfontconfig.so* $(TARGET_DIR)/usr/lib/
- mkdir -p $(TARGET_DIR)/etc/fonts
- cp $(STAGING_DIR)/etc/fonts/fonts.conf $(TARGET_DIR)/etc/fonts/
- -$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libfontconfig.so
- mkdir -p $(TARGET_DIR)/var/cache/fontconfig
- mkdir -p $(TARGET_DIR)/usr/bin
- cp -a $(STAGING_DIR)/usr/bin/fc-cache $(TARGET_DIR)/usr/bin/
- -$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/bin/fc-cache
- cp -a $(STAGING_DIR)/usr/bin/fc-list $(TARGET_DIR)/usr/bin/
- -$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/bin/fc-list
- touch -c $@
-
-fontconfig: uclibc freetype host-freetype expat $(TARGET_DIR)/usr/lib/libfontconfig.so
-
-fontconfig-clean:
- $(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(FONTCONFIG_DIR) uninstall
- -$(MAKE) -C $(FONTCONFIG_DIR) clean
-
-fontconfig-dirclean:
- rm -rf $(FONTCONFIG_DIR)
-
-#############################################################
-#
-# Toplevel Makefile options
-#
-#############################################################
-ifeq ($(strip $(BR2_PACKAGE_FONTCONFIG)),y)
-TARGETS+=fontconfig
-endif
+$(eval $(call AUTOTARGETS,package,fontconfig))
Deleted: trunk/buildroot/package/fontconfig/host-tools.patch
===================================================================
--- trunk/buildroot/package/fontconfig/host-tools.patch 2008-03-06 18:09:12 UTC (rev 21191)
+++ trunk/buildroot/package/fontconfig/host-tools.patch 2008-03-06 18:09:37 UTC (rev 21192)
@@ -1,95 +0,0 @@
---- fontconfig-2.4.2/fc-lang/Makefile.am.orig 2007-06-24 07:02:54.000000000 +0200
-+++ fontconfig-2.4.2/fc-lang/Makefile.am 2007-06-24 07:05:14.000000000 +0200
-@@ -23,10 +23,16 @@
- #
-
- CC = @CC_FOR_BUILD@
-+LD = @CC_FOR_BUILD@
-+AM_CPPFLAGS =
-+AM_CFLAGS = @CFLAGS_FOR_BUILD@
-+AM_LDFLAGS = @LDFLAGS_FOR_BUILD@
- EXEEXT = @EXEEXT_FOR_BUILD@
--LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
-+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
-+ $(AM_CFLAGS)
-+LINK = $(LD) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@
-
--INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(FREETYPE_CFLAGS) $(WARN_CFLAGS)
-+INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(WARN_CFLAGS)
-
- TMPL=fclang.tmpl.h
- STMPL=${top_srcdir}/fc-lang/fclang.tmpl.h
---- fontconfig-2.4.2/fc-case/Makefile.am.orig 2007-06-24 07:02:54.000000000 +0200
-+++ fontconfig-2.4.2/fc-case/Makefile.am 2007-06-24 07:05:14.000000000 +0200
-@@ -23,10 +23,16 @@
- #
-
- CC = @CC_FOR_BUILD@
-+LD = @CC_FOR_BUILD@
-+AM_CPPFLAGS =
-+AM_CFLAGS = @CFLAGS_FOR_BUILD@
-+AM_LDFLAGS = @LDFLAGS_FOR_BUILD@
- EXEEXT = @EXEEXT_FOR_BUILD@
--LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
-+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
-+ $(AM_CFLAGS)
-+LINK = $(LD) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@
-
--INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(FREETYPE_CFLAGS) $(WARN_CFLAGS)
-+INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(WARN_CFLAGS)
-
- TMPL=fccase.tmpl.h
- STMPL=${top_srcdir}/fc-case/${TMPL}
---- fontconfig-2.4.2/fc-glyphname/Makefile.am.orig 2007-06-24 07:02:54.000000000 +0200
-+++ fontconfig-2.4.2/fc-glyphname/Makefile.am 2007-06-24 07:05:14.000000000 +0200
-@@ -23,10 +23,16 @@
- #
-
- CC = @CC_FOR_BUILD@
-+LD = @CC_FOR_BUILD@
-+AM_CPPFLAGS =
-+AM_CFLAGS = @CFLAGS_FOR_BUILD@
-+AM_LDFLAGS = @LDFLAGS_FOR_BUILD@
- EXEEXT = @EXEEXT_FOR_BUILD@
--LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
-+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
-+ $(AM_CFLAGS)
-+LINK = $(LD) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@
-
--INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(FREETYPE_CFLAGS) $(WARN_CFLAGS)
-+INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(WARN_CFLAGS)
-
- TMPL=fcglyphname.tmpl.h
- STMPL=${top_srcdir}/fc-glyphname/${TMPL}
---- fontconfig-2.4.2/configure.in.orig 2007-06-24 07:02:54.000000000 +0200
-+++ fontconfig-2.4.2/configure.in 2007-06-24 07:02:59.000000000 +0200
-@@ -101,6 +101,8 @@
- AC_MSG_CHECKING([for a C compiler for build tools])
- if test $cross_compiling = yes; then
- AC_CHECK_PROGS(CC_FOR_BUILD, gcc cc)
-+ AC_SUBST(CFLAGS_FOR_BUILD)
-+ AC_SUBST(LDFLAGS_FOR_BUILD)
- else
- CC_FOR_BUILD=$CC
- fi
---- fontconfig-2.4.2/fc-arch/Makefile.am.orig 2007-06-24 07:02:54.000000000 +0200
-+++ fontconfig-2.4.2/fc-arch/Makefile.am 2007-06-24 07:05:14.000000000 +0200
-@@ -23,10 +23,16 @@
- #
-
- CC = @CC_FOR_BUILD@
-+LD = @CC_FOR_BUILD@
-+AM_CPPFLAGS =
-+AM_CFLAGS = @CFLAGS_FOR_BUILD@
-+AM_LDFLAGS = @LDFLAGS_FOR_BUILD@
- EXEEXT = @EXEEXT_FOR_BUILD@
--LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
-+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
-+ $(AM_CFLAGS)
-+LINK = $(LD) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@
-
--INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(FREETYPE_CFLAGS) $(WARN_CFLAGS)
-+INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(WARN_CFLAGS)
-
- TMPL=fcarch.tmpl.h
- STMPL=${top_srcdir}/fc-arch/fcarch.tmpl.h
Deleted: trunk/buildroot/package/fontconfig/libdir-la.patch
===================================================================
--- trunk/buildroot/package/fontconfig/libdir-la.patch 2008-03-06 18:09:12 UTC (rev 21191)
+++ trunk/buildroot/package/fontconfig/libdir-la.patch 2008-03-06 18:09:37 UTC (rev 21192)
@@ -1,77 +0,0 @@
---- fontconfig/ltmain.sh.orig 2006-04-20 08:27:27.000000000 -0600
-+++ fontconfig/ltmain.sh 2007-01-13 14:26:01.000000000 -0700
-@@ -273,8 +273,9 @@
- # line option must be used.
- if test -z "$tagname"; then
- $echo "$modename: unable to infer tagged configuration"
-- $echo "$modename: specify a tag with \`--tag'" 1>&2
-- exit $EXIT_FAILURE
-+ $echo "$modename: defaulting to \`CC'"
-+ $echo "$modename: if this is not correct, specify a tag with \`--tag'"
-+# exit $EXIT_FAILURE
- # else
- # $echo "$modename: using $tagname tagged configuration"
- fi
-@@ -2404,8 +2405,14 @@
- absdir="$abs_ladir"
- libdir="$abs_ladir"
- else
-- dir="$libdir"
-- absdir="$libdir"
-+ # Adding 'libdir' from the .la file to our library search paths
-+ # breaks crosscompilation horribly. We cheat here and don't add
-+ # it, instead adding the path where we found the .la. -CL
-+ dir="$abs_ladir"
-+ absdir="$abs_ladir"
-+ libdir="$abs_ladir"
-+ #dir="$libdir"
-+ #absdir="$libdir"
- fi
- test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes
- else
-@@ -2886,6 +2893,16 @@
- esac
- if grep "^installed=no" $deplib > /dev/null; then
- path="$absdir/$objdir"
-+# This interferes with crosscompilation. -CL
-+# else
-+# eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
-+# if test -z "$libdir"; then
-+# $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
-+# exit 1
-+# fi
-+# if test "$absdir" != "$libdir"; then
-+# $echo "$modename: warning: \`$deplib' seems to be moved" 1>&2
-+# fi
- else
- eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
- if test -z "$libdir"; then
-@@ -5598,6 +5615,10 @@
- # Replace all uninstalled libtool libraries with the installed ones
- newdependency_libs=
- for deplib in $dependency_libs; do
-+ # Replacing uninstalled with installed can easily break crosscompilation,
-+ # since the installed path is generally the wrong architecture. -CL
-+ newdependency_libs="$newdependency_libs $deplib"
-+ continue
- case $deplib in
- *.la)
- name=`$echo "X$deplib" | $Xsed -e 's%^.*/%%'`
-@@ -5919,10 +5940,13 @@
- # At present, this check doesn't affect windows .dll's that
- # are installed into $libdir/../bin (currently, that works fine)
- # but it's something to keep an eye on.
-- if test "$inst_prefix_dir" = "$destdir"; then
-- $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2
-- exit $EXIT_FAILURE
-- fi
-+ #
-+ # This breaks install into our staging area. -PB
-+ #
-+ # if test "$inst_prefix_dir" = "$destdir"; then
-+ # $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2
-+ # exit $EXIT_FAILURE
-+ # fi
-
- if test -n "$inst_prefix_dir"; then
- # Stick the inst_prefix_dir data into the link command.
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/fontconfig
@ 2008-05-01 19:01 ninevoltz at uclibc.org
0 siblings, 0 replies; 19+ messages in thread
From: ninevoltz at uclibc.org @ 2008-05-01 19:01 UTC (permalink / raw)
To: buildroot
Author: ninevoltz
Date: 2008-05-01 12:01:10 -0700 (Thu, 01 May 2008)
New Revision: 21911
Log:
remove libdir-la.patch, handled by Makefile.autotools.in
Removed:
trunk/buildroot/package/fontconfig/fontconfig-2.4.2-libdir-la.patch
Changeset:
Deleted: trunk/buildroot/package/fontconfig/fontconfig-2.4.2-libdir-la.patch
===================================================================
--- trunk/buildroot/package/fontconfig/fontconfig-2.4.2-libdir-la.patch 2008-05-01 17:15:35 UTC (rev 21910)
+++ trunk/buildroot/package/fontconfig/fontconfig-2.4.2-libdir-la.patch 2008-05-01 19:01:10 UTC (rev 21911)
@@ -1,77 +0,0 @@
---- fontconfig/ltmain.sh.orig 2006-04-20 08:27:27.000000000 -0600
-+++ fontconfig/ltmain.sh 2007-01-13 14:26:01.000000000 -0700
-@@ -273,8 +273,9 @@
- # line option must be used.
- if test -z "$tagname"; then
- $echo "$modename: unable to infer tagged configuration"
-- $echo "$modename: specify a tag with \`--tag'" 1>&2
-- exit $EXIT_FAILURE
-+ $echo "$modename: defaulting to \`CC'"
-+ $echo "$modename: if this is not correct, specify a tag with \`--tag'"
-+# exit $EXIT_FAILURE
- # else
- # $echo "$modename: using $tagname tagged configuration"
- fi
-@@ -2404,8 +2405,14 @@
- absdir="$abs_ladir"
- libdir="$abs_ladir"
- else
-- dir="$libdir"
-- absdir="$libdir"
-+ # Adding 'libdir' from the .la file to our library search paths
-+ # breaks crosscompilation horribly. We cheat here and don't add
-+ # it, instead adding the path where we found the .la. -CL
-+ dir="$abs_ladir"
-+ absdir="$abs_ladir"
-+ libdir="$abs_ladir"
-+ #dir="$libdir"
-+ #absdir="$libdir"
- fi
- test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes
- else
-@@ -2886,6 +2893,16 @@
- esac
- if grep "^installed=no" $deplib > /dev/null; then
- path="$absdir/$objdir"
-+# This interferes with crosscompilation. -CL
-+# else
-+# eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
-+# if test -z "$libdir"; then
-+# $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
-+# exit 1
-+# fi
-+# if test "$absdir" != "$libdir"; then
-+# $echo "$modename: warning: \`$deplib' seems to be moved" 1>&2
-+# fi
- else
- eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
- if test -z "$libdir"; then
-@@ -5598,6 +5615,10 @@
- # Replace all uninstalled libtool libraries with the installed ones
- newdependency_libs=
- for deplib in $dependency_libs; do
-+ # Replacing uninstalled with installed can easily break crosscompilation,
-+ # since the installed path is generally the wrong architecture. -CL
-+ newdependency_libs="$newdependency_libs $deplib"
-+ continue
- case $deplib in
- *.la)
- name=`$echo "X$deplib" | $Xsed -e 's%^.*/%%'`
-@@ -5919,10 +5940,13 @@
- # At present, this check doesn't affect windows .dll's that
- # are installed into $libdir/../bin (currently, that works fine)
- # but it's something to keep an eye on.
-- if test "$inst_prefix_dir" = "$destdir"; then
-- $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2
-- exit $EXIT_FAILURE
-- fi
-+ #
-+ # This breaks install into our staging area. -PB
-+ #
-+ # if test "$inst_prefix_dir" = "$destdir"; then
-+ # $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2
-+ # exit $EXIT_FAILURE
-+ # fi
-
- if test -n "$inst_prefix_dir"; then
- # Stick the inst_prefix_dir data into the link command.
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/fontconfig
@ 2008-06-26 14:04 jacmet at uclibc.org
0 siblings, 0 replies; 19+ messages in thread
From: jacmet at uclibc.org @ 2008-06-26 14:04 UTC (permalink / raw)
To: buildroot
Author: jacmet
Date: 2008-06-26 07:04:39 -0700 (Thu, 26 Jun 2008)
New Revision: 22519
Log:
fontconfig: bump version
Removed:
trunk/buildroot/package/fontconfig/fontconfig-2.4.2-fc-lang.patch
trunk/buildroot/package/fontconfig/fontconfig-2.4.2-host-tools.patch
Modified:
trunk/buildroot/package/fontconfig/fontconfig.mk
Changeset:
Deleted: trunk/buildroot/package/fontconfig/fontconfig-2.4.2-fc-lang.patch
===================================================================
--- trunk/buildroot/package/fontconfig/fontconfig-2.4.2-fc-lang.patch 2008-06-26 14:04:30 UTC (rev 22518)
+++ trunk/buildroot/package/fontconfig/fontconfig-2.4.2-fc-lang.patch 2008-06-26 14:04:39 UTC (rev 22519)
@@ -1,33 +0,0 @@
---- fontconfig-2.4.2/fc-lang/fc-lang.orig.c 2007-02-03 13:39:49.000000000 -0700
-+++ fontconfig-2.4.2/fc-lang/fc-lang.c 2007-02-03 13:46:08.000000000 -0700
-@@ -116,6 +116,20 @@
- return f;
- }
-
-+char* trim(char *s)
-+{
-+ int len = strlen(s);
-+
-+ /* nuke trailing whitespace */
-+ while (len > 0 && (isspace(s[len - 1]) || s[len - 1]=='\n'))
-+ s[--len] = '\0';
-+
-+ /* skip leading whitespace */
-+ s += strspn(s, " \n\r\t\v");
-+
-+ return s;
-+}
-+
- /*
- * build a single charset from a source file
- *
-@@ -142,8 +156,7 @@
- if (!file)
- fatal (line, lineno,
- "invalid syntax, expected: include filename");
-- while (isspace(*file))
-- file++;
-+ file = trim(file);
- f = scanopen (file);
- if (!f)
- fatal (file, 0, "can't open");
Deleted: trunk/buildroot/package/fontconfig/fontconfig-2.4.2-host-tools.patch
===================================================================
--- trunk/buildroot/package/fontconfig/fontconfig-2.4.2-host-tools.patch 2008-06-26 14:04:30 UTC (rev 22518)
+++ trunk/buildroot/package/fontconfig/fontconfig-2.4.2-host-tools.patch 2008-06-26 14:04:39 UTC (rev 22519)
@@ -1,95 +0,0 @@
---- fontconfig-2.4.2/fc-lang/Makefile.am.orig 2007-06-24 07:02:54.000000000 +0200
-+++ fontconfig-2.4.2/fc-lang/Makefile.am 2007-06-24 07:05:14.000000000 +0200
-@@ -23,10 +23,16 @@
- #
-
- CC = @CC_FOR_BUILD@
-+LD = @CC_FOR_BUILD@
-+AM_CPPFLAGS =
-+AM_CFLAGS = @CFLAGS_FOR_BUILD@
-+AM_LDFLAGS = @LDFLAGS_FOR_BUILD@
- EXEEXT = @EXEEXT_FOR_BUILD@
--LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
-+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
-+ $(AM_CFLAGS)
-+LINK = $(LD) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@
-
--INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(FREETYPE_CFLAGS) $(WARN_CFLAGS)
-+INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(WARN_CFLAGS)
-
- TMPL=fclang.tmpl.h
- STMPL=${top_srcdir}/fc-lang/fclang.tmpl.h
---- fontconfig-2.4.2/fc-case/Makefile.am.orig 2007-06-24 07:02:54.000000000 +0200
-+++ fontconfig-2.4.2/fc-case/Makefile.am 2007-06-24 07:05:14.000000000 +0200
-@@ -23,10 +23,16 @@
- #
-
- CC = @CC_FOR_BUILD@
-+LD = @CC_FOR_BUILD@
-+AM_CPPFLAGS =
-+AM_CFLAGS = @CFLAGS_FOR_BUILD@
-+AM_LDFLAGS = @LDFLAGS_FOR_BUILD@
- EXEEXT = @EXEEXT_FOR_BUILD@
--LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
-+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
-+ $(AM_CFLAGS)
-+LINK = $(LD) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@
-
--INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(FREETYPE_CFLAGS) $(WARN_CFLAGS)
-+INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(WARN_CFLAGS)
-
- TMPL=fccase.tmpl.h
- STMPL=${top_srcdir}/fc-case/${TMPL}
---- fontconfig-2.4.2/fc-glyphname/Makefile.am.orig 2007-06-24 07:02:54.000000000 +0200
-+++ fontconfig-2.4.2/fc-glyphname/Makefile.am 2007-06-24 07:05:14.000000000 +0200
-@@ -23,10 +23,16 @@
- #
-
- CC = @CC_FOR_BUILD@
-+LD = @CC_FOR_BUILD@
-+AM_CPPFLAGS =
-+AM_CFLAGS = @CFLAGS_FOR_BUILD@
-+AM_LDFLAGS = @LDFLAGS_FOR_BUILD@
- EXEEXT = @EXEEXT_FOR_BUILD@
--LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
-+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
-+ $(AM_CFLAGS)
-+LINK = $(LD) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@
-
--INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(FREETYPE_CFLAGS) $(WARN_CFLAGS)
-+INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(WARN_CFLAGS)
-
- TMPL=fcglyphname.tmpl.h
- STMPL=${top_srcdir}/fc-glyphname/${TMPL}
---- fontconfig-2.4.2/configure.in.orig 2007-06-24 07:02:54.000000000 +0200
-+++ fontconfig-2.4.2/configure.in 2007-06-24 07:02:59.000000000 +0200
-@@ -101,6 +101,8 @@
- AC_MSG_CHECKING([for a C compiler for build tools])
- if test $cross_compiling = yes; then
- AC_CHECK_PROGS(CC_FOR_BUILD, gcc cc)
-+ AC_SUBST(CFLAGS_FOR_BUILD)
-+ AC_SUBST(LDFLAGS_FOR_BUILD)
- else
- CC_FOR_BUILD=$CC
- fi
---- fontconfig-2.4.2/fc-arch/Makefile.am.orig 2007-06-24 07:02:54.000000000 +0200
-+++ fontconfig-2.4.2/fc-arch/Makefile.am 2007-06-24 07:05:14.000000000 +0200
-@@ -23,10 +23,16 @@
- #
-
- CC = @CC_FOR_BUILD@
-+LD = @CC_FOR_BUILD@
-+AM_CPPFLAGS =
-+AM_CFLAGS = @CFLAGS_FOR_BUILD@
-+AM_LDFLAGS = @LDFLAGS_FOR_BUILD@
- EXEEXT = @EXEEXT_FOR_BUILD@
--LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
-+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
-+ $(AM_CFLAGS)
-+LINK = $(LD) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@
-
--INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(FREETYPE_CFLAGS) $(WARN_CFLAGS)
-+INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(WARN_CFLAGS)
-
- TMPL=fcarch.tmpl.h
- STMPL=${top_srcdir}/fc-arch/fcarch.tmpl.h
Modified: trunk/buildroot/package/fontconfig/fontconfig.mk
===================================================================
--- trunk/buildroot/package/fontconfig/fontconfig.mk 2008-06-26 14:04:30 UTC (rev 22518)
+++ trunk/buildroot/package/fontconfig/fontconfig.mk 2008-06-26 14:04:39 UTC (rev 22519)
@@ -3,7 +3,7 @@
# fontconfig
#
#############################################################
-FONTCONFIG_VERSION = 2.4.2
+FONTCONFIG_VERSION = 2.6.0
FONTCONFIG_SOURCE = fontconfig-$(FONTCONFIG_VERSION).tar.gz
FONTCONFIG_SITE = http://fontconfig.org/release
FONTCONFIG_AUTORECONF = NO
@@ -14,17 +14,12 @@
FONTCONFIG_CONF_OPT = --target=$(GNU_TARGET_NAME) --host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) --with-arch=$(GNU_TARGET_NAME) \
- --prefix=/usr --exec-prefix=/usr \
- --bindir=/usr/bin --sbindir=/usr/sbin \
- --libdir=/usr/lib --libexecdir=/usr/lib \
- --sysconfdir=/etc --datadir=/usr/share \
- --localstatedir=/var --includedir=/usr/include \
- --mandir=/usr/man --infodir=/usr/info \
+ --prefix=/usr --sysconfdir=/etc \
--with-freetype-config="$(STAGING_DIR)/usr/bin/freetype-config" \
--with-expat="$(STAGING_DIR)/usr/lib" \
--with-expat-lib=$(STAGING_DIR)/usr/lib \
--with-expat-includes=$(STAGING_DIR)/usr/include \
- --disable-docs
+ --disable-docs
FONTCONFIG_DEPENDENCIES = uclibc freetype expat
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/fontconfig
@ 2008-08-16 19:13 jacmet at uclibc.org
0 siblings, 0 replies; 19+ messages in thread
From: jacmet at uclibc.org @ 2008-08-16 19:13 UTC (permalink / raw)
To: buildroot
Author: jacmet
Date: 2008-08-16 12:13:53 -0700 (Sat, 16 Aug 2008)
New Revision: 23093
Log:
fontconfig: remove redundant configure args
Patch by antialize / bug #4524.
Modified:
trunk/buildroot/package/fontconfig/fontconfig.mk
Changeset:
Modified: trunk/buildroot/package/fontconfig/fontconfig.mk
===================================================================
--- trunk/buildroot/package/fontconfig/fontconfig.mk 2008-08-16 12:32:57 UTC (rev 23092)
+++ trunk/buildroot/package/fontconfig/fontconfig.mk 2008-08-16 19:13:53 UTC (rev 23093)
@@ -12,9 +12,7 @@
FONTCONFIG_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
-FONTCONFIG_CONF_OPT = --target=$(GNU_TARGET_NAME) --host=$(GNU_TARGET_NAME) \
- --build=$(GNU_HOST_NAME) --with-arch=$(GNU_TARGET_NAME) \
- --prefix=/usr --sysconfdir=/etc \
+FONTCONFIG_CONF_OPT = --with-arch=$(GNU_TARGET_NAME) \
--with-freetype-config="$(STAGING_DIR)/usr/bin/freetype-config" \
--with-expat="$(STAGING_DIR)/usr/lib" \
--with-expat-lib=$(STAGING_DIR)/usr/lib \
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/fontconfig
@ 2008-09-14 19:35 jacmet at uclibc.org
0 siblings, 0 replies; 19+ messages in thread
From: jacmet at uclibc.org @ 2008-09-14 19:35 UTC (permalink / raw)
To: buildroot
Author: jacmet
Date: 2008-09-14 12:35:45 -0700 (Sun, 14 Sep 2008)
New Revision: 23397
Log:
fontconfig: use install-strip for target install
Modified:
trunk/buildroot/package/fontconfig/fontconfig.mk
Changeset:
Modified: trunk/buildroot/package/fontconfig/fontconfig.mk
===================================================================
--- trunk/buildroot/package/fontconfig/fontconfig.mk 2008-09-14 19:31:36 UTC (rev 23396)
+++ trunk/buildroot/package/fontconfig/fontconfig.mk 2008-09-14 19:35:45 UTC (rev 23397)
@@ -10,7 +10,7 @@
FONTCONFIG_INSTALL_STAGING = YES
FONTCONFIG_INSTALL_TARGET = YES
-FONTCONFIG_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
+FONTCONFIG_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install-strip
FONTCONFIG_CONF_OPT = --with-arch=$(GNU_TARGET_NAME) \
--with-freetype-config="$(STAGING_DIR)/usr/bin/freetype-config" \
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/fontconfig
@ 2008-11-11 19:38 tpetazzoni at uclibc.org
0 siblings, 0 replies; 19+ messages in thread
From: tpetazzoni at uclibc.org @ 2008-11-11 19:38 UTC (permalink / raw)
To: buildroot
Author: tpetazzoni
Date: 2008-11-11 11:38:10 -0800 (Tue, 11 Nov 2008)
New Revision: 24003
Log:
Add a parallel compilation fix for fontconfig
This patch adds a patch to fix bug
https://bugs.freedesktop.org/show_bug.cgi?id=16464 affecting parallel
compilation of fontconfig.
The patch is the one proposed in the bugzilla entry, available at
https://bugs.freedesktop.org/attachment.cgi?id=17294.
Without this patch, the compilation (at BR2_JLEVEL > 1) of fontconfig
sometimes fails with:
In file included from fc-case.c:25:
../src/fcint.h:118:21: error: fcalias.h: No such file or directory
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Added:
trunk/buildroot/package/fontconfig/fontconfig-2.6.0-parallel-compilation-fix.patch
Modified:
trunk/buildroot/package/fontconfig/fontconfig.mk
Changeset:
Added: trunk/buildroot/package/fontconfig/fontconfig-2.6.0-parallel-compilation-fix.patch
===================================================================
--- trunk/buildroot/package/fontconfig/fontconfig-2.6.0-parallel-compilation-fix.patch (rev 0)
+++ trunk/buildroot/package/fontconfig/fontconfig-2.6.0-parallel-compilation-fix.patch 2008-11-11 19:38:10 UTC (rev 24003)
@@ -0,0 +1,26 @@
+---
+ fc-case/Makefile.am | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+Index: fontconfig-2.6.0/fc-case/Makefile.am
+===================================================================
+--- fontconfig-2.6.0.orig/fc-case/Makefile.am
++++ fontconfig-2.6.0/fc-case/Makefile.am
+@@ -36,6 +36,8 @@
+
+ noinst_MANS=fc-case.man
+
++noinst_HEADERS=$(TARG)
++
+ fc_case_SRCS= \
+ fc-case.c \
+ fccaseint.h \
+@@ -52,7 +54,7 @@
+
+ ALIAS_FILES = fcalias.h fcaliastail.h
+
+-BUILT_SOURCES = $(ALIAS_FILES) $(TARG)
++BUILT_SOURCES = $(ALIAS_FILES)
+
+ $(ALIAS_FILES):
+ touch $(ALIAS_FILES)
Modified: trunk/buildroot/package/fontconfig/fontconfig.mk
===================================================================
--- trunk/buildroot/package/fontconfig/fontconfig.mk 2008-11-11 19:00:32 UTC (rev 24002)
+++ trunk/buildroot/package/fontconfig/fontconfig.mk 2008-11-11 19:38:10 UTC (rev 24003)
@@ -6,7 +6,7 @@
FONTCONFIG_VERSION = 2.6.0
FONTCONFIG_SOURCE = fontconfig-$(FONTCONFIG_VERSION).tar.gz
FONTCONFIG_SITE = http://fontconfig.org/release
-FONTCONFIG_AUTORECONF = NO
+FONTCONFIG_AUTORECONF = YES
FONTCONFIG_INSTALL_STAGING = YES
FONTCONFIG_INSTALL_TARGET = YES
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/fontconfig
@ 2008-12-22 22:10 jacmet at uclibc.org
0 siblings, 0 replies; 19+ messages in thread
From: jacmet at uclibc.org @ 2008-12-22 22:10 UTC (permalink / raw)
To: buildroot
Author: jacmet
Date: 2008-12-22 22:10:25 +0000 (Mon, 22 Dec 2008)
New Revision: 24510
Log:
fontconfig: use {C,LD}FLAGS_FOR_BUILD for host tools
Added:
trunk/buildroot/package/fontconfig/fontconfig-2.6.0-use_for_build.patch
Changeset:
Added: trunk/buildroot/package/fontconfig/fontconfig-2.6.0-use_for_build.patch
===================================================================
--- trunk/buildroot/package/fontconfig/fontconfig-2.6.0-use_for_build.patch (rev 0)
+++ trunk/buildroot/package/fontconfig/fontconfig-2.6.0-use_for_build.patch 2008-12-22 22:10:25 UTC (rev 24510)
@@ -0,0 +1,59 @@
+---
+ fc-arch/Makefile.am | 2 +-
+ fc-case/Makefile.am | 2 +-
+ fc-glyphname/Makefile.am | 2 +-
+ fc-lang/Makefile.am | 2 +-
+ 4 files changed, 4 insertions(+), 4 deletions(-)
+
+Index: fontconfig-2.6.0/fc-arch/Makefile.am
+===================================================================
+--- fontconfig-2.6.0.orig/fc-arch/Makefile.am
++++ fontconfig-2.6.0/fc-arch/Makefile.am
+@@ -24,7 +24,7 @@
+
+ CC = @CC_FOR_BUILD@
+ EXEEXT = @EXEEXT_FOR_BUILD@
+-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
++LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) $(AM_LDFLAGS) $(LDFLAGS_FOR_BUILD) -o $@
+
+ INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(WARN_CFLAGS)
+
+Index: fontconfig-2.6.0/fc-case/Makefile.am
+===================================================================
+--- fontconfig-2.6.0.orig/fc-case/Makefile.am
++++ fontconfig-2.6.0/fc-case/Makefile.am
+@@ -24,7 +24,7 @@
+
+ CC = @CC_FOR_BUILD@
+ EXEEXT = @EXEEXT_FOR_BUILD@
+-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
++LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) $(AM_LDFLAGS) $(LDFLAGS_FOR_BUILD) -o $@
+
+ INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(WARN_CFLAGS)
+
+Index: fontconfig-2.6.0/fc-glyphname/Makefile.am
+===================================================================
+--- fontconfig-2.6.0.orig/fc-glyphname/Makefile.am
++++ fontconfig-2.6.0/fc-glyphname/Makefile.am
+@@ -24,7 +24,7 @@
+
+ CC = @CC_FOR_BUILD@
+ EXEEXT = @EXEEXT_FOR_BUILD@
+-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
++LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) $(AM_LDFLAGS) $(LDFLAGS_FOR_BUILD) -o $@
+
+ INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(WARN_CFLAGS)
+
+Index: fontconfig-2.6.0/fc-lang/Makefile.am
+===================================================================
+--- fontconfig-2.6.0.orig/fc-lang/Makefile.am
++++ fontconfig-2.6.0/fc-lang/Makefile.am
+@@ -24,7 +24,7 @@
+
+ CC = @CC_FOR_BUILD@
+ EXEEXT = @EXEEXT_FOR_BUILD@
+-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
++LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) $(AM_LDFLAGS) $(LDFLAGS_FOR_BUILD) -o $@
+
+ INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(WARN_CFLAGS)
+
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/fontconfig
@ 2009-01-10 13:47 thomasez at uclibc.org
0 siblings, 0 replies; 19+ messages in thread
From: thomasez at uclibc.org @ 2009-01-10 13:47 UTC (permalink / raw)
To: buildroot
Author: thomasez
Date: 2009-01-10 13:47:18 +0000 (Sat, 10 Jan 2009)
New Revision: 24744
Log:
Get rid of a host-dependency.
Modified:
trunk/buildroot/package/fontconfig/fontconfig.mk
Changeset:
Modified: trunk/buildroot/package/fontconfig/fontconfig.mk
===================================================================
--- trunk/buildroot/package/fontconfig/fontconfig.mk 2009-01-10 12:45:27 UTC (rev 24743)
+++ trunk/buildroot/package/fontconfig/fontconfig.mk 2009-01-10 13:47:18 UTC (rev 24744)
@@ -11,7 +11,7 @@
FONTCONFIG_INSTALL_STAGING = YES
FONTCONFIG_INSTALL_TARGET = YES
# This package does not like using the target cflags for some reason.
-FONTCONFIG_CONF_ENV = CFLAGS=
+FONTCONFIG_CONF_ENV = CFLAGS="-I$(STAGING_DIR)/usr/include/freetype2"
FONTCONFIG_CONF_OPT = --with-arch=$(GNU_TARGET_NAME) \
--with-freetype-config="$(STAGING_DIR)/usr/bin/freetype-config" \
^ permalink raw reply [flat|nested] 19+ messages in thread
end of thread, other threads:[~2009-01-10 13:47 UTC | newest]
Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-15 21:26 [Buildroot] svn commit: trunk/buildroot/package/fontconfig andersen at uclibc.org
-- strict thread matches above, loose matches on Subject: below --
2007-01-16 8:10 andersen at uclibc.org
2007-01-16 16:06 aldot at uclibc.org
2007-01-29 12:59 aldot at uclibc.org
2007-02-03 20:52 andersen at uclibc.org
2007-05-22 10:31 jacmet at uclibc.org
2007-05-24 8:41 jacmet at uclibc.org
2007-06-28 14:03 aldot at uclibc.org
2007-07-23 8:18 ulf at uclibc.org
2007-08-10 14:44 ulf at uclibc.org
2007-08-12 12:06 ulf at uclibc.org
2008-03-06 18:09 ninevoltz at uclibc.org
2008-05-01 19:01 ninevoltz at uclibc.org
2008-06-26 14:04 jacmet at uclibc.org
2008-08-16 19:13 jacmet at uclibc.org
2008-09-14 19:35 jacmet at uclibc.org
2008-11-11 19:38 tpetazzoni at uclibc.org
2008-12-22 22:10 jacmet at uclibc.org
2009-01-10 13:47 thomasez at uclibc.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox