Subject: CVS commit: pkgsrc/graphics/xfig
From: Thomas Klausner
Date: 2017-10-03 17:09:37
Message id: 20171003150937.1E386FBC7@cvs.NetBSD.org

Log Message:
xfig: update to 3.2.6a.

Changes to Xfig
=============================================================================
Version 3.2
=============================================================================

Patchlevel 6a (January 2017)

CHANGES:
	o Draw lines with the same width as in PostScript and other outputs.

BUGS FIXED:
	o Add compile-switch --enable-tablet for using an input tablet.
	o Eventually, sorted out the xpm switches. Only use --enable-xpm-splash.
	o Improve ./configure and add diagnostic output. Looks now for headers
	  and libraries in unusal places, for compilation under mac darwin when
	  using fink or macports.

-----------------------------------
Patchlevel 6 (August 2016)

NEW FEATURES:
	o Add compile switch to enable xpm-icon and xpm-splash screen
	  independently (--enable-xpm-icon, --enable-xpm-splash).
	o New compile switch --enable-versioning, calls update_version_m4
	  to get version information from a source control system.

BUGS FIXED:
	o Update documentation to LaTeX and Xfig.
	From Roland Rosenfeld <roland@spinnaker.de>:
	o Update LaTeX documentation, use \documentclass instead of
	  \documentstyle, \usepackage instead of \input.
	o Builds on hurd, had to #include <limits.h> in a few places.
	o Use application/x-xfig, not image/x-xfig in xfig.desktop file.
	  See https://bugs.launchpad.net/ubuntu/+source/xfig/+bug/690067 and
	  https://bugs.launchpad.net/ubuntu/+source/xfig/+bug/1045848 .

-----------------------------------
Patchlevel 6-rc (July 2016)

NEW FEATURES:
	o Should compile on Mac (Darwin) after installing dependencies using
	  Macports, Fink or Homebrew.
	o Add two rudimentary tests. Run with make check.

UI CHANGES:
	From Brian V. Smith. These changes were made because the original
	view was of the drawing on the page instead of the modern view
	of the observer moving left/right/up/down:

	o Left arrow moves observer left (used to scroll canvas left)
	o Right arrow moves observer right
	o Up arrow moves observer up
	o Down arrow moves observer down
	o Ctrl+Wheel up zooms in, Ctrl+Wheel down zooms out (was the other
	  way around)

BUGS FIXED:
	o To compile on ancient systems, try make -DANCIENT.
	o Report correct paths to installed files in the man page.
	o Add pathmax.h and dirstruct.h, to define DIRSTRUCT and PATH_MAX.

	From Vladislav Zavjalov; Commit numbers refer to
	http://git.altlinux.org/people/slazav/packages/?p=xfig.git;a=commit;h=#
	o Preserve comments when deleting objects; Commit #6c42e5c
	o Restore colors and main comment after Delete All + Undo; #34f6105
	o Draw horizontal scrollbar if property buttons are too wide to fit
	  on the screen. Commit #e9c1394
	o Add save8bit app-resource to allow saving 8-bit files. #5bd9fbb
	o Move Xfuncs.h and Xosdefs.h out from fig.h. Commit #b433478
	o Move -l flags from LDFLAGS to LDADD. Commit #2d57c85

	From Roland Rosenfeld. Bug numers refer to https://bugs.debian.org/#.
	o Do not link with -lXmu, if linking with Xaw3d > 1.5e.
	o Make japanese documentation available for LANG=ja_JP.ujis.
	o Set the Creation date in xfig_man.html to the date when
	  creating the source tarball.
	o Really fix reading png files,
	  https://bugzilla.redhat.com/show_bug.cgi?id=1150330
	o Delete some superfluos files, fix typos (Caribbean),
	  add semicolon in xfig.desktop (bug # 812477).

	From Brian V. Smith:
	o old link for "Xfig On Microsoft Windows"
	  (Getting and Installing Xfig html page)
	o dash_list wrong dimension causes segfault on some line styles
	o Should handle systems where REG_NOERROR (regular expression)
	  is undefined now
	o Missing xfig_man.html
	o Modify a few places where to set locale to "C".
	o Didn't allocate enough space for fonts (would segfault
	  when popping up File panels)
	o Moving arc point would segfault

-----------------------------------
Patchlevel 6-beta (May 2016)

NEW FEATURES:
	o New tikz and pict2e export drivers.
	o Build using autoconf (./configure; make; make install).

BUGS FIXED:
	o Change \r\n to \n in all files.

	From Roland Rosenfeld. Bug numbers refer to https://bugs.debian.org/#.
	In fact, most of the bugs below, also those from other sources, were
	fixed by applying the debian-patches.
	o Position independent executables work, fixes bug # 756791.
	o Revert previous change of X-spline parameter.
	o Use C locale for fig2dev, to correctly interpret decimal point.
	  Fixes bug # 782737.
	o Correct grid mode distances in man page. Bug # 314820.
	o Extend xfig.desktop.
	o Fix unsecure use of temporary file. From Thomas Hoger, gentoo.
	  Debian Bug # 565341.
	o Escape - in man-page.
	o Securely print string.
	o Restore old shadow behaviour.
	o Fix reading "/MediaBox" when importing pdf. Closes Bug # 530898.
	o With -papersize b1, use B1, not B10. Bug 535181.

	From Vladislav Zavjalov. Information on bugs is found
	at https://bugzilla.altlinux.org/show_bug.cgi?id=#
	o Do not use fontsets for symbol and dingbat fonts, bug # 26579.
	o Fix compiler warnigs in w_indpanel.c. Commit feabe27.
	o Restore correct depths when loading a figure, then undo.
	  Commit b5c79b3.
	o Restore filename after delete region, undo. Commit 219d690.
	o Restore user color when opening new fig-file. Commit fccd915.
	o Restore correct depths when joining lines with different depths.
	  Commit a77bcaf.
	o Fix xfontlist->fset initialization. Commit a592399.
	o Fix default origin (100000,100000) -> (0,0) for filled objects.
	  Commit 4d87e60.
	o Fix 100% cpu-load by save panel. Commit 81a4596.
	o Do not use local SimpleMenu.c with XAW3D1_5E. Would segfault on
	  some 64-bit systems when opening main menu.

	o Missing argument may cause crash or undefined behaviour.
	  Debian bug # 795642. From Michael Tautschnig.

	From Hans de Goede. Bug information
	at https://bugzilla.redhat.com/show_bug.cgi?id=#.
	o Patch for importing png-files, Red Hat bug # 1150330. From David Kaufmann.
	o Fix crash when changing arrow size. Bug # 1046102.
	o Fix crash when creating dash-dotted lines. Bug # 1023744.
	  From Michael Srb, thanks to Maurizio Pollini and David Kaufmann.
	o Fix crash on exit. From Peter Volkov at gentoo

-----------------------------------
Patchlevel 5c (August, 2013)

BUGS FIXED:
	o Increased default width of layer panel from 58 to 64 to accomodate scrollbar width
	o missing comma in FIXED_JAPANESE_PDF #ifdef case in w_cmdpanel.c
	o printer name enclosed in apostrophes when printing in case has spaces in name
	o new link from Elizabeth Bailey for Fig applications referenced in \ 
installation.html
	o old link to duke.uask.ca for Fig applications has new link in installation.html
	o Typo in message "GIF read error on extention ..." should be \ 
"extension"
	o Possibility of stack overflow with malformed Fig files.
	o In version 1.4 of the PNG library dither was removed so xfig now uses \ 
quantize when
	  importing PNG images with palettes
	o Other updates for PNG library version 1.5 from Peter Volkov
	o Some versions of Cygwin don't have either REG_NOERROR or REG_OKAY defined so
	  REG_NOERROR defined to be 0
	o Changed X-Spline parameter to match original intent of X-Spline authors:
	  changed definition of Q(s) from -s to -0.5 * s in u_draw_spline.c
	o Allowance for stricter ghostscript in -dSAFER mode.  Was causing error on \ 
reading EPS images.
	  From Hans de Goede
	o Security vulnerability with importing images fixed
	  (RedHat bug # 657981 - xfig buffer overflow when opening .fig file with \ 
malicius color definition)
	o When exporting to combined PS/PDF/LATEX the -D option to exclude all but \ 
active layers
	  was not passed to fig2dev
	o Uses 24-bit color instead of 8-bit when importing eps files (pcx24b driver \ 
for ghostscript)
	o Bug in freeing null fontset
	o Semicolon (;) added at end of MimeType line in xfig.desktop as per
	  http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html
	o Reference to "Darwin Ports" changed to "MacPorts"
	o Renamed O_TEXT to O_TXT to avoid conflicts with system define
	o On lines with Round or Projecting cap style and arrowheads, the line endpoint \ 
stuck out
	  beyond the arrowhead

	From Vladsilav Zavjalov:
	o Uses fontsets for all fonts in international mode
	o SEGV when zooming while creating object (e.g. text)
	o Add locale_encoding appres which acts similar to euc_encoding, but uses \ 
system locale and
	  mbrlen function for multibyte character length calculation.
	o Move "file not found" error message from check_docfile() to \ 
launch_viewer(),
	  remove excess check_docfile() call.
	  Error message is not shown when looking for a locale-dependent docs. It is \ 
shown only
	  if no docs found at all.
	o Do not do strcpy with equal arguments in w_cmdpanel.c/update_cur_filename()
	o Print to file had extra argument in sprintf in international mode
	o Message panel not tall enough with 3D Athena widgets
	o Warnings about different size of int and void * on 64-bit system.
	  To fix this problem I changed int to intptr_t in some places.

NEW FEATURES:
	o New library objects from Markus Laner:
	  Networks: NodeB.fig, cloud.fig, router.fig, wlan.fig
	  Computers: datacard.fig, screen.fig, usbpen.fig, xbox.fig
	o New command-line option -nowrite_bak to turn off automatic renaming of .fig \ 
to .fig.bak
	  when saving .fig file.  X resource is "write_bak".  Also \ 
command-line option -write_bak
	  to force renaming to true.
	o Can now specify small buttons with command-line argument -smallicons
	  From Ed Rosten

-----------------------------------
Patchlevel 5b (Jun 1, 2009)

BUGS FIXED:
	o Dimension line indicator incorrectly showed arrow length/width
	o Several patches from Fedora xfig maintainer
	o divide by 0 under certain circumstances in ruler code
	  From Libor Pechacek
	o Segfault if PRINTER env variable was not defined

Files:
RevisionActionfile
1.72modifypkgsrc/graphics/xfig/Makefile
1.12modifypkgsrc/graphics/xfig/PLIST
1.29modifypkgsrc/graphics/xfig/distinfo
1.1addpkgsrc/graphics/xfig/patches/patch-src_e__chop.c
1.1addpkgsrc/graphics/xfig/patches/patch-src_w__intersect.c
1.1addpkgsrc/graphics/xfig/patches/patch-src_w__keyboard.c
1.1addpkgsrc/graphics/xfig/patches/patch-src_w__snap.c
1.10removepkgsrc/graphics/xfig/patches/patch-aa
1.15removepkgsrc/graphics/xfig/patches/patch-ab
1.7removepkgsrc/graphics/xfig/patches/patch-ac
1.6removepkgsrc/graphics/xfig/patches/patch-ad
1.6removepkgsrc/graphics/xfig/patches/patch-ae
1.1removepkgsrc/graphics/xfig/patches/patch-ag
1.1removepkgsrc/graphics/xfig/patches/patch-ai
1.1removepkgsrc/graphics/xfig/patches/patch-ak
1.1removepkgsrc/graphics/xfig/patches/patch-al
1.1removepkgsrc/graphics/xfig/patches/patch-am
1.1removepkgsrc/graphics/xfig/patches/patch-an
1.1removepkgsrc/graphics/xfig/patches/patch-ao
1.1removepkgsrc/graphics/xfig/patches/patch-ap
1.1removepkgsrc/graphics/xfig/patches/patch-aq
1.1removepkgsrc/graphics/xfig/patches/patch-d__text.c
1.1removepkgsrc/graphics/xfig/patches/patch-d__text.h
1.1removepkgsrc/graphics/xfig/patches/patch-e__edit.c
1.1removepkgsrc/graphics/xfig/patches/patch-w__export.c
1.1removepkgsrc/graphics/xfig/patches/patch-w__print.c
1.1removepkgsrc/graphics/xfig/patches/patch-w__util.c