Gentoo Archives: gentoo-commits

From: "Ryan Hill (dirtyepic)" <dirtyepic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/fontconfig: ChangeLog fontconfig-2.5.0-r1.ebuild
Date: Thu, 20 Dec 2007 23:22:51
Message-Id: E1J5Uiz-00021Z-Lr@stork.gentoo.org
1 dirtyepic 07/12/20 23:22:45
2
3 Modified: ChangeLog
4 Added: fontconfig-2.5.0-r1.ebuild
5 Log:
6 Revision bump. Added PDEPEND on app-admin/eselect-fontconfig.
7 (Portage version: 2.1.4_rc10)
8
9 Revision Changes Path
10 1.100 media-libs/fontconfig/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/fontconfig/ChangeLog?rev=1.100&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/fontconfig/ChangeLog?rev=1.100&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/fontconfig/ChangeLog?r1=1.99&r2=1.100
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-libs/fontconfig/ChangeLog,v
19 retrieving revision 1.99
20 retrieving revision 1.100
21 diff -u -r1.99 -r1.100
22 --- ChangeLog 14 Nov 2007 23:11:57 -0000 1.99
23 +++ ChangeLog 20 Dec 2007 23:22:45 -0000 1.100
24 @@ -1,6 +1,11 @@
25 # ChangeLog for media-libs/fontconfig
26 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-libs/fontconfig/ChangeLog,v 1.99 2007/11/14 23:11:57 dirtyepic Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-libs/fontconfig/ChangeLog,v 1.100 2007/12/20 23:22:45 dirtyepic Exp $
29 +
30 +*fontconfig-2.5.0-r1 (20 Dec 2007)
31 +
32 + 20 Dec 2007; Ryan Hill <dirtyepic@g.o> +fontconfig-2.5.0-r1.ebuild:
33 + Revision bump. Added PDEPEND on app-admin/eselect-fontconfig.
34
35 *fontconfig-2.5.0 (14 Nov 2007)
36
37
38
39
40 1.1 media-libs/fontconfig/fontconfig-2.5.0-r1.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/fontconfig/fontconfig-2.5.0-r1.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/fontconfig/fontconfig-2.5.0-r1.ebuild?rev=1.1&content-type=text/plain
44
45 Index: fontconfig-2.5.0-r1.ebuild
46 ===================================================================
47 # Copyright 1999-2007 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.5.0-r1.ebuild,v 1.1 2007/12/20 23:22:45 dirtyepic Exp $
50
51 inherit eutils libtool autotools
52
53 DESCRIPTION="A library for configuring and customizing font access"
54 HOMEPAGE="http://fontconfig.org/"
55 SRC_URI="http://fontconfig.org/release/${P}.tar.gz"
56
57 LICENSE="fontconfig"
58 SLOT="1.0"
59 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
60 IUSE="doc xml"
61
62 RDEPEND=">=media-libs/freetype-2.1.4
63 !xml? ( >=dev-libs/expat-1.95.3 )
64 xml? ( >=dev-libs/libxml2-2.6 )"
65 DEPEND="${RDEPEND}
66 dev-util/pkgconfig
67 doc? ( app-text/docbook-sgml-utils )"
68 PDEPEND="app-admin/eselect-fontconfig"
69
70 src_unpack() {
71 unpack ${A}
72
73 cd "${S}"
74 # add docbook switch so we can disable it
75 epatch "${FILESDIR}"/${PN}-2.3.2-docbook.patch
76
77 eautoreconf
78 epunt_cxx #74077
79 }
80
81 src_compile() {
82 # I'm thinking this should be removed
83 [[ ${ARCH} == alpha && ${CC} == ccc ]] && \
84 die "Dont compile fontconfig with ccc, it doesnt work very well"
85
86 # disable docs only disables local docs generation, they come with the tarball
87 econf $(use_enable doc docs) \
88 $(use_enable doc docbook) \
89 --localstatedir=/var \
90 --with-docdir=/usr/share/doc/${PF} \
91 --with-default-fonts=/usr/share/fonts \
92 --with-add-fonts=/usr/local/share/fonts \
93 $(use_enable xml libxml2) \
94 || die
95
96 emake || die
97 }
98
99 src_install() {
100 emake DESTDIR="${D}" install || die
101
102 insinto /etc/fonts
103 doins "${S}"/fonts.conf
104
105 newman doc/fonts-conf.5 fonts.conf.5
106 dohtml doc/fontconfig-user.html
107 dodoc doc/fontconfig-user.{txt,pdf}
108
109 if use doc; then
110 doman doc/Fc*.3
111 dohtml doc/fontconfig-devel.html doc
112 dohtml -r doc/fontconfig-devel
113 dodoc doc/fontconfig-devel.{txt,pdf}
114 fi
115
116 dodoc AUTHORS ChangeLog NEWS README
117
118 # Changes should be made to /etc/fonts/local.conf, and as we had
119 # too much problems with broken fonts.conf, we force update it ...
120 # <azarah@g.o> (11 Dec 2002)
121 echo 'CONFIG_PROTECT_MASK="/etc/fonts/fonts.conf"' > "${T}"/37fontconfig
122 doenvd "${T}"/37fontconfig
123 }
124
125 pkg_postinst() {
126 echo
127 ewarn "Please make fontconfig configuration changes in /etc/fonts/conf.d/"
128 ewarn "and NOT to /etc/fonts/fonts.conf, as it will be replaced!"
129 echo
130
131 if [[ ${ROOT} = / ]]; then
132 ebegin "Creating global font cache..."
133 /usr/bin/fc-cache -sr
134 eend $?
135 fi
136 }
137
138
139
140 --
141 gentoo-commits@g.o mailing list