Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#59164 - [ttf-dejavu] Font package should not have any dependencies

Attached to Project: Arch Linux
Opened by Khaled Hosny (khaledhosny) - Thursday, 28 June 2018, 00:19 GMT
Last edited by freswa (frederik) - Monday, 29 June 2020, 22:10 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No



Installing ttf-dejavu installs also fontconfig, xorg-fonts-encodings, xorg-mkfontscale, xorg-mkfontdir. None of these is required for the fonts to function, and install hooks already take care of updating the font cache. Though depending on fontconfig is not a big issue, the other packages are of no use on modern Linux systems.
This task depends upon

Closed by  freswa (frederik)
Monday, 29 June 2020, 22:10 GMT
Reason for closing:  Fixed
Additional comments about closing:  2.37+18+g9b5d1b2f-2
Comment by Eli Schwartz (eschwartz) - Thursday, 28 June 2018, 01:15 GMT
Seems like we forgot to remove the depends at the same time as the install script.
Comment by Doug Newgard (Scimmia) - Thursday, 28 June 2018, 04:07 GMT
It wasn't forgotten, there was no consensus on that. People argued that the deps should stay so the hooks would run.
Comment by Jan de Groot (JGC) - Thursday, 28 June 2018, 07:37 GMT
I agree with the reporter. Fontconfig cache is only useful when fontconfig is installed. As for the xorg-* packages, we could move them into xorg-server-common instead.

BTW: Can we finally kill the xorg-font-utils transitional package?
Comment by Khaled Hosny (khaledhosny) - Thursday, 28 June 2018, 13:00 GMT
If fontconfig is not already installed then no application uses it, so installing fontconfig and updating its cache will be rather pointless. The same for X font stuff which is for legacy, server-side core fonts that are not used by basically any application today. Fonts do not need these dependencies to work, applications that use the fonts need them and application naturally has the dependencies they need.
Comment by Doug Newgard (Scimmia) - Thursday, 28 June 2018, 15:11 GMT
I agree as well, but as I said, not everyone does. Check this thread:
Comment by Alex (aion) - Wednesday, 17 July 2019, 20:03 GMT
Fonts should not depend on anything. Hooks exist for maintaining caches and post_install script in packages providing hooks exist for initialization.