Commit Graph

121 Commits

Author SHA1 Message Date
Akira TAGOH c88d9b6242 Fail on make runtime as needed instead of configure if no python installed
python isn't necessarily required to build fontconfig from tarball so that
generated fcblanks.h is available in tarball.

https://bugs.freedesktop.org/show_bug.cgi?id=91663
2015-08-17 16:37:23 +09:00
Akira TAGOH ad9f588050 Fix the broken cache more.
Take a look at the nano second in the mtime to figure out
if the cache needs to be updated if available.
and do the mutex lock between scanning and writing a cache
to avoid the conflict.

Also we don't need to scan directories again after writing
caches. so getting rid of the related code as well.

https://bugs.freedesktop.org/show_bug.cgi?id=69845

and for reference:

https://bugzilla.redhat.com/show_bug.cgi?id=1236034
2015-08-14 17:19:29 +09:00
Akira TAGOH 1827ef7b1e Bump version to 2.11.94 2015-06-02 17:33:03 +09:00
Akira TAGOH 69ff6b6e26 Bump version to 2.11.93 2015-03-09 12:38:30 +09:00
Akira TAGOH d6a5cc665a Hardcode the blanks in the library
https://bugs.freedesktop.org/show_bug.cgi?id=79956
2015-02-27 14:18:32 +09:00
Akira TAGOH 8809d1b73b Copy the real size of struct dirent
In some platforms, d_name is defined as the flexible array member.
We may need to compute the real size for that case.
2015-02-26 14:09:33 +09:00
Akira TAGOH ed0d705e22 Fix a build fail on some non-POSIX platforms
Use own scandir function. according to this change,
we don't need -Werror things in configure anymore.
2015-02-23 15:21:08 +09:00
Alan Coopersmith 694368667a Fix configure to work with Solaris Studio compilers
Passing -Werror in the scandir() checks caused Studio cc to report
"Unrecognized option errors", confusing configure into thinking that
scandir() was not available.   Use Studio equivalent flags instead.

Leaves -Werror as the default for all other compilers, including
unknown ones, to flag to them that they need to update their flags
as well if -Werror is not correct for them.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2015-01-19 13:47:47 +09:00
Akira TAGOH 4d739d13f4 Bump version to 2.11.92 2015-01-13 12:40:40 +09:00
Akira TAGOH fff4086e15 Bump version to 2.11.91 2014-12-25 13:49:25 +09:00
Behdad Esfahbod 874a549164 Remove unused regex code
Regex matching was disabled in f6244d2cf2
2014-07-24 15:42:54 -04:00
Akira TAGOH 91784eb7d0 Fix a typo
https://bugs.freedesktop.org/show_bug.cgi?id=77033
2014-04-04 12:18:28 +09:00
Akira TAGOH 3cd573fc1f Bug 71287 - size specific design selection support in OS/2 table version 5
This feature requires the FreeType 2.5.1 or later at the build time.

Besides <range> element allows <double> elements with this changes.

This may breaks the cache but not bumping in this change sets at this moment.
please be aware if you want to try it and run fc-cache before/after to
avoid the weird thing against it.
2014-03-26 12:19:04 +09:00
Akira TAGOH 9260b7ec39 Bump version to 2.11.1 2014-03-24 15:03:12 +09:00
Akira TAGOH 812143c34d Fix autoconf warning, warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
Call AC_USE_SYSTEM_EXTENSIONS before LT_INIT
2014-03-24 15:02:26 +09:00
Akira TAGOH 7d75653285 Add missing #include <sys/statvfs.h> in fcstat.c
https://bugs.freedesktop.org/show_bug.cgi?id=74602
2014-02-06 17:29:19 +09:00
Akira TAGOH e2b406053c Update the use of autotools' macro 2014-01-22 19:35:07 +09:00
Akira TAGOH 5c725f2f58 Fix a build issue on platforms where doesn't support readlink() 2013-12-16 17:44:37 +09:00
Jehan c9e24f9ef4 Defaulting <cachedir> to LOCAL_APPDATA_FONTCONFIG_CACHE for Win32 build
https://bugs.freedesktop.org/show_bug.cgi?id=71691
2013-12-09 17:51:03 +09:00
Akira TAGOH d97fbbe9f5 Simplify to validate the availability of scandir 2013-12-02 19:18:25 +09:00
Akira TAGOH 5152115349 Simplify to validate the availability of posix_fadvise 2013-12-02 18:43:10 +09:00
Akira TAGOH 65872e9e46 Fix a build issue on Solaris 10
Use own mkdtemp implementation if not available.

Reported by Thomas Klausner and Jörn Clausen
2013-10-24 19:35:26 +09:00
Akira TAGOH f16c3118e2 Bump version to 2.11.0 2013-10-11 13:27:33 +09:00
Akira TAGOH c4c90ffc7a Bump libtool revision 2013-10-11 12:40:42 +09:00
Akira TAGOH 96c5f3cf0f clean up 2013-09-26 18:44:10 +09:00
Akira TAGOH d2bb1a8381 Bump version to 2.10.95 2013-08-31 10:50:07 +09:00
Akira TAGOH 071ce44c35 Fix a typo 2013-08-29 20:53:58 +09:00
Akira TAGOH 06dd98b2a3 Bump version to 2.10.94 2013-08-29 17:38:29 +09:00
Akira TAGOH 338ffe6b88 Correct fontconfig.pc to add certain dependencies for static build 2013-07-12 15:11:59 +09:00
Akira TAGOH 7274f6e37a Correct fontconfig.pc to add certain dependencies for build 2013-07-12 12:39:36 +09:00
Akira TAGOH ab5b535704 Ignore scandir() check on mingw 2013-07-02 18:54:29 +09:00
Akira TAGOH 38ab7ab2fb Fix a incompatible pointer warning on NetBSD 2013-06-27 13:10:27 +09:00
Akira TAGOH 8d54091513 Bump version to 2.10.93 2013-05-20 17:42:34 +09:00
Akira TAGOH 73fa326d1e Bump version to 2.10.92 2013-03-29 16:10:15 +09:00
Akira TAGOH b3b435b87f Bump libtool revision 2013-03-29 16:02:34 +09:00
Quentin Glidic 96220a5ed9 Use LOG_COMPILER and AM_TESTS_ENVIRONMENT
TESTS_ENVIRONMENT is deprecated and should be reserved to the user to
override the test environment

<ext>_LOG_COMPILER is meant to contain the program that runs the test
with <ext> extension
LOG_COMPILER is for extensionless tests
AM_TESTS_ENVIRONMENT is meant to set the environment for the tests

  https://bugs.freedesktop.org/show_bug.cgi?id=60192

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2013-02-06 19:53:36 +09:00
Akira TAGOH d34643894f Use AM_MISSING_PROG instead of hardcoding missing 2013-02-05 14:17:16 +09:00
Akira TAGOH da0946721a Use AM_MISSING_PROG instead of hardcoding missing 2013-02-04 17:57:00 +09:00
Akira TAGOH 786ead5201 Modernize configure.ac 2013-02-04 17:20:03 +09:00
Colin Walters c1d9588890 build: Only use PKG_INSTALLDIR if available
It's only in pkg-config 0.27 or newer, but 0.25 at least is still
fairly widespread.
2013-02-01 11:39:23 +09:00
Christoph J. Thompson e11f15628c Use the PKG_INSTALLDIR macro.
modified:   Makefile.am
	modified:   configure.ac
2013-02-01 10:42:03 +09:00
Akira TAGOH 5400bb4fb4 Add another approach to FC_PRGNAME for Solaris 10 or before
Patch from Raimund Steger
2013-01-23 12:32:37 +09:00
Akira TAGOH 671bcb34e2 Better fix for 2fe5ddfd
Drop realpath() and fix breakage on Win32
2013-01-17 12:49:16 +09:00
Behdad Esfahbod 1a5d0daea0 Remove unused checks for common functions
The check results of these were never actually used.
2013-01-16 04:52:06 -06:00
Akira TAGOH f9ac4c84c9 Improve FcGetPrgname() to work on BSD 2013-01-16 16:35:28 +09:00
Behdad Esfahbod ec5ca08c80 Bug 59379 - FC_PRGNAME
Can be used for per-application configuration.
2013-01-15 20:46:45 -06:00
Akira TAGOH fcc3567847 Bump version to 2.10.91 2013-01-10 17:57:12 +09:00
Behdad Esfahbod 98efed3bca Add atomic ops for Solaris
Patch from Raimund Steger.
2013-01-10 01:17:46 -06:00
Akira TAGOH 8e8a99ae8a Bug 29312 - RFE: feature to indicate which characters are missing to satisfy the language support
Add fc-validate to check the language coverage in a font.
2013-01-09 12:21:33 +09:00
Akira TAGOH 4e6c7d0827 Fix a build fail on mingw
Regarding the change of 596931c8b4
2013-01-08 16:20:40 +09:00
Akira TAGOH 596931c8b4 Bug 47705 - Using O_CLOEXEC 2013-01-08 15:34:09 +09:00
Behdad Esfahbod d7de1b5c6d Fix pthreads setup
As reported by Raimund Steger.
2013-01-07 20:10:14 -06:00
Behdad Esfahbod bc62c40597 Really fix cross-compiling and building of tools this time 2013-01-02 20:09:05 -06:00
Behdad Esfahbod 538f1579e8 Trying to fix distcheck
Doesn't work though :(.  Building docs is very fragile...

At least, if docbook is present, distcheck passes now.
2013-01-02 18:23:55 -06:00
Behdad Esfahbod 558b3c65f9 Use CC_FOR_BUILD to generate source files
Previously we were failing if CROSS_COMPILING and the generated headers
were not present.  It works just fine now.

One caveat: the fix is not fully correct since config.h is being
included in the files built with CC_FOR_BUILD, but config.h has config
for the host system, not the build system.  Should be fine though.
2013-01-02 17:49:41 -06:00
Behdad Esfahbod f6d8306e56 Add build stuff for threadsafety primitives
Copied over from HarfBuzz.
2013-01-02 00:38:30 -06:00
Akira TAGOH 9231545c6b Do not show the deprecation warning if it is a symlink 2012-12-05 18:13:25 +09:00
Akira TAGOH 3d3629f86a Fix a potability issue about stdint.h 2012-11-27 18:25:11 +09:00
Akira TAGOH 02db01ac22 Bump version to 2.10.2 2012-11-26 17:21:14 +09:00
Akira TAGOH 8daa863c6d deal with warnings as errors for the previous change
missed this change to commit. doh!
2012-09-11 18:10:12 +09:00
Akira TAGOH ab26a722c0 Bug 52573 - patch required to build 2.10.x with oldish GNU C library headers
On older libc, _POSIX_C_SOURCE didn't satisfy to use posix_fadvise()
and AC_CHECK_FUNCS doesn't check a header file if the function is
declared there properly. so use AC_LINK_IFELSE instead.
2012-09-11 17:56:09 +09:00
Akira TAGOH c4a58ae0e2 Fix for libtoolize's warnings 2012-08-27 16:36:49 +09:00
Akira TAGOH cbfbd4041d Bump version to 2.10.1 2012-07-27 11:22:14 +09:00
Akira TAGOH d4fc407246 correct version 2012-07-17 14:20:48 +09:00
Akira TAGOH 92bad770e5 Bump version to 2.10 2012-07-17 11:36:01 +09:00
Akira TAGOH 14d23ef330 Bump libtool revision 2012-07-17 11:34:31 +09:00
Akira TAGOH da9400212d Fix a build fail with gcc 2.95, not supporting the flexible array members. 2012-07-09 14:46:51 +09:00
Akira TAGOH 5b2d065ef8 Bug 34266 - configs silently ignored if libxml2 doesn't support SAX1 interface
Check if libxml2 has built with --with-sax1
2012-07-05 16:25:05 +09:00
Akira TAGOH 9c377192bf Bump version to 2.9.92 2012-06-25 14:57:51 +09:00
Akira TAGOH a94c6b3b94 Bump libtool revision 2012-06-25 14:50:18 +09:00
Akira TAGOH 2d9ad5434b Rename configure.in to configure.ac 2012-06-18 18:33:43 +09:00