Commit Graph

17 Commits

Author SHA1 Message Date
matthieu
e573efcd34 Make sure the fontconfig cache in the xbaseXX.tgz set is valid.
Tarballs only store timestamps with 1s resolution, while the
fontconfig cache uses nano-second resolution from the filesystem to
check that a directory hasn't changed.

So the font directories extracted by the installer were almost always
considered out of date, causing applications that use fontconfig to
trigger a rebuild of the cache.

Now, when installing with DESTDIR set, we use a perl one-liner to
remove the nanoseconds from the mtime of the fonts directories before
running fc-cache, so that the timestamps recorded in the cache match
what will be set after extracting the xfont set.

Help and suggestions from at least guenther@, millert@, espie@
and deraadt@
2018-07-09 21:20:56 +00:00
tb
d1cd881611 Set permissions of fontconfig cache files, fonts.dir and fons.scale
explicitly, so they don't depend on the umask.

push forward deraadt; no objections matthieu
2016-11-19 08:38:15 +00:00
matthieu
fd18c20e72 regen 2016-10-11 22:14:30 +00:00
matthieu
1a97432a77 Fix ownership of fonts.dir and font.scale files as well as
fontconfig font caches.
mkfontdir and mkfontscale are now run out of font/alias at the end
of the build or install, like fc-cache.
fc-cache is using its -y (sysroot) flag that works if used correctly.
2016-10-02 20:55:09 +00:00
matthieu
a8fc9116a1 No NEWS is good NEWS - remove a bunch of files not present upstreams anymore 2015-05-10 14:17:51 +00:00
matthieu
61e2983c70 Fix a number of merge issues accumulated over the years
- INSTALL often got doubled by patch
- empty AUTHORS files didn't get removed.
2013-08-18 06:20:12 +00:00
espie
7796827566 let build and release proceed through the exact same steps, avoiding
nasty surprises...

REQUIRES current /usr/share/mk (cd /usr/src/share/mk && make install)

okay matthieu@
2012-08-18 10:38:39 +00:00
matthieu
90122f3a74 Update all font packages to latest X.Org versions. 2010-10-31 21:22:36 +00:00
matthieu
62df325a54 Update font/alias to 1.0.2 2010-07-24 21:02:30 +00:00
matthieu
ea34eb06d9 Fix my previous attempt to run 'fc-cache -v' at the end of
a make build. tested by naddy@.
2008-03-20 20:54:57 +00:00
matthieu
7830df18ed Regen with autoconf 2.59-p2, with AM_SANITY check zapped. 2008-03-15 18:08:24 +00:00
matthieu
6637a9a36e regen with automake 1.9.6p2 2007-03-18 22:29:12 +00:00
matthieu
81addb90f7 regen 2007-03-16 00:19:19 +00:00
matthieu
9b47cdf3dc regenerate with OpenBSD autotools 2006-11-27 15:13:16 +00:00
matthieu
2949cecc26 regen with OpenBSD autotools 2006-11-26 18:25:30 +00:00
matthieu
54a0c4ebdf Build infrastructure for font 2006-11-26 17:37:04 +00:00
matthieu
abaac6c15d Importing font-alias 1.0.1 2006-11-26 15:50:28 +00:00