Subject: CVS commit: pkgsrc/print/fig2dev
From: Nia Alarie
Date: 2020-05-12 12:31:35
Message id: 20200512103135.DB3D2FB27@cvs.NetBSD.org

Log Message:
fig2dev: Update to 3.2.7b

Patchlevel 7b (Oct 2019)

NEW FEATURES:
	o A X color database is not needed, but can be provided. The location of
	  the database can be given at compile time, default /etc/X11/rgb.txt.

BUGS FIXED:
	Ticket numbers refer to https://sourceforge.net/p/mcj/tickets/#.
	Debian bug numbers refer to https://bugs.debian.org/#.
	o Do not clip objects with line-thickness 0 having arrows. Ticket #53.
	o Do not segfault on circle/half circle arrowheads with a magnification
	  larger 42. Always draw circle arrowheads with 40 points. Ticket #52.
	o Allow circles or ellipses with negative radii. Ticket #49.
	o Avoid "dimension too large error" with tikz output by avoiding
	  coordinate values smaller than -16383.
	o Make tests (test1.c) work with -fsanitize=address compiler option.
	o Obey join-style of lines in tikz output.
	o Pass utf8-strings to svg output, escape some chars (<>&).
	o Accept inclined boxes and change them to polygons. Fixes ticket #43.
	o Make tests #27 and #33 work on Mac Darwin, failed due to whitespace
	  formatting differences. From Hanspeter Niederstrasser. Ticket #40.
	o Use only latex, neither etex or tex, to test tikz output. Usage of
	  etex, after hint from Roland Rosenfeld, closed debian bug 920368.
	o For tikz output, do not draw arrows on a single point line.
	o Omit spurious showpage when including jpg-file. From Rainer Buchty.
	o Correct a few memory leaks and corruptions. See commit d1c54f6.
	o Change negative color numbers to default color. Fixes ticket #30.
	o A spline with one point would cause segfault. Fixed, see ticket #29.
	o Allow one char without newline in the last line of an input file.
	  Fixes ticket #28.
	o Harden input, mainly against files in which an incomplete object would
	  be created and freeing the object would violate memory, i.e, it may
	  cause segfault. See, e.g., ticket #27.
	o Properly initalize line storage when reading fig files version 1.3.
	  Would segfault when reading incomplete line and trying to free it.
	  Fixes ticket #26, debian bug 906743.
	o Silently ignore the hundred-first and more comment lines. This
	  fixes ticket #25 and debian bug 906740.
	o Use SetFigFont, not SetFigFontNFSS in pictex output. Fixes
	  https://bugs.launchpad.net/ubuntu/+source/transfig/+bug/1359485 .
	o Accept blanks in color names (e.g., fig2dev -L eps -g"Misty Rose"..).
	o Correct typos in man-pages, debian 30_man_typo.patch.

-------------------------------------
Patchlevel 7a (May 2018)

NEW FEATURES:
	o Add option -w, wrap (create stand-alone perl file) for Perl/Tk output.
	o Distribute the X bitmaps files within fig2dev, no need to install
	  these files. The files were needed for Tk and Perl/Tk output.

BUGS FIXED:
	Ticket numbers refer to https://sourceforge.net/p/mcj/tickets/#.
	o Fix regression whereupon flipped ellipses were not read. Ticket #23.
	o Distribute i18n files ru_RU.CP1251.ps and uk_UA.KOI8-U.ps.
	o Make test "survive debian bug #890016" succeed on 32 bit systems.

-------------------------------------
Patchlevel 7 (April 2018)

OPTION LETTER CHANGES:
	o  Language         previous option         current option
	  ------------------------------------------------------------
	   cgm              -b dummy                -a
	   epic             -A scale                -d scale
	   eepic            -A scale                -d scale
	   eepicemu         -A scale                -d scale
	   gbx              -i on|off               -v
	   ibmgl            -m mag,xoff,yoff        -m mag -x xoff -y yoff
	   mp               -I file                 -d file
	   ps               -S dummy                -o

NEW FEATURES:
	o Print language-specific help text by using fig2dev -L lang -h.
	o Add option -M, multipage, for MetaPost output language.
	o Add option -P, pagemode, and -z to choose a pagesize for pdf output.
	o Add option -W (scaling of figures not possible) for tikz.
	o Add option -b, border width, for LaTeX output language.
	o Add option -f for pstex_t and pdftex_t output language.
	o Add uk_UA and ru_RU encodings for PostScript output. Ticket #12.

BUGS FIXED:
	o Update help text: Output help for dxf and textyl output language,
	  add description of -g option for Tk/Tcl and Perl/Tk output, allow -f
	  option for pstex_t and pdftex_t output language.

	Debian bug numbers refer to https://bugs.debian.org/#.
	Ticket numbers refer to https://sourceforge.net/p/mcj/tickets/#.
	o Sanitize input. Do not segfault on malformed input files. Fixes debian
	  bugs 881143, 881144, 881396, 890015, 890016, 882021 and also 882022.
	o Do not put an %%Orientation: comment into PostScript output. Some
	  viewers would rotate the resulting file, others not.
	o Fix build on NetBSD, which has a _setmode() function different from
	  _setmode() on Windows. Ticket #17. Also, avoid alloca(). Ticket #16.
	o tikz output: Omit the semicolon after \pgftext[..]{...};.
	o Define PostScript patterns with larger tiles, may render better. #13
	o Fix build in case libXpm is missing. Ticket #15.
	o Use netpbm programs instead of ghostscript, to produce smaller files.
	o Correctly embed eps files with binary preview (epsi, typically
	  found on Microsoft systems). Also, allow to embed ps-files. Fixes
	  debian bug 248807, ticket #8.
	o For compilation, do not depend on PATH_MAX being defined.

Files:
RevisionActionfile
1.5modifypkgsrc/print/fig2dev/Makefile
1.2modifypkgsrc/print/fig2dev/PLIST
1.4modifypkgsrc/print/fig2dev/distinfo
1.2modifypkgsrc/print/fig2dev/patches/patch-fig2dev_tests_atlocal.in
1.2removepkgsrc/print/fig2dev/patches/patch-fig2dev_dev_readjpg.c
1.2removepkgsrc/print/fig2dev/patches/patch-fig2dev_fig2dev.c