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

Bug 312077

Summary: media-fonts/font-misc-meltho and media-fonts/font-misc-ethiopic have unnecessary dependencies
Product: Gentoo Linux Reporter: Faustus <orlovm>
Component: New packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED FIXED    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Faustus 2010-03-30 13:30:41 UTC
font-misc-meltho and font-misc-ethiopic (and possibly others) are TrueType fonts, but because of the way the ebuilds are written, depend on x11-apps/bdftopcf, media-fonts/font-util, and media-fonts/font-alias. Those dependencies are unnecessary in TrueType-only modular X environment. I have used the following ebuild successfully for font-misc-meltho-1.0.0 (not attaching, because I'm sure there are more canonical ways to write the ebuild, and also because I didn't test it with ~1.0.1):

inherit font

DESCRIPTION="X.Org Syriac fonts"
HOMEPAGE="http://xorg.freedesktop.org/"
SRC_URI="http://xorg.freedesktop.org/releases/individual/font/${P}.tar.bz2"

LICENSE="X11"
SLOT="0"
KEYWORDS="amd64 x86"

# Docs to install
DOCS="README ChangeLog license.txt"

# Space delimited list of font suffixes to install
FONT_SUFFIX="otf"

# Dir containing the fonts
FONT_S="${S}"

Reproducible: Always

Steps to Reproduce:
Comment 1 Matt Turner gentoo-dev 2018-05-08 22:20:57 UTC
Neither media-fonts/font-misc-meltho nor media-fonts/font-misc-ethiopic have a dependence on x11-apps/bdftopcf. Unsure when that happened.

Don't think it's worth messing with the eclass to avoid the dependencies on font-alias and font-util.

Marking fixed.