Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
$< 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.
|
|
This reverts commit 0fdfddf2ac93c1c0238b70a265998fd6b5ffe7af.
Conflicts:
doc/Makefile.am
|
|
|
|
Add a cast to avoid a gcc warning:
fc-cat.c: In function 'cache_print_set':
fc-cat.c:230:2: warning: pointer targets in passing argument 2
of 'FcPatternFormat' differ in signedness [-Wpointer-sign]
../fontconfig/fontconfig.h:860:1: note:
expected 'const FcChar8 *' but argument is of type 'char *'
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
Added the a builtin "fccat" to FcPatternFormat().
|
|
Fixes:
Bug 32679 - fontconfig-2.8.0 does not cross compile
Bug 25462 - Cross-compilation doesn't work
|
|
|
|
|
|
|
|
|
|
Recent doc2man generates files called manpage.log. This was breaking build.
|
|
This is quite similar to fc-query, but calling FcFileScan/FcDirScan instead
of FcFreeTypeQuery.
|
|
Added -h instead of -?. And upon -h and --help, write usave to stdout
instead of stdin, and return 0 instead of 1.
-? still works like before as that's what getopt returns upon unknown
arguments.
|
|
|
|
|
|
|
|
|
|
|
|
The utility programs don't use any freetype interfaces, so they
don't need to directly refer to freetype headers or libraries.
|
|
For systems on whch DOCBOOK is unavailable, distribute command line program
manual pages in .man format.
|
|
Adapt documentation to reality.
(1) The fc-cat usage message should reflect the
options accepted by the program.
(2) The fc-cat.1 manpage was fairly broken (unreadable).
|
|
Borrowing header stuff written for cairo, fontconfig now exposes in the
shared library only the symbols which are included in the public header
files. All private symbols are hidden using suitable compiler directives.
A few new public functions were required for the fontconfig utility programs
(fc-cat and fc-cache) so those were added, bumping the .so minor version number
in the process.
|
|
|
|
Instead of making filename canonicalization occur in multiple places, it
occurs only in FcStrAddFilename now, as all filenames pass through that
function at one point.
|
|
Instead of passing directory information around in separate variables,
collect it all in an FcCache structure. Numerous internal and tool
interfaces changed as a result of this.
Charsets are now pre-frozen before being serialized. This causes them to
share across multiple fonts in the same cache.
|
|
make distcheck caught this bug; the effect of 'make uninstall'
would have been to execute 'rm -rf /', somewhat less that desirable.
|
|
Automatically list all font directories when no arguments are given to
fc-cat. Also add -r option to recurse from specified cache directories.
fc-cat also now prints the cache filename in verbose mode, along with the
related directory name.
|
|
Cache files for missing or more recently modified directories are
automatically removed at the end of every fc-cache run.
|
|
Internal interfaces in cache management changed again...
|
|
FcCharSetSerialize was computing the offset to the unserialized leaf,
which left it pointing at random data when the cache was reloaded.
fc-cat has been updated to work with the new cache structure.
Various debug messages extended to help diagnose serialization errors.
|
|
fc-cache and fc-cat use internal (fcint.h) APIs that have
changed with the elimination of the global cache.
|
|
Shuffle order of includes for building out of srcdir on win32.
reviewed by: plam
|
|
Fix memory leak in error case (Coverity defects #1820, #1821, #1822).
Fix memory leak (Coverity defect #1819).
prevent crash when invalid include line is parsed (Coverity defect #763).
Fix potential null pointer access (Coverity defect #1804).
Remove dead code (Coverity defect #1194).
Prevent potential null pointer access (Coverity defect #767), ensure error
value is read (Coverity defect #1195).
reviewed by: plam
|
|
reviewed by: plam
|
|
Make fontconfig compile under MinGW:
1) remove unneeded #includes;
2) make use of mmap and sysconf conditional;
3) replace rand_r by srand/rand if needed;
4) use chsize instead of ftruncate; and
5) update libtool exports file
|
|
|
|
reviewed by: plam
|
|
name.
|
|
reviewed by: plam
|
|
FcDirCacheWrite)
Check I/O call return values and eliminate unused variable warnings.
reviewed by: plam
|
|
Another FcCacheReadString return value check.
|
|
before comparing them.
Allocate extra space for appended '/' in directory name.
reviewed by: plam
|
|
in FcConfig's fontDirs string set, as canonical.
Actually update config.fontDirs as font directories are scanned.
|
|
Minor change to global cache file format to fix fc-cat bug reported by
Frederic Crozat, and buglet with not globally caching directories with
zero fonts cached.
|
|
helps make fontconfig FHS-compliant, but requires that all caches get
rebuilt.
Also, autogen.sh now needs the additional parameter
--localstatedir=/var.
|
|
|
|
|
|
|
|
Minor code warning cleanups.
|