Gentoo Archives: gentoo-commits

From: "Peter Alfredsen (loki_val)" <loki_val@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/fontconfig: ChangeLog fontconfig-2.5.93-r1.ebuild
Date: Sun, 01 Jun 2008 19:48:07
Message-Id: E1K2tX7-0005Y0-Kh@stork.gentoo.org
1 loki_val 08/06/01 19:48:01
2
3 Modified: ChangeLog
4 Added: fontconfig-2.5.93-r1.ebuild
5 Log:
6 Install fc-lang directory, needed to test font language coverage.
7 (Portage version: 2.1.5.2)
8
9 Revision Changes Path
10 1.114 media-libs/fontconfig/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/fontconfig/ChangeLog?rev=1.114&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/fontconfig/ChangeLog?rev=1.114&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/fontconfig/ChangeLog?r1=1.113&r2=1.114
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-libs/fontconfig/ChangeLog,v
19 retrieving revision 1.113
20 retrieving revision 1.114
21 diff -u -r1.113 -r1.114
22 --- ChangeLog 30 May 2008 18:53:46 -0000 1.113
23 +++ ChangeLog 1 Jun 2008 19:48:01 -0000 1.114
24 @@ -1,6 +1,12 @@
25 # ChangeLog for media-libs/fontconfig
26 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-libs/fontconfig/ChangeLog,v 1.113 2008/05/30 18:53:46 aballier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-libs/fontconfig/ChangeLog,v 1.114 2008/06/01 19:48:01 loki_val Exp $
29 +
30 +*fontconfig-2.5.93-r1 (01 Jun 2008)
31 +
32 + 01 Jun 2008; Peter Alfredsen <loki_val@g.o>
33 + +fontconfig-2.5.93-r1.ebuild:
34 + Install fc-lang directory, needed to test font language coverage.
35
36 30 May 2008; Alexis Ballier <aballier@g.o>
37 fontconfig-2.5.93.ebuild:
38
39
40
41 1.1 media-libs/fontconfig/fontconfig-2.5.93-r1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/fontconfig/fontconfig-2.5.93-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/fontconfig/fontconfig-2.5.93-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: fontconfig-2.5.93-r1.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/media-libs/fontconfig/fontconfig-2.5.93-r1.ebuild,v 1.1 2008/06/01 19:48:01 loki_val Exp $
51
52 inherit eutils libtool
53
54 DESCRIPTION="A library for configuring and customizing font access"
55 HOMEPAGE="http://fontconfig.org/"
56 SRC_URI="http://fontconfig.org/release/${P}.tar.gz"
57
58 LICENSE="fontconfig"
59 SLOT="1.0"
60 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
61 IUSE="doc xml"
62
63 RDEPEND=">=media-libs/freetype-2.1.4
64 !xml? ( >=dev-libs/expat-1.95.3 )
65 xml? ( >=dev-libs/libxml2-2.6 )"
66 DEPEND="${RDEPEND}
67 dev-util/pkgconfig
68 doc? ( app-text/docbook-sgml-utils )"
69 PDEPEND="app-admin/eselect-fontconfig"
70
71 src_unpack() {
72 unpack ${A}
73 cd "${S}"
74
75 epunt_cxx #74077
76 # Neeeded to get a sane .so versionning on fbsd, please dont drop
77 # If you have to run eautoreconf, you can also leave the elibtoolize call as
78 # it will be a no-op.
79 elibtoolize
80 }
81
82 src_compile() {
83 econf $(use_enable doc docs) \
84 --localstatedir=/var \
85 --with-docdir=/usr/share/doc/${PF} \
86 --with-default-fonts=/usr/share/fonts \
87 --with-add-fonts=/usr/local/share/fonts \
88 $(use_enable xml libxml2) \
89 || die
90
91 emake || die
92 }
93
94 src_install() {
95 emake DESTDIR="${D}" install || die
96
97 #fc-lang directory contains language coverage datafiles
98 #which are needed to test the coverage of fonts.
99 insinto /usr/share/fc-lang
100 doins fc-lang/*.orth
101
102 insinto /etc/fonts
103 doins "${S}"/fonts.conf
104
105 doman $(find "${S}" -type f -name *.1 -print)
106 newman doc/fonts-conf.5 fonts.conf.5
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 dodoc doc/fontconfig-devel.{txt,pdf}
113 fi
114
115 dodoc AUTHORS ChangeLog README
116
117 # Changes should be made to /etc/fonts/local.conf, and as we had
118 # too much problems with broken fonts.conf, we force update it ...
119 # <azarah@g.o> (11 Dec 2002)
120 echo 'CONFIG_PROTECT_MASK="/etc/fonts/fonts.conf"' > "${T}"/37fontconfig
121 doenvd "${T}"/37fontconfig
122 }
123
124 pkg_postinst() {
125 echo
126 ewarn "Please make fontconfig configuration changes in /etc/fonts/conf.d/"
127 ewarn "and NOT to /etc/fonts/fonts.conf, as it will be replaced!"
128 echo
129
130 if [[ ${ROOT} = / ]]; then
131 ebegin "Creating global font cache..."
132 /usr/bin/fc-cache -sr
133 eend $?
134 fi
135 }
136
137
138
139 --
140 gentoo-commits@l.g.o mailing list