/[gentoo-x86]/eclass/font.eclass
Gentoo

Diff of /eclass/font.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.39 Revision 1.40
1# Copyright 1999-2007 Gentoo Foundation 1# Copyright 1999-2007 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/font.eclass,v 1.39 2008/08/19 10:34:22 pva Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/font.eclass,v 1.40 2009/01/01 09:36:36 pva Exp $
4 4
5# @ECLASS: font.eclass 5# @ECLASS: font.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# fonts@gentoo.org 7# fonts@gentoo.org
8# 8#
79font_xft_config() { 79font_xft_config() {
80 if ! has_version '>=media-libs/fontconfig-2.4'; then 80 if ! has_version '>=media-libs/fontconfig-2.4'; then
81 # create fontconfig cache 81 # create fontconfig cache
82 einfo "Creating fontconfig cache ..." 82 einfo "Creating fontconfig cache ..."
83 # Mac OS X has fc-cache at /usr/X11R6/bin 83 # Mac OS X has fc-cache at /usr/X11R6/bin
84 HOME="/root" fc-cache -f "${D}${FONTDIR}" 84 fc-cache -sf "${D}${FONTDIR}"
85 fi 85 fi
86} 86}
87 87
88# @FUNCTION: font_fontconfig 88# @FUNCTION: font_fontconfig
89# @DESCRIPTION: 89# @DESCRIPTION:

Legend:
Removed from v.1.39  
changed lines
  Added in v.1.40

  ViewVC Help
Powered by ViewVC 1.1.20