Gentoo Archives: gentoo-commits

From: "Peter Volkov (pva)" <pva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: font.eclass
Date: Tue, 08 Jan 2008 17:57:48
Message-Id: E1JCIhs-0002rf-0B@stork.gentoo.org
1 pva 08/01/08 17:57:43
2
3 Modified: font.eclass
4 Log:
5 Third stage of fixing bug #201834.
6
7 Revision Changes Path
8 1.36 eclass/font.eclass
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/font.eclass?rev=1.36&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/font.eclass?rev=1.36&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/font.eclass?r1=1.35&r2=1.36
13
14 Index: font.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/font.eclass,v
17 retrieving revision 1.35
18 retrieving revision 1.36
19 diff -u -r1.35 -r1.36
20 --- font.eclass 8 Jan 2008 17:12:23 -0000 1.35
21 +++ font.eclass 8 Jan 2008 17:57:43 -0000 1.36
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2007 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/font.eclass,v 1.35 2008/01/08 17:12:23 pva Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/font.eclass,v 1.36 2008/01/08 17:57:43 pva Exp $
27
28 # Author: foser <foser@g.o>
29
30 @@ -22,7 +22,7 @@
31
32 FONTDIR=/usr/share/fonts/${FONT_PN} # This is where the fonts are installed
33
34 -FONT_CONF="" # Space delimited list of fontconfig-2.4 file(s) to install
35 +FONT_CONF=( "" ) # Array, which element(s) is(are) path(s) of fontconfig-2.4 file(s) to install
36
37 DOCS="" # Docs to install
38
39 @@ -61,10 +61,10 @@
40
41 font_fontconfig() {
42 local conffile
43 - if [[ -n ${FONT_CONF} ]]; then
44 + if [[ -n ${FONT_CONF[@]} ]]; then
45 if has_version '>=media-libs/fontconfig-2.4'; then
46 insinto /etc/fonts/conf.avail/
47 - for conffile in ${FONT_CONF[@]}; do
48 + for conffile in "${FONT_CONF[@]}"; do
49 [[ -e ${conffile} ]] && doins ${conffile}
50 done
51 fi
52
53
54
55 --
56 gentoo-commits@l.g.o mailing list