The NetBSD Project

CVS log for pkgsrc/print/fig2dev/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / print / fig2dev

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Jun 9 17:51:09 2026 UTC (5 months, 1 week ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3, pkgsrc-2026Q2-base, pkgsrc-2026Q2, HEAD
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2 lines
fig2dev: update to 3.2.9a.

===============================================================================
Version 3.2
===============================================================================
Patchlevel 9a (Dec 2024)

NEW FEATURES:
	o Specify pdf minor version with option -Y.
	o Specify width (-Z <wid>w) or height (-Z <height>h) of figure.

BUGS FIXED:
	Ticket numbers refer to https://sourceforge.net/p/mcj/tickets/#.
	o Correctly read from a pipe, ticket #156.
	o Fix behavior of option -F for e(e)pic and latex outputs, ticket #157.
	o Compounds containing ascii-only text would disable utf-8 output, #158.
	o Option --enable-versioning works in out-of-tree builds.
	o Correct links to embedded image files in svg output.
	o Correct font size in svg output, ticket #176.

-------------------------------------
Patchlevel 9 (Aug 2023)

NEW FEATURES:
	o Write utf8-encoded postscript and tex-outputs.

BUGS FIXED:
	Ticket numbers refer to https://sourceforge.net/p/mcj/tickets/#.
	o Include sys/wait.h to build on some bsds.
	o Process crafted input files, tickets #142, #145, #146, #147, #148,
	  and #152.
	o Correctly scale dxf output, ticket #91.
	o Correct a typo causing incorrect eps import, ticket #137.
	o Regression, pass driver names to driver, ticket #139.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Nov 17 11:01:19 2025 UTC (11 months, 4 weeks ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2026Q1-base, pkgsrc-2026Q1, pkgsrc-2025Q4-base, pkgsrc-2025Q4
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2 lines
*: switch all sourceforge HOMEPAGEs to https

Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Dec 7 15:30:09 2022 UTC (3 years, 11 months ago) by fcambus
Branches: MAIN
CVS tags: pkgsrc-2025Q3-base, pkgsrc-2025Q3, pkgsrc-2025Q2-base, pkgsrc-2025Q2, pkgsrc-2025Q1-base, pkgsrc-2025Q1, pkgsrc-2024Q4-base, pkgsrc-2024Q4, pkgsrc-2024Q3-base, pkgsrc-2024Q3, pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2 lines
fig2dev: Update to 3.2.8b.

Patchlevel 8b (Aug 2021)

NEW FEATURES:
	o Detect the output language from the output file name.
	o On the command line, a minus (-) as input or output file name refers
	  to standard input or standard output.

BUGS FIXED:
	Ticket numbers refer to https://sourceforge.net/p/mcj/tickets/#.
	o Correct buffer overflows and segfaults, mainly due to maliciously
	  crafted input files, tickets #113-117, #122, #123, #125-#135.
	o With -Lepic -P, generate a complete tex file.
	o Correctly produce a gif if a transparent color is given, ticket #121.
	o Return with error if no space is left on the device. Ticket #101.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Aug 9 12:08:31 2022 UTC (4 years, 3 months ago) by jperkin
Branches: MAIN
CVS tags: pkgsrc-2022Q3-base, pkgsrc-2022Q3
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +1 -3 lines
*: Remove hardcoded -liconv / -lintl on SunOS.

This is now handled centrally via OPSYS_EXPLICIT_LIBDEPS support in libiconv
and gettext-lib.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Jul 21 05:32:49 2021 UTC (5 years, 3 months ago) by fcambus
Branches: MAIN
CVS tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2 lines
fig2dev: update to 3.2.8a.

Patchlevel 8a (Mar 2021)

BUGS FIXED:
	o Allow closed splines with three points.
	o Fix build under Darwin.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Apr 2 19:26:24 2021 UTC (5 years, 7 months ago) by fcambus
Branches: MAIN
CVS tags: pkgsrc-2021Q2-base, pkgsrc-2021Q2
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -3 lines
fig2dev: Update to 3.2.8.

Patchlevel 8 (Dec 2020)

NEW FEATURES:

o Use deflate to embed image data into eps output, often substantially
  reducing file size.
o Embed pdf files into ps output by converting the pdf to eps.
o Allow negative arrow widths. This might be useful for asymmetric arrow
  tips, which can thus be mirrored around the corresponding line.

BUGS FIXED:

Ticket numbers refer to https://sourceforge.net/p/mcj/tickets/#.
o Reject negative text font sizes. Fixes ticket #86.
o Allow fig files ending without previous eol character. Fixes #83, #84.
o Accept text and ellipse angles only within -2*pi to 2*pi. Fixes #76.
o Allow -1 as default TeX font, not only 0. Fixes #71, #75, #81.
o Do not allow ASCII NUL anywhere in input. Fixes #65, #68, #73, #80.
o Use getline() to improve input scanning.
  Fixes tickets #58, #59, #61, #62, #67, #78, #79, #82.
o Correctly scan embedded pdfs for /MediaBox value.
o Convert polygons having too few points to polylines. Ticket #56.
o Reject huge arrow types causing integer overflow. Ticket #57.
o Allow Fig v2 text strings ending with multiple ^A. Ticket #55.
o Embed images in pdfs with their original compression type, i.e., leave
  the gs switch "-dAutoFilterColorImages" at its default value "true".

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat May 16 02:15:06 2020 UTC (6 years, 6 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +4 -1 lines
Needs gs at runtime. Bump revision.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue May 12 10:31:35 2020 UTC (6 years, 6 months ago) by nia
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2 lines
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.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Mar 20 11:58:13 2020 UTC (6 years, 7 months ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
*: Convert broken sourceforge HOMEPAGEs back to http

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Jan 18 23:33:28 2020 UTC (6 years, 9 months ago) by rillig
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -2 lines
all: migrate several HOMEPAGEs to https

pkglint --only "https instead of http" -r -F

With manual adjustments afterwards since pkglint 19.4.4 fixed a few
indentations in unrelated lines.

This mainly affects projects hosted at SourceForce, as well as
freedesktop.org, CTAN and GNU.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Dec 18 13:06:15 2017 UTC (8 years, 11 months ago) by jperkin
Branches: MAIN
CVS tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +3 -1 lines
fig2dev: SunOS needs an explicit -liconv.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Oct 3 14:59:08 2017 UTC (9 years, 1 month ago) by wiz
Branches: MAIN
print/fig2dev: import fig2dev-3.2.6a

You need the fig2dev program in addition to xfig to be complete.
Xfig saves figures in its own, proprietary .fig format. The fig2dev
program allows you to print and export figures. Fig2dev translates
the .fig files to various languages and formats such as PostScript,
png, jpeg, pstricks, tikz, etc.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>