tech-pkg archive

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

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



Hauke Fath <hf%spg.tu-darmstadt.de@localhost> writes:

> On Fri, 23 Jul 2021 13:04:23 -0400, Greg Troxel wrote:
>>> (1) make the (install-time) font registration optional - No X, nothing
>>> to register. I wrapped this pattern up as "Use FEATURE if available,
>>> move on if not", which is what you (strongly) reacted to.
>> 
>> With the caveats/extended description in the reply I just sent about
>> abs@'s proposal, I think we might be converged.
>> 
>> The skip optional shouldn't lead to
>> 
>>   install font package
>>   install some parts of modular X
>> 
>> not having the font caches built, where they would been in the opposite
>> install order.
>
> That's a tough nut to crack cleanly - AFAIK there is no list of font 
> directories that a (later installed) mkfontdir could process.

I don't think it's ok to depart from "pkg state depends only on the set
of installed packages, and in particular doesn't vary depending on
order".

> Essentially, just like with switching X11 from native to modular, you'd 
> probably have to rebuild all when you switch from 
> PKG_DEFAULT_OPTIONS=-x11 to a setup based on X11.

Yes, but I thought we were talking about making it optional to skip
things all the time, rather than adding an x11 option to every font
package.  If all font packages have an option to skip registration, I
don't see that we need to make pkg-install-time registration conditional
on the environment.


I think our real difference is that I see consistency properties as
critical, and that I don't see avoiding a small, not harmful package as
being worth added complexity.   But we haven't had a description on the
list of how big the additional package/packages are.

Greg


Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index