FS#74050 - Bad dependency for package `starship`

Attached to Project: Community Packages
Opened by Blurgy (blurgy) - Monday, 07 March 2022, 11:03 GMT
Last edited by Caleb Maclennan (alerque) - Thursday, 07 April 2022, 15:05 GMT
Task Type Bug Report
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 1
Private No


Package `starship` from the [community] repo has a hard dependency on `ttf-font-nerd`, and the only package that provides `ttf-font-nerd` is `ttf-iosevka-nerd`. I don't think this dependency makes much sense, since `starship` is a shell prompt manager, it has nothing to do with font rendering. For my daily use I have to install a ~100MB `ttf-iosevka-nerd` font on a headless machine just to use `starship`, it's quite a waste of disk space in my opinion.

I would suggest removing `ttf-font-nerd` from `starship`'s hard dependencies, making it an optional dependency would make more sense.

Additional info:
* package version(s)
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:

`sudo pacman -S starship`
This task depends upon

Closed by  Caleb Maclennan (alerque)
Thursday, 07 April 2022, 15:05 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#72277