FS#76932 - [starship] Make ttf-font-nerd an optdep

Attached to Project: Community Packages
Opened by Eugene Diachkin (Ineu) - Sunday, 25 December 2022, 13:14 GMT
Last edited by Maxime Gauduin (Alucryd) - Monday, 26 December 2022, 10:09 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Maxime Gauduin (Alucryd)
Caleb Maclennan (alerque)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The starship package itself is small, ~8MB size. It, however, depends on ttf-font-nerd, which install ttf-iosevka-nerd, which takes 676MB while installed, which is almost 80 times the size of the starship package itself. It doesn't make sense to install a prompt for the command line and get 700MB deps.

The starship itself is capable of working without nerd fonts, for example: https://starship.rs/presets/#no-nerd-fonts

So please make the fonts dependency optional for the package.
Thank you.
This task depends upon

Closed by  Maxime Gauduin (Alucryd)
Monday, 26 December 2022, 10:09 GMT
Reason for closing:  Fixed
Additional comments about closing:  1.12.0-2
Comment by Daniel M. Capella (polyzen) - Sunday, 25 December 2022, 21:47 GMT
Note: ttf-font-nerd is provided by a large number of packages, not just ttf-iosevka-nerd: https://archlinux.org/packages/?sort=&q=ttf-font-nerd&maintainer=&flagged=
Comment by Toolybird (Toolybird) - Sunday, 25 December 2022, 23:54 GMT
Related  FS#72277 
Comment by Eugene Diachkin (Ineu) - Monday, 26 December 2022, 08:23 GMT
> Note: ttf-font-nerd is provided by a large number of packages

Indeed, but per https://starship.rs/presets/#no-nerd-fonts, "This preset will become the default preset in a future release of starship". So while it's possible to install another font, it might also be a great option to not install any :)

Loading...