head 1.11; access; symbols pkgsrc-2017Q3:1.10.0.70 pkgsrc-2017Q3-base:1.10 pkgsrc-2017Q2:1.10.0.66 pkgsrc-2017Q2-base:1.10 pkgsrc-2017Q1:1.10.0.64 pkgsrc-2017Q1-base:1.10 pkgsrc-2016Q4:1.10.0.62 pkgsrc-2016Q4-base:1.10 pkgsrc-2016Q3:1.10.0.60 pkgsrc-2016Q3-base:1.10 pkgsrc-2016Q2:1.10.0.58 pkgsrc-2016Q2-base:1.10 pkgsrc-2016Q1:1.10.0.56 pkgsrc-2016Q1-base:1.10 pkgsrc-2015Q4:1.10.0.54 pkgsrc-2015Q4-base:1.10 pkgsrc-2015Q3:1.10.0.52 pkgsrc-2015Q3-base:1.10 pkgsrc-2015Q2:1.10.0.50 pkgsrc-2015Q2-base:1.10 pkgsrc-2015Q1:1.10.0.48 pkgsrc-2015Q1-base:1.10 pkgsrc-2014Q4:1.10.0.46 pkgsrc-2014Q4-base:1.10 pkgsrc-2014Q3:1.10.0.44 pkgsrc-2014Q3-base:1.10 pkgsrc-2014Q2:1.10.0.42 pkgsrc-2014Q2-base:1.10 pkgsrc-2014Q1:1.10.0.40 pkgsrc-2014Q1-base:1.10 pkgsrc-2013Q4:1.10.0.38 pkgsrc-2013Q4-base:1.10 pkgsrc-2013Q3:1.10.0.36 pkgsrc-2013Q3-base:1.10 pkgsrc-2013Q2:1.10.0.34 pkgsrc-2013Q2-base:1.10 pkgsrc-2013Q1:1.10.0.32 pkgsrc-2013Q1-base:1.10 pkgsrc-2012Q4:1.10.0.30 pkgsrc-2012Q4-base:1.10 pkgsrc-2012Q3:1.10.0.28 pkgsrc-2012Q3-base:1.10 pkgsrc-2012Q2:1.10.0.26 pkgsrc-2012Q2-base:1.10 pkgsrc-2012Q1:1.10.0.24 pkgsrc-2012Q1-base:1.10 pkgsrc-2011Q4:1.10.0.22 pkgsrc-2011Q4-base:1.10 pkgsrc-2011Q3:1.10.0.20 pkgsrc-2011Q3-base:1.10 pkgsrc-2011Q2:1.10.0.18 pkgsrc-2011Q2-base:1.10 pkgsrc-2011Q1:1.10.0.16 pkgsrc-2011Q1-base:1.10 pkgsrc-2010Q4:1.10.0.14 pkgsrc-2010Q4-base:1.10 pkgsrc-2010Q3:1.10.0.12 pkgsrc-2010Q3-base:1.10 pkgsrc-2010Q2:1.10.0.10 pkgsrc-2010Q2-base:1.10 pkgsrc-2010Q1:1.10.0.8 pkgsrc-2010Q1-base:1.10 pkgsrc-2009Q4:1.10.0.6 pkgsrc-2009Q4-base:1.10 pkgsrc-2009Q3:1.10.0.4 pkgsrc-2009Q3-base:1.10 pkgsrc-2009Q2:1.10.0.2 pkgsrc-2009Q2-base:1.10 pkgsrc-2009Q1:1.9.0.50 pkgsrc-2009Q1-base:1.9 pkgsrc-2008Q4:1.9.0.48 pkgsrc-2008Q4-base:1.9 pkgsrc-2008Q3:1.9.0.46 pkgsrc-2008Q3-base:1.9 cube-native-xorg:1.9.0.44 cube-native-xorg-base:1.9 pkgsrc-2008Q2:1.9.0.42 pkgsrc-2008Q2-base:1.9 cwrapper:1.9.0.40 pkgsrc-2008Q1:1.9.0.38 pkgsrc-2008Q1-base:1.9 pkgsrc-2007Q4:1.9.0.36 pkgsrc-2007Q4-base:1.9 pkgsrc-2007Q3:1.9.0.34 pkgsrc-2007Q3-base:1.9 pkgsrc-2007Q2:1.9.0.32 pkgsrc-2007Q2-base:1.9 pkgsrc-2007Q1:1.9.0.30 pkgsrc-2007Q1-base:1.9 pkgsrc-2006Q4:1.9.0.28 pkgsrc-2006Q4-base:1.9 pkgsrc-2006Q3:1.9.0.26 pkgsrc-2006Q3-base:1.9 pkgsrc-2006Q2:1.9.0.24 pkgsrc-2006Q2-base:1.9 pkgsrc-2006Q1:1.9.0.22 pkgsrc-2006Q1-base:1.9 pkgsrc-2005Q4:1.9.0.20 pkgsrc-2005Q4-base:1.9 pkgsrc-2005Q3:1.9.0.18 pkgsrc-2005Q3-base:1.9 pkgsrc-2005Q2:1.9.0.16 pkgsrc-2005Q2-base:1.9 pkgsrc-2005Q1:1.9.0.14 pkgsrc-2005Q1-base:1.9 pkgsrc-2004Q4:1.9.0.12 pkgsrc-2004Q4-base:1.9 pkgsrc-2004Q3:1.9.0.10 pkgsrc-2004Q3-base:1.9 pkgsrc-2004Q2:1.9.0.8 pkgsrc-2004Q2-base:1.9 pkgsrc-2004Q1:1.9.0.6 pkgsrc-2004Q1-base:1.9 pkgsrc-2003Q4:1.9.0.4 pkgsrc-2003Q4-base:1.9 netbsd-1-6-1:1.9.0.2 netbsd-1-6-1-base:1.9 netbsd-1-6:1.8.0.8 netbsd-1-6-RELEASE-base:1.8 pkgviews:1.8.0.4 pkgviews-base:1.8 buildlink2:1.8.0.2 buildlink2-base:1.8 netbsd-1-5-PATCH003:1.8 netbsd-1-5-PATCH001:1.7 netbsd-1-5-RELEASE:1.7 netbsd-1-4-PATCH003:1.7 netbsd-1-4-PATCH002:1.4 comdex-fall-1999:1.4 netbsd-1-4-PATCH001:1.4 netbsd-1-4-RELEASE:1.4 netbsd-1-3-PATCH003:1.3 netbsd-1-3-PATCH002:1.1; locks; strict; comment @# @; 1.11 date 2017.10.03.15.09.36; author wiz; state dead; branches; next 1.10; commitid s2GDYUjZ3nvEnC9A; 1.10 date 2009.06.22.18.29.33; author drochner; state Exp; branches; next 1.9; 1.9 date 2003.01.07.06.30.35; author rh; state Exp; branches; next 1.8; 1.8 date 2001.08.09.14.34.57; author wiz; state Exp; branches; next 1.7; 1.7 date 2000.07.27.14.01.00; author jlam; state Exp; branches; next 1.6; 1.6 date 2000.06.23.00.22.35; author itohy; state Exp; branches; next 1.5; 1.5 date 2000.06.22.08.18.08; author itohy; state Exp; branches; next 1.4; 1.4 date 99.01.05.21.37.55; author frueauf; state Exp; branches; next 1.3; 1.3 date 98.08.07.10.40.55; author agc; state Exp; branches; next 1.2; 1.2 date 98.07.03.14.26.32; author frueauf; state Exp; branches; next 1.1; 1.1 date 98.02.08.23.06.55; author hubertf; state Exp; branches; next ; desc @@ 1.11 log @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 : o Update LaTeX documentation, use \documentclass instead of \documentstyle, \usepackage instead of \input. o Builds on hurd, had to #include 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 @ text @$NetBSD: patch-aa,v 1.10 2009/06/22 18:29:33 drochner Exp $ --- Fig.ad.orig 2009-05-07 01:11:09.000000000 +0200 +++ Fig.ad @@@@ -29,7 +29,7 @@@@ Fig.browser: firefox -remote 'openFile(% ! pdfviewer - put your favorite pdf viewer here. ! This is for viewing the xfig how-to guide and man pages -Fig.pdfviewer: xpdf %f +Fig.pdfviewer: gv %f ! Spell check program - put your favorite spelling check program here. ! It must write the misspelled words to standard output. @ 1.10 log @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 @ text @d1 1 a1 1 $NetBSD$ @ 1.9 log @Update xfig to 3.2.4. Provided in PR pkg/19660 by Jim Bernard . 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 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 @ text @d3 1 a3 1 --- Fig.ad.orig Wed Dec 18 17:05:41 2002 d5 1 a5 1 @@@@ -24,7 +24,7 @@@@ d9 1 a9 1 -Fig.pdfviewer: acroread %f @ 1.8 log @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). @ text @d3 1 a3 1 --- Fig.ad.orig Thu May 17 12:59:29 2001 d5 1 a5 1 @@@@ -16,7 +16,7 @@@@ @ 1.7 log @The Xaw3d package wasn't being used. Make it work. @ text @d3 8 a10 119 --- Imakefile.orig Thu Jan 13 22:25:09 2000 +++ Imakefile Tue Jul 25 02:35:53 2000 @@@@ -40,8 +40,8 @@@@ #ifdef USEJPEG #ifdef USEINSTALLEDJPEG -JPEGLIBDIR = /usr/local/lib -JPEGINCDIR = /usr/include/X11 +JPEGLIBDIR = $(LOCALBASE)/lib +JPEGINCDIR = $(LOCALBASE)/include #else JPEGLIBDIR = ../jpeg JPEGINCDIR = $(JPEGLIBDIR) @@@@ -59,12 +59,12 @@@@ XCOMM Change XPMLIBDIR if necessary to point to the xpm library (libXpm) XCOMM Change XPMINC if necessary to point to the include file for xpm (xpm.h) -XCOMM #define USEXPM -XCOMM #define USEXPM_ICON +#define USEXPM +#define USEXPM_ICON #ifdef USEXPM XPMLIBDIR = $(USRLIBDIR) -XPMINC = -I/usr/include/X11 +XPMINC = -I$(INCDIR)/X11 #endif XCOMM Uncomment the following definiton if you want to use the small icons @@@@ -99,7 +99,7 @@@@ XCOMM Uncomment the next line if you want use Japanese (i18n) on xfig. XCOMM If your setlocale() dosen't support the locale, you should XCOMM add -DSETLOCALE to I18N_DEFS. -XCOMM #define I18N +#define I18N XCOMM If using an input tablet uncomment the following @@@@ -110,7 +110,7 @@@@ XCOMM inline functions. With the "INLINE" keyword, you should notice that XCOMM the display will be a bit faster in complex figures -XCOMM USEINLINE = -DUSE_INLINE +USEINLINE = -DUSE_INLINE XCOMM use (and change) the following if you want the multi-key data base file XCOMM somewhere other than the standard X11 library directory @@@@ -119,6 +119,8 @@@@ XCOMM use this if you want the multi-key data base file in the standard X11 tree XFIGLIBDIR = $(LIBDIR)/xfig +XFIGDOCDIR = $(PREFIX)/share/doc/xfig + XCOMM If your system doesn't have strstr undefine the following definition XCOMM HAVE_NO_NOSTRSTR = -DNOSTRSTR @@@@ -179,7 +181,7 @@@@ JPEGINC = -I$(JPEGINCDIR) #ifdef USEINSTALLEDJPEG -JPEGLIB = -L$(JPEGLIBDIR) -ljpeg +JPEGLIB = -Wl,-R$(JPEGLIBDIR) -L$(JPEGLIBDIR) -ljpeg #else JPEGCONF = configure JPEGLIB = $(JPEGLIBDIR)/libjpeg.a @@@@ -194,7 +196,7 @@@@ I18N_OBJ = w_i18n.o #endif -DIR_DEFS= -DXFIGLIBDIR=\"$(XFIGLIBDIR)\" +DIR_DEFS= -DXFIGLIBDIR=\"$(XFIGLIBDIR)\" -DXFIGDOCDIR=\"$(XFIGDOCDIR)\" XCOMM location of Fig object libraries OBJLIBDIR = $(XFIGLIBDIR)/Libraries @@@@ -336,21 +338,22 @@@@ @@make install.jhtml #endif @@(cd Doc ; \ - echo Copying pdf and html files to $(XFIGLIBDIR) ; \ - $(INSTALL) -c xfig.html $(XFIGLIBDIR) ; \ - $(INSTALL) -c xfig-howto.pdf $(XFIGLIBDIR) ; \ - if [ -d $(XFIGLIBDIR)/html ]; then set +x; \ - else (set -x; $(MKDIRHIER) $(XFIGLIBDIR)/html ); fi ; \ + echo Copying pdf and html files to $(XFIGDOCDIR) ; \ + $(MKDIRHIER) $(XFIGDOCDIR) ; \ + $(INSTALL) -c xfig.html $(XFIGDOCDIR) ; \ + $(INSTALL) -c xfig-howto.pdf $(XFIGDOCDIR) ; \ + if [ -d $(XFIGDOCDIR)/html ]; then set +x; \ + else (set -x; $(MKDIRHIER) $(XFIGDOCDIR)/html ); fi ; \ (cd html ; \ for f in *.* ; do \ - $(INSTALL) -c $$f $(XFIGLIBDIR)/html ; \ + $(INSTALL) -c $$f $(XFIGDOCDIR)/html ; \ done) ; \ echo " Copying image files for html" ; \ - if [ -d $(XFIGLIBDIR)/html/images ]; then set +x; \ - else (set -x; $(MKDIRHIER) $(XFIGLIBDIR)/html/images ); fi ; \ + if [ -d $(XFIGDOCDIR)/html/images ]; then set +x; \ + else (set -x; $(MKDIRHIER) $(XFIGDOCDIR)/html/images ); fi ; \ (cd html/images ; \ for f in * ; do \ - $(INSTALL) -c $$f $(XFIGLIBDIR)/html/images ; \ + $(INSTALL) -c $$f $(XFIGDOCDIR)/html/images ; \ done) ; \ ) ; @@@@ -358,10 +361,10 @@@@ install.jhtml:: @@echo "Copying japanese html files" @@(cd Doc/html/japanese ; \ - if [ -d $(XFIGLIBDIR)/html/japanese ]; then set +x; \ - else (set -x; $(MKDIRHIER) $(XFIGLIBDIR)/html/japanese ); fi ; \ + if [ -d $(XFIGDOCDIR)/html/japanese ]; then set +x; \ + else (set -x; $(MKDIRHIER) $(XFIGDOCDIR)/html/japanese ); fi ; \ for f in * ; do \ - $(INSTALL) -c $$f $(XFIGLIBDIR)/html/japanese ; \ + $(INSTALL) -c $$f $(XFIGDOCDIR)/html/japanese ; \ done) ; #endif d12 2 @ 1.6 log @Use ${PREFIX} instead of ${X11BASE} for documents and examples, a la PR #9933. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.5 2000/06/22 08:18:08 itohy Exp $ d3 2 a4 2 --- Imakefile.orig Fri Jan 14 12:25:09 2000 +++ Imakefile Thu Jun 23 07:28:52 2000 a31 9 @@@@ -75,7 +75,7 @@@@ XCOMM Uncomment the following definition for XAW3D if you want to use XCOMM the 3d Athena Widget Set (highly recommended!) -#define XAW3D +XCOMM #define XAW3D #ifdef XAW3D DUSEXAW3D = -DXAW3D XAWLIB = -lXaw3d @ 1.5 log @Update to 3.2.3a. Enable I18N. Make Xaw3d optional. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.4 1999/01/05 21:37:55 frueauf Exp $ d4 1 a4 1 +++ Imakefile Thu Jun 22 07:15:59 2000 d63 1 a63 1 +XFIGDOCDIR = $(X11BASE)/share/doc/xfig @ 1.4 log @- use -R for $LOCALBASE/lib too to make ELF systems work; - fix the path for the docs so they get found via help menu; - use gv to view pdf files as default, we don't have acroread. @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 3 --- Imakefile.orig Thu Jul 2 19:37:09 1998 +++ Imakefile Tue Jan 5 21:40:08 1999 @@@@ -40,7 +40,8 @@@@ d10 1 d12 1 a12 1 +JPEGINCDIR = -I$(LOCALBASE)/include d15 3 a17 12 #endif @@@@ -54,7 +55,7 @@@@ XCOMM Uncomment the following definition for XAWLIB if you want to use XCOMM the 3d Athena Widget Set (highly recommended!) -XCOMM XAWLIB = -lXaw3d +XAWLIB = -lXaw3d XCOMM Uncomment the following if needed for DECstations running older X11R4 XCOMM INCROOT=/usr/include/mit @@@@ -70,12 +71,12 @@@@ XCOMM Change XPMLIBS if necessary to point to the xpm library (libXpm) d27 1 a27 1 -XPMINC = -I$(INCDIR) a28 1 XPMLIBS = -L$(XPMLIBDIR) -lXpm d31 20 a50 1 @@@@ -101,7 +102,7 @@@@ d59 1 a59 1 @@@@ -110,6 +111,8 @@@@ d68 2 a69 1 @@@@ -169,8 +172,7 @@@@ a70 1 #ifdef USEJPEG a71 1 -JPEGINCDIR = -I/usr/include/X11 d76 2 a77 2 JPEGINCDIR = -I$(JPEGLIBDIR) @@@@ -185,7 +187,7 @@@@ d86 3 a88 6 @@@@ -314,22 +316,23 @@@@ XCOMM Install the object libraries here install:: - @@echo Copying PDF documentation to $(XFIGLIBDIR) + @@echo Copying PDF documentation to $(XFIGDOCDIR) d90 2 a92 2 - $(INSTALL) -c xfig.pdf $(XFIGLIBDIR) ; \ - echo Copying html files to $(XFIGLIBDIR)/html ; \ d95 3 a97 2 - (cd html ; $(INSTALL) -c *.* $(XFIGLIBDIR)/html ; ) ;\ + /bin/mkdir -p $(XFIGDOCDIR); \ a98 2 + $(INSTALL) -c xfig.pdf $(XFIGDOCDIR) ; \ + echo Copying html files to $(XFIGDOCDIR)/html ; \ d101 5 a105 8 + (cd html ; $(INSTALL) -c *.* $(XFIGDOCDIR)/html ; ) ;\ echo " Copying japanese html files" ; \ - if [ -d $(XFIGLIBDIR)/html/japanese ]; then set +x; \ - else (set -x; $(MKDIRHIER) $(XFIGLIBDIR)/html/japanese ); fi ; \ - (cd html/japanese ; $(INSTALL) -c * $(XFIGLIBDIR)/html/japanese ; ) ; \ + if [ -d $(XFIGDOCDIR)/html/japanese ]; then set +x; \ + else (set -x; $(MKDIRHIER) $(XFIGDOCDIR)/html/japanese ); fi ; \ + (cd html/japanese ; $(INSTALL) -c * $(XFIGDOCDIR)/html/japanese ; ) ; \ a108 1 - (cd html/images ; $(INSTALL) -c * $(XFIGLIBDIR)/html/images ; ) ; \ d111 5 a115 1 + (cd html/images ; $(INSTALL) -c * $(XFIGDOCDIR)/html/images ; ) ; \ d117 15 a131 2 @@echo "Copying Fig Object Libraries" @@(cd Examples/Libraries ; \ @ 1.3 log @Add NetBSD RCS Ids. @ text @d4 1 a4 1 +++ Imakefile Fri Jul 3 14:32:45 1998 d58 1 a58 1 @@@@ -169,7 +172,6 @@@@ d63 2 a64 1 JPEGLIB = -L$(JPEGLIBDIR) -ljpeg d67 10 @ 1.2 log @Update to xfig-3.2.2. @ text @d1 2 @ 1.1 log @Via PR 4823 by garbled@@garbled.futureone.com @ text @d1 3 a3 8 --- Imakefile.orig Fri Aug 22 22:59:16 1997 +++ Imakefile Sun Feb 8 16:15:29 1998 @@@@ -46,12 +46,12 @@@@ XCOMM set JPEGLIBDIR after the #else to the directory where you have the source XCOMM for jpeg. -XCOMM #define USEINSTALLEDJPEG +#define USEINSTALLEDJPEG d5 9 d20 1 a20 1 XCOMM Uncomment the following if needed for DECstations running older X11R4 d22 2 a23 2 @@@@ -66,20 +66,20 @@@@ XCOMM Change XPMLIB if necessary to point to the xpm library (libXpm) d35 1 a35 1 XPMLIB = -L$(XPMLIBDIR) -lXpm d38 1 a38 11 #ifdef USEJPEG #ifdef USEINSTALLEDJPEG -JPEGLIBDIR = /usr/local/lib -JPEGINCDIR = -I/usr/include/X11 +JPEGLIBDIR = $(LOCALBASE)/lib +JPEGINCDIR = -I$(LOCALBASE)/include JPEGLIB = -L$(JPEGLIBDIR) -ljpeg #else JPEGLIBDIR = ../jpeg @@@@ -112,7 +112,7 @@@@ d47 54 @