Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 446012
Collapse All | Expand All

(-)font.eclass.orig (-4 / +4 lines)
Lines 55-62 Link Here
55
		x11-apps/mkfontdir
55
		x11-apps/mkfontdir
56
		media-fonts/encodings
56
		media-fonts/encodings
57
	)
57
	)
58
	>=media-libs/fontconfig-2.4.0"
58
	!<media-libs/fontconfig-2.4.0"
59
RDEPEND="${DEPEND}"
59
RDEPEND=""
60
60
61
# @FUNCTION: font_xfont_config
61
# @FUNCTION: font_xfont_config
62
# @DESCRIPTION:
62
# @DESCRIPTION:
Lines 211-217 Link Here
211
		echo
211
		echo
212
	fi
212
	fi
213
213
214
	if [[ ${ROOT} == / ]]; then
214
	if has_version media-libs/fontconfig && [[ ${ROOT} == / ]]; then
215
		ebegin "Updating global fontcache"
215
		ebegin "Updating global fontcache"
216
		fc-cache -fs
216
		fc-cache -fs
217
		eend $?
217
		eend $?
Lines 228-234 Link Here
228
	find "${EROOT}"usr/share/fonts/ -type f '!' -perm 0644 -print0 \
228
	find "${EROOT}"usr/share/fonts/ -type f '!' -perm 0644 -print0 \
229
		| xargs -0 chmod -v 0644 2>/dev/null
229
		| xargs -0 chmod -v 0644 2>/dev/null
230
230
231
	if [[ ${ROOT} == / ]]; then
231
	if has_version media-libs/fontconfig && [[ ${ROOT} == / ]]; then
232
		ebegin "Updating global fontcache"
232
		ebegin "Updating global fontcache"
233
		fc-cache -fs
233
		fc-cache -fs
234
		eend $?
234
		eend $?

Return to bug 446012