Gentoo Archives: gentoo-commits

From: "Peter Volkov (pva)" <pva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/t1lib: ChangeLog t1lib-5.1.2.ebuild
Date: Sun, 04 May 2008 15:11:53
Message-Id: E1JsfsU-0003Pc-Jb@stork.gentoo.org
1 pva 08/05/04 15:11:50
2
3 Modified: ChangeLog
4 Added: t1lib-5.1.2.ebuild
5 Log:
6 Version bump, bug #214010 reported by Craig; fixed installation of docs into /etc, bug #216778 reported by Jens Rutschmann.
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.69 media-libs/t1lib/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/t1lib/ChangeLog?rev=1.69&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/t1lib/ChangeLog?rev=1.69&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/t1lib/ChangeLog?r1=1.68&r2=1.69
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-libs/t1lib/ChangeLog,v
19 retrieving revision 1.68
20 retrieving revision 1.69
21 diff -u -r1.68 -r1.69
22 --- ChangeLog 8 Dec 2007 15:18:23 -0000 1.68
23 +++ ChangeLog 4 May 2008 15:11:50 -0000 1.69
24 @@ -1,6 +1,13 @@
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.68 2007/12/08 15:18:23 dirtyepic Exp $
28 +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/media-libs/t1lib/ChangeLog,v 1.69 2008/05/04 15:11:50 pva Exp $
30 +
31 +*t1lib-5.1.2 (04 May 2008)
32 +
33 + 04 May 2008; Peter Volkov <pva@g.o>
34 + +files/t1lib-do-not-install-t1lib_doc.patch, +t1lib-5.1.2.ebuild:
35 + Version bump, bug #214010 reported by Craig; fixed installation of docs
36 + into /etc, bug #216778 reported by Jens Rutschmann.
37
38 08 Dec 2007; Ryan Hill <dirtyepic@g.o> -t1lib-1.3.1.ebuild:
39 Remove old vulnerable version (bug #198053).
40
41
42
43 1.1 media-libs/t1lib/t1lib-5.1.2.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/t1lib/t1lib-5.1.2.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/t1lib/t1lib-5.1.2.ebuild?rev=1.1&content-type=text/plain
47
48 Index: t1lib-5.1.2.ebuild
49 ===================================================================
50 # Copyright 1999-2008 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.2.ebuild,v 1.1 2008/05/04 15:11:50 pva 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 ~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/latex-base )
70 X? ( x11-libs/libXfont
71 x11-proto/xproto
72 x11-proto/fontsproto )"
73
74 src_unpack() {
75 unpack ${A}
76 cd "${S}"
77
78 epatch "${FILESDIR}"/${PN}-5.1.1-parallel.patch
79 epatch "${FILESDIR}"/${PN}-do-not-install-t1lib_doc.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 --
126 gentoo-commits@l.g.o mailing list