| 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.28 2007/09/16 02:18:04 dirtyepic Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/font.eclass,v 1.29 2007/09/16 02:20:05 dirtyepic 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 | # |
| … | |
… | |
| 83 | insinto "${FONTDIR}" |
83 | insinto "${FONTDIR}" |
| 84 | |
84 | |
| 85 | for suffix in ${FONT_SUFFIX}; do |
85 | for suffix in ${FONT_SUFFIX}; do |
| 86 | doins *.${suffix} |
86 | doins *.${suffix} |
| 87 | # ensure fonts are world readable to prevent fontconfig segfaults |
87 | # ensure fonts are world readable to prevent fontconfig segfaults |
| 88 | chmod -v 0644 ${D}${FONTDIR}/*.${suffix} |
88 | chmod 0644 ${D}${FONTDIR}/*.${suffix} |
| 89 | done |
89 | done |
| 90 | |
90 | |
| 91 | rm -f fonts.{dir,scale} encodings.dir |
91 | rm -f fonts.{dir,scale} encodings.dir |
| 92 | |
92 | |
| 93 | font_xfont_config |
93 | font_xfont_config |