1 |
dirtyepic 09/09/01 02:39:36 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: fontconfig-2.7.2.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
(Portage version: 2.2_rc40/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.137 media-libs/fontconfig/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/fontconfig/ChangeLog?rev=1.137&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/fontconfig/ChangeLog?rev=1.137&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/fontconfig/ChangeLog?r1=1.136&r2=1.137 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/media-libs/fontconfig/ChangeLog,v |
19 |
retrieving revision 1.136 |
20 |
retrieving revision 1.137 |
21 |
diff -u -r1.136 -r1.137 |
22 |
--- ChangeLog 23 Aug 2009 22:52:51 -0000 1.136 |
23 |
+++ ChangeLog 1 Sep 2009 02:39:36 -0000 1.137 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for media-libs/fontconfig |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/media-libs/fontconfig/ChangeLog,v 1.136 2009/08/23 22:52:51 dirtyepic Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/media-libs/fontconfig/ChangeLog,v 1.137 2009/09/01 02:39:36 dirtyepic Exp $ |
29 |
+ |
30 |
+*fontconfig-2.7.2 (01 Sep 2009) |
31 |
+ |
32 |
+ 01 Sep 2009; Ryan Hill <dirtyepic@g.o> +fontconfig-2.7.2.ebuild: |
33 |
+ Version bump. |
34 |
|
35 |
23 Aug 2009; Ryan Hill <dirtyepic@g.o> -fontconfig-2.7.0.ebuild, |
36 |
-files/fontconfig-2.7.0-latin-reorder.patch, -fontconfig-2.7.1.ebuild: |
37 |
|
38 |
|
39 |
|
40 |
1.1 media-libs/fontconfig/fontconfig-2.7.2.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/fontconfig/fontconfig-2.7.2.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/fontconfig/fontconfig-2.7.2.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: fontconfig-2.7.2.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2009 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/media-libs/fontconfig/fontconfig-2.7.2.ebuild,v 1.1 2009/09/01 02:39:36 dirtyepic Exp $ |
50 |
|
51 |
EAPI="2" |
52 |
|
53 |
inherit eutils libtool toolchain-funcs flag-o-matic |
54 |
|
55 |
DESCRIPTION="A library for configuring and customizing font access" |
56 |
HOMEPAGE="http://fontconfig.org/" |
57 |
SRC_URI="http://fontconfig.org/release/${P}.tar.gz" |
58 |
|
59 |
LICENSE="fontconfig" |
60 |
SLOT="1.0" |
61 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" |
62 |
IUSE="doc" |
63 |
|
64 |
# Purposefully dropped the xml USE flag and libxml2 support. Having this is |
65 |
# silly since expat is the preferred way to go per upstream and libxml2 support |
66 |
# simply exists as a fallback when expat isn't around. expat support is the main |
67 |
# way to go and every other distro uses it. By using the xml USE flag to enable |
68 |
# libxml2 support, this confuses users and results in most people getting the |
69 |
# non-standard behavior of libxml2 usage since most profiles have USE=xml |
70 |
|
71 |
RDEPEND=">=media-libs/freetype-2.2.1 |
72 |
>=dev-libs/expat-1.95.3" |
73 |
DEPEND="${RDEPEND} |
74 |
dev-util/pkgconfig |
75 |
doc? ( |
76 |
app-text/docbook-sgml-utils[jadetex] |
77 |
=app-text/docbook-sgml-dtd-3.1* |
78 |
)" |
79 |
PDEPEND="app-admin/eselect-fontconfig" |
80 |
|
81 |
src_prepare() { |
82 |
epatch "${FILESDIR}"/${PN}-2.7.1-latin-reorder.patch #130466 |
83 |
epunt_cxx #74077 |
84 |
|
85 |
# Needed to get a sane .so versioning on fbsd, please dont drop |
86 |
# If you have to run eautoreconf, you can also leave the elibtoolize call as |
87 |
# it will be a no-op. |
88 |
elibtoolize |
89 |
} |
90 |
|
91 |
src_configure() { |
92 |
local myconf |
93 |
if tc-is-cross-compiler; then |
94 |
myconf="--with-arch=${ARCH}" |
95 |
replace-flags -mtune=* -DMTUNE_CENSORED |
96 |
replace-flags -march=* -DMARCH_CENSORED |
97 |
fi |
98 |
econf $(use_enable doc docs) \ |
99 |
--localstatedir=/var \ |
100 |
--with-docdir=/usr/share/doc/${PF} \ |
101 |
--with-default-fonts=/usr/share/fonts \ |
102 |
--with-add-fonts=/usr/local/share/fonts \ |
103 |
${myconf} || die |
104 |
} |
105 |
|
106 |
src_install() { |
107 |
emake DESTDIR="${D}" install || die |
108 |
|
109 |
#fc-lang directory contains language coverage datafiles |
110 |
#which are needed to test the coverage of fonts. |
111 |
insinto /usr/share/fc-lang |
112 |
doins fc-lang/*.orth |
113 |
|
114 |
insinto /etc/fonts |
115 |
doins "${S}"/fonts.conf |
116 |
|
117 |
doman $(find "${S}" -type f -name *.1 -print) |
118 |
newman doc/fonts-conf.5 fonts.conf.5 |
119 |
dodoc doc/fontconfig-user.{txt,pdf} |
120 |
|
121 |
if use doc; then |
122 |
doman doc/Fc*.3 |
123 |
dohtml doc/fontconfig-devel.html |
124 |
dodoc doc/fontconfig-devel.{txt,pdf} |
125 |
fi |
126 |
|
127 |
dodoc AUTHORS ChangeLog README || die |
128 |
|
129 |
# Changes should be made to /etc/fonts/local.conf, and as we had |
130 |
# too much problems with broken fonts.conf, we force update it ... |
131 |
# <azarah@g.o> (11 Dec 2002) |
132 |
echo 'CONFIG_PROTECT_MASK="/etc/fonts/fonts.conf"' > "${T}"/37fontconfig |
133 |
doenvd "${T}"/37fontconfig |
134 |
|
135 |
# As of fontconfig 2.7, everything sticks their noses in here. |
136 |
dodir /etc/sandbox.d |
137 |
echo 'SANDBOX_PREDICT="/var/cache/fontconfig"' > "${D}"/etc/sandbox.d/37fontconfig |
138 |
} |
139 |
|
140 |
pkg_preinst() { |
141 |
# Bug #193476 |
142 |
# /etc/fonts/conf.d/ contains symlinks to ../conf.avail/ to include various |
143 |
# config files. If we install as-is, we'll blow away user settings. |
144 |
|
145 |
ebegin "Syncing fontconfig configuration to system" |
146 |
if [[ -e ${ROOT}/etc/fonts/conf.d ]]; then |
147 |
for file in "${ROOT}"/etc/fonts/conf.avail/*; do |
148 |
f=${file##*/} |
149 |
if [[ -L ${ROOT}/etc/fonts/conf.d/${f} ]]; then |
150 |
[[ -f ${D}etc/fonts/conf.avail/${f} ]] \ |
151 |
&& ln -sf ../conf.avail/"${f}" "${D}"etc/fonts/conf.d/ &>/dev/null |
152 |
else |
153 |
[[ -f ${D}etc/fonts/conf.avail/${f} ]] \ |
154 |
&& rm "${D}"etc/fonts/conf.d/"${f}" &>/dev/null |
155 |
fi |
156 |
done |
157 |
fi |
158 |
eend $? |
159 |
} |
160 |
|
161 |
pkg_postinst() { |
162 |
einfo "Cleaning broken symlinks in "${ROOT}"etc/fonts/conf.d/" |
163 |
find -L "${ROOT}"etc/fonts/conf.d/ -type l -delete |
164 |
|
165 |
echo |
166 |
ewarn "Please make fontconfig configuration changes using \`eselect fontconfig\`" |
167 |
ewarn "Any changes made to /etc/fonts/fonts.conf will be overwritten." |
168 |
ewarn |
169 |
ewarn "If you need to reset your configuration to upstream defaults, delete" |
170 |
ewarn "the directory ${ROOT}etc/fonts/conf.d/ and re-emerge fontconfig." |
171 |
echo |
172 |
|
173 |
if [[ ${ROOT} = / ]]; then |
174 |
ebegin "Creating global font cache" |
175 |
/usr/bin/fc-cache -sr |
176 |
eend $? |
177 |
fi |
178 |
} |