Commit Graph

28 Commits

Author SHA1 Message Date
Thomas Lundquist
f0cb932c3a Get rid of a host-dependency. 2009-01-10 13:47:18 +00:00
Peter Korsgaard
45fcf7e8ff fontconfig: use {C,LD}FLAGS_FOR_BUILD for host tools 2008-12-22 22:10:25 +00:00
Daniel Laird
5432f26f0e Adding Central config.cache options
The following changes allow for use of a central configure cache
file.  This speeds up configuration of packages.
Its use is configurable at the top level (BR2_CONFIG_CACHE - default n).
Old style makefiles can use it if they use the following MACRO in makefiles:
$(AUTO_CONFIGURE_TARGET) see my change to directfb.mk.
New style Autotools.in will use it if you set the global option.
However you can enable the global option and on a per package overrule it by doing
the following: $(PKGNAME)_USE_CONFIG_CACHE = NO see fontconfig.mk for an example 
of this.
Finally I have removed a few config variable settings which indicated no CXX compiler
as this is wrong and breaks the build when using this central cache.

 Config.in                        |    8 ++++++++
 package/Makefile.autotools.in    |    5 ++++-
 package/Makefile.in              |   28 +++++++++++++++++++++++++++-
 package/atk/atk.mk               |    2 +-
 package/directfb/directfb.mk     |    7 +------
 package/fontconfig/fontconfig.mk |    3 +++
 package/libglib2/libglib2.mk     |    2 +-
 package/libgtk2/libgtk2.mk       |    1 -
 8 files changed, 45 insertions(+), 11 deletions(-)

I would appreciate feedback on this change (I have been testing for 2-3 weeks)
But I can never test all cases!  If you enable the BR2_CONFIG_CACHE option some
Makefile.autotools.in based packages may now break - I cannot build them all.
In this case you may need to remove config options that are being hardcoded all
over the place (like gtk saying we have 2 CXX compiler) or disable the use
of CONFIG CACHE file like I have done in fontconfig.
I can build all packages required to get WebKit on DirectFB up and running
and it runs fine.
I will try to resolve any issues this creates as fast as I can.

Signed-off-by: Daniel Laird <daniel.j.laird@nxp.com>
2008-11-28 14:20:47 +00:00
Thomas Petazzoni
14520e6fa3 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>
2008-11-11 19:38:10 +00:00
Peter Korsgaard
e337d002fe package/: remove redundant install-strip in *_TARGET_INSTALL_OPT
It's default now.
2008-10-20 11:53:16 +00:00
Peter Korsgaard
f4b178495e fontconfig: use install-strip for target install 2008-09-14 19:35:45 +00:00
Peter Korsgaard
3c10da1528 fontconfig: remove redundant configure args
Patch by antialize / bug #4524.
2008-08-16 19:13:53 +00:00
Peter Korsgaard
4683420c4c Kconfig: remove 'default n'
'default n' is the default, so there's no need to say it explicitly.
2008-07-17 20:01:44 +00:00
Peter Korsgaard
8ba9a9971c fontconfig: bump version 2008-06-26 14:04:39 +00:00
John Voltz
7a03a3b0da remove libdir-la.patch, handled by Makefile.autotools.in 2008-05-01 19:01:10 +00:00
John Voltz
759200ecb1 updated fontconfig 2008-03-06 18:09:37 +00:00
Bernhard Reutner-Fischer
14a71561a3 - just use the strip binary to avoid confusing libtool (quotes)
- use $(STRIPCMD) in packages to avoid clashes with $(STRIP)
2007-10-01 16:15:31 +00:00
Bernhard Reutner-Fischer
956d3eb78b - semicolon touchup. No other changes 2007-08-22 09:56:41 +00:00
Ulf Samuelsson
e4ead9c13c Remove switches if sstrip is run 2007-08-21 01:53:57 +00:00
Ulf Samuelsson
7f056e9e21 Make paths to expat available to fontconfig 2007-08-12 12:05:55 +00:00
Ulf Samuelsson
963c2f1a27 Revert bad patch 2007-08-10 14:44:48 +00:00
Ulf Samuelsson
4089ac8ba3 Add fontconfig patches for cross-compile 2007-07-23 08:18:45 +00:00
Bernhard Reutner-Fischer
f31f1e4db4 - fix building the utilities that are ment to be run on the _HOST_ (Julien Letessier) 2007-06-28 14:03:04 +00:00
Bernhard Reutner-Fischer
74d518dc2a - add endian handling, mmap, memcmp checks to TARGET_CONFIGURE_ARGS
- use TARGET_CONFIGURE_ARGS where appropriate.
2007-06-27 12:01:27 +00:00
Peter Korsgaard
ca837b638e fontconfig requires expat 2007-05-24 08:41:49 +00:00
Peter Korsgaard
a489dda13f Use freetype-host for host tools. Fixes #1328 2007-05-22 10:31:25 +00:00
Eric Andersen
85d7f6f05f fixup package LDFLAGS handling 2007-03-13 22:59:59 +00:00
Eric Andersen
b6a7c33846 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.
2007-02-03 20:52:33 +00:00
Bernhard Reutner-Fischer
66eb138ccd - 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 2007-01-29 12:59:17 +00:00
Bernhard Reutner-Fischer
6be03bae3c - 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
2007-01-16 16:06:45 +00:00
Eric Andersen
7cb000f5d7 Add in a few useful bits for font handling 2007-01-16 08:10:27 +00:00
Eric Andersen
9178347a60 teach fontconfig to actually apply its patches 2007-01-15 21:26:43 +00:00
Eric Andersen
ee8f2133a5 add fontconfig package 2007-01-14 03:39:53 +00:00