head 1.7; access; symbols pkgsrc-2017Q3:1.6.0.66 pkgsrc-2017Q3-base:1.6 pkgsrc-2017Q2:1.6.0.62 pkgsrc-2017Q2-base:1.6 pkgsrc-2017Q1:1.6.0.60 pkgsrc-2017Q1-base:1.6 pkgsrc-2016Q4:1.6.0.58 pkgsrc-2016Q4-base:1.6 pkgsrc-2016Q3:1.6.0.56 pkgsrc-2016Q3-base:1.6 pkgsrc-2016Q2:1.6.0.54 pkgsrc-2016Q2-base:1.6 pkgsrc-2016Q1:1.6.0.52 pkgsrc-2016Q1-base:1.6 pkgsrc-2015Q4:1.6.0.50 pkgsrc-2015Q4-base:1.6 pkgsrc-2015Q3:1.6.0.48 pkgsrc-2015Q3-base:1.6 pkgsrc-2015Q2:1.6.0.46 pkgsrc-2015Q2-base:1.6 pkgsrc-2015Q1:1.6.0.44 pkgsrc-2015Q1-base:1.6 pkgsrc-2014Q4:1.6.0.42 pkgsrc-2014Q4-base:1.6 pkgsrc-2014Q3:1.6.0.40 pkgsrc-2014Q3-base:1.6 pkgsrc-2014Q2:1.6.0.38 pkgsrc-2014Q2-base:1.6 pkgsrc-2014Q1:1.6.0.36 pkgsrc-2014Q1-base:1.6 pkgsrc-2013Q4:1.6.0.34 pkgsrc-2013Q4-base:1.6 pkgsrc-2013Q3:1.6.0.32 pkgsrc-2013Q3-base:1.6 pkgsrc-2013Q2:1.6.0.30 pkgsrc-2013Q2-base:1.6 pkgsrc-2013Q1:1.6.0.28 pkgsrc-2013Q1-base:1.6 pkgsrc-2012Q4:1.6.0.26 pkgsrc-2012Q4-base:1.6 pkgsrc-2012Q3:1.6.0.24 pkgsrc-2012Q3-base:1.6 pkgsrc-2012Q2:1.6.0.22 pkgsrc-2012Q2-base:1.6 pkgsrc-2012Q1:1.6.0.20 pkgsrc-2012Q1-base:1.6 pkgsrc-2011Q4:1.6.0.18 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q3:1.6.0.16 pkgsrc-2011Q3-base:1.6 pkgsrc-2011Q2:1.6.0.14 pkgsrc-2011Q2-base:1.6 pkgsrc-2011Q1:1.6.0.12 pkgsrc-2011Q1-base:1.6 pkgsrc-2010Q4:1.6.0.10 pkgsrc-2010Q4-base:1.6 pkgsrc-2010Q3:1.6.0.8 pkgsrc-2010Q3-base:1.6 pkgsrc-2010Q2:1.6.0.6 pkgsrc-2010Q2-base:1.6 pkgsrc-2010Q1:1.6.0.4 pkgsrc-2010Q1-base:1.6 pkgsrc-2009Q4:1.6.0.2 pkgsrc-2009Q4-base:1.6 pkgsrc-2009Q3:1.5.0.2 pkgsrc-2009Q3-base:1.5 pkgsrc-2009Q2:1.4.0.2 pkgsrc-2009Q2-base:1.4 pkgsrc-2009Q1:1.3.0.28 pkgsrc-2009Q1-base:1.3 pkgsrc-2008Q4:1.3.0.26 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.24 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.22 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.20 pkgsrc-2008Q2-base:1.3 cwrapper:1.3.0.18 pkgsrc-2008Q1:1.3.0.16 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.14 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.12 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.10 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.8 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.6 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.4 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.2 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.2.0.20 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.2.0.18 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.2.0.16 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.14 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.12 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.10 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.8 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.6 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.4 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.2.0.2 pkgsrc-2003Q4-base:1.2 buildlink2-base:1.2 netbsd-1-5-PATCH001:1.1 netbsd-1-5-RELEASE:1.1 netbsd-1-4-PATCH003:1.1; locks; strict; comment @# @; 1.7 date 2017.10.03.15.09.36; author wiz; state dead; branches; next 1.6; commitid s2GDYUjZ3nvEnC9A; 1.6 date 2009.11.04.15.34.08; author gdt; state Exp; branches; next 1.5; 1.5 date 2009.07.20.03.53.10; author hasso; state Exp; branches; next 1.4; 1.4 date 2009.06.22.18.29.33; author drochner; state Exp; branches; next 1.3; 1.3 date 2006.06.02.12.13.03; author rillig; state Exp; branches; next 1.2; 1.2 date 2001.08.09.15.35.44; author tron; state dead; branches; next 1.1; 1.1 date 2000.06.29.07.20.41; author tron; state Exp; branches; next ; desc @@ 1.7 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-ae,v 1.6 2009/11/04 15:34:08 gdt Exp $ --- fig.h.orig 2008-05-27 13:39:00.000000000 -0400 +++ fig.h @@@@ -347,7 +347,11 @@@@ extern char *getenv(); #define signof(a) (((a) < 0) ? -1 : 1) #ifdef USE_INLINE +# if defined(__SUNPRO_C) +# define INLINE inline +# else #define INLINE __inline +# endif #else #define INLINE #endif /* USE_INLINE */ @@@@ -365,7 +369,7 @@@@ extern double drand48(); #define random() lrand48() #define frandom() drand48() -#elif defined(BSD) /* not SYSV/SVR4, check for BSD */ +#elif defined(BSD) || defined(__NetBSD__) /* not SYSV/SVR4, check for BSD */ #define srandom(seed) srand48((long)(seed)) #define random() lrand48() #define frandom() drand48() @@@@ -374,7 +378,7 @@@@ extern double drand48(); extern long random(); extern void srandom(unsigned int); -#elif !defined(__osf__) && !defined(__CYGWIN__) && !defined(linux) && !defined(__FreeBSD__) && !defined(__GLIBC__) +#elif !defined(__osf__) && !defined(__CYGWIN__) && !defined(linux) && !defined(__FreeBSD__) && !defined(__GLIBC__) && !defined(__DragonFly__) && !defined(__DARWIN__) extern void srandom(int); #endif @ 1.6 log @Extend patch to not declare srandom also for Darwin. From Liz Libby in private mail. @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.5 2009/07/20 03:53:10 hasso Exp $ @ 1.5 log @Make it build on recent DragonFly. @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.4 2009/06/22 18:29:33 drochner Exp $ d3 2 a4 2 --- fig.h.orig 2008-05-27 20:39:00 +0300 +++ fig.h 2009-07-19 22:14:08 +0300 d31 1 a31 1 +#elif !defined(__osf__) && !defined(__CYGWIN__) && !defined(linux) && !defined(__FreeBSD__) && !defined(__GLIBC__) && !defined(__DragonFly__) @ 1.4 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$ d3 3 a5 3 --- fig.h.orig 2006-02-24 21:15:16.000000000 +0100 +++ fig.h @@@@ -356,7 +356,11 @@@@ extern char *getenv(); d17 1 a17 1 @@@@ -374,7 +378,7 @@@@ extern double drand48(); d26 9 @ 1.3 log @Made the package build with SunPro. Removed *.orig from the PLIST. Fixed some pkglint warnings. Bumped PKGREVISION. @ text @d3 3 a5 5 SunPro does not understand __inline, only inline. --- fig.h.orig 2004-01-06 20:47:36.000000000 +0100 +++ fig.h 2006-06-02 12:41:17.122524864 +0200 @@@@ -353,7 +353,11 @@@@ extern char *getenv(); d17 9 @ 1.2 log @Remove patches obsoleted by update to version 3.2.3.4. @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.1 2000/06/29 07:20:41 tron Exp $ d3 6 a8 12 --- w_file.c.orig Tue Jan 11 14:03:33 2000 +++ w_file.c Mon Jun 12 12:18:40 2000 @@@@ -1206,8 +1206,10 @@@@ reset_layers(); /* save user colors in case preview changes them */ - save_user_colors(); - save_nuser_colors(); + if (!user_colors_saved) { + save_user_colors(); + save_nuser_colors(); + } d10 9 a18 6 /* make the cancel button sensitive */ XtSetSensitive(preview_stop, True); >Release-Note: >Audit-Trail: >Unformatted: @ 1.1 log @Fix saving of user-defined colors. Patches by Brian Smith supplied in PR pkg/10470 by Jim Bernard. @ text @d1 1 a1 1 $NetBSD$ @