Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-analyzer/rrdtool: ChangeLog rrdtool-1.4.3.ebuild
Date: Wed, 26 May 2010 23:05:42
Message-Id: 20100526230533.8B4652CF2E@corvid.gentoo.org
1 jer 10/05/26 23:05:33
2
3 Modified: ChangeLog
4 Added: rrdtool-1.4.3.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.2_rc67/cvs/Linux i686)
8
9 Revision Changes Path
10 1.203 net-analyzer/rrdtool/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/rrdtool/ChangeLog?rev=1.203&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/rrdtool/ChangeLog?rev=1.203&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/rrdtool/ChangeLog?r1=1.202&r2=1.203
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/ChangeLog,v
19 retrieving revision 1.202
20 retrieving revision 1.203
21 diff -u -r1.202 -r1.203
22 --- ChangeLog 26 May 2010 20:28:02 -0000 1.202
23 +++ ChangeLog 26 May 2010 23:05:33 -0000 1.203
24 @@ -1,6 +1,11 @@
25 # ChangeLog for net-analyzer/rrdtool
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/ChangeLog,v 1.202 2010/05/26 20:28:02 tove Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/ChangeLog,v 1.203 2010/05/26 23:05:33 jer Exp $
29 +
30 +*rrdtool-1.4.3 (26 May 2010)
31 +
32 + 26 May 2010; Jeroen Roovers <jer@g.o> +rrdtool-1.4.3.ebuild:
33 + Version bump.
34
35 26 May 2010; Torsten Veller <tove@g.o> rrdtool-1.4.2.ebuild:
36 Move perl-modules to vendor-dir. Delete .packlist files (#297134)
37
38
39
40 1.1 net-analyzer/rrdtool/rrdtool-1.4.3.ebuild
41
42 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/rrdtool/rrdtool-1.4.3.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/rrdtool/rrdtool-1.4.3.ebuild?rev=1.1&content-type=text/plain
44
45 Index: rrdtool-1.4.3.ebuild
46 ===================================================================
47 # Copyright 1999-2010 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.4.3.ebuild,v 1.1 2010/05/26 23:05:33 jer Exp $
50
51 EAPI="3"
52
53 GENTOO_DEPEND_ON_PERL="no"
54 inherit eutils flag-o-matic multilib perl-module autotools
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 ~amd64-linux ~ia64-linux ~x86-linux ~x86-solaris"
63 IUSE="doc lua 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[svg]
70 >=dev-libs/glib-2.12.12
71 >=x11-libs/pango-1.17
72 lua? ( dev-lang/lua )
73 perl? ( dev-lang/perl )
74 python? ( dev-lang/python )
75 ruby? ( >=dev-lang/ruby-1.8.6_p287-r13 !dev-ruby/ruby-rrd )
76 tcl? ( dev-lang/tcl )"
77
78 DEPEND="${RDEPEND}
79 sys-apps/gawk"
80
81 src_prepare() {
82 epatch "${FILESDIR}/rrdtool-1.3.8-configure.ac.patch"
83 sed -i '/PERLLD/s:same as PERLCC:same-as-PERLCC:' configure.ac #281694
84 eautoconf
85 }
86
87 src_configure() {
88 filter-flags -ffast-math
89
90 export RRDDOCDIR=${EPREFIX}/usr/share/doc/${PF}
91
92 # to solve bug #260380
93 [[ ${CHOST} == *-solaris* ]] && append-flags -D__EXTENSIONS__
94
95 econf $(use_enable rrdcgi) \
96 $(use_enable lua) \
97 $(use_enable lua lua-site-install) \
98 $(use_enable ruby) \
99 $(use_enable ruby ruby-site-install) \
100 $(use_enable perl) \
101 $(use_enable perl perl-site-install) \
102 --with-perl-options=INSTALLDIRS=vendor \
103 $(use_enable tcl) \
104 $(use_with tcl tcllib "${EPREFIX}"/usr/$(get_libdir)) \
105 $(use_enable python)
106 }
107
108 src_install() {
109 emake DESTDIR="${D}" install || die "make install failed"
110
111 if ! use doc ; then
112 rm -rf "${ED}"usr/share/doc/${PF}/{html,txt}
113 fi
114
115 if use perl ; then
116 perl_delete_localpod
117 perl_delete_packlist
118 fi
119
120 dodoc CHANGES CONTRIBUTORS NEWS README THREADS TODO
121 }
122
123 pkg_postinst() {
124 ewarn "rrdtool dump 1.3 does emit completely legal xml. Basically this means that"
125 ewarn "it contains an xml header and a DOCTYPE definition. Unfortunately this"
126 ewarn "causes older versions of rrdtool restore to be unhappy."
127 ewarn
128 ewarn "To restore a new dump with an old rrdtool restore version, either remove"
129 ewarn "the xml header and the doctype by hand (both on the first line of the dump)"
130 ewarn "or use rrdtool dump --no-header."
131 ewarn
132 ewarn "Note: rrdtool-1.3.x doesn't have any default font bundled. Thus if you've"
133 ewarn "upgraded from rrdtool-1.2.x and don't have any font installed to make"
134 ewarn "lables visible, please, install some font, e.g. media-fonts/dejavu."
135 }