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

Diff of /eclass/font.eclass

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

Revision 1.9 Revision 1.10
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2004 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.9 2004/10/06 14:00:39 usata Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/font.eclass,v 1.10 2004/10/19 19:51:12 vapier Exp $
4 4
5# Author: foser <foser@gentoo.org> 5# Author: foser <foser@gentoo.org>
6 6
7# Font Eclass 7# Font Eclass
8# 8#
36font_xfont_config() { 36font_xfont_config() {
37 37
38 # create Xfont files 38 # create Xfont files
39 if use X ; 39 if use X ;
40 then 40 then
41 einfo "Creating fonts.scale & fonts.dir..." 41 einfo "Creating fonts.scale & fonts.dir ..."
42 mkfontscale "${D}/usr/share/fonts/${PN}" 42 mkfontscale "${D}/usr/share/fonts/${PN}"
43 mkfontdir \ 43 mkfontdir \
44 -e /usr/share/fonts/encodings \ 44 -e /usr/share/fonts/encodings \
45 -e /usr/share/fonts/encodings/large \ 45 -e /usr/share/fonts/encodings/large \
46 -e /usr/X11R6/$(get_libdir)/X11/fonts/encodings \ 46 -e /usr/X11R6/$(get_libdir)/X11/fonts/encodings \
54} 54}
55 55
56font_xft_config() { 56font_xft_config() {
57 57
58 # create fontconfig cache 58 # create fontconfig cache
59 einfo "Creating fontconfig cache..." 59 einfo "Creating fontconfig cache ..."
60 # Mac OS X has fc-cache at /usr/X11R6/bin 60 # Mac OS X has fc-cache at /usr/X11R6/bin
61 HOME="/root" fc-cache -f "${D}/usr/share/fonts/${PN}" 61 HOME="/root" fc-cache -f "${D}/usr/share/fonts/${PN}"
62 62
63} 63}
64 64

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

  ViewVC Help
Powered by ViewVC 1.1.20