diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-04-04 06:53:18 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-04-04 06:53:18 +0000 |
commit | 0e0d4691b58f901664f6c7fa661e4ad3eeb5fa93 (patch) | |
tree | 4969f2780b7bdff68ae115f81a396f87eecd63e8 /x11-fonts/fontconfig/files | |
parent | 211f6135eb3c6eb6dc0900957102574093db99e4 (diff) | |
download | ports-0e0d4691b58f901664f6c7fa661e4ad3eeb5fa93.tar.gz ports-0e0d4691b58f901664f6c7fa661e4ad3eeb5fa93.zip |
Notes
Diffstat (limited to 'x11-fonts/fontconfig/files')
-rw-r--r-- | x11-fonts/fontconfig/files/patch-Makefile.in | 29 | ||||
-rw-r--r-- | x11-fonts/fontconfig/files/patch-config_Makedefs.in | 11 | ||||
-rw-r--r-- | x11-fonts/fontconfig/files/patch-configure | 14 | ||||
-rw-r--r-- | x11-fonts/fontconfig/files/patch-fc-cvs | 212 | ||||
-rw-r--r-- | x11-fonts/fontconfig/files/patch-fonts.conf.in | 10 | ||||
-rw-r--r-- | x11-fonts/fontconfig/files/patch-src_Makefile.in | 51 | ||||
-rw-r--r-- | x11-fonts/fontconfig/files/patch-src_fccache.c | 38 | ||||
-rw-r--r-- | x11-fonts/fontconfig/files/patch-src_fccfg.c | 22 | ||||
-rw-r--r-- | x11-fonts/fontconfig/files/patch-src_fcdir.c | 32 | ||||
-rw-r--r-- | x11-fonts/fontconfig/files/patch-src_fcfreetype.c | 11 | ||||
-rw-r--r-- | x11-fonts/fontconfig/files/patch-src_fcint.h | 12 | ||||
-rw-r--r-- | x11-fonts/fontconfig/files/pkg-install.in | 9 |
12 files changed, 153 insertions, 298 deletions
diff --git a/x11-fonts/fontconfig/files/patch-Makefile.in b/x11-fonts/fontconfig/files/patch-Makefile.in new file mode 100644 index 000000000000..4e2214774486 --- /dev/null +++ b/x11-fonts/fontconfig/files/patch-Makefile.in @@ -0,0 +1,29 @@ +--- Makefile.in.orig Mon Mar 31 20:48:41 2003 ++++ Makefile.in Mon Mar 31 20:52:04 2003 +@@ -116,7 +116,7 @@ + + SUBDIRS = fontconfig fc-lang src fc-cache fc-list doc test + +-EXTRA_DIST = fontconfig.pc.in fonts.conf.in fonts.dtd local.conf fontconfig.spec.in fontconfig.spec ++EXTRA_DIST = fontconfig.pc.in fonts.conf.in fonts.dtd fontconfig.spec.in fontconfig.spec + + + pkgconfigdir = $(prefix)/libdata/pkgconfig +@@ -457,16 +457,7 @@ + + + install-data-local: +- if [ -f $(DESTDIR)$(configdir)/local.conf ]; then \ +- echo "not overwriting existing $(DESTDIR)$(configdir)/local.conf"; \ +- else if [ -f $(srcdir)/local.conf ]; then \ +- echo " $(INSTALL_DATA) $(srcdir)/local.conf $(DESTDIR)$(configdir)/local.conf"; \ +- $(INSTALL_DATA) $(srcdir)/local.conf $(DESTDIR)$(configdir)/local.conf; \ +- else if [ -f local.conf ]; then \ +- echo " $(INSTALL_DATA) local.conf $(DESTDIR)$(configdir)/local.conf"; \ +- $(INSTALL_DATA) local.conf $(DESTDIR)$(configdir)/local.conf; \ +- fi; fi; fi +- if [ x$(DESTDIR) = x ]; then $(bindir)/fc-cache -f -v; fi ++# if [ x$(DESTDIR) = x ]; then $(bindir)/fc-cache -f -v; fi + + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. diff --git a/x11-fonts/fontconfig/files/patch-config_Makedefs.in b/x11-fonts/fontconfig/files/patch-config_Makedefs.in deleted file mode 100644 index 15be7083d300..000000000000 --- a/x11-fonts/fontconfig/files/patch-config_Makedefs.in +++ /dev/null @@ -1,11 +0,0 @@ ---- config/Makedefs.in.orig Sun Oct 6 16:43:39 2002 -+++ config/Makedefs.in Sun Oct 6 16:43:47 2002 -@@ -65,7 +65,7 @@ - CFLAGS=$(CDEBUGFLAGS) @DEFS@ $(FCPATH_DEF) $(INCLUDES) - - LIBBASE=libfontconfig.so --LIBFILE=$(LIBBASE).@PACKAGE_MAJOR@.@PACKAGE_MINOR@ -+LIBFILE=$(LIBBASE).@PACKAGE_MAJOR@ - LIBMAJOR=$(LIBBASE).@PACKAGE_MAJOR@ - - LIBFONTCONFIG=-L$(SRCDIR) -lfontconfig diff --git a/x11-fonts/fontconfig/files/patch-configure b/x11-fonts/fontconfig/files/patch-configure index 8a8378a7a11d..fe4f6be04cb5 100644 --- a/x11-fonts/fontconfig/files/patch-configure +++ b/x11-fonts/fontconfig/files/patch-configure @@ -1,6 +1,14 @@ ---- configure.orig Thu Mar 13 17:21:08 2003 -+++ configure Thu Mar 13 17:21:15 2003 -@@ -611,7 +611,7 @@ +--- configure.orig Fri Mar 7 16:06:13 2003 ++++ configure Mon Mar 31 13:31:40 2003 +@@ -5452,6 +5452,7 @@ + + # This can be used to rebuild libtool when needed + LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" ++$ac_aux_dir/ltconfig $LIBTOOL_DEPS + + # Always use our own libtool. + LIBTOOL='$(SHELL) $(top_builddir)/libtool' +@@ -6402,7 +6403,7 @@ # Check whether --with-default_fonts or --without-default_fonts was given. if test "${with_default_fonts+set}" = set; then withval="$with_default_fonts" diff --git a/x11-fonts/fontconfig/files/patch-fc-cvs b/x11-fonts/fontconfig/files/patch-fc-cvs deleted file mode 100644 index e1eac2e98829..000000000000 --- a/x11-fonts/fontconfig/files/patch-fc-cvs +++ /dev/null @@ -1,212 +0,0 @@ ---- fc-lang/fc-lang.c 2002/08/22 07:36:43 1.3 -+++ fc-lang/fc-lang.c 2002/12/14 02:03:58 1.4 -@@ -165,22 +165,38 @@ static int compare (const void *a, const - return FcStrCmpIgnoreCase (*as, *bs); - } - -+#define MAX_LANG 1024 -+#define MAX_LANG_SET_MAP ((MAX_LANG + 31) / 32) -+ -+#define BitSet(map, id) ((map)[(id)>>5] |= ((FcChar32) 1 << ((id) & 0x1f))) -+#define BitGet(map, id) ((map)[(id)>>5] >> ((id) & 0x1f)) & 1) -+ - int - main (int argc, char **argv) - { -- char *files[1024]; -- FcCharSet *sets[1024]; -- int duplicate[1024]; -- char *names[1024]; -+ char *files[MAX_LANG]; -+ FcCharSet *sets[MAX_LANG]; -+ int duplicate[MAX_LANG]; -+ int country[MAX_LANG]; -+ char *names[MAX_LANG]; -+ char *langs[MAX_LANG]; - FILE *f; -+ int ncountry = 0; - int i = 0; - FcCharLeaf **leaves, **sleaves; - int total_leaves = 0; - int l, sl, tl; -+ int c; - char line[1024]; -+ FcChar32 map[MAX_LANG_SET_MAP]; -+ int num_lang_set_map; - - while (*++argv) -+ { -+ if (i == MAX_LANG) -+ fatal (*argv, 0, "Too many languages"); - files[i++] = *argv; -+ } - files[i] = 0; - qsort (files, i, sizeof (char *), compare); - i = 0; -@@ -191,6 +207,10 @@ main (int argc, char **argv) - fatal (files[i], 0, strerror (errno)); - sets[i] = scan (f, files[i]); - names[i] = get_name (files[i]); -+ langs[i] = get_lang(names[i]); -+ if (strchr (langs[i], '-')) -+ country[ncountry++] = i; -+ - total_leaves += sets[i]->num; - i++; - fclose (f); -@@ -319,10 +339,54 @@ main (int argc, char **argv) - " { FC_REF_CONSTANT, %d, " - "(FcCharLeaf **) leaves_%s, " - "(FcChar16 *) numbers_%s } },\n", -- get_lang(names[i]), -+ langs[i], - sets[j]->num, names[j], names[j]); - } - printf ("};\n\n"); -+ printf ("#define NUM_LANG_CHAR_SET %d\n", i); -+ num_lang_set_map = (i + 31) / 32; -+ printf ("#define NUM_LANG_SET_MAP %d\n", num_lang_set_map); -+ /* -+ * Dump indices with country codes -+ */ -+ if (ncountry) -+ { -+ int ncountry_ent = 0; -+ printf ("\n"); -+ printf ("static const FcChar32 fcLangCountrySets[][NUM_LANG_SET_MAP] = {\n"); -+ for (c = 0; c < ncountry; c++) -+ { -+ i = country[c]; -+ if (i >= 0) -+ { -+ int l = strchr (langs[i], '-') - langs[i]; -+ int d, k; -+ -+ for (k = 0; k < num_lang_set_map; k++) -+ map[k] = 0; -+ -+ BitSet (map, i); -+ for (d = c + 1; d < ncountry; d++) -+ { -+ int j = country[d]; -+ if (j >= 0 && !strncmp (langs[j], langs[i], l)) -+ { -+ BitSet(map, j); -+ country[d] = -1; -+ } -+ } -+ printf (" {"); -+ for (k = 0; k < num_lang_set_map; k++) -+ printf (" 0x%08x,", map[k]); -+ printf (" }, /* %*.*s */\n", -+ l, l, langs[i]); -+ ++ncountry_ent; -+ } -+ } -+ printf ("};\n\n"); -+ printf ("#define NUM_COUNTRY_SET %d\n", ncountry_ent); -+ } -+ - while (fgets (line, sizeof (line), stdin)) - fputs (line, stdout); - ---- src/fccfg.c 2002/08/31 22:17:32 1.23 -+++ src/fccfg.c 2002/12/21 02:31:53 1.24 -@@ -1141,7 +1141,11 @@ FcConfigSubstituteWithPat (FcConfig * - if ((t->kind == FcMatchFont || kind == FcMatchPattern) && - !FcStrCmpIgnoreCase ((FcChar8 *) t->field, - (FcChar8 *) e->field)) -+ { -+ if (!st[i].elt) -+ t = 0; - break; -+ } - } - switch (e->op) { - case FcOpAssign: ---- src/fclang.c 2002/08/26 23:34:31 1.7 -+++ src/fclang.c 2002/12/14 02:03:59 1.8 -@@ -31,9 +31,6 @@ typedef struct { - - #include "../fc-lang/fclang.h" - --#define NUM_LANG_CHAR_SET (sizeof (fcLangCharSets) / sizeof (fcLangCharSets[0])) --#define NUM_LANG_SET_MAP ((NUM_LANG_CHAR_SET + 31) / 32) -- - struct _FcLangSet { - FcChar32 map[NUM_LANG_SET_MAP]; - FcStrSet *extra; -@@ -339,13 +336,21 @@ FcLangSetCompareStrSet (const FcLangSet - FcLangResult - FcLangSetCompare (const FcLangSet *lsa, const FcLangSet *lsb) - { -- int i; -+ int i, j; - FcLangResult best, r; - - for (i = 0; i < NUM_LANG_SET_MAP; i++) - if (lsa->map[i] & lsb->map[i]) - return FcLangEqual; - best = FcLangDifferentLang; -+ for (j = 0; j < NUM_COUNTRY_SET; j++) -+ for (i = 0; i < NUM_LANG_SET_MAP; i++) -+ if ((lsa->map[i] & fcLangCountrySets[j][i]) && -+ (lsb->map[i] & fcLangCountrySets[j][i])) -+ { -+ best = FcLangDifferentCountry; -+ break; -+ } - if (lsa->extra) - { - r = FcLangSetCompareStrSet (lsb, lsa->extra); ---- fc-lang/fclang.h 2002/10/21 17:03:47 1.20 -+++ fc-lang/fclang.h 2002/12/14 02:03:58 1.21 -@@ -3996,3 +3996,11 @@ static const FcLangCharSet fcLangCharSe - { FC_REF_CONSTANT, 1, (FcCharLeaf **) leaves_fj, (FcChar16 *) numbers_fj } }, - }; - -+#define NUM_LANG_CHAR_SET 175 -+#define NUM_LANG_SET_MAP 6 -+ -+static const FcChar32 fcLangCountrySets[][NUM_LANG_SET_MAP] = { -+ { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00003e00, }, /* zh */ -+}; -+ -+#define NUM_COUNTRY_SET 1 ---- fontconfig/fcprivate.h 2002/08/22 07:36:44 1.6 -+++ fontconfig/fcprivate.h 2002/12/04 10:28:03 1.7 -@@ -87,7 +87,7 @@ _FcPatternVapBuild_bail1: \ - if (!orig) \ - FcPatternDestroy (__p__); \ - _FcPatternVapBuild_bail0: \ -- result = 0; \ -+ result = (void*)0; \ - \ - _FcPatternVapBuild_return: \ - ; \ ---- src/fcstr.c 2002/08/31 22:17:32 1.10 -+++ src/fcstr.c 2002/12/14 01:59:38 1.11 -@@ -283,7 +283,7 @@ FcUtf16ToUcs4 (const FcChar8 *src_orig, - if ((b & 0xfc00) != 0xdc00) - return 0; - result = ((((FcChar32) a & 0x3ff) << 10) | -- ((FcChar32) b & 0x3ff)) | 0x10000; -+ ((FcChar32) b & 0x3ff)) + 0x10000; - } - else - result = a; ---- src/fontconfig.man 2002/10/02 07:11:30 1.7 -+++ src/fontconfig.man 2003/02/16 17:44:36 1.8 -@@ -1453,6 +1453,12 @@ match the available fonts. It is in xml - - .B fonts.dtd - is a DTD that describes the format of the configuration files. -+ -+.B local.conf -+is sourced by the default system-wide fonts.conf file. -+Note that the normal 'make install' procedure for XFree86 is to -+replace any existing fonts.conf file with the new version. Place -+any local customizations in local.conf which this file references. - - .B ~/.fonts.conf - is the conventional location for per-user font configuration, although the diff --git a/x11-fonts/fontconfig/files/patch-fonts.conf.in b/x11-fonts/fontconfig/files/patch-fonts.conf.in deleted file mode 100644 index caf5560b98bc..000000000000 --- a/x11-fonts/fontconfig/files/patch-fonts.conf.in +++ /dev/null @@ -1,10 +0,0 @@ ---- fonts.conf.in.orig Sun Oct 6 16:37:34 2002 -+++ fonts.conf.in Sun Oct 6 16:37:41 2002 -@@ -21,7 +21,6 @@ - --> - - <dir>/usr/X11R6/lib/X11/fonts</dir> -- <dir>/usr/share/fonts</dir> - <dir>~/.fonts</dir> - - <!-- FONTPATH_END --> diff --git a/x11-fonts/fontconfig/files/patch-src_Makefile.in b/x11-fonts/fontconfig/files/patch-src_Makefile.in deleted file mode 100644 index f4869f5675a6..000000000000 --- a/x11-fonts/fontconfig/files/patch-src_Makefile.in +++ /dev/null @@ -1,51 +0,0 @@ ---- src/Makefile.in.orig Sun Oct 6 23:23:09 2002 -+++ src/Makefile.in Sun Oct 6 23:26:11 2002 -@@ -71,7 +71,7 @@ - .c.@OBJEXT@: - $(CC) $(CFLAGS) $(DSO_PIC_CFLAGS) -c $< -o $@ - --all:: $(LIBFILE) $(LIBMAJOR) $(LIBBASE) -+all:: $(LIBFILE) $(LIBBASE) - - # - # build the library and the various version links -@@ -80,13 +80,9 @@ - rm -f $@ - $(MKSHLIB) $(OBJS) $(LIBS) - --$(LIBMAJOR): $(LIBFILE) -- rm -f $@ -- $(LN_S) $(LIBFILE) $(LIBMAJOR) -- --$(LIBBASE): $(LIBMAJOR) -+$(LIBBASE): $(LIBFILE) - rm -f $@ -- $(LN_S) $(LIBMAJOR) $(LIBBASE) -+ $(LN_S) $(LIBFILE) $(LIBBASE) - - $(OBJS): fcint.h $(HEADERS) - -@@ -102,19 +98,15 @@ - # install library - # - --install:: $(DESTDIR)$(LIBDIR)/$(LIB) $(DESTDIR)$(LIBDIR)/$(LIBMAJOR) -+install:: $(DESTDIR)$(LIBDIR)/$(LIBFILE) - install:: $(DESTDIR)$(LIBDIR)/$(LIBBASE) - - $(DESTDIR)$(LIBDIR)/$(LIBFILE): $(LIBFILE) - $(INSTALL_PROGRAM) $< $(DESTDIR)$(LIBDIR)/$< - --$(DESTDIR)$(LIBDIR)/$(LIBMAJOR): $(DESTDIR)$(LIBDIR)/$(LIBFILE) -- rm -f $(DESTDIR)$(LIBDIR)/$(LIBMAJOR) -- $(LN_S) $(LIBFILE) $(DESTDIR)$(LIBDIR)/$(LIBMAJOR) -- --$(DESTDIR)$(LIBDIR)/$(LIBBASE): $(DESTDIR)$(LIBDIR)/$(LIBMAJOR) -+$(DESTDIR)$(LIBDIR)/$(LIBBASE): $(DESTDIR)$(LIBDIR)/$(LIBFILE) - rm -f $(DESTDIR)$(LIBDIR)/$(LIBBASE) -- $(LN_S) $(LIBMAJOR) $(DESTDIR)$(LIBDIR)/$(LIBBASE) -+ $(LN_S) $(LIBFILE) $(DESTDIR)$(LIBDIR)/$(LIBBASE) - - clean:: -- rm -f $(LIBFILE) $(LIBMAJOR) $(LIBBASE) $(OBJS) -+ rm -f $(LIBFILE) $(LIBBASE) $(OBJS) diff --git a/x11-fonts/fontconfig/files/patch-src_fccache.c b/x11-fonts/fontconfig/files/patch-src_fccache.c new file mode 100644 index 000000000000..e8e8e34c1b4a --- /dev/null +++ b/x11-fonts/fontconfig/files/patch-src_fccache.c @@ -0,0 +1,38 @@ +--- src/fccache.c 2003/03/05 05:51:27 1.17 ++++ src/fccache.c 2003/03/12 22:15:39 1.18 +@@ -309,14 +309,14 @@ + * Verify the saved timestamp for a file + */ + FcBool +-FcGlobalCacheCheckTime (FcGlobalCacheInfo *info) ++FcGlobalCacheCheckTime (const FcChar8 *file, FcGlobalCacheInfo *info) + { + struct stat statb; + +- if (stat ((char *) info->file, &statb) < 0) ++ if (stat ((char *) file, &statb) < 0) + { + if (FcDebug () & FC_DBG_CACHE) +- printf (" file missing\n"); ++ printf (" file %s missing\n", file); + return FcFalse; + } + if (statb.st_mtime != info->time) +@@ -549,7 +549,7 @@ + * See if the timestamp recorded in the global cache + * matches the directory time, if not, return False + */ +- if (!FcGlobalCacheCheckTime (&d->info)) ++ if (!FcGlobalCacheCheckTime (d->info.file, &d->info)) + { + if (FcDebug () & FC_DBG_CACHE) + printf ("\tdir cache entry time mismatch\n"); +@@ -633,7 +633,7 @@ + } + } + if (count) +- *count = max; ++ *count = max + 1; + return match; + } + diff --git a/x11-fonts/fontconfig/files/patch-src_fccfg.c b/x11-fonts/fontconfig/files/patch-src_fccfg.c new file mode 100644 index 000000000000..27defad82071 --- /dev/null +++ b/x11-fonts/fontconfig/files/patch-src_fccfg.c @@ -0,0 +1,22 @@ +--- src/fccfg.c.orig Mon Mar 31 15:11:28 2003 ++++ src/fccfg.c Mon Mar 31 15:12:06 2003 +@@ -1265,8 +1265,8 @@ + return FcConfigSubstituteWithPat (config, p, 0, kind); + } + +-#ifndef FONTCONFIG_PATH +-#define FONTCONFIG_PATH "/etc/fonts" ++#ifndef CONFDIR ++#define CONFDIR "/etc/fonts" + #endif + + #ifndef FONTCONFIG_FILE +@@ -1343,7 +1343,7 @@ + } + } + +- dir = (FcChar8 *) FONTCONFIG_PATH; ++ dir = (FcChar8 *) CONFDIR; + path[i] = malloc (strlen ((char *) dir) + 1); + if (!path[i]) + goto bail1; diff --git a/x11-fonts/fontconfig/files/patch-src_fcdir.c b/x11-fonts/fontconfig/files/patch-src_fcdir.c new file mode 100644 index 000000000000..042f89a6fd3b --- /dev/null +++ b/x11-fonts/fontconfig/files/patch-src_fcdir.c @@ -0,0 +1,32 @@ +diff -u -r1.14 -r1.15 +--- src/fcdir.c 2003/03/05 05:51:27 1.14 ++++ src/fcdir.c 2003/03/12 22:15:39 1.15 +@@ -70,7 +70,7 @@ + /* + * Found a cache entry for the file + */ +- if (FcGlobalCacheCheckTime (&cache_file->info)) ++ if (FcGlobalCacheCheckTime (file, &cache_file->info)) + { + name = cache_file->name; + need_scan = FcFalse; +@@ -89,7 +89,8 @@ + strlen ((const char *) file), + FcFalse))) + { +- if (FcGlobalCacheCheckTime (&cache_dir->info)) ++ if (FcGlobalCacheCheckTime (cache_dir->info.file, ++ &cache_dir->info)) + { + font = 0; + need_scan = FcFalse; +@@ -199,6 +200,9 @@ + strcat ((char *) file, "/"); + base = file + strlen ((char *) file); + ++ if (FcDebug () & FC_DBG_SCAN) ++ printf ("\tScanning dir %s\n", dir); ++ + d = opendir ((char *) dir); + + if (!d) diff --git a/x11-fonts/fontconfig/files/patch-src_fcfreetype.c b/x11-fonts/fontconfig/files/patch-src_fcfreetype.c deleted file mode 100644 index 6b23ad07d022..000000000000 --- a/x11-fonts/fontconfig/files/patch-src_fcfreetype.c +++ /dev/null @@ -1,11 +0,0 @@ ---- src/fcfreetype.c.orig Fri Feb 28 10:44:26 2003 -+++ src/fcfreetype.c Fri Feb 28 10:44:41 2003 -@@ -467,7 +467,7 @@ - if (!FcPatternAddString (pat, FC_SOURCE, (FcChar8 *) "FreeType")) - goto bail1; - --#if 1 -+#if 0 - if ((face->face_flags & FT_FACE_FLAG_FIXED_WIDTH) != 0) - if (!FcPatternAddInteger (pat, FC_SPACING, FC_MONO)) - goto bail1; diff --git a/x11-fonts/fontconfig/files/patch-src_fcint.h b/x11-fonts/fontconfig/files/patch-src_fcint.h new file mode 100644 index 000000000000..c469657e68ea --- /dev/null +++ b/x11-fonts/fontconfig/files/patch-src_fcint.h @@ -0,0 +1,12 @@ +diff -u -r1.33 -r1.34 +--- src/fcint.h 2003/03/05 05:52:31 1.33 ++++ src/fcint.h 2003/03/12 22:15:39 1.34 +@@ -338,7 +338,7 @@ + FcGlobalCacheDestroy (FcGlobalCache *cache); + + FcBool +-FcGlobalCacheCheckTime (FcGlobalCacheInfo *info); ++FcGlobalCacheCheckTime (const FcChar8*file, FcGlobalCacheInfo *info); + + void + FcGlobalCacheReferenced (FcGlobalCache *cache, diff --git a/x11-fonts/fontconfig/files/pkg-install.in b/x11-fonts/fontconfig/files/pkg-install.in new file mode 100644 index 000000000000..b00502db5f9d --- /dev/null +++ b/x11-fonts/fontconfig/files/pkg-install.in @@ -0,0 +1,9 @@ +#!/bin/sh + +PATH=/bin:/usr/bin:/sbin:/usr/sbin:%%PREFIX%%/bin +export PATH + +if [ "$2" = "POST-INSTALL" ]; then + echo "Running fc-cache to build fontconfig cache..." + fc-cache -f -v +fi |