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.9.ebuild ChangeLog
Date: Mon, 26 Oct 2009 13:50:29
Message-Id: E1N2Pxs-0003Qq-0X@stork.gentoo.org
1 pva 09/10/26 13:50:28
2
3 Modified: ChangeLog
4 Added: rrdtool-1.3.9.ebuild
5 Log:
6 Version bump, bug #290363, thank Opportunist for report.
7 (Portage version: 2.2_rc46/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.193 net-analyzer/rrdtool/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/rrdtool/ChangeLog?rev=1.193&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/rrdtool/ChangeLog?rev=1.193&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/rrdtool/ChangeLog?r1=1.192&r2=1.193
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/ChangeLog,v
19 retrieving revision 1.192
20 retrieving revision 1.193
21 diff -u -r1.192 -r1.193
22 --- ChangeLog 18 Oct 2009 07:19:23 -0000 1.192
23 +++ ChangeLog 26 Oct 2009 13:50:27 -0000 1.193
24 @@ -1,6 +1,11 @@
25 # ChangeLog for net-analyzer/rrdtool
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/ChangeLog,v 1.192 2009/10/18 07:19:23 vapier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/ChangeLog,v 1.193 2009/10/26 13:50:27 pva Exp $
29 +
30 +*rrdtool-1.3.9 (26 Oct 2009)
31 +
32 + 26 Oct 2009; Peter Volkov <pva@g.o> +rrdtool-1.3.9.ebuild:
33 + Version bump, bug #290363, thank Opportunist for report.
34
35 18 Oct 2009; Mike Frysinger <vapier@g.o> rrdtool-1.3.8-r1.ebuild:
36 Workaround autoconf-2.64 errors with nested [] #281694.
37
38
39
40 1.1 net-analyzer/rrdtool/rrdtool-1.3.9.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/rrdtool/rrdtool-1.3.9.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/rrdtool/rrdtool-1.3.9.ebuild?rev=1.1&content-type=text/plain
44
45 Index: rrdtool-1.3.9.ebuild
46 ===================================================================
47 # Copyright 1999-2009 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/rrdtool-1.3.9.ebuild,v 1.1 2009/10/26 13:50:27 pva Exp $
50
51 EAPI="2"
52
53 inherit eutils flag-o-matic multilib perl-module autotools
54
55 DESCRIPTION="A system to store and display time-series data"
56 HOMEPAGE="http://oss.oetiker.ch/rrdtool/"
57 SRC_URI="http://oss.oetiker.ch/rrdtool/pub/${P}.tar.gz"
58
59 LICENSE="GPL-2"
60 SLOT="0"
61 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
62 IUSE="doc nls perl python ruby rrdcgi tcl"
63
64 # This versions are minimal versions upstream tested with.
65 RDEPEND="
66 >=media-libs/libpng-1.2.10
67 >=dev-libs/libxml2-2.6.31
68 >=x11-libs/cairo-1.4.6[svg]
69 >=dev-libs/glib-2.12.12
70 >=x11-libs/pango-1.17
71 tcl? ( dev-lang/tcl )
72 perl? ( dev-lang/perl )
73 python? ( dev-lang/python )
74 ruby? ( >=dev-lang/ruby-1.8.6_p287-r13
75 !dev-ruby/ruby-rrd )"
76
77 DEPEND="${RDEPEND}
78 nls? ( >=dev-util/intltool-0.35
79 sys-devel/gettext )
80 sys-apps/gawk"
81
82 pkg_setup() {
83 use perl && perl-module_pkg_setup
84 }
85
86 src_prepare() {
87 epatch "${FILESDIR}/rrdtool-1.3.8-configure.ac.patch"
88 sed -i '/PERLLD/s:same as PERLCC:same-as-PERLCC:' configure.ac #281694
89 eautoconf
90 }
91
92 src_configure() {
93 filter-flags -ffast-math
94
95 export RRDDOCDIR=/usr/share/doc/${PF}
96
97 econf $(use_enable rrdcgi) \
98 $(use_enable nls) \
99 $(use_enable nls libintl) \
100 $(use_enable ruby) \
101 $(use_enable ruby ruby-site-install) \
102 $(use_enable perl) \
103 $(use_enable perl perl-site-install) \
104 $(use_enable tcl) \
105 $(use_with tcl tcllib /usr/$(get_libdir)) \
106 $(use_enable python)
107 }
108
109 src_install() {
110 emake DESTDIR="${D}" install || die "make install failed"
111
112 if ! use doc ; then
113 rm -rf "${D}"/usr/share/doc/${PF}/{html,txt}
114 fi
115
116 use perl && fixlocalpod
117
118 dodoc CHANGES CONTRIBUTORS NEWS README THREADS TODO
119 }
120
121 pkg_preinst() {
122 use perl && perl-module_pkg_preinst
123 }
124
125 pkg_postinst() {
126 use perl && perl-module_pkg_postinst
127 ewarn "rrdtool dump 1.3 does emit completely legal xml. Basically this means that"
128 ewarn "it contains an xml header and a DOCTYPE definition. Unfortunately this"
129 ewarn "causes older versions of rrdtool restore to be unhappy."
130 ewarn
131 ewarn "To restore a new dump with ann old rrdtool restore version, either remove"
132 ewarn "the xml header and the doctype by hand (both on the first line of the dump)"
133 ewarn "or use rrdtool dump --no-header."
134 ewarn
135 ewarn "Note: rrdtool-1.3.x doesn't have any default font bundled. Thus if you've"
136 ewarn "upgraded from rrdtool-1.2.x and don't have any font installed to make"
137 ewarn "lables visible, please, install some font, e.g. media-fonts/dejavu."
138 }
139
140 pkg_prerm() {
141 use perl && perl-module_pkg_prerm
142 }
143
144 pkg_postrm() {
145 use perl && perl-module_pkg_postrm
146 }