Gentoo Archives: gentoo-commits

From: "Peter Volkov (pva)" <pva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-analyzer/rrdtool: rrdtool-1.3.6.ebuild ChangeLog rrdtool-1.2.30.ebuild
Date: Thu, 22 Jan 2009 11:38:18
Message-Id: E1LPxt0-0002en-QC@stork.gentoo.org
1 pva 09/01/22 11:38:14
2
3 Modified: ChangeLog
4 Added: rrdtool-1.3.6.ebuild rrdtool-1.2.30.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.2_rc23/cvs/Linux i686)
8
9 Revision Changes Path
10 1.167 net-analyzer/rrdtool/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/rrdtool/ChangeLog?rev=1.167&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/rrdtool/ChangeLog?rev=1.167&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/rrdtool/ChangeLog?r1=1.166&r2=1.167
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/ChangeLog,v
19 retrieving revision 1.166
20 retrieving revision 1.167
21 diff -u -r1.166 -r1.167
22 --- ChangeLog 21 Dec 2008 17:53:14 -0000 1.166
23 +++ ChangeLog 22 Jan 2009 11:38:14 -0000 1.167
24 @@ -1,6 +1,13 @@
25 # ChangeLog for net-analyzer/rrdtool
26 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/ChangeLog,v 1.166 2008/12/21 17:53:14 pva Exp $
28 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/ChangeLog,v 1.167 2009/01/22 11:38:14 pva Exp $
30 +
31 +*rrdtool-1.3.6 (22 Jan 2009)
32 +*rrdtool-1.2.30 (22 Jan 2009)
33 +
34 + 22 Jan 2009; Peter Volkov <pva@g.o> +rrdtool-1.2.30.ebuild,
35 + +rrdtool-1.3.6.ebuild:
36 + Version bump.
37
38 *rrdtool-1.3.5 (21 Dec 2008)
39 *rrdtool-1.2.29 (21 Dec 2008)
40
41
42
43 1.1 net-analyzer/rrdtool/rrdtool-1.3.6.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/rrdtool/rrdtool-1.3.6.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/rrdtool/rrdtool-1.3.6.ebuild?rev=1.1&content-type=text/plain
47
48 Index: rrdtool-1.3.6.ebuild
49 ===================================================================
50 # Copyright 1999-2009 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/rrdtool-1.3.6.ebuild,v 1.1 2009/01/22 11:38:14 pva Exp $
53
54 inherit eutils flag-o-matic multilib perl-module
55
56 DESCRIPTION="A system to store and display time-series data"
57 HOMEPAGE="http://oss.oetiker.ch/rrdtool/"
58 SRC_URI="http://oss.oetiker.ch/rrdtool/pub/${P}.tar.gz"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
63 IUSE="doc perl python ruby rrdcgi tcl"
64
65 # This versions are minimal versions upstream tested with.
66 RDEPEND="
67 >=media-libs/libpng-1.2.10
68 >=dev-libs/libxml2-2.6.31
69 >=x11-libs/cairo-1.4.6
70 >=dev-libs/glib-2.12.12
71 >=x11-libs/pango-1.17
72 tcl? ( dev-lang/tcl )
73 perl? ( dev-lang/perl )
74 python? ( dev-lang/python )
75 ruby? ( dev-lang/ruby
76 !dev-ruby/ruby-rrd )"
77
78 DEPEND="${RDEPEND}
79 sys-apps/gawk"
80
81 pkg_setup() {
82 if ! built_with_use x11-libs/cairo svg; then
83 eerror "${PN} requires x11-libs/cairo to be built with svg USE flag."
84 die "Rebuild x11-libs/cairo with svg USE flag enabled."
85 fi
86 use perl && perl-module_pkg_setup
87 }
88
89 src_compile() {
90 filter-flags -ffast-math
91
92 export RRDDOCDIR=/usr/share/doc/${PF}
93
94 econf $(use_enable rrdcgi) \
95 $(use_enable ruby) \
96 $(use_enable ruby ruby-site-install) \
97 $(use_enable perl) \
98 $(use_enable perl perl-site-install) \
99 $(use_enable tcl) \
100 $(use_with tcl tcllib /usr/$(get_libdir)) \
101 $(use_enable python)
102
103 emake || die "make failed"
104 }
105
106 src_install() {
107 # -j1 see bug #239101 for details
108 emake -j1 DESTDIR="${D}" install || die "make install failed"
109
110 if ! use doc ; then
111 rm -rf "${D}"/usr/share/doc/${PF}/{html,txt}
112 fi
113
114 use perl && fixlocalpod
115
116 dodoc CHANGES CONTRIBUTORS NEWS README THREADS TODO
117 }
118
119 pkg_preinst() {
120 use perl && perl-module_pkg_preinst
121 }
122
123 pkg_postinst() {
124 use perl && perl-module_pkg_postinst
125 ewarn "rrdtool dump 1.3 does emit completely legal xml. Basically this means that"
126 ewarn "it contains an xml header and a DOCTYPE definition. Unfortunately this"
127 ewarn "causes older versions of rrdtool restore to be unhappy."
128 ewarn
129 ewarn "To restore a new dump with ann old rrdtool restore version, either remove"
130 ewarn "the xml header and the doctype by hand (both on the first line of the dump)"
131 ewarn "or use rrdtool dump --no-header."
132 }
133
134 pkg_prerm() {
135 use perl && perl-module_pkg_prerm
136 }
137
138 pkg_postrm() {
139 use perl && perl-module_pkg_postrm
140 }
141
142
143
144 1.1 net-analyzer/rrdtool/rrdtool-1.2.30.ebuild
145
146 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/rrdtool/rrdtool-1.2.30.ebuild?rev=1.1&view=markup
147 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/rrdtool/rrdtool-1.2.30.ebuild?rev=1.1&content-type=text/plain
148
149 Index: rrdtool-1.2.30.ebuild
150 ===================================================================
151 # Copyright 1999-2009 Gentoo Foundation
152 # Distributed under the terms of the GNU General Public License v2
153 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/rrdtool-1.2.30.ebuild,v 1.1 2009/01/22 11:38:14 pva Exp $
154
155 inherit eutils flag-o-matic multilib perl-module
156
157 DESCRIPTION="A system to store and display time-series data"
158 HOMEPAGE="http://oss.oetiker.ch/rrdtool/"
159 SRC_URI="http://oss.oetiker.ch/rrdtool/pub/${P}.tar.gz"
160
161 LICENSE="GPL-2"
162 SLOT="0"
163 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
164 IUSE="doc perl python ruby rrdcgi tcl"
165
166 RDEPEND="tcl? ( dev-lang/tcl )
167 >=sys-libs/zlib-1.2.1
168 >=media-libs/freetype-2.1.5
169 >=media-libs/libart_lgpl-2.3.16
170 >=media-libs/libpng-1.2.5
171 rrdcgi? ( >=dev-libs/cgilib-0.5 )
172 ruby? ( !dev-ruby/ruby-rrd )"
173
174 DEPEND="${RDEPEND}
175 perl? ( dev-lang/perl )
176 python? ( dev-lang/python )
177 ruby? ( dev-lang/ruby )
178 sys-apps/gawk"
179
180 TCLVER=""
181
182 HTMLDOC_DIR="${PF}/html"
183
184 src_unpack() {
185 unpack ${A}
186 cd "${S}"
187 epatch "${FILESDIR}/${PN}-1.2.15-newstyle-resize.patch"
188 }
189
190 pkg_setup() {
191 use perl && perl-module_pkg_setup
192 }
193
194 src_compile() {
195 filter-mfpmath sse
196 filter-flags -ffast-math
197
198 export RRDDOCDIR=/usr/share/doc/${PF}
199
200 econf $(use_enable rrdcgi) \
201 $(use_enable ruby) \
202 $(use_enable ruby ruby-site-install) \
203 $(use_enable perl) \
204 $(use_enable perl perl-site-install) \
205 $(use_enable tcl) \
206 $(use_with tcl tcllib /usr/$(get_libdir)) \
207 $(use_enable python) || die "econf failed."
208
209 emake || die "make failed"
210 }
211
212 src_install() {
213 emake DESTDIR="${D}" install || die "make install failed"
214
215 if ! use doc ; then
216 rm -rf "${D}"/usr/share/doc/${PF}/{html,txt}
217 fi
218
219 use perl && fixlocalpod
220
221 dodoc CHANGES CONTRIBUTORS NEWS README THREADS TODO
222 }
223
224 pkg_preinst() {
225 use perl && perl-module_pkg_preinst
226 }
227
228 pkg_postinst() {
229 use perl && perl-module_pkg_postinst
230 }
231
232 pkg_prerm() {
233 use perl && perl-module_pkg_prerm
234 }
235
236 pkg_postrm() {
237 use perl && perl-module_pkg_postrm
238 }