Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 627842

Summary: virtual/ttf-fonts: add corefonts USE flag
Product: Gentoo Linux Reporter: Chí-Thanh Christopher Nguyễn <chithanh>
Component: Current packagesAssignee: Gentoo Fonts Team <fonts>
Status: CONFIRMED ---    
Severity: enhancement    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=872089
Whiteboard:
Package list:
Runtime testing required: ---

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.