tech-pkg archive

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

Re: CVS commit: pkgsrc/fonts/dejavu-ttf



On Fri, 23 Jul 2021 at 14:24, Hauke Fath <hf%spg.tu-darmstadt.de@localhost> wrote:
>
> On 7/23/21 2:29 PM, Hauke Fath wrote:
> >> I don't think we want to add x11 options to all ttf packages, so
> >> we should discuss what alternate solutions there are.
> >
> > dejavu-ttf is probably special, in that rrdtool depends on it, which you
> > might want to run on a sans-X web server.
>
> This very use-case (xymon depending on rrdtool depending on dejavu-ttf
> depending on X11) has actually been discussed here before:
> <http://mail-index.netbsd.org/tech-pkg/2011/10/17/msg007803.html> ff.
> Except back then, the use of mkfontdir did not yet trigger an X11
> dependency.

Can pkgtasks/fonts.mk be adjusted to have something in the form of
PKG_UPDATE_FONTS_DB=auto, which would run mkfontdir if present but not
require it, plus logic in fonts/mkfontscale to run mkfontdir after
install, so installing a bunch of fonts then fonts/mkfontscale can
DTRT.

David


Home | Main Index | Thread Index | Old Index