tech-pkg archive

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

Re: go-ttf dependency on ttmkfdir2



On Wed, Dec 24, 2025 at 17:06:56 +1300, Lloyd Parkes wrote:

> On 24/12/2025 06:39, Valery Ushakov wrote:
> > On Tue, Dec 23, 2025 at 10:19:16 -0600, Jonathan A. Kollasch wrote:
> > 
> > > On Tue, Dec 23, 2025 at 05:26:31PM +0300, Valery Ushakov wrote:
> > > > Why does go-ttf depend on ttmkfdir2?  It just installs a few ttf
> > > > files.
> > > That's exactly why it depends on it.
> > What about other ttf font packages that use fonts.mk?
> > 
> > $ grep ttmk /usr/pkg/pkgdb/{julia,intel,go,ubuntu}*/+CONTENTS
> > /usr/pkg/pkgdb/go-ttf-2.008/+CONTENTS:@blddep ttmkfdir2-20021109nb8
> > /usr/pkg/pkgdb/go-ttf-2.008/+CONTENTS:@pkgdep ttmkfdir2>=20021109
> > 
> AFAICT it's a bug in fonts.mk. fonts.mk sets TTF_FONTS_DIR when it should be
> setting FONTS_DIRS.ttf.

It's still not clear to me, why it is (or must be as you seem to
imply) a run time dependency.  You use ttmkfdir to create fonts.scale
files for X server, iirc.  That's just one very specific use of ttf
fonts.  E.g. most of the machines I install ttf fonts on are headless
or effectively headless and I install those fonts for use with emacs
(make-frame-on-display over an ssh tunnel).  Why fonts need to be
reinstalled if freetype2 is updated?

-uwe


Home | Main Index | Thread Index | Old Index