Gentoo Archives: gentoo-commits

From: "Doug Goldstein (cardoe)" <cardoe@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/fontconfig: ChangeLog fontconfig-2.6.0-r2.ebuild fontconfig-2.6.0-r1.ebuild
Date: Thu, 26 Jun 2008 21:39:02
Message-Id: E1KBzBA-0001RM-60@stork.gentoo.org
1 cardoe 08/06/26 21:38:56
2
3 Modified: ChangeLog
4 Added: fontconfig-2.6.0-r2.ebuild
5 Removed: fontconfig-2.6.0-r1.ebuild
6 Log:
7 Purposefully dropped the xml USE flag and libxml2 support. Having this is
8 silly since expat is the preferred way to go per upstream and libxml2 support
9 simply exists as a fallback when expat isn't around. expat support is the main
10 way to go and every other distro uses it. By using the xml USE flag to enable
11 libxml2 support, this confuses users and results in most people getting the
12 non-standard behavior of libxml2 usage since most profiles have USE=xml
13 (Portage version: 2.2_rc1/cvs/Linux 2.6.25-gentoo-r5 x86_64)
14
15 Revision Changes Path
16 1.120 media-libs/fontconfig/ChangeLog
17
18 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/fontconfig/ChangeLog?rev=1.120&view=markup
19 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/fontconfig/ChangeLog?rev=1.120&content-type=text/plain
20 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/fontconfig/ChangeLog?r1=1.119&r2=1.120
21
22 Index: ChangeLog
23 ===================================================================
24 RCS file: /var/cvsroot/gentoo-x86/media-libs/fontconfig/ChangeLog,v
25 retrieving revision 1.119
26 retrieving revision 1.120
27 diff -u -r1.119 -r1.120
28 --- ChangeLog 25 Jun 2008 21:03:18 -0000 1.119
29 +++ ChangeLog 26 Jun 2008 21:38:55 -0000 1.120
30 @@ -1,6 +1,18 @@
31 # ChangeLog for media-libs/fontconfig
32 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
33 -# $Header: /var/cvsroot/gentoo-x86/media-libs/fontconfig/ChangeLog,v 1.119 2008/06/25 21:03:18 loki_val Exp $
34 +# $Header: /var/cvsroot/gentoo-x86/media-libs/fontconfig/ChangeLog,v 1.120 2008/06/26 21:38:55 cardoe Exp $
35 +
36 +*fontconfig-2.6.0-r2 (26 Jun 2008)
37 +
38 + 26 Jun 2008; Doug Goldstein <cardoe@g.o>
39 + -fontconfig-2.6.0-r1.ebuild, +fontconfig-2.6.0-r2.ebuild:
40 + Purposefully dropped the xml USE flag and libxml2 support. Having this is
41 + silly since expat is the preferred way to go per upstream and libxml2
42 + support simply exists as a fallback when expat isn't around. expat support
43 + is the main way to go and every other distro uses it. By using the xml USE
44 + flag to enable libxml2 support, this confuses users and results in most
45 + people getting the non-standard behavior of libxml2 usage since most
46 + profiles have USE=xml
47
48 25 Jun 2008; Peter Alfredsen <loki_val@g.o>
49 fontconfig-2.6.0-r1.ebuild:
50
51
52
53 1.1 media-libs/fontconfig/fontconfig-2.6.0-r2.ebuild
54
55 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/fontconfig/fontconfig-2.6.0-r2.ebuild?rev=1.1&view=markup
56 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/fontconfig/fontconfig-2.6.0-r2.ebuild?rev=1.1&content-type=text/plain
57
58 Index: fontconfig-2.6.0-r2.ebuild
59 ===================================================================
60 # Copyright 1999-2008 Gentoo Foundation
61 # Distributed under the terms of the GNU General Public License v2
62 # $Header: /var/cvsroot/gentoo-x86/media-libs/fontconfig/fontconfig-2.6.0-r2.ebuild,v 1.1 2008/06/26 21:38:55 cardoe Exp $
63
64 WANT_AUTOMAKE=1.9
65
66 inherit eutils autotools libtool
67
68 DESCRIPTION="A library for configuring and customizing font access"
69 HOMEPAGE="http://fontconfig.org/"
70 SRC_URI="http://fontconfig.org/release/${P}.tar.gz"
71
72 LICENSE="fontconfig"
73 SLOT="1.0"
74 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
75 IUSE="doc"
76
77 # Purposefully dropped the xml USE flag and libxml2 support. Having this is
78 # silly since expat is the preferred way to go per upstream and libxml2 support
79 # simply exists as a fallback when expat isn't around. expat support is the main
80 # way to go and every other distro uses it. By using the xml USE flag to enable
81 # libxml2 support, this confuses users and results in most people getting the
82 # non-standard behavior of libxml2 usage since most profiles have USE=xml
83
84 RDEPEND=">=media-libs/freetype-2.1.4
85 >=dev-libs/expat-1.95.3"
86 DEPEND="${RDEPEND}
87 dev-util/pkgconfig
88 doc? ( app-text/docbook-sgml-utils )"
89 PDEPEND="app-admin/eselect-fontconfig"
90
91 src_unpack() {
92 unpack ${A}
93 cd "${S}"
94
95 epunt_cxx #74077
96 epatch "${FILESDIR}"/${P}-parallel.patch
97 # Neeeded to get a sane .so versionning on fbsd, please dont drop
98 # If you have to run eautoreconf, you can also leave the elibtoolize call as
99 # it will be a no-op.
100 eautomake
101 elibtoolize
102 }
103
104 src_compile() {
105 econf $(use_enable doc docs) \
106 --localstatedir=/var \
107 --with-docdir=/usr/share/doc/${PF} \
108 --with-default-fonts=/usr/share/fonts \
109 --with-add-fonts=/usr/local/share/fonts \
110 || die
111
112 emake || die
113 }
114
115 src_install() {
116 emake DESTDIR="${D}" install || die
117
118 #fc-lang directory contains language coverage datafiles
119 #which are needed to test the coverage of fonts.
120 insinto /usr/share/fc-lang
121 doins fc-lang/*.orth
122
123 insinto /etc/fonts
124 doins "${S}"/fonts.conf
125
126 doman $(find "${S}" -type f -name *.1 -print)
127 newman doc/fonts-conf.5 fonts.conf.5
128 dodoc doc/fontconfig-user.{txt,pdf}
129
130 if use doc; then
131 doman doc/Fc*.3
132 dohtml doc/fontconfig-devel.html doc
133 dodoc doc/fontconfig-devel.{txt,pdf}
134 fi
135
136 dodoc AUTHORS ChangeLog README
137
138 # Changes should be made to /etc/fonts/local.conf, and as we had
139 # too much problems with broken fonts.conf, we force update it ...
140 # <azarah@g.o> (11 Dec 2002)
141 echo 'CONFIG_PROTECT_MASK="/etc/fonts/fonts.conf"' > "${T}"/37fontconfig
142 doenvd "${T}"/37fontconfig
143 }
144
145 pkg_postinst() {
146 echo
147 ewarn "Please make fontconfig configuration changes in /etc/fonts/conf.d/"
148 ewarn "and NOT to /etc/fonts/fonts.conf, as it will be replaced!"
149 echo
150
151 if [[ ${ROOT} = / ]]; then
152 ebegin "Creating global font cache..."
153 /usr/bin/fc-cache -sr
154 eend $?
155 fi
156 }
157
158
159
160 --
161 gentoo-commits@l.g.o mailing list