summaryrefslogtreecommitdiff
path: root/graphics/xfig
AgeCommit message (Collapse)AuthorFilesLines
2022-12-07xfig: update to 3.2.8b.fcambus2-6/+6
Patchlevel 8b (Aug 2021) BUGS FIXED: o Adding points to splines works if boxes are present in the figure. o Stay in the working directory when browsing picture files.
2021-10-26graphics: Replace RMD160 checksums with BLAKE2s checksumsnia1-2/+2
All checksums have been double-checked against existing RMD160 and SHA512 hashes
2021-10-07graphics: Remove SHA1 hashes for distfilesnia1-2/+1
2021-07-21xfig: update to 3.2.8a.fcambus2-7/+7
Patchlevel 8a (Mar 2021) BUGS FIXED: o Distribute a current pdf documentation. Thanks to Roland Rosenfeld for the script and pointing out the issue.
2021-04-02xfig: update to 3.2.8.fcambus3-15/+8
Patchlevel 8 (Dez 2020) USER INTERFACE CHANGES: o Shift + Wheel Up pans left, Shift + Wheel Down pans right. Alt or Meta + Wheel Up pops up the edit panel, Alt or Meta + Wheel Down pops up the drawing panel. Previously, Shift + Wheel Up or Down popped up the edit or drawing panel, respectively, and panning sideways could only be achieved by moving the wheel sideways. NEW FEATURES: o To display gif image files, either giftopnm and ppmtopcx from the netpbm package, imagemagick, or graphicsmagick must be installed. o Obey the resolution given in embedded png, tiff and jpeg image files. o Embedded image files are displayed in full color, not reduced to a maximum of 256 colors. o Display embedded pdf files. BUGS FIXED: o Read version 1.3 fig files. o The default resolution of embedded raster images is changed from 80 dpi to 72 dpi. o Read compressed files, but do not silently uncompress them. o Get correct bounding box (/MediaBox) of embedded pdf files.
2020-08-19This needs netpbm (to build a pixmap file) in the build phase.bouyer1-1/+2
2020-05-30Update xfig to version 3.2.7b.he7-1101/+1108
Pkgsrc changes: * Remove patches integrated upstream. * No longer need the "-full" dance. * Add license setting, it's similar to mit Upstream changes: =========== Version 3.2 =========== Patchlevel 7b (Oct 2019) NEW FEATURES: o New drawings in Electronic/Schematic library. Thanks to Niko Sauer. BUGS FIXED: Ticket numbers refer to https://sourceforge.net/p/mcj/tickets/#. o When exiting, cleanly pull down all windows. Ticket #54. o Adding and deleting arrows to arcs works, ticket #46. o Allow more than 100 comment lines, ticket #47. o Make `xfig -update' work again, would segfault. o Correctly draw interpolated splines, ticket #35. o Position points on grid, if appres.userspacing unequal 1. Ticket #31. ----------------------------------- Patchlevel 7a (May 2018) BUGS FIXED: Ticket numbers refer to https://sourceforge.net/p/mcj/tickets/#. Debian bug numbers refer to https://bugs.debian.org/#. o Really fix ticket #9, debian bug #270113. When entering the "Open.." dialog, moving to a new directory, pressing Cancel, a subsequent "Save" placed the figure file into the new directory. ----------------------------------- Patchlevel 7 (April 2018) NEW FEATURES: o Export to pdf now allows to choose between output to a full-page pdf, or cropping to the bounding box (the default behavior). o Enable horizontal scrolling with mouse buttons 6 and 7 (sideway push of mouse wheel, or horizontal movement on touchpad). CHANGES: o Rename the text flag "Special Flag" to "TeX Flag". o Interpolated splines are now created with the recommended value of the shape factor of -0.5, not with -1.0. A description of the shape factor as used in xfig has been added in the file doc/FORMAT3.2 BUGS FIXED: Ticket numbers refer to https://sourceforge.net/p/mcj/tickets/#. Debian bug numbers refer to https://bugs.debian.org/#. o Center canvas around cursor when zooming by pressing CTRL and using a wheel-mouse. o Apply xfig-3.2.6a-fallback-for-nonscalable-fonts.patch and xfig-3.2.6a-scalable-fonts.patch from Hans de Goede. o Apply debian patches 08_every_time.patch, 10_RELEASE_DATE.patch, 11_declare_swap_colors.patch, from Roland Rosenfeld. o Apply debian patch 07_colorsliderarrows.patch. Debian bug #870365. o Change map of India to disputed boundaries, from https://en.wikipedia.org/wiki/File:India_disputed_areas_map.svg, retrieved 2018-02-25. Debian bug #270799, 09_india_disputed.patch o Prevent integer overflow in {floor,ceil}_coords_{x,y}(). Fixes debian bug #300436. Also prevent integer overflow in round_coords(). o Completely remove alloca.h and alloca() from the code. o When entering the "Save as..." dialog, moving to a new directory and pressing "Cancel", a subsequent "Save" wrote to the new directory. This happened analogously for the "Export" dialog. Fixed, ticket #9.
2020-05-20mark packages that fail with -Werror=char-subscriptsrillig1-1/+7
These packages are susceptible to bugs when confronted with non-ASCII characters. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94182. It takes some time to analyze and fix these individually, therefore they are only marked as "needs work".
2020-03-20*: Convert broken sourceforge HOMEPAGEs back to httpnia1-2/+2
2020-01-18all: migrate several HOMEPAGEs to httpsrillig1-2/+2
pkglint --only "https instead of http" -r -F With manual adjustments afterwards since pkglint 19.4.4 fixed a few indentations in unrelated lines. This mainly affects projects hosted at SourceForce, as well as freedesktop.org, CTAN and GNU.
2019-11-02graphics: align variable assignmentsrillig1-2/+2
pkglint -Wall -F --only aligned --only indent -r No manual corrections.
2019-06-21xfig: update to 3.2.6anb1.wiz2-3/+6
Use pkgsrc standard app-defaults dir. From "John D. Baker" <jdbaker@consolidated.net> on pkgsrc-users. Bump PKGREVISION.
2017-10-04xfig: Add upstream bug report.wiz5-9/+13
2017-10-03xfig: update to 3.2.6a.wiz26-3221/+2608
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
2015-11-03Add SHA512 digests for distfiles for graphics categoryagc1-1/+2
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-10-14Switch from x11/Xaw3d to newer x11/libXaw3d.wiz4-7/+44
Adapt some packages so they build with that. Bump their PKGREVISIONs.
2015-07-04Remove USE_X11BASE and X11PREFIX.joerg1-2/+2
2014-03-18Add stronger accomodation for broken modes in distfile.gdt1-1/+2
On OS X 10.9, the find command to repair directory modes fails, apparently because the directory is 600, without even the owner x bit. Add an extra chmod to fix that before the find. (No PKGREVISION++, because the binary package will be unchanged if it built before.)
2013-02-16Recursive bump for png-1.6.wiz1-2/+2
2012-12-24Fix void usage.joerg7-4/+127
2012-10-06Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.asau1-3/+1
2011-11-29don't bl3 libXp explicitely where it is just meant as indirectdrochner1-2/+1
dependency of an Xaw variant -- if at all, this will be handled by the Xaw bl3 file
2011-02-17Dont try to explicitly set MANDIR in the Imakefile - gets it wrong onmarkd2-4/+9
some systems.
2011-01-19being here, add a patch fromdrochner3-3/+28
https://bugzilla.redhat.com/show_bug.cgi?id=659676 to fix a possible puffer overflow (CVE-2010-4262) bump PKGREVISION
2011-01-19fix build with png-1.5drochner3-1/+74
2011-01-13png shlib name changed for png>=1.5.0, so bump PKGREVISIONs.wiz1-2/+2
2010-12-23Mechanically replace references to graphics/jpeg with the suitabledsainty1-2/+2
alternative from mk/jpeg.buildlink3.mk This allows selection of an alternative jpeg library (namely the x86 MMX, SSE, SSE2 accelerated libjpeg-turbo) via JPEG_DEFAULT=libjpeg-turbo, and follows the current standard model for alternatives (fam, motif, fuse etc). The mechanical edits were applied via the following script: #!/bin/sh for d in */*; do [ -d "$d" ] || continue for i in "$d/"Makefile* "$d/"*.mk; do case "$i" in *.orig|*"*"*) continue;; esac out="$d/x" sed -e 's;graphics/jpeg/buildlink3\.mk;mk/jpeg.buildlink3.mk;g' \ -e 's;BUILDLINK_PREFIX\.jpeg;JPEGBASE;g' \ < "$i" > "$out" if cmp -s "$i" "$out"; then rm -f "$out" else echo "Edited $i" mv -f "$i" "$i.orig" && mv "$out" "$i" fi done done
2010-06-13Bump PKGREVISION for libpng shlib name change.wiz1-2/+2
Also add some patches to remove use of deprecated symbols and fix other problems when looking for or compiling against libpng-1.4.x.
2010-01-18Second try at jpeg-8 recursive PKGREVISION bump.wiz1-2/+2
2009-12-23add a patch fromdrochner3-3/+57
https://bugzilla.redhat.com/show_bug.cgi?id=543905 to fix CVE-2009-4227 (Stack-based buffer overflow by loading malformed .FIG files)
2009-11-30Reenable I18N.itohy2-5/+74
Bump PKGREVISION.
2009-11-24Add USE_DESTDIR support.obache1-3/+7
While here, fixes permissions for documents in post-extract stage to allow access by unprivilaged users, and it should resolve PR 42366. Bump PKGREVISION.
2009-11-04Extend patch to not declare srandom also for Darwin. From Liz Libbygdt2-6/+6
in private mail.
2009-08-26bump revision because of graphics/jpeg updatesno1-2/+2
2009-08-11Fix PLIST for platforms !NetBSD. Bump PKGREVISION.hasso2-3/+4
2009-07-20Make it build on recent DragonFly.hasso2-7/+16
2009-06-22update to 3.2.5bdrochner14-1178/+1128
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-14Remove @dirrm entries from PLISTsjoerg1-94/+1
2008-11-10Bump PKGREVISION for libXaw API depends bump due to libXaw8 removal.wiz1-2/+2
2008-02-06Add missing #include to make it work on amd64smb3-3/+16
2008-01-19Reset maintainer on his request.wiz1-2/+2
2007-02-02Modular Xorg support.joerg1-2/+3
2006-12-15Mechanically replace all includes of buildlink3.mk of the followingjoerg1-2/+2
packages with the modular Xorg equivalent. Those are falling back to the old location by default, so this commmit doesn't change dependencies. graphics/xpm ==> x11/libXpm fonts/Xft2 ==> x11/libXft x11/Xfixes ==> x11/libXfixes x11/xcursor ==> x11/libXcursor x11/Xrender ==> x11/libXrender x11/Xrandr ==> libXrandr
2006-11-16When passing files to gunzip make sure they don't get mistaken as options.markd4-7/+63
Problem noted by Greg Woods in personal email. Bump PKGREVISION.
2006-06-30Declare structures before using the in extern declarations to maketron2-1/+26
this build with GCC 4.x.
2006-06-02Made the package build with SunPro. Removed *.orig from the PLIST. Fixedrillig4-23/+39
some pkglint warnings. Bumped PKGREVISION.
2006-04-17Bump BUILDLINK_ABI_DEPENDS.png and PKGREVISION for png-1.2.9nb2 update.wiz1-2/+2
2006-04-06Over 1200 files touched but no revisions bumped :)reed1-2/+2
RECOMMENDED is removed. It becomes ABI_DEPENDS. BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo. BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo. BUILDLINK_DEPENDS does not change. IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS which defaults to "yes". Added to obsolete.mk checking for IGNORE_RECOMMENDED. I did not manually go through and fix any aesthetic tab/spacing issues. I have tested the above patch on DragonFly building and packaging subversion and pkglint and their many dependencies. I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I have used IGNORE_RECOMMENDED for a long time). I have been an active user of IGNORE_RECOMMENDED since it was available. As suggested, I removed the documentation sentences suggesting bumping for "security" issues. As discussed on tech-pkg. I will commit to revbump, pkglint, pkg_install, createbuildlink separately. Note that if you use wip, it will fail! I will commit to pkgsrc-wip later (within day).
2006-02-05Recursive revision bump / recommended bump for gettext ABI change.joerg1-2/+2
2006-02-04Fix installing of xfig Library files that start with "-", such as thosemarkd4-18/+401
in Libraries/Electronic/Schematic/More/simple_device-inch. Fix PLIST, bump PKGREVISION.