Commit graph

30 commits

Author SHA1 Message Date
wiz
ace0491760 xfig: Add upstream bug report. 2017-10-04 11:58:45 +00:00
wiz
abb43e075d 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
2017-10-03 15:09:36 +00:00
agc
7f810a359f Add SHA512 digests for distfiles for graphics category
Problems found with existing digests:
	Package fotoxx distfile fotoxx-14.03.1.tar.gz
	ac2033f87de2c23941261f7c50160cddf872c110 [recorded]
	118e98a8cc0414676b3c4d37b8df407c28a1407c [calculated]
	Package ploticus-examples distfile ploticus-2.00/plnode200.tar.gz
	34274a03d0c41fae5690633663e3d4114b9d7a6d [recorded]
	da39a3ee5e6b4b0d3255bfef95601890afd80709 [calculated]

Problems found locating distfiles:
	Package AfterShotPro: missing distfile AfterShotPro-1.1.0.30/AfterShotPro_i386.deb
	Package pgraf: missing distfile pgraf-20010131.tar.gz
	Package qvplay: missing distfile qvplay-0.95.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-03 21:33:50 +00:00
wiz
d15f48992a Switch from x11/Xaw3d to newer x11/libXaw3d.
Adapt some packages so they build with that.
Bump their PKGREVISIONs.
2015-10-14 20:17:24 +00:00
joerg
2ff3817212 Fix void usage. 2012-12-24 21:12:36 +00:00
markd
5bd228b02d Dont try to explicitly set MANDIR in the Imakefile - gets it wrong on
some systems.
2011-02-17 08:46:49 +00:00
drochner
730d693969 being here, add a patch from
https://bugzilla.redhat.com/show_bug.cgi?id=659676
to fix a possible puffer overflow (CVE-2010-4262)
bump PKGREVISION
2011-01-19 19:31:05 +00:00
drochner
7bdfa88ce9 fix build with png-1.5 2011-01-19 19:03:11 +00:00
drochner
4dcdada819 add a patch from
https://bugzilla.redhat.com/show_bug.cgi?id=543905
to fix CVE-2009-4227
(Stack-based buffer overflow by loading malformed .FIG files)
2009-12-23 14:21:48 +00:00
gdt
5841855a5c Extend patch to not declare srandom also for Darwin. From Liz Libby
in private mail.
2009-11-04 15:34:08 +00:00
hasso
dc8ba3bc02 Make it build on recent DragonFly. 2009-07-20 03:53:10 +00:00
drochner
79ec7f5834 update to 3.2.5b
This is a security update.
changes:
-fix some unsecure tmpfile writing (CVE-2009-1962)
-more bugfixes
-symbol library extensions
-changed default browser to firefox and default pdf viewer to xpdf
-HTML MAP export (fig2dev) produces reference to .png file instead
 of .gif now
-minor UI improvements
2009-06-22 18:29:33 +00:00
smb
c1403a68e3 Add missing #include to make it work on amd64 2008-02-06 23:33:00 +00:00
markd
c84808f529 When passing files to gunzip make sure they don't get mistaken as options.
Problem noted by Greg Woods in personal email.  Bump PKGREVISION.
2006-11-16 02:28:58 +00:00
tron
cfee4e608b Declare structures before using the in extern declarations to make
this build with GCC 4.x.
2006-06-30 18:59:34 +00:00
rillig
960bd46eeb Made the package build with SunPro. Removed *.orig from the PLIST. Fixed
some pkglint warnings. Bumped PKGREVISION.
2006-06-02 12:13:03 +00:00
markd
ad6037a352 Fix installing of xfig Library files that start with "-", such as those
in Libraries/Electronic/Schematic/More/simple_device-inch.
Fix PLIST, bump PKGREVISION.
2006-02-04 13:17:51 +00:00
itohy
03e93c7699 Update to xfig 3.2 pachlevel 5-alpha5.
Summary of changes from CHANGES.xfig:

Patchlevel 5-alpha5 (April, 26, 2004):

NEW FEATURES:
	o Added note to README and FAQ html file:
	  If the Xaw or Xaw3d Athena widget sets are compiled with the
	  ARROW_SCROLLBAR style of scrollbars, there is no StartScroll action
	  and you won't be able to scroll using the wheel on the mouse.
	  If you want to be able to scroll using the wheel, you must recompile
	  the Xaw library from sources, disabling the ARROW_SCROLLBAR option.
	o Astrological symbols for planets in Miscellaneous/Astrology by Andrew Collier
	o Added key bindings to text dialogs to be more like modern systems (the
	  Athena Widget Set that xfig uses is very old):
	    Home:  beginning-of-line
	    End:   end-of-line
	    Del:   delete-character-right
	o Added *.jpeg* to picture browse options
	o New libraries for electronics from Fabio González in
	  Libraries/Electronics/Schematic/More

BUGS FIXED:
	o typo in latex_and_xfig.html and LATEX_AND_XFIG files. Text should be:
	  \convertMPtoPDF{foo.0}{1}{1}
	  It was missing parameters {1}{1}
	o -correct_font_size missing from -help option list and man pages
	o -help and -version didn't work unless they were first in the options
	o -O option wasn't passed to fig2dev for overlapping pages in multiple
	  page mode for PostScript export
-----------------------------------
Patchlevel 5-alpha4 (Feb, 19, 2004):

Note:	There is a minor change to the copyright/permission notice for xfig.
	Basically, I have restored the part that allows one to sell xfig
	regardless of whether it is bundled as part of a package or not.
	This is identical to the original copyright/permission notice for
	xfig, which was based on the MIT (then later, the X Consortium)
	copyright notice.
	Here is the new notice (different files have different author
	copyrights at the top):

	> FIG : Facility for Interactive Generation of figures
	> Copyright (c) 1985-1988 by Supoj Sutanthavibul
	> Parts Copyright (c) 1989-2002 by Brian V. Smith
	> Parts Copyright (c) 1991 by Paul King

	> Any party obtaining a copy of these files is granted, free of charge, a
	> full and unrestricted irrevocable, world-wide, paid up, royalty-free,
	> nonexclusive right and license to deal in this software and documentation
	> files (the "Software"), including without limitation the rights to use,
	> copy, modify, merge, publish distribute, sublicense and/or sell copies of
	> the Software, and to permit persons who receive copies from any such
	> party to do so, with the only requirement being that the above copyright
	> and this permission notice remain intact.

NEW FEATURES:
	o Introduction.html and installation.html updated to include Macintosh
	  port of xfig
	o Button to collapse depths of a compound object (make all same depth)
	  in popup object editor
	o Grid changed from dotted line to light red solid line
	o Candle in Libraries/Miscellaneous by Dr. Lyman Hazelton
	o Right-click on depth checkbox sets current depth in indicator panel
	  to that depth
	o Library of symbols used when diagramming folding instructions to make
	  origami models and example contributed by Marc Vigo
	o Can adjust width and height directly in popup editor for picture
	  objects
	o Support for David Hawkey's Xaw3D version 1.5E
	  (http://www.visi.com/~hawkeyd/xaw3d.html)

BUGS FIXED:
	o When loading a library object, if it contained only a compound and
	  nothing else, when xfig promoted that compound to the toplevel the
	  main comment was lost
	o Incorrect header files used for SmeBSB resulted in either segfault or
	  none of the command panel entries being underlined
	o Drawing very large splines (e.g. at zoom = 0.01) caused integer
	  roundoff errors, making xfig loop indefinitely
	o Bug where a line that had a zero width or length arrowhead was not
	  redrawn after being moved, copied, canvas redraw, etc.
	o The page border and axis lines would obscure Fig objects when moving,
	  copying etc. other objects on the canvas.
	o In the popup picture editor, if the relative position of the corners
	  of the picture were changed, the rotation field was not updated
	  (this bug was in 3.2.5-alpha3 only)
	o line, arc, ellipse length tool was reporting 0 length

-----------------------------------
Patchlevel 5-alpha3 (Dec, 9, 2003):

NOTE:
	o URL for information about the color optimization code (written by
	  Anthony Dekker) has changed to:
	  http://members.ozemail.com.au/~dekker/NEUQUANT.HTML

NEW FEATURES:
	o -autorefresh command-line option (resource: Fig.autorefresh) which
	  will make xfig look at the timestamp on the .fig file and
	  automatically load it and display it everytime it changes.
	o Removed requirement to compile with WHEELMOUSE when using wheelmouse
	o New tower computers (Libraries/Computers/AOpenKF45E.fig and
	  AOpenKF45E.fig from Dirko van Schalkwyk)
	o New 10/100 8port hub (Libraries/Networks/3Com3C16750.fig also from
	  Dirko van Schalkwyk)
	o When placing library objects, the name and comments are displayed in
	  message window
	o New flags (Libraries/Flags): Africa/Eritrea, Africa/Zimbabwe,
	  Asia/Myanmar, Asia/Tajikstan, Asia/Kyrgystan, Europe/Croatia
	o non-polar capacitor added to Libraries/Electronic/Schematic
	o Mouse wheel can be used to scroll through filename lists in File and
	  Export panels and icons or object lists in Library panel
	o Thickness of ticks in dimension lines are user-adjustable now
	o For attribute popup dialogs with only one text entry, keyboard now
	  focuses on the entry as long as the pointer is anywhere in the dialog
	o When using the "Open compound, keep rest visible", the other objects
	  are drawn in shades of gray similar to the inactive layers feature.
	o New library objects: adder, multiplier, sine-source and voltage-source
	  in Electronic/Schematic by Hubert Lam
	o Zooming in or out with the Z or z key respectively will keep the canvas
	  centered on the mouse pointer
	o Full version and patchlevel is included in Fig file header for
	  diagnostics
	o Can explicitly set the rotation of imported pictures in edit panel
	  after importing
	o Export option to produce both EPS and PDF (in two files) in one step.
	  Useful for those who both use LaTeX and PDFLaTeX
	o "Epoch" added to rpm spec
	o New HP/GL2 (fig2dev) driver from Glenn Burkhardt with paper size
	  selection, offset, centering and orientation options
	o New library object "atom" in Libraries/Miscellaneous is the classic
	  drawing of an atom with electrons circling
	  From Andrew B. Collier

BUGS FIXED:
	o Missing #ifdef XAW3D in SimpleMenu.c
	o Bug when breaking a compound object - depths were added twice to the
	  counts
	o When implicitly cancelling the placement of a library object by
	  choosing another mode, xfig would tell user to cancel or finish the
	  current operation, but there was no way to do that
	o Picture Reread button was active before file was read the first time
	o Rereading picture in edit popup produced bad colors
	o When using multiple copies of an imported picture, h/w ratio was not
	  computed for copies
	o Importing PCX images were incorrect when bytes per line different from
	  width*bpp
	o When passed a filename containing a directory name for a Fig object
	  library using -library_dir, and that directory only contains Fig files
	  and no subdirectories with Fig files, xfig segfaulted
	o Several checks for memory allocation failure added to the library
	  loading procs
	o Forgot to free allocated memory when return abnormally from loading
	  libraries
	o Path length check in loading libraries fixed
	o Missing include for put_msg prototype in e_measeure.c
	o Needed #ifdef for XtVersion in SmeBSB.c (X11R5 doesn't have
	  international fontset)
	o Added SIGPIPE signal to ignore in case an external program dies when we're
	  using pipes
	o Screen capture on an MSBFirst X server with 24/32 bits per pixel was
	  incorrect.
	o Importing any image file on such a server was incorrect (bytes/bits
	  reversed).
	o Reading GIF or PCX files on 24-bit server *and* on big-endian machine
	  (e.g. Sparcstation) resulted in bytes being swapped and funny colors
	o Could popup unit dialog when drawing/editing objects
	o Embedded whitespace in filenames in recently loaded files weren't
	  parsed properly (.xfigrc)
	o When pasting an object on the canvas, point positioning grid wasn't used
	o Bug when reading a compressed eps file (file handle was passed to open
	  proc instead of name)
	o Minor grid spec used twice instead of minor/major when passed to fig2dev
	o Fixed conversions of export/print grid values when switching to/from
	  metric, decimal or fraction
	o When loading or merging a file, xfig appended ".fig" to the name if
	  there wasn't ".fig" in the name. Now it only appends ".fig" if there
	  is no suffix (no ".").
	o When appending the ".fig" before the previous change, xfig would segfault
	o Libraries/Electronic/Schematic/transformer and transformer_ironcore
	  aligned to 1/16" grid
	o Bugs in indicator panel display of text flags, dimension line params
	  and arrow size params when cycling through settings with middle or
	  right mouse button
	o Bug in callbacks for dimension line checkboxes that select actual
	  length or user text
	o When exporting to Combined PDF/LaTeX it uses ".pdf" and ".pdf_t"
	  suffixes because LaTeX doesn't recognize ".pdftex" as a PDF file
	o Better clipping around arrowheads on thick lines (lines that are
	  thicker than the arrowhead is wide)
	o Checks for open splines of < 2 points when reading figure file and
	  removes them
	o Clicking middle mouse button after creating first point of closed
	  spline switched to freehand mode
	o Export panel sections would get messed up when changing export
	  languages
	o Now checks whether scrollbars support StartScroll before trying to use
	  it for the wheel scrolling.  When the Xaw widgets are compiled with
	  ARROW_SCROLLBAR, there is no such action.
	o pstex_t export lacked border option (-b) to align LaTeX text when
	  pstex figure specified border (also fixed in fig2dev)
	o Create one picture object with no filename, then create another and
	  xfig crashed
	o Some bugs when freeing dimension line components
	o Bad choices for grid dot spacing in metric mode in the 5mm grid, and
	  decimal inch mode in the 0.5 and 1.0 inch grids
	o -international flag missing from xfig.html and xfig.man docs
	o Added call to XsetLocaleModifiers() when initializing input method
	  (-international mode only)
	o xfig was limiting arrowhead lengths to 50 pixels instead of 50 inches,
	  and the width to 10 pixels instead of 10 inches.
	o edit panel for circles shouldn't have "angle" entry
	o edit panel wasn't allowing typing in of negative angles for text and
	  ellipses
	o Objects were sometimes drawn with a wild point when zooming
	o Full path was being added to default export filename and wasn't
	  changing when user changed directories
	o When drawing a box or rounded box with the "show line lengths" on, the
	  sizes were in Fig units (1200ppi) instead of user units.
	o Spacing cedilla (ISO 0xB8 / octal 270) was missing from CompKeyDB file
	o Changing the units in the popup edit panel for a text object caused a
	  segfault.
	o Rulers and grid didn't change scale when user scale was != 1.0.  Even
	  though the message window showed the correct user scale when drawing
	  objects, the rulers and grid still showed the unscaled values.
	o Axis lines through 0,0 now drawn after page border so it remains
	  visible when there is a grid
	o Segfault if current directory was deleted after starting xfig
	o Positioning grid was set to "ANY" when editing a compound object,
	  causing the original bounding box to be lost
	o Bug in arc drawing caused arcs to be drawn as circles at high zoom
	o Computing the area of a polygon larger than 38x38 inches overflowed
	  calculation
	o Bug in bounds calculation for ellipses and circles that increased
	  bounding box even with line width = 1
	o Limit on number of styles in a family wasn't checked
	o If all depths were turned off and any edit operation was attempted on
	  the canvas such as move object, delete object, xfig would hang,
	  searching for objects indefinitely.
2005-11-12 16:08:21 +00:00
agc
6a7b384635 Add RMD160 digests 2005-02-24 08:45:01 +00:00
wiz
bdb2a2be0c Add distpatch so this works with Xaw3d-1.5E; adapt patch-ab.
Bump PKGREVISION.
2005-02-18 15:56:18 +00:00
jschauma
c9e8407af7 Make this compile and install cleanly under Linux. 2003-04-01 04:50:46 +00:00
rh
33b93d06cc Add patch provided by Masao Uebayashi that allows using xfig to be used
with non-3d versions of Xaw.
Bring back XAW_TYPE detection and Imakefile modification.
2003-01-15 07:11:43 +00:00
rh
2c821434df Update xfig to 3.2.4. Provided in PR pkg/19660 by Jim Bernard
<jbernard@mines.edu>.  Changes include tons of bugfixes plus the following
new features:

	o "Front" and "Back" labels in depth manager to show relative
	  positioning of depths on drawing.
	o The mu (micro) character is now entered using "Compose | u"
          instead of "Compose / u"
	o If you wish to place a library object at the position it was
	  originally created, e.g. for laser printer labels, hold down the
          Shift key and press mouse button 3 (`place at orign posn')
	o New URL for chemtool, a chemical structure editor:
	  http://ruby.chemie.uni-freiburg.de/~martin/chemtool/chemtool.html
	o The minimum and maximum depth of objects are shown in the edit
          panel for compound objects
	o EMF (Enhanced Metafile) export driver (TransFig/fig2dev)
	o SVG (Scalable Vector Graphics) beta driver
	o The xfig documentation is nearly entirely GIF-free (TM).
	o Xfig reference manual now available in PDF besides html.
	o Dimension lines
	o New Xfig logo courtesy of Marc-Aurele Darche.
	o Can now paste text in text mode using Shift+Middle-mouse-button
          in addition to F20 and Sun's Paste key (F18).
	o If xfig is compiled with #define WHEELMOUSE uncommented in the
	  Imakefile, the wheel may be used for several things
	o New grid/positioning option for inches mode
	o Background (-g to fig2dev) option for tk export honored now.
	o New command-line argument -correct_font_size
	o Added "Stop" button to stop loading library.
	o Much more efficient when copying large imported pictures
	o When changing an attribute of an imported picture that doesn't
          change the picture itself (e.g. depth), the pixmap is not
          regenerated, therefore saving time.  The same is true when
          copying a picture.
	o New X resource Fig.ghostscript and command-line argument
          -ghostscript by which you can tell xfig what your ghostscript
          is called (e.g. "gs" or "gswin32").
	o Can now add ASCII (EPSI) preview to EPS export. See export panel.
	o Can now add monochrome or color TIFF preview to EPS export.
	o Translations of LATEX.AND.XFIG document into two popular Chinese
	  encodings (GB2312 and Big5).
	o When text becomes too small to see (e.g. small zoom), xfig will
	  "Greek" it, meaning it draws a gray line segment for each word
          in the string.
	o When resizing canvas to a smaller height, the number of buttons
          per row of the mode (side) panel increases so that it doesn't
          protrude into the indicator (bottom) panel
	o Smarter redraw when turning on depths from the depth manager.
	o If the user's pointer (mouse) buttons are switched
	  xfig will automatically flip the mouse hints messages.
	o Picture objects are drawn as filled gray boxes when their layer
          is inactive in gray mode.
	o xfig no longer requires fonts that are named "-adobe-..."
	o Updating the attribute panel from a compound object will retrieve
	  (only) the smallest depth from the compound.
	o When scaling an object, the line thickness is no longer scaled
          with it
	o New measuring modes: angle, length, area and tangent.
	o New feature to add tangents and normal lines to curves.
	o Splash screen on startup.
	o New command-line option -grid_color
	o New option to print grid when exporting or printing
	o When drawing an arc by specifying the center point, a circle is
          drawn showing the radius of the arc as the user drags the mouse,
          then when the first end point is clicked an arc is drawn as the
          mouse is dragged.
	o If the Ruler unit is Imperial (in), you may have xfig display
	  measurements using fractions where possible.
	o When opening a compound object, if the middle button us used to
          open the compound, all other objects on the canvas are kept
          visible.
	o When opening a compound object, the "point positioning"
          indicator is enabled, allowing you to set the bounds of the
          compound according to the indicator when you close the compound.
	o Zero-crossing lines on canvas have own command-line parameter
	o Smooth factor when exporting to bitmap format is now a pull-down
          menu with: No smoothing, Some smoothing, More smoothing.
	o Three-D borders for buttons, etc reduced from 2 to 1 pixel
	o Additional JPEG file format (EXIF) added for import.
	o Validation for integer spinners
	o When scaling an object, the scale factor is shown in the message.
	o New url for pstoedit (mentioned in installation.html).
	o When picking points of an object at high zoom, the tolerance has
          been reduced to make it easier to pick the correct point.
	o When "graying" inactive depths, the inactive objects are drawn
          first followed by active objects ensuring visibility of active
          objects.
	o xfig now draws "grayed out" picture objects (inactive depth) as
          a gray box with the filename only.
	o Line style in edit panel now shows graphic of style instead of
	  textual description.
	o Cap style in edit panel was inadvertantly left off open-splines.
	o Popup dialog to edit behavior of spline point now pops up near
          the point being edited.
	o When cancelling drawing a picture object from the popup editor,
          the empty object is removed rather than showing a <empty>
	o Pressing Return or Escape in popup message window will dismiss it
	o In picture browser popup, double clicking or clicking and
          pressing Return will apply the selected picture AND close the
          browser.
	o New popup query if updating the depth in a compound object would
	  result in any depth exceeding the maximum.
	o More consistent placement of Cancel/Ok/Set etc. buttons
	o More meaningful message "Cut buffer is empty"
	o New MetaPost driver for TransFig 3.2.4 supported.
	o New option for binary CGM export (must have TransFig 3.2.4 too).
	o Pressing escape in a popup dialog will dismiss it.
	o Zoom/Unzoom (Shift-Z/z) changes zoom by a factor of 1.5
	o Exporting to JPEG doesn't require compiling with USE_JPEG
	o Minimum and maximum depths of objects in a compound are
          displayed in popup edit panel.
	o Named styles where user can save attributes that are often used
          for quick access.

NEW LIBRARIES and Examples:

	o Poster advertizing German version of "Little Shop of Horrors" in
	  Libraries/Examples/poster.fig.  From Kai-Martin Knaak
	o Three new Examples from Carlo Kopp
	o Many new country flags in the Libraries/Flags directory.
	o New flags of Bosnia and Slovenia with vector coat of arms in
	  Libraries/Flags directory from Roman Maurer
	o New maps of Yugoslavia, Macedonia, Croatia, Bosnia-Herzegovina
          and Slovenia (Libraries/Maps/Europe)
	o New maps of Russia, Kazakstan, Kyrgyzstan, Tajikistan,
          Turkmenistan and Uzbekistan (Libraries/Maps/Asia)
	o New Avery label templates in Libraries/Labels directory,
          including a CD label, Avery_5931, done by William Chimiak.
	o New Avery and PerfectData Corp CD label templates in
          Libraries/Labels directory, done by Len Hickey.
	o New computers and printers in Libraries/Computers library
	o New network library devices
	o New DSP component library from Jakub Stastny (stastnj1@volny.cz)
	o Standard welding bevels library from Erik Engh
	o Canadian map from Seymour Green
	o A Uno hand (card game) drawn by Roland Rosendfeld
2003-01-07 06:30:34 +00:00
bouyer
10d70b8423 Correct XPM include and lib paths. 2002-10-26 19:45:00 +00:00
jlam
16636c3cf2 buildlink1 -> buildlink2 2002-10-08 13:24:22 +00:00
jlam
a17239c066 Move per-package default XAW_TYPE setting above the inclusion of
bsd.prefs.mk so that it is actually used.  Where possible, include
xaw.buildlink.mk instead of setting USE_XAW, and use LIBXAW where needed.
2001-08-23 04:26:51 +00:00
tron
ce171237f3 Fix runtime library path problem on systems where "xpkwedge" is not
installed.
2001-08-09 15:59:51 +00:00
wiz
ed7bab20f1 Update to 3.2.3d, provided by Jim Bernard in pkg/13325.
Extract of changes since 3.2.3:
o Lots of new libraries (UML objects, knitting symbols, network
  devices, Chen's model of Entity Relations, widgets, aircraft, maps,
  chemical process flowshooets, PMOS&NMOS FET, and others)
o Object library now shows icons of all objects. The size of the icons
  is selectable from 40 pixels to 120 via a pulldown menu and resource
  (Fig.library_icon_size). The the old "list" view is also available.
o Simplistic super/subscripting by typing Ctrl-^ for superscript and
  Ctrl-_ for subscript.  It creates a new string in the proper size
  and position for super- or subscripting.  May be nested.  Does NOT
  work for centered or right-justified text.
o New export shortcut Shift-Alt-x or Shift-Meta-x to export using
  current settings without popping up the panel
o New print shortcut Shift-Alt-p or Shift-Meta-p to print using current
  settings without popping up the panel
o Support for importing PNG image files added
o GIF transparency for imported images honored by fig2dev now
o New option to print only active layers when exporting or printing (see
  printing/exporting section in html docs).
o When loading a compressed Fig file that is either read-only, or is on
  a read-only file system (e.g. a CDROM), xfig uncompresses it into the
  temp directory (env TMPDIR, or /tmp if TMPDIR environvment variable is
  undefined).
o xfig recalculates the bounds of compound objects read in from the file,
  ignoring the bounds values in the file.  This makes it easier for Fig
  file generators to produce compound objects since they don't have to
  know how to calculate the bounds themselves. fig2dev doesn't even use
  those values but recalculates them upon reading the file.
o Increased maximum number of libraries to 100
as well as countless bug fixes (see CHANGES file in distribution).
2001-08-09 14:34:56 +00:00
wiz
a4f21a5507 Move to sha1 digests, and/or add distfile sizes. 2001-04-21 09:54:06 +00:00
agc
fb467f5ac2 + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 11:22:34 +00:00