Re: fontconfig: Branch 'master' - 3 commits

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Akira TAGOH wrote:
  src/Makefile.am |    1
  src/fccache.c   |  152 +--------------------------
  src/fcdir.c     |    2
  src/fcint.h     |   26 ++++
  src/fcstat.c    |  308 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  5 files changed, 340 insertions(+), 149 deletions(-)

New commits:
commit 0ac6c98294d666762960824d39329459b22b48b7
Author: Mikhail Gusarov<dottedmag@xxxxxxxxxxxxx>
Date:   Mon May 28 14:52:21 2012 +0900

     Fix cache aging for fonts on FAT filesystem under Linux

     Windows does not update mtime of directory on FAT filesystem when
     file is added to it or removed from it. Fontconfig uses mtime of
     directory to check cache file aging and hence fails to detect
     newly added or recently removed files.

     This changeset detects FAT filesystem (currently implemented for
     Linux) and adds generating checksum of directory entries instead
     of using mtime which guarantees proper cache rebuild.

     For non-FAT filesystems this patch adds single syscall per directory
     which is negligeable overhead.

     This fixes bug https://bugs.freedesktop.org/show_bug.cgi?id=25535

     Signed-off-by: Mikhail Gusarov<dottedmag@xxxxxxxxxxxxx>
[...]

This causes problems on Solaris 10:

sun2:fontconfig>make
[...]
  CC     fcstat.lo
"fcstat.c", line 166: undefined struct/union member: d_type
"fcstat.c", line 166: undefined symbol: DT_DIR
"fcstat.c", line 193: undefined struct/union member: d_type
"fcstat.c", line 193: improper member use: d_type
cc: acomp failed for fcstat.c
*** Error code 1
The following command caused the error:
echo "  CC    " fcstat.lo; \
source='fcstat.c' object='fcstat.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/bash ../depcomp \
/bin/bash ../libtool --silent --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I.. -I../src -I/usr/local/dist/include/freetype2 -I/usr/local/dist/include -I/usr/local/dist/include/libxml2 -DFC_CACHEDIR='"/home/rs/testing/fontconfig-git/var/cache/fontconfig"' -DFONTCONFIG_PATH='"/home/rs/testing/fontconfig-git/etc/fonts"' -g -c -o fcstat.lo fcstat.c
make: Fatal error: Command failed for target `fcstat.lo'


Raimund
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig


[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux