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/t1lib: ChangeLog t1lib-5.1.1.ebuild t1lib-5.0.2-r1.ebuild
Date: Sat, 22 Sep 2007 19:51:02
Message-Id: E1IZAQY-0004fC-FQ@stork.gentoo.org
1 dirtyepic 07/09/22 19:14:06
2
3 Modified: ChangeLog
4 Added: t1lib-5.1.1.ebuild t1lib-5.0.2-r1.ebuild
5 Log:
6 Revision bump for Secunia SA26241, bug #193437. Version bump for bug #130362.
7 (Portage version: 2.1.3.9)
8
9 Revision Changes Path
10 1.55 media-libs/t1lib/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/t1lib/ChangeLog?rev=1.55&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/t1lib/ChangeLog?rev=1.55&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/t1lib/ChangeLog?r1=1.54&r2=1.55
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-libs/t1lib/ChangeLog,v
19 retrieving revision 1.54
20 retrieving revision 1.55
21 diff -u -r1.54 -r1.55
22 --- ChangeLog 22 Jul 2007 09:01:05 -0000 1.54
23 +++ ChangeLog 22 Sep 2007 19:14:05 -0000 1.55
24 @@ -1,6 +1,14 @@
25 # ChangeLog for media-libs/t1lib
26 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-libs/t1lib/ChangeLog,v 1.54 2007/07/22 09:01:05 drac Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-libs/t1lib/ChangeLog,v 1.55 2007/09/22 19:14:05 dirtyepic Exp $
29 +
30 +*t1lib-5.1.1 (22 Sep 2007)
31 +*t1lib-5.0.2-r1 (22 Sep 2007)
32 +
33 + 22 Sep 2007; Ryan Hill <dirtyepic@g.o>
34 + +files/t1lib-5.0.2-SA26241_buffer_overflow.patch, +t1lib-5.0.2-r1.ebuild,
35 + +t1lib-5.1.1.ebuild:
36 + Revision bump for Secunia SA26241, bug #193437. Version bump for bug #130362.
37
38 22 Jul 2007; Samuli Suominen <drac@g.o> t1lib-5.0.2.ebuild:
39 Remove virtual/x11 references.
40
41
42
43 1.1 media-libs/t1lib/t1lib-5.1.1.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/t1lib/t1lib-5.1.1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/t1lib/t1lib-5.1.1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: t1lib-5.1.1.ebuild
49 ===================================================================
50 # Copyright 1999-2007 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/media-libs/t1lib/t1lib-5.1.1.ebuild,v 1.1 2007/09/22 19:14:05 dirtyepic Exp $
53
54 inherit eutils flag-o-matic libtool toolchain-funcs
55
56 DESCRIPTION="A Type 1 Font Rasterizer Library for UNIX/X11"
57 HOMEPAGE="ftp://metalab.unc.edu/pub/Linux/libs/graphics/"
58 SRC_URI="ftp://sunsite.unc.edu/pub/Linux/libs/graphics/${P}.tar.gz"
59
60 LICENSE="LGPL-2 GPL-2"
61 SLOT="5"
62 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc-macos ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
63 IUSE="X doc"
64
65 RDEPEND="X? ( x11-libs/libXaw
66 x11-libs/libX11
67 x11-libs/libXt )"
68 DEPEND="${RDEPEND}
69 doc? ( virtual/tetex )
70 X? ( x11-libs/libXfont
71 x11-proto/xproto
72 x11-proto/fontsproto )"
73
74 src_unpack() {
75 unpack ${A}
76 use ppc-macos && darwintoolize
77 cd "${S}"
78
79 epatch "${FILESDIR}"/${PN}-5.0.2-SA26241_buffer_overflow.patch
80
81 sed -i -e "s:dvips:#dvips:" "${S}"/doc/Makefile.in
82 sed -i -e "s:\./\(t1lib\.config\):/etc/t1lib/\1:" "${S}"/xglyph/xglyph.c
83 }
84
85 src_compile() {
86 local myopt=""
87 tc-export CC
88
89 use alpha && append-flags -mieee
90
91 if ! use doc; then
92 myopt="without_doc"
93 else
94 addwrite /var/cache/fonts
95 fi
96
97 econf \
98 --datadir=/etc \
99 $(use_with X x) \
100 || die "econf failed."
101
102 emake ${myopt} || die "emake failed."
103 }
104
105 src_install() {
106 make DESTDIR="${D}" install || die "make install failed."
107 dodoc Changes README*
108 if use doc ; then
109 cd doc
110 insinto /usr/share/doc/${PF}
111 doins *.pdf *.dvi
112 fi
113 }
114
115 pkg_postinst() {
116 ewarn
117 ewarn "You may have to rebuild other packages depending on t1lib."
118 ewarn "You may use revdep-rebuild (from app-portage/gentoolkit)"
119 ewarn "to do all necessary tricks."
120 ewarn
121 }
122
123
124
125 1.1 media-libs/t1lib/t1lib-5.0.2-r1.ebuild
126
127 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/t1lib/t1lib-5.0.2-r1.ebuild?rev=1.1&view=markup
128 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/t1lib/t1lib-5.0.2-r1.ebuild?rev=1.1&content-type=text/plain
129
130 Index: t1lib-5.0.2-r1.ebuild
131 ===================================================================
132 # Copyright 1999-2007 Gentoo Foundation
133 # Distributed under the terms of the GNU General Public License v2
134 # $Header: /var/cvsroot/gentoo-x86/media-libs/t1lib/t1lib-5.0.2-r1.ebuild,v 1.1 2007/09/22 19:14:05 dirtyepic Exp $
135
136 inherit eutils flag-o-matic libtool toolchain-funcs
137
138 DESCRIPTION="A Type 1 Font Rasterizer Library for UNIX/X11"
139 HOMEPAGE="ftp://metalab.unc.edu/pub/Linux/libs/graphics/"
140 SRC_URI="ftp://sunsite.unc.edu/pub/Linux/libs/graphics/${P}.tar.gz"
141
142 LICENSE="LGPL-2 GPL-2"
143 SLOT="5"
144 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc-macos ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
145 IUSE="X doc"
146
147 RDEPEND="X? ( x11-libs/libXaw
148 x11-libs/libX11
149 x11-libs/libXt )"
150 DEPEND="${RDEPEND}
151 doc? ( virtual/tetex )
152 X? ( x11-libs/libXfont
153 x11-proto/xproto
154 x11-proto/fontsproto )"
155
156 src_unpack() {
157 unpack ${A}
158 use ppc-macos && darwintoolize
159 cd "${S}"
160
161 epatch "${FILESDIR}"/${P}-gentoo.diff
162 epatch "${FILESDIR}"/${P}-asneeded.patch
163 epatch "${FILESDIR}"/${P}-SA26241_buffer_overflow.patch
164
165 sed -i -e "s:dvips:#dvips:" "${S}"/doc/Makefile.in
166 sed -i -e "s:\./\(t1lib\.config\):/etc/t1lib/\1:" "${S}"/xglyph/xglyph.c
167 }
168
169 src_compile() {
170 local myopt=""
171 tc-export CC
172
173 use alpha && append-flags -mieee
174
175 if ! use doc; then
176 myopt="without_doc"
177 else
178 addwrite /var/cache/fonts
179 fi
180
181 econf \
182 --datadir=/etc \
183 $(use_with X x) \
184 || die "econf failed."
185
186 emake ${myopt} || die "emake failed."
187 }
188
189 src_install() {
190 make DESTDIR="${D}" install || die "make install failed."
191 dodoc Changes README*
192 if use doc ; then
193 cd doc
194 insinto /usr/share/doc/${PF}
195 doins *.pdf *.dvi
196 fi
197 }
198
199 pkg_postinst() {
200 ewarn
201 ewarn "You may have to rebuild other packages depending on t1lib."
202 ewarn "You may use revdep-rebuild (from app-portage/gentoolkit)"
203 ewarn "to do all necessary tricks."
204 ewarn
205 }
206
207
208
209 --
210 gentoo-commits@g.o mailing list