tech-pkg archive

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

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

David Brownlee <> writes:

>> This very use-case (xymon depending on rrdtool depending on dejavu-ttf
>> depending on X11) has actually been discussed here before:
>> <> ff.
>> Except back then, the use of mkfontdir did not yet trigger an X11
>> dependency.
> Can pkgtasks/ 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

It seems that the discussion was about X11BASE vs LOCALBASE.  And what's
being triggered is not an 'X11 dependency' in that it doesn't cause all
of X11 to be built, but a dependency on mkfontscale, which is a small

But, if it makes conceptual sense to have fonts installed for some uses
without the extra metadata dirs, and we can do that in a way that will
preserve the consistency properties that matter, that's a reasonable
thing to consider.

What abs@ suggested seems to meet that, basically saying that output
created my mkfontdir is a mkfontdir-world thing, detached from the
fonts, and then we need INSTALL/DEINSTALL steps  so that any sequencing
of package installations ends up in the same state regardles of
ordering, depending only on the installe set at the moment.
At least I think that's was meant.

Attachment: signature.asc
Description: PGP signature

Home | Main Index | Thread Index | Old Index