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: ChangeLog rrdtool-1.3.7.ebuild rrdtool-1.2.28-r1.ebuild rrdtool-1.2.28-r2.ebuild rrdtool-1.3.4.ebuild rrdtool-1.3.5.ebuild
Date: Tue, 07 Apr 2009 16:51:09
Message-Id: E1LrEVu-00023P-RQ@stork.gentoo.org
1 pva 09/04/07 16:51:06
2
3 Modified: ChangeLog
4 Added: rrdtool-1.3.7.ebuild
5 Removed: rrdtool-1.2.28-r1.ebuild rrdtool-1.2.28-r2.ebuild
6 rrdtool-1.3.4.ebuild rrdtool-1.3.5.ebuild
7 Log:
8 Version bump. Remove old.
9 (Portage version: 2.1.6.11/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.177 net-analyzer/rrdtool/ChangeLog
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/rrdtool/ChangeLog?rev=1.177&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/rrdtool/ChangeLog?rev=1.177&content-type=text/plain
16 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/rrdtool/ChangeLog?r1=1.176&r2=1.177
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/ChangeLog,v
21 retrieving revision 1.176
22 retrieving revision 1.177
23 diff -u -r1.176 -r1.177
24 --- ChangeLog 8 Mar 2009 10:39:21 -0000 1.176
25 +++ ChangeLog 7 Apr 2009 16:51:06 -0000 1.177
26 @@ -1,6 +1,15 @@
27 # ChangeLog for net-analyzer/rrdtool
28 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/ChangeLog,v 1.176 2009/03/08 10:39:21 cla Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/ChangeLog,v 1.177 2009/04/07 16:51:06 pva Exp $
31 +
32 +*rrdtool-1.3.7 (07 Apr 2009)
33 +
34 + 07 Apr 2009; Peter Volkov <pva@g.o>
35 + -files/rrdtool-1.2.28-fix-empty-font.patch,
36 + -files/rrdtool-1.2.28-revert-font-fix.patch, -rrdtool-1.2.28-r1.ebuild,
37 + -rrdtool-1.2.28-r2.ebuild, -rrdtool-1.3.4.ebuild, -rrdtool-1.3.5.ebuild,
38 + +rrdtool-1.3.7.ebuild:
39 + Version bump. Remove old.
40
41 08 Mar 2009; Dawid Węgliński <cla@g.o> rrdtool-1.3.6.ebuild:
42 Prevent double emake
43
44
45
46 1.1 net-analyzer/rrdtool/rrdtool-1.3.7.ebuild
47
48 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/rrdtool/rrdtool-1.3.7.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/rrdtool/rrdtool-1.3.7.ebuild?rev=1.1&content-type=text/plain
50
51 Index: rrdtool-1.3.7.ebuild
52 ===================================================================
53 # Copyright 1999-2009 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/rrdtool-1.3.7.ebuild,v 1.1 2009/04/07 16:51:06 pva Exp $
56
57 EAPI="2"
58
59 inherit eutils flag-o-matic multilib perl-module
60
61 DESCRIPTION="A system to store and display time-series data"
62 HOMEPAGE="http://oss.oetiker.ch/rrdtool/"
63 SRC_URI="http://oss.oetiker.ch/rrdtool/pub/${P}.tar.gz"
64
65 LICENSE="GPL-2"
66 SLOT="0"
67 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
68 IUSE="doc perl python ruby rrdcgi tcl"
69
70 # This versions are minimal versions upstream tested with.
71 RDEPEND="
72 >=media-libs/libpng-1.2.10
73 >=dev-libs/libxml2-2.6.31
74 >=x11-libs/cairo-1.4.6[svg]
75 >=dev-libs/glib-2.12.12
76 >=x11-libs/pango-1.17
77 tcl? ( dev-lang/tcl )
78 perl? ( dev-lang/perl )
79 python? ( dev-lang/python )
80 ruby? ( dev-lang/ruby
81 !dev-ruby/ruby-rrd )"
82
83 DEPEND="${RDEPEND}
84 sys-apps/gawk"
85
86 pkg_setup() {
87 use perl && perl-module_pkg_setup
88 }
89
90 src_configure() {
91 filter-flags -ffast-math
92
93 export RRDDOCDIR=/usr/share/doc/${PF}
94
95 econf $(use_enable rrdcgi) \
96 $(use_enable ruby) \
97 $(use_enable ruby ruby-site-install) \
98 $(use_enable perl) \
99 $(use_enable perl perl-site-install) \
100 $(use_enable tcl) \
101 $(use_with tcl tcllib /usr/$(get_libdir)) \
102 $(use_enable python)
103 }
104
105 src_install() {
106 # -j1 see bug #239101 for details
107 emake -j1 DESTDIR="${D}" install || die "make install failed"
108
109 if ! use doc ; then
110 rm -rf "${D}"/usr/share/doc/${PF}/{html,txt}
111 fi
112
113 use perl && fixlocalpod
114
115 dodoc CHANGES CONTRIBUTORS NEWS README THREADS TODO
116 }
117
118 pkg_preinst() {
119 use perl && perl-module_pkg_preinst
120 }
121
122 pkg_postinst() {
123 use perl && perl-module_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 ann 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 }
132
133 pkg_prerm() {
134 use perl && perl-module_pkg_prerm
135 }
136
137 pkg_postrm() {
138 use perl && perl-module_pkg_postrm
139 }