Commit Graph

27 Commits

Author SHA1 Message Date
Peter Korsgaard
91149af9f3 package: provide download target for host packages 2009-03-24 10:58:04 +00:00
Peter Korsgaard
e7b38c71ce package: add STAMP_DIR and use for host builds
Move stamp (dependency) files outside the (version specific) source
directories, so other packages can hardcode dependencies on them instead
of having to use <PACKAGE>_VERSION variables.

This is important as the variables in the make rules are evaluated when
the rules is seen, which might be before the dependent makefile is parsed
(and hence <PACKAGE>_VERSION variable is known, screwing up stuff.

The downside of this is that the package isn't automatically rebuilt
when the version changes (E.G. by a svn update) and you now also have to
remove the stamp files next to $(BUILD_DIR)/<PACKAGE>-* to force a rebuild.
2009-03-19 11:06:47 +00:00
Peter Korsgaard
dd4faf6f6f cairo: add host version 2009-03-18 21:22:04 +00:00
Peter Korsgaard
afaa374590 fontconfig: fix typo added in r25611 2009-03-11 23:30:29 +00:00
Peter Korsgaard
ba7ae60df2 fontconfig: store font cache in /var/cache/fontconfig, and not in /usr/var/.. 2009-03-11 15:43:52 +00:00
Thomas Lundquist
f0cb932c3a Get rid of a host-dependency. 2009-01-10 13:47:18 +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
8ba9a9971c fontconfig: bump version 2008-06-26 14:04:39 +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
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
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