Commit graph

129 commits

Author SHA1 Message Date
mef
3fd04304f5 (pkgsrc)
- Two targets added, post-build: and post-install:,
    to build gnuplot.pdf (which was in 4.6.6 PLIST),
    and two dependency for above process. Thanks gdt@ for comment.

(upstream)
  - Update 4.6.6 to 5.0.0
---------------------
		GNUPLOT Version 5.0 Release Notes
		=================================

Gnuplot version 5 contains significant new capabilities and enhancements.
The most recent previous release was 4.6 patchlevel 6 (4.6.6).
Please see the NEWS file for bugfixes and minor changes to version 5.0
applied after feedback on release candidates -rc1, -rc2, and -rc3.

Release Notes date: 31 December 2014

NOTABLE NEW FEATURES
====================

* New plot styles "with parallelaxes" and labeled contours.

* New coordinate system (Degrees, Minutes, Seconds) "set xdata geographic".

* The "fit" command can now handle functions with up to 12 variables, and
  can take into account errors on x as well as errors on dependent variables.
  Final covariance terms are stored in user-accessible variables.
  Fitting options are now controlled by the command "set fit ..." rather than
  by environmental variables.

* The interpretation of columns in a "fit" command depends on new keywords
  "error", "xyerror", "zerror".  In most cases the program can also recognize
  version 4 syntax (no error keyword but last column contains zerror).

* The dot/dash pattern of a line can now be controlled independently
  from other line properties using the keyword "dashtype".

* The default color of individual line types can be changed using
  "set linetype" (introduced in 4.6). In version 5 a default overall color
  sequence can be selected using "set colors {default|classic|podo}".
  The "classic" sequence is red/green/blue/magenta/cyan/yellow as used by
  older gnuplot versions.  The default and podo colors are chosen to be
  more easily distinguished in print and in particular by people with color
  vision problems.

* Text markup now supports bold and italic font settings in addition to
  the subscript, superscript, font size and other options previously
  provided by the "enhanced text" mode.  This mode is now the default.

* Command scripts may place in-line data in a named data block for
  repeated plotting.

* Bit shift operators << and >>

* RGB colors can include an alpha-channel for transparency.
       # ARGBcolor = (Alpha << 24) + (Red << 16) + (Green << 8) + Blue

* Secondary axes (x2, y2) can be locked to the primary axis via a mapping
  function.  In the simplest case this guarantees that the primary and
  secondary axis ranges are identical.  In the general case it allows you
  to define a non-linear axis, something that previously was only possible
  for the special case of log scaling.

* The "import" command attaches a user-defined function name to a
  function provided by an extenal shared object (i.e. a plugin library).

* Previous commands in the history list of an interactive session can be
  reexecuted by number.  For example "history !5" will reexecute the
  command numbered 5 in the list reported by "history".

* Hypertext labels in the interactive terminals including web display
  using the HTML canvas or svg terminals.

Many other additions are described in the "New Features" section of the
documentation.


CHANGES
=======

Gnuplot development assigns very high priority to backward compatibility
with earlier versions.  For example any command script that worked in
version 4.0 is expected to continue to work for all version 4 releases
including the most recent one (4.6.6).  However changes introduced in
version 5 can affect the operation of some version 4 scripts.

A brief summary of potentially incompatible changes is given here.

* Earlier versions of gnuplot used the keyword "linetype" to mean both
  the color and the solid/dot/dash pattern of a line.  Version 5 has
  separate keywords "linecolor" and "dashtype".  You can use these keywords
  directly in a plot command or assign any desired color and a dash pattern
  to a linetype.  The program now provides a default set of 8 linetypes, all solid.
  You can change these or add new linetypes as you please. You do not need
  to change the current terminal or terminal mode in order to use dashed lines.

* The handling of input data containing NaN, Inf, an inconsistent number of
  data columns, or other unexpected content has changed. See documentation
  under "missing" for examples and figures.

* Time coordinates are stored internally as the number of seconds relative
  to the standard unix epoch 1-Jan-1970.  Earlier versions of gnuplot used
  a different epoch internally (1-Jan-2000). This change resolves
  inconsistencies introduced when time in seconds was generated externally.
  The epoch convention used by a particular gnuplot installation can be
  determined using the command `print strftime("%F",0)`.
  Time is now stored to at least millisecond precision.

* The function `timecolumn(N,"timeformat")` now has 2 parameters.
  Because the second parameter is not associated with any particular data axis,
  this allows using the `timecolumn` function to read time data for reasons
  other than specifying the x or y coordinate.  Use of time formats
  to generate axis tick labels is now controlled by "set {xy}tics time" rather
  than by "set {xy}data time".  Thus prior calls to `set xdata time` or
  `set timefmt x` are unnecessary for either input or output.
  These older commands still work, but are deprecated.

* The "reverse" keyword (e.g. "set xrange [*:*] reverse") now affects only
  autoscaling.  It has no effect on explicit ranges.
  "set xrange [0:1] reverse" is _not_ the same as "set xrange [1:0]".

* Options to the "fit" command are now given by "set fit ..." rather than
  by setting environmental variables.  Fit can handle up to MAX_NUM_VAR
  independent variables (currently 12).  Variables other than the first
  two (x, y) have been dissociated from axis names.  This means, for example,
  "set urange [U1:U2]" has no effect on fitting because "u" is not a fit
  variable.  Use the command "set dummy ..." to assign names to fit variables
  3 ... 12.

* The `call` command is implemented by providing a set of variables ARGC,
  ARG0, ..., ARG9. ARG0 holds the name of the script file being executed.
  ARG1 to ARG9 are string variables and thus may either be referenced directly
  or expanded as macros, e.g. @ARG1.  The older convention for referencing
  call parameters as tokens $0 ... $9 is deprecated.

* "unset xrange" (and other axis ranges) restores the default range.

* "unset terminal" restores the original terminal of the current session.
2015-03-03 15:22:20 +00:00
mef
441355dc80 Convert Fixed Version (Major+Minor) in PLIST into API_VERSION. No logic, binary change. 2015-03-01 12:58:10 +00:00
adam
418bbc50a4 Changes 4.6.6:
* NEW linetype keyword "nodraw" can be used to draw only the points in "with lp"
* NEW plot option to "skip N" lines at start of an ascii data file
* NEW 'set fit prescale' normalized fit parameters before M-L refinement
* NEW update svg terminal to grey out the key entry when a plot is toggled off
* NEW allow keywords "comma" and "tab" for "set datafile separator"
* CHANGE Accept "with image pixels" as a synonym for "with image failsafe"
* CHANGE return NaN if a requested numerical data value finds a string instead
* CHANGE Consume only one space following the font name in an enhanced test string
* CHANGE respond to left mouse click on press rather than on release
* FIX Faster recovery from outboard server gnuplot_qt being killed
* FIX get rid of O(N^2) memory allocation for string data in long input lines
* FIX large integers in iteration spec could cause overflow in end condition check
* FIX object fillcolors should be consistent with the color of current linetypes
* FIX LFS support on 64bit platforms (not backported for 32bit platforms)
* FIX timecolumn() applied to non-axis data reports an error rather than faulting
* FIX clipping could fail on integer overflow
* FIX segfault resulting from strcol(N) applied to empty field in a *.csv file
* FIX adjustment of key size to accommodate long key title
* FIX treat data value read as "NaN" the same as we would "1/0"
* FIX handling of events triggered by closing the qt plot window
* FIX iteration failure due to integer overflow
* FIX clip r axis tics to current plot boundary
* FIX logscale cb axis with volatile data
* FIX qt terminal timing problem with mouse click+release
* FIX qt terminal handle window close events
* FIX incorrect processing of certain loop [start🔚incr] combinations
* FIX Fix y extent and clipping of rectangles with y coord < 0 or inverted axes
* FIX handle columnheaders in input to fit
* FIX add sanity check in pdf.trm to avoid strcpy(fontname,fontname)
2014-11-18 22:19:47 +00:00
alnsn
bdc6025cdf Revbump after lang/lua51 update. 2014-10-19 22:27:43 +00:00
wiz
cda18437be Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles. 2014-10-09 14:05:50 +00:00
wiz
1dbe2ff771 Add pkgsrc default font path to default search paths.
Bump PKGREVISION.
2014-06-01 16:58:21 +00:00
bad
e1a6b3a74b Configure with --with-wx-single-threaded when using wxwidgets.
Makes wxt terminal usable again on NetBSD.  Also required on some Linux
versions with newer Haswell cpus.
PKGREVISION++
Fixes PR pkg/47177.
2014-05-08 20:48:55 +00:00
ryoon
60806aa001 Recursive revbump from x11/pixman
Fix PR pkg/48777
2014-05-05 00:47:34 +00:00
alnsn
aedfc77e1e Revbump for Lua multiversion support. 2014-05-03 13:14:36 +00:00
adam
d028d59807 Changes 4.6.5:
* NEW monotonic cubic splines using "smooth mcsplines"
* NEW phase-jump removal filter "smooth unwrap"
* NEW allow '+' pseudofile to sample the T axis in 2D parametric plots
* NEW allow '++' pseudofile to sample the U/V axes in 3D parametric plots
* NEW "sixel" terminal driver
* NEW new object attribute clip/noclip
* CHANGE maximum number of using spec columns increased from 7 to 11
* CHANGE code in bitmap.c relicensed to remove restriction to noncommercial use
* FIX allow 'set pm3d' interpolate and top/bottom options to coexist
* FIX revised handling of defined palettes with explicit maxcolors
* FIX continue as normal after an interactive session error from "gnuplot -"
* FIX empty first field in a tab-separated-values file was incorrectly ignored
* FIX several problems with color assignment to contour lines
* FIX qt terminal incorrectly changed linetype (dot/dash) to match line color
* FIX "pause mouse" worked only for right- or center- click, not left-click
* FIX emf terminal font initialization
* FIX wxt terminal vertical centering of enhanced text
* FIX win terminal filled polygon bugs
* FIX iteration over parametric function plots
* FIX autoscaling of polar mode plots
* FIX increase precision of xticlabel placement from (float) to (double)
* FIX allocation error affecting certain cvs files
2014-04-12 20:39:19 +00:00
asau
9664a0b172 FreeBSD requires additional header file to get access to history. 2014-03-25 23:19:19 +00:00
tron
73d05e2276 Recursive PKGREVISION bump for OpenSSL API version bump. 2014-02-12 23:17:32 +00:00
adam
c3c6ed3ffd Changes 4.6.4:
* NEW Ctrl-Break interrupts fitting run in wgnuplot
* CHANGE treat empty fields in a csv file as "missing" rather than "bad"
* CHANGE allow reference to more than one column header in 'using' or 'title'
* CHANGE install-info is no longer a default "make install" target
* CHANGE if a polar plot is autoscaled, try to place the origin at the center
* FIX svg and canvas terminal mousing of inverted axis coordinates
* FIX emf failed to initialize font correctly on some systems
* FIX timedata columns can now be referred to via column(N) and column("HEAD")
* FIX qt terminal toggling of enhanced text elements in plot with labels
* FIX color/pattern generated for key entries of columnstacked histograms
* FIX hitting ^C twice forces temination of wxt session hung by lost X-server
* FIX win terminal failed to properly adjust plot border after window resize
* FIX several conditions in which macros were not expanded during command input
* FIX promote a string containing only digits to INTGR rather than CMPLX
* FIX 'set grid front' caused failure to initialize location of axis zero point
* FIX very poor precision in mouse coords reported by x11 in -persist mode
* FIX parsing of $# (the number of arguments in a "call"). It's not a comment!
* FIX memory leak of cropped images using pngcairo terminal
* FIX "lc variable" now iterates over linetype colors (not styles) as documented
* FIX rtics were sometimes drawn with length 0
2013-10-27 18:17:14 +00:00
ryoon
3fba1a52dd Recursive revbump from pango-1.36.0 2013-10-10 14:41:44 +00:00
obache
4a646b438b recursive bump from graphics/gd shlib major bump. 2013-09-04 12:31:24 +00:00
adam
d2cb6dec32 Revbump after cairo update 2013-09-02 19:50:38 +00:00
ryoon
f8e628f818 * .include "../../devel/readline/buildlink3.mk" with USE_GNU_READLINE=yes
are replaced with .include "../../devel/readline/buildlink3.mk", and
  USE_GNU_READLINE are removed,

* .include "../../devel/readline/buildlink3.mk" without USE_GNU_READLINE
  are replaced with .include "../../mk/readline.buildlink3.mk".
2013-07-15 02:02:17 +00:00
wiz
3a1349afa4 Fix build issue with texinfo-5.1, as reported by Jörn Clausen
in PR 48032. More complete fix already scheduled for next release
upstream, see http://sourceforge.net/p/gnuplot/bugs/1226/
2013-07-09 08:50:34 +00:00
adam
f9cd38361f Revbump after updating lang/lua to 5.2.2. 2013-07-04 21:27:56 +00:00
wiz
e0b49a2fed Bump PKGREVISION for libXft changes for NetBSD native X support on
NetBSD 6, requested by tron.
2013-06-06 12:53:40 +00:00
tron
a36fb86593 Try to fix the fallout caused by the fix for PR pkg/47882. Part 3:
Recursively bump package revisions again after the "freetype2" and
"fontconfig" handling was fixed.
2013-06-04 22:15:37 +00:00
wiz
c83ffb8583 Bump freetype2 and fontconfig dependencies to current pkgsrc versions,
to address issues with NetBSD-6(and earlier)'s fontconfig not being
new enough for pango.

While doing that, also bump freetype2 dependency to current pkgsrc
version.

Suggested by tron in PR 47882
2013-06-03 10:04:30 +00:00
adam
068a984f97 Changes 4.6.3:
* NEW space raises console for console mode gnuplot on Windows
* CHANGE -persist mode does not open text window of wgnuplot
* FIX -persist mode broken on Windows
* FIX -persist mode results in zombie process if using wxt terminal on Windows
* FIX suppression of color in linetypes after "set term ... mono"
* FIX synchronization of graphics and text color in latex terminals
2013-05-16 14:17:04 +00:00
wiz
d1b820f37b Recursive bump for png-1.6. 2013-02-16 11:18:58 +00:00
jperkin
becd113253 PKGREVISION bumps for the security/openssl 1.0.1d update. 2013-02-06 23:20:50 +00:00
adam
f4c3b89da7 Revbump after graphics/jpeg and textproc/icu 2013-01-26 21:36:13 +00:00
jperkin
0f72ae2d3b Need to explicitly link against libiconv on Solaris. 2012-12-19 14:26:37 +00:00
joerg
db20f6408e Don't pick up emacs. 2012-11-18 01:56:20 +00:00
bad
5bc6668bd4 Disable wxterminal (wxwidgets option) on NetBSD because it is completely
broken.  c.f. pkg/47177.
Bump PKGREVISION to make the change obvious in binary packages.
2012-11-12 22:02:43 +00:00
he
c91eb433c7 Update gnuplot to version 4.6.1.
Update a comment in patch-ag.
Remove the point patch for the "crash on first command when using editline",
since this problem is now fixed upstream.

Upstream changes relative to version 4.6.0:

* NEW syntax hints inside Emacs gnuplot-mode
* NEW support tabulation (set table) of pixel values from image plot styles
* NEW support tabulation of variable color column
* CHANGE emf output modified for better compatibility with MS Office programs
* CHANGE canvas terminal loads appropriate font file for UTF-8 encoding
* CHANGE skip execution of empty iteration loops in set and do commands
* CHANGE build scripts modified to accommodate automake 1.12
* CHANGE new policy: objects given in screen coords are not clipped to graph
* CHANGE Draw the z-axis label at a fixed distance to the left of the z-axis
* CHANGE "unset object N" succeeds even if there is currently no object N
* FIX margin space required for rotated axis tic labels
* FIX check for NaN values in binary input
* FIX backslash handling in enhanced text strings
* FIX cairo terminals sometimes lost the line segment before a polygon
* FIX interactive toggle of multiplots in svg
* FIX failure to balance {} if an input file did not end with a newline
* FIX strlen() and substring operators correctly handle UTF-8
* FIX initialization of history when configured --with-readline=bsd
* FIX set term cairolatex pdf mono
* FIX palette-related corruption in some cairolatex output
* FIX preserve number of active call arguments across a nested call command
* FIX wxt terminal mutex protecting execution of the command list
* FIX apply clipping to the interior fill of circles and ellipses
* FIX corruption of weights used for plotting with smooth acsplines
* FIX skip columnheader line when applying "every" filter
* FIX handle out-of-range pm3d values when cb axis is set to log scale
* FIX top/bottom color distinction in hidden3d when not using palette/RGB colors
* FIX allow toggling on/off of more than 10 plots in windows terminal
* FIX color printing from windows terminal
* FIX set term win font ",<size>"
* FIX incorrect return for acos(x) when imag(x) > 0 (bug present since v3.7)
      incorrect return for asin(x) when imag(x) > 0 (bug in 4.4.4, 4.6.0)
      incorrect asinh(x) when real(x) < 0 && imag(x) == 0 (bug in 4.4.4, 4.6.0)
* FIX keep sufficient precision in canvas and svg coords to report time in msec
* FIX the input buffer was not always extended correctly inside a { clause }
* FIX some cairolatex set_color requests were being ignored
* FIX calculated value of kernel density mean and sigma
* FIX emf terminal dashed line support
2012-11-07 19:22:04 +00:00
mlelstv
8f8d2dd7bd libedit in older NetBSD is too old. Use the readline package instead. 2012-11-01 14:04:58 +00:00
he
dc8b77a72e Add a patch to avoid gnuplot always segfaulting on a NULL pointer
de-reference on the first command.
Bump pkgrevision.
2012-10-24 13:32:54 +00:00
adam
3f2cc57b2b Revbump after updating graphics/pango 2012-10-08 23:00:34 +00:00
asau
08f35c7155 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-06 14:10:39 +00:00
tron
14215633d2 Mass recursive bump after the dependence fix of the "cairo" package
requested by Thomas Klausner.
2012-10-02 17:10:28 +00:00
jperkin
1fa2908931 Add libiconv buildlink. 2012-09-28 08:55:19 +00:00
obache
c38c120ee5 recursive bump from libffi shlib major bump
(additionaly, reset PKGREVISION of qt4-* sub packages from base qt4 update)
2012-09-15 10:03:29 +00:00
drochner
3e3fe9f701 update to 4.6.0
changes:
- New syntax supporting multi-line blocks of code delimited by curly braces
     if (<cond>) { ... } else { ... }
     do for [<iteration-spec>] { ... }
     while (<cond>) { ... }
- Time formats can handle fractional seconds to microsecond precision.
- User-definable linetypes that can be used to establish a locally
  preferred default sequence of colors or dash/thickness/point styles.
- Statistical summary of the data to be plotted (new command "stats")
- New terminal drivers:  qt  context  epscairo  cairolatex
- Improved support for UTF-8, SJIS and other multi-byte encodings

pkgsrc change: added "qt4" and "wxwindows" options (not enabled
 by default)
2012-08-10 15:14:53 +00:00
wiz
ee311e3b36 Recursive bump for pcre-8.30* (shlib major change) 2012-03-03 00:11:51 +00:00
wiz
833922aab2 Revbump for
a) tiff update to 4.0 (shlib major change)
b) glib2 update 2.30.2 (adds libffi dependency to buildlink3.mk)

Enjoy.
2012-02-06 12:39:49 +00:00
drochner
9c39436a94 update to 4.4.4
changes:
-minor feature additions
-bugfixes
2011-11-30 11:00:50 +00:00
sbd
04daa2f1b8 Recursive bump for graphics/freetype2 buildlink addition. 2011-11-01 06:00:33 +00:00
obache
3e195e0314 Let lua support optionify, and exactly control it (disabled by default).
PR#44916.
2011-04-29 11:41:07 +00:00
obache
1d9df3258a recursive bump from gettext-lib shlib bump. 2011-04-22 13:41:54 +00:00
adam
2316923d42 Changes 4.4.3:
* NEW Implement pan and zoom via mouse wheel.
* NEW set key maxcolumns N maxrows M
* NEW value("varname") returns the value of the named variable
* NEW encoding cp1251 - 8-bit Cyrillic
* CHANGE backport emf terminal driver from version 4.5
* FIX better estimation of latex string lengths
* FIX colorbar representation of discrete color palettes is pixel accurate
* FIX NaN initialization and tests working on more (all?) platforms
* FIX configuration script tests for readline+ncurses
* FIX prevent out-of-range boxes from creating degenerate ghosts on the border
* FIX missing alpha channel flag for pdfcairo terminal
* FIX font initialization in windows terminal
2011-03-14 08:06:52 +00:00
drochner
eab5328c3f make the "pdf" option non-default -- PDF output is already provided
by the "cairo" backend, and the "pdf" option pulls in "pdflib"
which has an evil license
bump PKGREV
2011-03-10 09:44:10 +00:00
adam
da69bfdd48 Changes 4.4.2:
* FIX color specification "lc N"
* FIX clipping error in filled curves
* FIX segfault if "refresh" command follows an interrupted replot

Changes 4.4.1:
* NEW Support the "%s" format specifier in strftime()
* NEW Optional 6th data column in candlesticks style to specific box width
* NEW If integer arithmetic i*j or i**j would overflow, return value as a real
* NEW "set style circle radius <default-radius>"
* FIX autoconfiguration of readline support in OSX
* FIX font problems in win terminal
* FIX Protect against runaway recursion by limiting depth of nested functions
* FIX metapost terminal: Fix inheritance of line thickness by text strings
* FIX cairo terminals could segfault on certain enhanced text strings
* FIX pdfcairo output to stdout now works
* FIX font ",size" in non-enhanced mode postscript terminals
* FIX Do a better job of estimating the width of UTF-8 encoded strings
* FIX baseline bug in canvas terminal rotation of enhanced text
* FIX Allow "with labels" to work for binary input data
* FIX update user GPVAL variables after plot in table mode
* CHANGE depth-sorting of pm3d surfaces now applies jointly to all in the plot
* CHANGE 3D impulses are now always drawn from z=0
* CHANGE Enable HIDDEN_QUADTREE by default
* CHANGE Enable "set fit errorvariables" by default
* CHANGE Regardless of current timefmt, read time from binary files as a binary
* CHANGE do not limit 3D rotation to 0<rotx<180
2011-02-08 13:13:41 +00:00
wiz
af3596f984 png shlib name changed for png>=1.5.0, so bump PKGREVISIONs. 2011-01-13 13:36:05 +00:00
dholland
b2d5804619 Add pkgsrc X and netbsd-5+ native X font dirs to the list of candidate
directories for the default fontpath. PKGREVISION++. ok agc.

The font handling is still fairly problematic; I guess Someone(TM)
should teach this to use fontconfig sometime.
2011-01-06 07:03:55 +00:00
obache
1787095f2b change "used by" comments to usual format. 2010-09-19 11:40:05 +00:00