Commit Graph

91 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
b142ca47dd Set permissions of fonts.dir and fonts.scale explicitly, so they don't
depend on the umask.  For historical reasons, ${BINGRP}=wheel here, so
use 'bin' instead of ${BINGRP} to set the group of /etc/fonts/conf.d

push forward deraadt; no objections matthieu
2016-11-19 08:43:19 +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
400881a786 Fix ownership of /etc/fonts/conf.d/42-luxi-mono.conf link 2016-10-02 20:51:20 +00:00
matthieu
836cc0eece regen 2016-10-02 09:36:26 +00:00
matthieu
245607701d Typo font.dir -> fonts.dir 2016-10-02 09:34:35 +00:00
tb
2b5da2cd8d Explicitly set owner and group of the symlinks in etc/fonts/conf.d and
of the fonts.dir and fonts.scale indexes. Needed for noperm release.

ok matthieu
2016-10-02 09:23:26 +00:00
matthieu
462137427f Update to DejaVu fonts 2.37 2016-08-29 17:27:25 +00:00
matthieu
5d1775f3ff Update to dejavu-ttf 2.35 2015-05-24 10:04:16 +00:00
matthieu
559df68685 Update to font-util 1.3.1 2015-05-14 13:39:41 +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
bd28a6395f Bunch of fonts package updates.
build system churn + removal of old RCS keyworks.
No actual visible changes indended.
2013-11-10 15:20:04 +00:00
naddy
ae98c75820 update DejaVu Fonts to 2.34; ok matthieu@ 2013-08-26 19:38:15 +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
ab74237f1d Update to font-util 1.3.0 2012-05-15 06:12:09 +00:00
matthieu
71ff97e728 Update DejaVu fonts to 2.33. 2011-08-28 18:06:25 +00:00
matthieu
3f0439e5e3 Update to bh-ttf 1.0.3.
Fixes installation of fontconfig configuration files.
2010-11-11 10:57:47 +00:00
matthieu
90122f3a74 Update all font packages to latest X.Org versions. 2010-10-31 21:22:36 +00:00
matthieu
f0e68d815c Update to encodings 1.0.4 2010-10-31 20:32:53 +00:00
matthieu
9db35b3c76 Update to font-util 1.2.0. 2010-10-31 20:31:13 +00:00
matthieu
ef05bb6d86 A batch of font packages updates, only build-system related:
font-adobe-100dpi		1.0.1
font-adobe-75dpi		1.0.1
font-adobe-utopia-100dpi	1.0.2
font-adobe-utopia-75dpi		1.0.2
font-adobe-utopia-type1		1.0.2
font-arabic-misc		1.0.1
font-bh-100dpi			1.0.1
font-bh-75dpi			1.0.1
font-bh-lucidatypewriter-100dpi	1.0.1
font-bh-lucidatypewriter-75dpi	1.0.1
font-bh-ttf			1.0.1
font-bh-type1			1.0.1
font-bitstream-100dpi		1.0.1
font-bitstream-75dpi		1.0.1
font-bitstream-type1		1.0.1
font-cronyx-cyrillic		1.0.1
font-cursor-misc		1.0.1
font-daewoo-misc		1.0.1
font-dec-misc			1.0.1
font-ibm-type1			1.0.1
font-isas-misc			1.0.1
font-jis-misc			1.0.1
font-micro-misc			1.0.1
font-misc-cyrillic		1.0.1
font-misc-ethiopic		1.0.1
font-misc-meltho		1.0.1
font-mutt-misc			1.0.1
font-screen-cyrillic		1.0.2
font-sony-misc			1.0.1
font-sun-misc			1.0.1
font-winitzki-cyrillic		1.0.1
font-xfree86-type1		1.0.2
2010-07-25 12:04:56 +00:00
matthieu
38e36a814e Update to font-schumacher-misc 1.1.0.
Sync with Markus Kuhn's repository.
2010-07-25 11:47:40 +00:00
matthieu
7fdd9ab1f3 Update to font-misc-misc 1.1.0.
Sync with Markus Kuhn's repository.
2010-07-25 10:50:56 +00:00
matthieu
62df325a54 Update font/alias to 1.0.2 2010-07-24 21:02:30 +00:00
matthieu
407bd7f69e Update fonts/encodings to 1.0.3 2010-07-24 20:54:34 +00:00
matthieu
46bd21e1f7 Update to DejaVu TrueType fonts 2.31.
This release adds a bunch of new glyphs and fixes some existing ones.
2010-07-24 20:35:26 +00:00
matthieu
c91db26221 Update to font-util 1.1.1 2010-05-31 19:26:22 +00:00
matthieu
24143da004 Remove Bitstream Vera fonts, replaced by DejaVu. 2010-05-29 17:30:41 +00:00
matthieu
b2f88deaff disconnect bitstream-vera fonts from the build.
They are superceeded by DejaVu. reminded by naddy@.
2010-03-28 14:13:21 +00:00
matthieu
09c379f6b1 Build and install DejaVu fonts. ok naddy@. 2010-01-16 08:58:54 +00:00
matthieu
1537180ef0 Import DejaVu fonts. ok naddy@ 2010-01-16 08:48:14 +00:00
matthieu
ed11e1ad29 Remove Speedo fonts. Disconnected from build for weeks now. 2010-01-11 20:30:50 +00:00
matthieu
1040b99485 Build of font/util has moved earlier, since some applications
are going to depend on it soon.
2009-12-05 09:02:58 +00:00
matthieu
2e081ee603 Speedo support is gone. Don't install no useless Speedo fonts. 2009-10-31 21:14:03 +00:00
matthieu
5f0dea08be Update to xfree86-type1-1.0.1. 2008-06-12 13:49:35 +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
556ab37df3 regen 2007-07-29 12:20:04 +00:00
matthieu
8f689ca03a Only run fc-cache once at the end of fonts installation. 2007-06-01 01:05:25 +00:00
matthieu
7ffde108b0 use INSTALL_DATA 2007-03-31 16:41:11 +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
a5c193b05a remove update target 2006-12-17 19:52:56 +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
403faa8898 Add a Makefile there 2006-11-26 18:03:16 +00:00
matthieu
e145decf9b Importing Bitsream Vera fonts 2006-11-26 18:01:12 +00:00