head 1.6; access; symbols pkgsrc-2026Q1:1.6.0.122 pkgsrc-2026Q1-base:1.6 pkgsrc-2025Q4:1.6.0.120 pkgsrc-2025Q4-base:1.6 pkgsrc-2025Q3:1.6.0.118 pkgsrc-2025Q3-base:1.6 pkgsrc-2025Q2:1.6.0.116 pkgsrc-2025Q2-base:1.6 pkgsrc-2025Q1:1.6.0.114 pkgsrc-2025Q1-base:1.6 pkgsrc-2024Q4:1.6.0.112 pkgsrc-2024Q4-base:1.6 pkgsrc-2024Q3:1.6.0.110 pkgsrc-2024Q3-base:1.6 pkgsrc-2024Q2:1.6.0.108 pkgsrc-2024Q2-base:1.6 pkgsrc-2024Q1:1.6.0.106 pkgsrc-2024Q1-base:1.6 pkgsrc-2023Q4:1.6.0.104 pkgsrc-2023Q4-base:1.6 pkgsrc-2023Q3:1.6.0.102 pkgsrc-2023Q3-base:1.6 pkgsrc-2023Q2:1.6.0.100 pkgsrc-2023Q2-base:1.6 pkgsrc-2023Q1:1.6.0.98 pkgsrc-2023Q1-base:1.6 pkgsrc-2022Q4:1.6.0.96 pkgsrc-2022Q4-base:1.6 pkgsrc-2022Q3:1.6.0.94 pkgsrc-2022Q3-base:1.6 pkgsrc-2022Q2:1.6.0.92 pkgsrc-2022Q2-base:1.6 pkgsrc-2022Q1:1.6.0.90 pkgsrc-2022Q1-base:1.6 pkgsrc-2021Q4:1.6.0.88 pkgsrc-2021Q4-base:1.6 pkgsrc-2021Q3:1.6.0.86 pkgsrc-2021Q3-base:1.6 pkgsrc-2021Q2:1.6.0.84 pkgsrc-2021Q2-base:1.6 pkgsrc-2021Q1:1.6.0.82 pkgsrc-2021Q1-base:1.6 pkgsrc-2020Q4:1.6.0.80 pkgsrc-2020Q4-base:1.6 pkgsrc-2020Q3:1.6.0.78 pkgsrc-2020Q3-base:1.6 pkgsrc-2020Q2:1.6.0.74 pkgsrc-2020Q2-base:1.6 pkgsrc-2020Q1:1.6.0.54 pkgsrc-2020Q1-base:1.6 pkgsrc-2019Q4:1.6.0.76 pkgsrc-2019Q4-base:1.6 pkgsrc-2019Q3:1.6.0.72 pkgsrc-2019Q3-base:1.6 pkgsrc-2019Q2:1.6.0.70 pkgsrc-2019Q2-base:1.6 pkgsrc-2019Q1:1.6.0.68 pkgsrc-2019Q1-base:1.6 pkgsrc-2018Q4:1.6.0.66 pkgsrc-2018Q4-base:1.6 pkgsrc-2018Q3:1.6.0.64 pkgsrc-2018Q3-base:1.6 pkgsrc-2018Q2:1.6.0.62 pkgsrc-2018Q2-base:1.6 pkgsrc-2018Q1:1.6.0.60 pkgsrc-2018Q1-base:1.6 pkgsrc-2017Q4:1.6.0.58 pkgsrc-2017Q4-base:1.6 pkgsrc-2017Q3:1.6.0.56 pkgsrc-2017Q3-base:1.6 pkgsrc-2017Q2:1.6.0.52 pkgsrc-2017Q2-base:1.6 pkgsrc-2017Q1:1.6.0.50 pkgsrc-2017Q1-base:1.6 pkgsrc-2016Q4:1.6.0.48 pkgsrc-2016Q4-base:1.6 pkgsrc-2016Q3:1.6.0.46 pkgsrc-2016Q3-base:1.6 pkgsrc-2016Q2:1.6.0.44 pkgsrc-2016Q2-base:1.6 pkgsrc-2016Q1:1.6.0.42 pkgsrc-2016Q1-base:1.6 pkgsrc-2015Q4:1.6.0.40 pkgsrc-2015Q4-base:1.6 pkgsrc-2015Q3:1.6.0.38 pkgsrc-2015Q3-base:1.6 pkgsrc-2015Q2:1.6.0.36 pkgsrc-2015Q2-base:1.6 pkgsrc-2015Q1:1.6.0.34 pkgsrc-2015Q1-base:1.6 pkgsrc-2014Q4:1.6.0.32 pkgsrc-2014Q4-base:1.6 pkgsrc-2014Q3:1.6.0.30 pkgsrc-2014Q3-base:1.6 pkgsrc-2014Q2:1.6.0.28 pkgsrc-2014Q2-base:1.6 pkgsrc-2014Q1:1.6.0.26 pkgsrc-2014Q1-base:1.6 pkgsrc-2013Q4:1.6.0.24 pkgsrc-2013Q4-base:1.6 pkgsrc-2013Q3:1.6.0.22 pkgsrc-2013Q3-base:1.6 pkgsrc-2013Q2:1.6.0.20 pkgsrc-2013Q2-base:1.6 pkgsrc-2013Q1:1.6.0.18 pkgsrc-2013Q1-base:1.6 pkgsrc-2012Q4:1.6.0.16 pkgsrc-2012Q4-base:1.6 pkgsrc-2012Q3:1.6.0.14 pkgsrc-2012Q3-base:1.6 pkgsrc-2012Q2:1.6.0.12 pkgsrc-2012Q2-base:1.6 pkgsrc-2012Q1:1.6.0.10 pkgsrc-2012Q1-base:1.6 pkgsrc-2011Q4:1.6.0.8 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q3:1.6.0.6 pkgsrc-2011Q3-base:1.6 pkgsrc-2011Q2:1.6.0.4 pkgsrc-2011Q2-base:1.6 pkgsrc-2011Q1:1.6.0.2 pkgsrc-2011Q1-base:1.6 pkgsrc-2010Q1:1.4.0.56 pkgsrc-2010Q1-base:1.4 pkgsrc-2009Q4:1.4.0.54 pkgsrc-2009Q4-base:1.4 pkgsrc-2009Q3:1.4.0.52 pkgsrc-2009Q3-base:1.4 pkgsrc-2009Q2:1.4.0.50 pkgsrc-2009Q2-base:1.4 pkgsrc-2009Q1:1.4.0.48 pkgsrc-2009Q1-base:1.4 pkgsrc-2008Q4:1.4.0.46 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.44 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.42 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.40 pkgsrc-2008Q2-base:1.4 cwrapper:1.4.0.38 pkgsrc-2008Q1:1.4.0.36 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.34 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.32 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.30 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.28 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.26 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.24 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.22 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.20 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.18 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.16 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.14 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.4.0.12 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.4.0.10 pkgsrc-2004Q4-base:1.4 pkgsrc-2004Q3:1.4.0.8 pkgsrc-2004Q3-base:1.4 pkgsrc-2004Q2:1.4.0.6 pkgsrc-2004Q2-base:1.4 pkgsrc-2004Q1:1.4.0.4 pkgsrc-2004Q1-base:1.4 pkgsrc-2003Q4:1.4.0.2 pkgsrc-2003Q4-base:1.4 buildlink2-base:1.3 netbsd-1-4-PATCH002:1.2 comdex-fall-1999:1.2 netbsd-1-4-PATCH001:1.1 netbsd-1-4-RELEASE:1.1; locks; strict; comment @# @; 1.6 date 2011.01.14.11.30.36; author wiz; state Exp; branches; next 1.5; 1.5 date 2010.05.02.13.28.43; author wiz; state dead; branches; next 1.4; 1.4 date 2003.09.09.14.52.55; author jmmv; state Exp; branches; next 1.3; 1.3 date 2000.08.17.10.37.36; author wiz; state dead; branches; next 1.2; 1.2 date 99.10.10.14.33.08; author dmcmahill; state Exp; branches; next 1.1; 1.1 date 99.02.19.04.29.46; author tv; state Exp; branches; next ; desc @@ 1.6 log @Fix build with png-1.5. @ text @$NetBSD$ Fix build with png-1.5. --- libplot/z_write.c.orig 2008-07-16 00:54:10.000000000 +0000 +++ libplot/z_write.c @@@@ -164,7 +164,7 @@@@ _pl_z_maybe_output_image (S___(Plotter * } /* cleanup after libpng errors (error handler does a longjmp) */ - if (setjmp (png_ptr->jmpbuf)) + if (setjmp (png_jmpbuf (png_ptr))) { png_destroy_write_struct (&png_ptr, (png_info **)NULL); return -1; @@@@ -444,7 +444,11 @@@@ _our_error_fn_stdio (png_struct *png_ptr #endif } +#if (PNG_LIBPNG_VER < 10500) longjmp (png_ptr->jmpbuf, 1); +#else + png_longjmp (png_ptr, 1); +#endif } static void @@@@ -515,7 +519,11 @@@@ _our_error_fn_stream (png_struct *png_pt #endif } +#if (PNG_LIBPNG_VER < 10500) longjmp (png_ptr->jmpbuf, 1); +#else + png_longjmp (png_ptr, 1); +#endif } static void @ 1.5 log @Update to 2.6: Version 2.6 released, 9/2009. [Includes libplot 4.4, interface age=2.] ode: File ode/specfun.c now heavily rewritten to remove all non-GNU copyrights. For details, see the file ./COMPAT. libplot: Several bugfixes to the SVG and PS drivers. (Thanks to Diomidis Spinellis, James Anderson, and others, for pointing out that several apps that import SVG or PS were choking on libplot's output. Some still choke on its SVG output, but that's no longer libplot's fault; see ./COMPAT.) libplot: The SVG driver now no longer assumes that the application that imports or displays SVG can do _any_ justification of text strings (not even horizontal justification, e.g., position a string in a right-justified way, with its right edge at a given point). Many SVG viewers still get this wrong. libplot: Fig plotters now slightly increase the width of drawn lines, in .fig output, to agree with the interpretation of `line width' in recent releases of xfig. (Thanks to Wolfgang Glunz and Bart De Schutter for pointing out the need for this.) This affects executables built with libplot, such as `graph -Tfig'. graph,plot,tek2plot,plotfont,pic2plot,hersheydemo: The output of the `--help' option now cautions that if a `-T' or `--output-format' command-line option is not included, the output will by default be in the `metafile' format, which is probably not what the user expects or wants (by default, it is in binary). hersheydemo: New executable, generating a single demo page that serves as an advertisement for the Hershey vector fonts. (It replaces the file doc/h-demo.c.) Invoke it by doing, e.g., `hersheydemo -Tsvg > demo.svg' , or `hersheydemo -Tps | lpr' . It supports the usual libplot options such as --bg-color, --pen-color, and --page-size. Also --bitmap-size, if a bitmap output format is requested; but note that the Hershey fonts, not being anti-aliased, do not look their best in low-resolution (i.e., small-size) bitmap output. Version 2.5.1 released, 7/2008. [Includes libplot 4.3, interface age=2.] package: license for the package (and for libplot) upgraded to GNU GPL v3. libplot: SVG output format slightly tweaked, to ensure compatability with SVG 1.1 syntax, as tested for by validator.w3.org. Note: a few SVG editing tools, such as inkscape, currently fail to agree with libplot's SVG semantics, in positioning text. That appears to be their fault (they do not comply with the handling of reflected text, as specified in the SVG 1.1 standard). libplot: Fixed a bug in bounding box computatations when triangular line-joins are used. executables: Changed nearly all warning and error messages to complete sentences, to smooth the upcoming transition to gettext. Version 2.5 released, 12/2005. [Includes libplot 4.2, interface age=2.] package: bug reporting address has changed to bug-plotutils@@gnu.org. libplot: support for rotated and sheared (i.e., "anamorphically transformed") X Window System fonts has been completely rewritten. Core X fonts are still used, but it is no longer assumed that the X display has the ability to rasterize rotated and sheared glyphs. (Recent releases of XFree86 are broken in this regard.) Instead, unrotated glyphs are retrieved from the server, and rotated or transformed within libplot. See new module libplot/x_afftext.c. graph: plotting of rotated y-axis labels by the `-Y' option, when `-T X' is specified (so that output is to an X Window System display) should now work, even when recent broken releases of XFree86 are used. This is due to the above change to libplot. libplot: URW versions of the standard 35 Adobe fonts (Helvetica, Times-Roman etc.) are now checked for under their own names on any X Window System display, as well as under the Adobe names. This fixes a problem with recent SuSE GNU/Linux distributions, of `graph -T X' being unable to use even the default Helvetica font. libplot: SVG output is now conformant SVG 1.1, and should not be rejected by the Firefox browser. libplot: vertical positioning of text strings by the SVG driver is improved; libplot now does vertical positioning itself, since many SVG renderers, e.g. Firefox 1.5, can't do it properly. libplot: the ROTATION parameter, which is the angle in degrees at which the viewport in the output (device) frame should be rotated, can now take values other than 0, 90, 180, and 270. graph,plot,tek2plot,plotfont,pic2plot: the --rotation option no longer requires that the specified angle be 0, 90, 180, or 270 degrees. Some quite postmodern effects can now be obtained. libplot: modifiers such as "xsize=6in", "yoffset=8cm" appended to the PAGESIZE parameter by the user, to do fine positioning of the viewport on the output page, are no longer sometimes ignored. graph,plot,tek2plot,plotfont,pic2plot: modifiers such as "xsize=6in", "yoffset=8cm" appended to the argument of the --page-size option, by the user, to do fine positioning of the viewport on the output page, are no longer sometimes ignored. libplotter,pic2plot: problems with compilation by recent C++ compilers now fixed: unsigned char* is cast to char* as needed, deprecated C++ headers have had their names modernized, etc. Support for `bool' in the C++ compiler is now assumed (this could be trivially backed out of, if needed). installation: entire package can now be compiled by a C++ compiler if desired; request this by doing e.g. `CC=g++ ./configure'. installation: support for pre-ANSI C compilers, such the SunOS 4.1.3 one, now largely dropped. Non-working `const' is still checked for, but compiler support for prototypes and void is now assumed. Removal of preprocessor macros that supported pre-ANSI C, from many source files, considerably improved maintainability. installation: updated GNU autotools now used (autoconf-2.59, libtool-1.5.6, and the older automake-1.4-p6 for safety's sake). Also, recent flex/bison have been used to prepare the scanner and parser supplied with the ode source (flex-2.5.31 and bison-1.875d). graph: new short `-Q' option, which is equivalent to the long option `--toggle-rotate-y-axis-label'. graph,plot,tek2plot,plotfont,pic2plot: `--display-type' long option, the name of which confused some users, has been changed to `--output-format'. The old option is still supported but is now deprecated. The short option `-T' continues to work. libplot: problems with PS output triggering an error in some versions of ghostscript (and hence ghostview, gv), due to changes in the way ghostscript handles FontBBox, now fixed. Thanks, Brian Gough (and also Alex Cherepanov, who found the fix to idraw's PS prologue). libplot: most external symbols not meant to be publicly accessible now have names beginning with the prefix "_pl_", to reduce the possibility of namespace collisions. This will be completed in a later release. executables: output of "--help" has been altered to agree with current GNU coding standards. package: copyright and license notices added to nearly all source files. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.4 2003/09/09 14:52:55 jmmv Exp $ d3 26 a28 10 --- include/plotter.h.orig 2000-06-28 20:21:36.000000000 +0900 +++ include/plotter.h 2003-09-09 21:21:17.000000000 +0900 @@@@ -58,8 +58,9 @@@@ /* Include iostream, stdio support if this is libplotter rather than libplot. */ #ifndef NOT_LIBPLOTTER -#include +#include #include +using namespace std; d30 8 d39 1 a39 1 /* THE GLOBAL VARIABLES IN GNU LIBPLOTTER */ @ 1.4 log @Fix build with gcc3 using patches provided by Kouichirou Hiratsuka. Closes PR pkg/22443. @ text @d1 1 a1 1 $NetBSD$ @ 1.3 log @remove file overlooked in last commit @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.2 1999/10/10 14:33:08 dmcmahill Exp $ d3 11 a13 4 --- configure.orig Mon Oct 4 12:11:17 1999 +++ configure Sat Oct 9 13:41:14 1999 @@@@ -1316,5 +1316,5 @@@@ fi d15 1 a15 17 - +if false; then # Check for any special flags to pass to ltconfig. libtool_flags="--cache-file=$cache_file" @@@@ -1469,10 +1469,10 @@@@ # Always use our own libtool. -LIBTOOL='$(SHELL) $(top_builddir)/libtool' +#LIBTOOL='$(SHELL) $(top_builddir)/libtool' # Redirect the config.log output again, so that the ltconfig log is not # clobbered by the next message. exec 5>>./config.log - +fi echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 @ 1.2 log @Update to plotutils-2.3. Changes include: - PNM driver added, which outputs PBM/PGM/PPM format. - CGM support added, By default, a CGM Plotter produces binary-encoded version-3 CGM format, which conforms to the WebCGM profile. - pseudo-GIF driver added, using miGIF run-length encoding routines - text string format now supports "\fP" macro for switching to previous font (cf. troff; "\fR", "\fI", "\fB" supported too). - libplotter: new C++ library. Provides base Plotter class, subclasses for the different sorts of Plotter. - new "dotdotdashed" line style added - new thread save C/C++ API added (old API still supported) - pic2plot: new utility, which can translate the pic language to any supported graphics format, including X11. - new function pentype() added to the API. - many bug fixes. See the file 'NEWS' in the source distribution for a complete list (a couple of pages). @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @Update to 2.1.6, and actually make use of pkglibtool. @ text @d3 3 a5 4 --- configure.orig Thu Feb 18 22:54:51 1999 +++ configure Thu Feb 18 22:55:15 1999 @@@@ -1302,6 +1302,7 @@@@ echo "$ac_t""no" 1>&6 d8 1 d10 4 d15 2 a16 1 LIBTOOL='$(SHELL) $(top_builddir)/libtool' d18 3 a20 4 @@@@ -1347,7 +1348,7 @@@@ ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig \ $libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \ || { echo "configure: error: libtool configure failed" 1>&2; exit 1; } d24 1 a24 2 # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 @