[Fontconfig] [RFC/PATCH 0/3 v2] fc-cache --root support

Mike Frysinger vapier at gentoo.org
Mon Nov 7 21:24:58 PST 2011


The point of these patchsets is to add a --root flag to fc-cache so that
people can build up the font cache in a tree other than /.  This is useful
to people cross-compiling, and for non-root building (chroot won't work).

This ignores the cache file format issue (that's a later patchset).

Mike Frysinger (3):
  FcStrPathPlus: new helper function
  FcStat: export for people to use
  fc-cache: add a --root option

 fc-cache/fc-cache.c     |   59 ++++++++++++++++++++++++++++------------------
 fc-cache/fc-cache.sgml  |   11 ++++++++-
 fontconfig/fontconfig.h |   15 ++++++++++++
 src/fccache.c           |   40 ++++++++++++++++++++++++++++---
 src/fccfg.c             |   59 +++++++++++++++++++++++------------------------
 src/fcdir.c             |   13 ++++++++-
 src/fcfreetype.c        |   10 +++++++-
 src/fcint.h             |    2 +
 src/fcstr.c             |   51 ++++++++++++++++++++++++++++++++++++++++
 src/fcxml.c             |   22 ++++++++++++++++-
 10 files changed, 219 insertions(+), 63 deletions(-)

-- 
1.7.6.1



More information about the Fontconfig mailing list