Commit Graph

149 Commits

Author SHA1 Message Date
Akira TAGOH 4a741e9a0a Fix the build fail on Solaris
It's introduced by 0ac6c98294.
Use lstat() and S_ISDIR() to check if it's the directory or not
if there are no d_type in struct dirent.
2012-05-30 18:30:49 +09:00
Keith Packard e41474e925 Extra ',' in AC_ARG_WITH(arch causes arch to never be autodetected
Commit 87d7b82a98 reformatted this
part of the configure script, accidentally introducing a spurious
comma.

Signed-off-by: Keith Packard <keithp@keithp.com>
2012-05-02 12:00:53 +09:00
Akira TAGOH 7d65f9f514 Bug 39278 - make usage of mmap optional
Stop using mmap() if the cache file is stored on NFS.
also added FONTCONFIG_USE_MMAP environment variable to enforce the use of
or not the use of mmap(2) regardless of what the filesystem the cache files
are stored on.
2012-04-25 16:38:01 +09:00
Akira TAGOH f30a5d7637 Disable iconv support anyway... 2012-04-25 16:21:33 +09:00
Akira TAGOH 526f0da93f Add --enable-iconv option to configure
Disable iconv support by default, which provide a feature to convert
non-Unicode SFNT names to UTF-8.
2012-04-24 11:40:51 +09:00
Akira TAGOH 22dc546090 Fix a build issue again when no regex functions available
Reported by Jon TURNEY
2012-04-20 20:12:24 +09:00
Akira TAGOH 9fa7b7c8f2 Rework to avoid adding the unexpected value to ICONV_CFLAGS and ICONV_LIBS 2012-04-20 11:17:41 +09:00
Keith Packard 9e62fcedfe Use posix_fadvise to speed startup
Given that fontconfig will scan all of the cache file data during the
first font search, ask the kernel to start reading the pages right away.

Signed-off-by: Keith Packard <keithp@keithp.com>
2012-04-17 12:20:25 +09:00
Akira TAGOH c5714bcf90 Add --with-expat, --with-expat-includes and --with-expat-lib back. 2012-04-13 11:09:04 +09:00
Akira TAGOH ac6271dbac Bug 48573 - platform without regex do not have also REG_XXX defines
Fix a build issue on the platforms where regex isn't available
2012-04-12 11:01:12 +09:00
Akira TAGOH 9231d79ad1 Bug 28491 - Allow matching on FC_FILE
Allow :file=/path/to/font/file on matching
2012-04-11 16:36:36 +09:00
Akira TAGOH 2589207cfd Bug 26830 - Add search for libiconv non-default directory
Add --with-libiconv, --with-libiconv-includes and --with-libiconv-lib
to specify the directory where libiconv might be installed.
2012-04-10 18:45:31 +09:00
Akira TAGOH e181ab4de5 Bug 29341 - Make some fontconfig paths configurable
Add configure options to set the directory to be installed:
  --with-templatedir for the configuration files a.k.a.
    /etc/fonts/conf.avail
  --with-baseconfigdir for fonts.conf etc a.k.a. /etc/fonts
  --with-configdir for the active configuration files a.k.a.
    /etc/fonts/conf.d
  --with-xmldir for fonts.dtd etc

and the default path for templatedir is changed to
${datadir}/fontconfig/conf.avail
2012-04-05 12:23:49 +09:00
Akira TAGOH bb02899d9f Use pkgconfig to check builddeps 2012-04-02 15:38:27 +09:00
Akira TAGOH 87d7b82a98 Use AC_HELP_STRING instead of formatting manually 2012-04-02 14:32:44 +09:00
Akira TAGOH becbdaebe3 Move workaround macros for fat binaries into the separate header file 2012-03-29 12:50:47 +09:00
Akira TAGOH 93460f93e9 Fix a build issue due to the use of non-portable variables
$< isn't supported in BSD make say. $(RM) is pre-defined in GNU make
though, not in BSD make say. so changed to check on configure if it's
pre-defined by make, otherwise set the appropriate command to $(RM).

This would be a workaround until it has the certain pre-defined value.
2012-03-16 16:34:37 +09:00
Akira TAGOH dd3214aa39 Bump version to 2.9.0 2012-03-11 02:24:33 +09:00
Akira TAGOH 78d75c003c Update the version info 2012-03-09 22:12:35 +09:00
Akira TAGOH a13d518fdd Bug 41694 - FcCache functions have random-number-generator side effects
Use the own random number generator state if possible.
2012-02-28 12:52:25 +09:00
Behdad Esfahbod e10a42178c Remove AM_MAINTAINER_MODE
That macro is simply broken.

This was also brought up in:
Bug 32679 - fontconfig-2.8.0 does not cross compile
2011-01-03 22:18:38 -05:00
Behdad Esfahbod 30fd4fac9c Bump version 2010-12-28 01:28:39 -06:00
Behdad Esfahbod d1a0fca316 Make fc-arch stuff cross-compiling-safe
Fixes:
Bug 32679 - fontconfig-2.8.0 does not cross compile
Bug 25462 - Cross-compilation doesn't work
2010-12-28 01:22:34 -06:00
Behdad Esfahbod 5aaf466d38 Cleanup copyright notices to replace "Keith Packard" with "the author(s)" 2010-11-10 16:45:42 -05:00
Behdad Esfahbod ba7b50ab33 Add fc-pattern cmdline tool 2010-04-20 23:18:00 -04:00
Behdad Esfahbod af4a82863f Bug 25508 configure assumes bash > 2.0 is on system
Remove dolt.  With libtool2, there's not much need for dolt.
2009-12-08 21:15:15 -05:00
Behdad Esfahbod 4a3bef8ac3 Bump version to 2.8.0 2009-11-18 18:49:09 -05:00
Behdad Esfahbod 2e44cbe1b9 Bump libtool revision in preparation for release 2009-11-18 18:49:09 -05:00
Behdad Esfahbod 247c4f3df2 Enable automake silent rules 2009-11-16 17:46:18 -05:00
Behdad Esfahbod 36ae1d9563 Clarify default confdir and cachedir better.
Also remove --with-docdir.  It can be set by setting docdir variable.
2009-11-09 13:17:17 -05:00
Behdad Esfahbod b322eb4d7a Bump version to 2.7.3 2009-09-08 11:45:26 -04:00
Behdad Esfahbod afc845d930 Bump libtool version in preparation for release 2009-09-08 11:44:59 -04:00
Behdad Esfahbod e52fdbd2bc Bump version to 2.7.2 2009-08-31 17:32:36 -04:00
Behdad Esfahbod a74cfb63cb Bump libtool version for release 2009-08-31 17:32:13 -04:00
Behdad Esfahbod d2c8ac373e Bump version to 2.7.1 2009-07-27 17:54:03 -04:00
Behdad Esfahbod 50d937b0e1 Bump libtool versions that 2.7.0 (I forgot to do back then) 2009-07-27 17:48:29 -04:00
Behdad Esfahbod 0f40912599 Bump version to 2.7.0 2009-06-24 15:04:11 -04:00
Behdad Esfahbod ffd6668b46 [fc-lang] Make LangSet representation in the cache files stable
Fontconfig assigns an index number to each language it knows about.
The index is used to index a bit in FcLangSet language map.  The bit
map is stored in the cache.

Previously fc-lang simply sorted the list of languages and assigned
them an index starting from zero.  Net effect is that whenever new
orth files were added, all the FcLangSet info in the cache files would
become invalid.  This was causing weird bugs like this one:

  https://bugzilla.redhat.com/show_bug.cgi?id=490888

With this commit we fix the index assigned to each language.  The index
will be based on the order the orth files are passed to fc-lang.  As a
result all orth files are explicitly listed in Makefile.am now, and
new additions should be made to the end of the list.  The list is made
to reflect the sorted list of orthographies from 2.6.0 released followed
by new additions since.

This fixes the stability problem.  Needless to say, recreating caches
is necessary before any new orthography is recognized in existing fonts,
but at least the existing caches are still valid and don't cause bugs
like the above.
2009-06-24 13:52:10 -04: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
Dan Nicholson c08216c6f4 Let make expand fc_cachedir/FC_CACHEDIR (bug #18675)
configure replaces a NONE prefix with the default prefix too late.
So we move fonts.conf creation to Makefile, such that prefix is correctly
expanded. Ugly, but works.
2009-02-15 13:40:16 -08:00
Behdad Esfahbod 6bffe1a95b Add fc-scan too that runs FcFileScan/FcDirScan
This is quite similar to fc-query, but calling FcFileScan/FcDirScan instead
of FcFreeTypeQuery.
2009-02-13 16:54:06 -08:00
Behdad Esfahbod 00c0972aca Fix compile with old FreeType that doesn't have FT_Select_Size() (bug #17498) 2009-02-13 16:54:02 -08:00
Behdad Esfahbod e690fbb20e Get rid of $Id$ tags 2009-02-13 16:53:57 -08:00
Behdad Esfahbod 77c0d8bce8 Add fc-query (#13019) 2009-02-13 16:53:56 -08:00
Keith Packard a93b4c2aab Bump version to 2.6.0 2008-05-31 19:24:35 -07:00
Keith Packard d0902ee086 Bump version to 2.5.93 2008-05-24 17:52:41 -07:00
Keith Packard d33d23ada0 Bump version to 2.5.92 2008-05-03 20:39:07 -07:00
Keith Packard 19d124dc4f Deal with libtool 2.2 which doesn't let us use LT_ variables. (bug 15692)
Libtool-2.2 introduces new restrictions. So now it does not allow LT_*
variables as it includes marcros:

m4_pattern_forbid([^_?LT_[A-Z_]+$])

Rename the LT_ variables to LIBT_ to work around this restriction.
2008-05-03 20:23:37 -07:00
Keith Packard ef9db2e2d2 Use DOLT if available 2008-05-03 17:20:34 -07:00
Keith Packard 0dffe625d4 Bump version to 2.5.91 2008-01-10 10:58:25 -08:00