Commit Graph

22 Commits

Author SHA1 Message Date
Behdad Esfahbod 1845f3100d [fc-arch] Rename architecture names to better reflect what they are
We only care about three properties in the arch:

  - endianness
  - pointer size
  - for 32-bit archs, whether double is aligned on 4 or 8 bytes

This leads to the following 6 archs (old name -> new name):

	x86    -> le32d4
	mipsel -> le32d8
	x86-64 -> le64
	m68k   -> be32d4
	ppc    -> be32d8
	ppc64  -> be64
2009-11-18 14:39:34 -05:00
Behdad Esfahbod d5ebf48e34 [fc-arch] Beautify the arch template 2009-11-18 14:15:12 -05:00
Behdad Esfahbod d2fb683796 Clean up Makefile's a bit 2009-11-18 09:35:40 -05:00
Behdad Esfahbod 8480c6f863 [arch] Try to ensure proper FcLangSet alignment in arch 2009-11-16 17:46:18 -05:00
Behdad Esfahbod b393846860 [fc-arch] Add FcAlign to arch signature 2009-11-16 15:17:56 -05:00
Behdad Esfahbod 3074a73b41 Replace 'KEITH PACKARD' with 'THE AUTHOR(S)' in license text in all files 2009-03-13 17:59:28 -04:00
Behdad Esfahbod 916640ce40 Fix Makefile's to not create target file in case of failure 2009-03-10 02:16:09 -04:00
Keith Packard dbd065ad31 Remove freetype requirement for build-time applications.
This avoids requiring the freetype development files when cross compiling
2008-01-02 08:47:14 -08:00
Keith Packard d50cfeb805 Leave generated headers out of distribution (bug 12734).
If the generated header files are included in the distribution, a build
outside of the source directory will use them. For machine-specific files,
this generates the wrong result (fcarch.h). Leaving them out of the
distribution forces them to be built.
2007-10-24 21:47:40 -07:00
Keith Packard db6f19f13b Store font directory mtime in cache file.
Instead of relying on mtime ordering between a directory and its associated
cache file, write the directory mtime into the cache file itself. This makes
cache file checks more reliable across file systems.

This change is made in a way that old programs can use new cache files, but
new programs will need new cache files.
2007-10-18 04:13:51 -07:00
Keith Packard bae5db78dd Add sparc64 architecture string. 2006-11-12 17:15:24 -08:00
Keith Packard 7943a75b7d Add signatures for m68k and mipsel (thanks debian buildd) 2006-09-13 18:51:11 -07:00
Keith Packard fb47a1f752 Add ppc64 signature. Bug 8227 2006-09-11 11:10:48 -07:00
Keith Packard 8e0b03f550 Update architecture signatures for x86-64 and ppc.
I think the cache file data types are stable for now; add-back the
signatures for x86-64 and ppc.
2006-09-06 17:14:46 -07:00
Keith Packard 23816bf9ac Eliminate .so PLT entries for local symbols. (thanks to Arjan van de Ven)
Using a simple shell script that processes the public headers, two header
files are constructed that map public symbols to hidden internal aliases
avoiding the assocated PLT entry for referring to a public symbol.

A few mistakes in the FcPrivate/FcPublic annotations were also discovered
through this process
2006-09-05 02:24:01 -07:00
Keith Packard aec8c90b45 Remove stale architecture signatures.
All but x86 are known to be wrong.
2006-09-01 01:12:13 -07:00
Keith Packard e3096d90fd Fix build problems caused by cache rework.
Pagesize no longer matters in architecture decisions, the entire cache file
is mmaped into the library. However, lots of intptr_t values are in use now,
so that value is important.

fc-lang now requires fcserialize.c, which has been added to the repository.
2006-08-30 04:24:03 -07:00
Keith Packard 7ce1967331 Rework cache files to use offsets for all data structures.
Replace all of the bank/id pairs with simple offsets, recode several
data structures to always use offsets inside the library to avoid
conditional paths. Exposed data structures use pointers to hold offsets,
setting the low bit to distinguish between offset and pointer.

Use offset-based data structures for lang charset encodings; eliminates
separate data structure format for that file.

Much testing will be needed; offsets are likely not detected everywhere in
the library yet.
2006-08-30 04:16:22 -07:00
Keith Packard ad05e3135b Add ppc architecture 2006-08-28 10:38:27 -07:00
Keith Packard 1e4080ea49 Add x86-64 architecture and signature. 2006-08-28 10:07:43 -07:00
Keith Packard 7db39f7298 Regenerate x86 line in fcarch.tmpl.h to match change in cache data.
Also remove spurious printf of directory names.
2006-08-28 09:43:12 -07:00
Keith Packard 2b629781d7 Construct short architecture name from architecture signature.
Map existing architecture signature to short architecture name
at build time. This architecture name is (as yet) unused, but will be used
to build per-architecture cache files with names made unique by including
the architecture name. The auto-detected architecture name can be overridden
with the --with-arch=ARCH configure option.
2006-08-27 16:25:07 -07:00