Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 627842 - virtual/ttf-fonts: add corefonts USE flag
Summary: virtual/ttf-fonts: add corefonts USE flag
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Fonts Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-14 16:37 UTC by Chí-Thanh Christopher Nguyễn
Modified: 2018-07-26 14:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chí-Thanh Christopher Nguyễn gentoo-dev 2017-08-14 16:37:08 UTC
A number of packages require Microsoft corefonts (Arial, Times New Roman, Courier New) or the free substitutes croscorefonts or liberation-fonts.

Currently, many of these packages hard depend on media-fonts/liberation-fonts or media-fonts/corefonts when actually they would work with any of the three packages.

I propose to add a new USE flag "corefonts" to virtual/ttf-fonts which ensures that one of the corefonts packages is installed. Other packages could then depend on virtual/ttf-fonts[corefonts] instead of individual packages.

IUSE="corefonts"

RDEPEND="|| (
                media-fonts/liberation-fonts
                media-fonts/croscorefonts
                media-fonts/corefonts
                !corefonts? ( || (
                        media-fonts/source-pro
                        media-fonts/dejavu
                        media-fonts/droid
                        media-fonts/freefont
                ) )
        )"
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2018-07-26 14:02:48 UTC
If there are no objections until then, I plan to apply this change on 2018-08-14.