diff options
author | rh <rh@pkgsrc.org> | 2001-07-08 08:09:39 +0000 |
---|---|---|
committer | rh <rh@pkgsrc.org> | 2001-07-08 08:09:39 +0000 |
commit | d544b6e344c89f031e227c9cf899aaf09c056e63 (patch) | |
tree | 477b08aeabc89a530c364ef35f3f30e5096aa52d | |
parent | 3f8c044aece011b2f5f2a9277afc594f4598dc1d (diff) | |
download | pkgsrc-d544b6e344c89f031e227c9cf899aaf09c056e63.tar.gz |
Update ploticus to 1.41. Licence is now GPL.
Notable changes are:
* Fixed bug: proc axis - when producing stubs running from negative
to positive, zero is displayed as a very tiny non-zero
value such as 5.2579e-17 due to rounding error.
* Fixed bug: proc getdata - buffer overflow when 'filter' is used
with data records longer than 254 chars, causing garbage
result or instability.
Version 1.41 as of 18 June '01:
* Ploticus now covered under GPL.
* Fixed bug: colored background not completely filling the result window
when scale is being done
* Fixed scripts in test suite: The change in default size (version 1.40)
sometimes caused general layout problems with graphics that were layed
out with an 8.5" x 11" default size in mind. The solution for these
scripts is to add a #proc page and specify pagesize: 8.5 11. Some of
the scripts in the test suite had such problems and are now fixed.
* Fixed bug: EPS bounding box incorrect for 1) pltab output and 2) pl
where result draws into negative absolute coordinate space.
* Fixed bug: proc areadef xautorange/yautorange not working correctly in
some cases when a nearest= value is specified. This bug was
apparently introduced in 1.40.
* Fixed bug: proc lineplot - accum option choking when non-numeric data
encountered.
* Fixed bug: proc rangebar - negative barloc values not working.
* Added: proc areadef - autorange datafield may now be a comma-delimited
list of dfields so that multiple data fields are considered
when determining the axis min and max.
* Changed: scaletypes - times hh:mm:ss and mm:ss - validity checking
relaxed slightly to allow degenerate values such as 0:4:9
* Fixed bug: pltab - incorrect interaction between #font and
sectionheadings
* Fixed bug: proc rangebar - textdetails controls N= label but not
missing label
* Fixed bug: pltab - creates 8.5 x 11 inch gif, png regardless of result
size
* Fixed bug: axis - line grid and gridblock starting point incorrect in X
* Fixed bug: axis - colors incorrect when specified in certain
combinations for tics, stubs, grid
* Fixed bug: bars - ticks not being drawn when truncating was not
switched on
Version 1.40 as of 16 Jan '01:
* proc getdata - variables may be declared and set from within data files
using #set
* proc curvefit - linear regression and correlation
* proc areadef - "autowidth" and "autoheight" attributes for data-driven
plot area size
* proc axis - alternating shaded block backgrounds
* added: new script $functions - $exists() and $notexists() to test if a
@VARIABLE has a value. See functions(pl)
added: new script #operators - #hideund and #showund to control
display of embedded underscores, and #includesh. See scripts(pl)
* added: new scaletype - log+1 scaling for handling log-characeristic
data that may contain values of 0.0
* added: proc areadef - autorange - "incmult", which assists in
automatically determining hi and low margin
* added: proc areadef - "xextracategory" and "yextracategory" attributes,
which allow categories to be added explicitly even when most
categories are defined from data
* added: proc axis - "stubcull" attribute for eliminating stub collision,
or pile up on log axis
* added: proc axis - definable extent for grid lines
* added: cmyk color specification for use with PostScript and EPS.
* added: textdetails - "font" subattribute for setting PostScript font.
* added: proc print - "outfile" and "outmode" attributes allowing proc
print to write to files
* added: proc print - now sets a variable called NSELECTED.
* added: proc legend - "reset" attribute.
* added: proc bars - "hidezerobars" attribute
* added: proc curvefit - "select" attribute
* added: proc curvefit - new curvetype - "avg"
* added: proc tabulate - "showrange" attribute supercedes
showrangelowonly. Range label can be the average of low and
high end of range.
* added: proc rangebar - "logmean" attribute, for computing means and
standard deviations in log space.
* added: proc rangebar - "statsonly" attribute, to compute stats and set
variables without drawing the bar.
added: proc rangebar - now sets the variables RANGEBARIQRMIN and
RANGEBARIQRMAX.
* changed: proc getdata - pl no longer quits when no data could be read.
Scripts can check @NRECORDS after getdata finishes and take
appropriate action.
* changed: default result size is now 8" x 8".
* changed: proc curvefit - data no longer need to be ordered on X for
curve computation
* changed: standalone $functions (those that are not part of an #if
construct) may contain embedded white space
* changed: color specifications - the separator character in rgb(r,g,b)
constructs may be any of comma, dash, colon, or pipe. Comma
was problematic if rgb constructs were put into a comma-
delimited list, as in students example.
* changed: .pls is now a "known extension" for script files.
* changed: improved the heuristic for automatic axis increment
determination
* fixed bug: proc scatterplot - if select condition used or if values are
out-of-range, labels from data and datapoint size from data
may be incorrect due to data alignment bug.
* fixed bug: proc lineplot - if select condition used or if values are
out-of-range, labels from data may be incorrect due to data
alignment bug.
* fixed bug: proc rangebar - file close problem causing core dump on
linux
* fixed bug: multipage plots & page breaks - if proc page was used to
break to page 2, and proc page wasn't used for page 1,
drawing continues on page 1.
* fixed bug: proc getdata - select was not working when field names used
(message: no such data field).
* fixed bug: date scaling - dates containing embedded dashes were not
converted properly when used. as locvalue e.g. proc
annotate location.
* fixed bug: $max() function was giving incorrect results
* fixed bug: proc page - on multipage landscape plots using PNG/GIF only
the last page was viewable.
* fixed bug: PNG/GIF driver memory leak when doing multipage plots.
fixed bug: incorrect fda() calls in tabulate.c and
processdata.c.
* fixed bug: proc getdata filters - potential instability if references
were made to data fields beyond NFIELDS.
* fixed bug: proc bars - tics produced through the use of leftticfield,
rightticfield, and midticfield were being drawn outside of
plotting area
-rw-r--r-- | graphics/ploticus/Makefile | 29 | ||||
-rw-r--r-- | graphics/ploticus/distinfo | 13 | ||||
-rw-r--r-- | graphics/ploticus/patches/patch-ab | 13 | ||||
-rw-r--r-- | graphics/ploticus/patches/patch-ac | 19 | ||||
-rw-r--r-- | graphics/ploticus/patches/patch-ad | 13 | ||||
-rw-r--r-- | graphics/ploticus/pkg/PLIST | 14 |
6 files changed, 85 insertions, 16 deletions
diff --git a/graphics/ploticus/Makefile b/graphics/ploticus/Makefile index bf2c0a59b79..2ff109ba070 100644 --- a/graphics/ploticus/Makefile +++ b/graphics/ploticus/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.9 2001/05/22 09:32:22 wiz Exp $ +# $NetBSD: Makefile,v 1.10 2001/07/08 08:09:39 rh Exp $ # -DISTNAME= plsrc13 -PKGNAME= ploticus-1.39 +DISTNAME= plsrc141 +PKGNAME= ploticus-1.41 CATEGORIES= graphics MASTER_SITES= http://www.sgpr.net/download/ \ http://gd.tuwien.ac.at/visual/ploticus/download/ @@ -16,10 +16,9 @@ DEPENDS+= png>=1.0.11:../../graphics/png NO_CONFIGURE= YES USE_X11= YES -DIST_SUBDIR= ploticus-1.39 +DIST_SUBDIR= ${PKGNAME} -WRKSRC= ${WRKDIR}/ploticus/src -MANSRC= ${WRKDIR}/ploticus/man +MANSRC= ${WRKSRC:C/plsrc/plman/} DOCDST= ${PREFIX}/share/doc/ploticus NROFF?= nroff -mandoc @@ -28,12 +27,24 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin/${file} .endfor .for file in pl ploticus plpng pltab - ${INSTALL_MAN} ${MANSRC}/../man/man1/${file}.1 \ + ${INSTALL_MAN} ${MANSRC}/man/man1/${file}.1 \ ${PREFIX}/man/man1/${file}.1 .endfor ${INSTALL_DATA_DIR} ${DOCDST} -.for file in Faq Problems Util annotate areadef attributetypes axis bars bevelrect breakaxis catslide color condex config controlling curvefit dataformat dates datesettings defineunits drawcommands endproc functions getdata gifpatent import interactive legend legendentry limits line linedetails lineplot missingdata originaldata page paper pie posters print processdata rangebar rangesweep scaleunits scatterplot scripts slides specialchars symboldetails tabulate textdetails times trailer transform variables web - ${NROFF} <${MANSRC}/../man/manpl/${file} >${WRKDIR}/${file} +.for file in Changelog Contents Copyright Download Feedback Feedback00 \ + Versions Welcome + ${INSTALL_DATA} ${MANSRC}/man/manpl/${file} ${DOCDST}/${file} +.endfor +.for file in Faq Problems annotate areadef attributetypes autorange \ + axis bars bevelrect breakaxis catslide color condex config \ + controlling curvefit dataformat dates datesettings defineunits \ + drawcommands endproc foo functions getdata gifpatent import \ + interactive legend legendentry limits line linedetails lineplot \ + missingdata originaldata page paper pie posters prefabs print \ + processdata rangebar rangesweep scaleunits scatterplot scripts \ + slides specialchars symboldetails tabulate textdetails times \ + trailer transform variables web + ${NROFF} <${MANSRC}/man/manpl/${file} >${WRKDIR}/${file} ${INSTALL_DATA} ${WRKDIR}/${file} ${DOCDST}/${file} .endfor diff --git a/graphics/ploticus/distinfo b/graphics/ploticus/distinfo index 732e41fd176..951f9d7c184 100644 --- a/graphics/ploticus/distinfo +++ b/graphics/ploticus/distinfo @@ -1,7 +1,10 @@ -$NetBSD: distinfo,v 1.2 2001/04/21 09:54:23 wiz Exp $ +$NetBSD: distinfo,v 1.3 2001/07/08 08:09:39 rh Exp $ -SHA1 (ploticus-1.39/plsrc13.tar.gz) = 9e6c55630a1ec125a92bd6a2c3b9d554ca39dd3a -Size (ploticus-1.39/plsrc13.tar.gz) = 274912 bytes -SHA1 (ploticus-1.39/plman13.tar.gz) = d0f93ee8deea2f15e33180541b6b2139c8c0b7a2 -Size (ploticus-1.39/plman13.tar.gz) = 98974 bytes +SHA1 (ploticus-1.41/plsrc141.tar.gz) = 675ee667d4b0561abf9f271fdaf7a081db86b0c7 +Size (ploticus-1.41/plsrc141.tar.gz) = 257913 bytes +SHA1 (ploticus-1.41/plman141.tar.gz) = c353434240574e77d8098ac695b4969a750c53f1 +Size (ploticus-1.41/plman141.tar.gz) = 147028 bytes SHA1 (patch-aa) = 4bb627cfedaf0d3692c9700533f7551ca0e133ea +SHA1 (patch-ab) = a1e7b090bf6f13c9f3659a81dcdf6a284b67a978 +SHA1 (patch-ac) = 0038991b57d5537a8c9af9a2b92e374ec50f6689 +SHA1 (patch-ad) = 49e77b3fc5794d3ec9005ac632bb5226dd748704 diff --git a/graphics/ploticus/patches/patch-ab b/graphics/ploticus/patches/patch-ab new file mode 100644 index 00000000000..1e1f916d1a7 --- /dev/null +++ b/graphics/ploticus/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1 2001/07/08 08:09:40 rh Exp $ + +--- preliminaries.c.orig Sun Jul 8 09:47:17 2001 ++++ preliminaries.c +@@ -18,7 +18,7 @@ + + /* set first part of name for for tmp files.. */ + make_unique_string( buf, 0 ); +-sprintf( Tmpname, "/usr/tmp/plo%s", buf ); ++sprintf( Tmpname, "/tmp/plo%s", buf ); + + Errfp = stderr; /* portability? */ + Diagfp = stderr; /* portability? */ diff --git a/graphics/ploticus/patches/patch-ac b/graphics/ploticus/patches/patch-ac new file mode 100644 index 00000000000..140352edc69 --- /dev/null +++ b/graphics/ploticus/patches/patch-ac @@ -0,0 +1,19 @@ +$NetBSD: patch-ac,v 1.1 2001/07/08 08:09:40 rh Exp $ + +--- units.c.orig Sun Jul 8 09:52:03 2001 ++++ units.c +@@ -275,8 +275,14 @@ + else i = 1; + + if( unittyp[i] == LINEAR ) { ++ /* when generating incremental axes moving from negative to positive, for zero sprintf sometimes ++ gives -0.00 or very tiny values like -5.5579e-17. The following is a workaround.. scg 7/5/01 */ ++ if( f < 0.0000000000001 && f > -0.0000000000001 ) f = 0.0; ++ + if( strlen( format ) < 1 ) sprintf( result, "%g", f ); + else sprintf( result, format, f ); ++ ++ + if( Bignumspacer ) rewritenums( result ); /* rewrite w/various spacing, decimal pt options*/ + } + diff --git a/graphics/ploticus/patches/patch-ad b/graphics/ploticus/patches/patch-ad new file mode 100644 index 00000000000..a82df5e990b --- /dev/null +++ b/graphics/ploticus/patches/patch-ad @@ -0,0 +1,13 @@ +$NetBSD: patch-ad,v 1.1 2001/07/08 08:09:40 rh Exp $ + +--- getdata.c.orig Sun Jul 8 09:53:12 2001 ++++ getdata.c +@@ -349,7 +349,7 @@ + char recordid[80]; + char data[MAXITEMS][DATAMAXLEN+1]; + char *df[MAXITEMS]; +-char str[255], str2[255]; ++char str[MAXINBUF], str2[MAXINBUF]; /* size increased from 255 scg 6/27/01 */ + int nfields, nrecords, nd; + int i; + char commentchar[12]; diff --git a/graphics/ploticus/pkg/PLIST b/graphics/ploticus/pkg/PLIST index 62697cd36a0..37cbdd42a59 100644 --- a/graphics/ploticus/pkg/PLIST +++ b/graphics/ploticus/pkg/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.2 2000/10/08 18:27:10 hubertf Exp $ +@comment $NetBSD: PLIST,v 1.3 2001/07/08 08:09:40 rh Exp $ bin/pl bin/plpng bin/pltab @@ -7,12 +7,20 @@ man/man1/pl.1 man/man1/ploticus.1 man/man1/plpng.1 man/man1/pltab.1 +share/doc/ploticus/Changelog +share/doc/ploticus/Contents +share/doc/ploticus/Copyright +share/doc/ploticus/Download share/doc/ploticus/Faq +share/doc/ploticus/Feedback +share/doc/ploticus/Feedback00 share/doc/ploticus/Problems -share/doc/ploticus/Util +share/doc/ploticus/Versions +share/doc/ploticus/Welcome share/doc/ploticus/annotate share/doc/ploticus/areadef share/doc/ploticus/attributetypes +share/doc/ploticus/autorange share/doc/ploticus/axis share/doc/ploticus/bars share/doc/ploticus/bevelrect @@ -29,6 +37,7 @@ share/doc/ploticus/datesettings share/doc/ploticus/defineunits share/doc/ploticus/drawcommands share/doc/ploticus/endproc +share/doc/ploticus/foo share/doc/ploticus/functions share/doc/ploticus/getdata share/doc/ploticus/gifpatent @@ -46,6 +55,7 @@ share/doc/ploticus/page share/doc/ploticus/paper share/doc/ploticus/pie share/doc/ploticus/posters +share/doc/ploticus/prefabs share/doc/ploticus/print share/doc/ploticus/processdata share/doc/ploticus/rangebar |