r46868 - in /branches/upstream/librrdtool-oo-perl/current: Changes META.yml README lib/RRDTool/OO.pm
jawnsy-guest at users.alioth.debian.org
jawnsy-guest at users.alioth.debian.org
Sat Nov 7 02:34:39 UTC 2009
Author: jawnsy-guest
Date: Sat Nov 7 02:34:34 2009
New Revision: 46868
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=46868
Log:
[svn-upgrade] Integrating new upstream version, librrdtool-oo-perl (0.28)
Modified:
branches/upstream/librrdtool-oo-perl/current/Changes
branches/upstream/librrdtool-oo-perl/current/META.yml
branches/upstream/librrdtool-oo-perl/current/README
branches/upstream/librrdtool-oo-perl/current/lib/RRDTool/OO.pm
Modified: branches/upstream/librrdtool-oo-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/librrdtool-oo-perl/current/Changes?rev=46868&op=diff
==============================================================================
--- branches/upstream/librrdtool-oo-perl/current/Changes (original)
+++ branches/upstream/librrdtool-oo-perl/current/Changes Sat Nov 7 02:34:34 2009
@@ -1,3 +1,7 @@
+0.28 (11/05/2009)
+ (ms) Applied patch by Lyle Brooks, adding optional step, start, and
+ end parameters to "draw".
+
0.27 (10/11/2009)
(ms) Slaven Rezic reported huge memory consumption by the test suite,
turned out to be fetch_start() call spanning several years.
Modified: branches/upstream/librrdtool-oo-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/librrdtool-oo-perl/current/META.yml?rev=46868&op=diff
==============================================================================
--- branches/upstream/librrdtool-oo-perl/current/META.yml (original)
+++ branches/upstream/librrdtool-oo-perl/current/META.yml Sat Nov 7 02:34:34 2009
@@ -1,23 +1,12 @@
---- #YAML:1.0
-name: RRDTool-OO
-version: 0.27
-abstract: Object-oriented interface to RRDTool
-author:
- - Mike Schilli <m at perlmeister.com>
-license: unknown
-distribution_type: module
-configure_requires:
- ExtUtils::MakeMaker: 0
-build_requires:
- ExtUtils::MakeMaker: 0
+# http://module-build.sourceforge.net/META-spec.html
+#XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX#
+name: RRDTool-OO
+version: 0.28
+version_from: lib/RRDTool/OO.pm
+installdirs: site
requires:
- Log::Log4perl: 0.40
- RRDs: 0
-no_index:
- directory:
- - t
- - inc
-generated_by: ExtUtils::MakeMaker version 6.50
-meta-spec:
- url: http://module-build.sourceforge.net/META-spec-v1.4.html
- version: 1.4
+ Log::Log4perl: 0.40
+ RRDs: 0
+
+distribution_type: module
+generated_by: ExtUtils::MakeMaker version 6.30_01
Modified: branches/upstream/librrdtool-oo-perl/current/README
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/librrdtool-oo-perl/current/README?rev=46868&op=diff
==============================================================================
--- branches/upstream/librrdtool-oo-perl/current/README (original)
+++ branches/upstream/librrdtool-oo-perl/current/README Sat Nov 7 02:34:34 2009
@@ -1,5 +1,5 @@
######################################################################
- RRDTool::OO 0.27
+ RRDTool::OO 0.28
######################################################################
NAME
@@ -919,7 +919,7 @@
Mike Schilli, <m at perlmeister.com>
COPYRIGHT AND LICENSE
- Copyright (C) 2004-2008 by Mike Schilli
+ Copyright (C) 2004-2009 by Mike Schilli
This library is free software; you can redistribute it and/or modify it
under the same terms as Perl itself, either Perl version 5.8.3 or, at
Modified: branches/upstream/librrdtool-oo-perl/current/lib/RRDTool/OO.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/librrdtool-oo-perl/current/lib/RRDTool/OO.pm?rev=46868&op=diff
==============================================================================
--- branches/upstream/librrdtool-oo-perl/current/lib/RRDTool/OO.pm (original)
+++ branches/upstream/librrdtool-oo-perl/current/lib/RRDTool/OO.pm Sat Nov 7 02:34:34 2009
@@ -7,7 +7,7 @@
use RRDs;
use Log::Log4perl qw(:easy);
-our $VERSION = '0.27';
+our $VERSION = '0.28';
# Define the mandatory and optional parameters for every method.
our $OPTIONS = {
@@ -56,7 +56,7 @@
mandatory => [qw()],
optional => [qw(file dsname cfunc thickness
type color legend name cdef vdef
- stack
+ stack step start end
)],
},
color => {
@@ -1041,10 +1041,10 @@
$options_hash->{cfunc};
# Create the draw strings
- #DEF:myload=$DB:load:MAX
- push @$options, "DEF:$p->{name}=$p->{file}:" .
- "$p->{dsname}:" .
- "$p->{cfunc}";
+ # DEF:vname=rrdfile:ds-name:CF[:step=step][:start=time][:end=time]
+ my $def = "DEF:$p->{name}=$p->{file}:$p->{dsname}:$p->{cfunc}";
+ map { $def .= ":$_=$p->{$_}" } grep { defined $p->{$_} } qw(step start end);
+ push @$options, $def;
}
#LINE2:myload#FF0000
@@ -2146,7 +2146,7 @@
=head1 COPYRIGHT AND LICENSE
-Copyright (C) 2004-2008 by Mike Schilli
+Copyright (C) 2004-2009 by Mike Schilli
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself, either Perl version 5.8.3 or,
More information about the Pkg-perl-cvs-commits
mailing list