head 1.8; access; symbols pkgsrc-2016Q1:1.7.0.36 pkgsrc-2016Q1-base:1.7 pkgsrc-2015Q4:1.7.0.34 pkgsrc-2015Q4-base:1.7 pkgsrc-2015Q3:1.7.0.32 pkgsrc-2015Q3-base:1.7 pkgsrc-2015Q2:1.7.0.30 pkgsrc-2015Q2-base:1.7 pkgsrc-2015Q1:1.7.0.28 pkgsrc-2015Q1-base:1.7 pkgsrc-2014Q4:1.7.0.26 pkgsrc-2014Q4-base:1.7 pkgsrc-2014Q3:1.7.0.24 pkgsrc-2014Q3-base:1.7 pkgsrc-2014Q2:1.7.0.22 pkgsrc-2014Q2-base:1.7 pkgsrc-2014Q1:1.7.0.20 pkgsrc-2014Q1-base:1.7 pkgsrc-2013Q4:1.7.0.18 pkgsrc-2013Q4-base:1.7 pkgsrc-2013Q3:1.7.0.16 pkgsrc-2013Q3-base:1.7 pkgsrc-2013Q2:1.7.0.14 pkgsrc-2013Q2-base:1.7 pkgsrc-2013Q1:1.7.0.12 pkgsrc-2013Q1-base:1.7 pkgsrc-2012Q4:1.7.0.10 pkgsrc-2012Q4-base:1.7 pkgsrc-2012Q3:1.7.0.8 pkgsrc-2012Q3-base:1.7 pkgsrc-2012Q2:1.7.0.6 pkgsrc-2012Q2-base:1.7 pkgsrc-2012Q1:1.7.0.4 pkgsrc-2012Q1-base:1.7 pkgsrc-2011Q4:1.7.0.2 pkgsrc-2011Q4-base:1.7 pkgsrc-2011Q3:1.6.0.12 pkgsrc-2011Q3-base:1.6 pkgsrc-2011Q2:1.6.0.10 pkgsrc-2011Q2-base:1.6 pkgsrc-2011Q1:1.6.0.8 pkgsrc-2011Q1-base:1.6 pkgsrc-2010Q4:1.6.0.6 pkgsrc-2010Q4-base:1.6 pkgsrc-2010Q3:1.6.0.4 pkgsrc-2010Q3-base:1.6 pkgsrc-2010Q2:1.6.0.2 pkgsrc-2010Q2-base:1.6 pkgsrc-2010Q1:1.5.0.10 pkgsrc-2010Q1-base:1.5 pkgsrc-2009Q4:1.5.0.8 pkgsrc-2009Q4-base:1.5 pkgsrc-2009Q3:1.5.0.6 pkgsrc-2009Q3-base:1.5 pkgsrc-2009Q2:1.5.0.4 pkgsrc-2009Q2-base:1.5 pkgsrc-2009Q1:1.5.0.2 pkgsrc-2009Q1-base:1.5 pkgsrc-2008Q4:1.4.0.30 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.28 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.26 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.24 pkgsrc-2008Q2-base:1.4 pkgsrc-2008Q1:1.4.0.22 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.20 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.18 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.16 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.14 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.12 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.10 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.8 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.6 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.4 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.2 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.3.0.22 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.3.0.20 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.18 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.3.0.16 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.14 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.3.0.12 pkgsrc-2004Q1-base:1.3 pkgsrc-2003Q4:1.3.0.10 pkgsrc-2003Q4-base:1.3 netbsd-1-6-1:1.3.0.6 netbsd-1-6-1-base:1.3 netbsd-1-6:1.3.0.8 netbsd-1-6-RELEASE-base:1.3 pkgviews:1.3.0.4 pkgviews-base:1.3 buildlink2:1.3.0.2 buildlink2-base:1.3 netbsd-1-5-PATCH003:1.2 netbsd-1-5-PATCH001:1.2 netbsd-1-5-RELEASE:1.2 netbsd-1-4-PATCH003:1.2 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.8 date 2016.05.16.20.17.10; author adam; state dead; branches; next 1.7; commitid nVahlDYkadbIjK6z; 1.7 date 2011.11.30.21.07.20; author wiz; state Exp; branches; next 1.6; 1.6 date 2010.04.13.06.53.20; author obache; state Exp; branches; next 1.5; 1.5 date 2009.03.10.03.29.37; author dmcmahill; state Exp; branches; next 1.4; 1.4 date 2005.08.26.09.29.00; author drochner; state dead; branches; next 1.3; 1.3 date 2002.05.07.13.18.27; author itohy; state Exp; branches; next 1.2; 1.2 date 2000.08.25.00.17.06; author wiz; state Exp; branches; next 1.1; 1.1 date 2000.07.18.07.46.40; author itohy; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2000.07.18.07.46.40; author itohy; state Exp; branches; next ; desc @@ 1.8 log @New or changed in 3.70: some code improvements as suggested by Coverity. See current Coverity status here: https://scan.coverity.com/projects/498 removed the -DBUGGYGPP compile flag since now g++ can compile the code without it. The former work-arounds are still there but will be removed later. enabled more warnings when compiling with g++ and fixed some resulting warnings. changed the autoconf part to better support the inclusion of libzip for the pptx driver. included a lot of documentation corrections contributed by Peter Dyballa. Many thanks! using non case sensitive comparison when determining the target format from the file suffix. using more STL classes instead of older private replacements (string and vector). In this context also some hard coded limits were removed. fixed an assertion violation when using -ssp and a closepath occurred. added the dump of the font name for the DXF format. prototype of a "simulate fill" option for emulating filling by stroking. This is based on fillpoly.c from the hp2xx project. Thanks also to Gary Langthorne for pointing out this option. This is still kind of experimental. @ text @$NetBSD: patch-ac,v 1.7 2011/11/30 21:07:20 wiz Exp $ Avoid this: /usr/pkgsrc/graphics/pstoedit/work/.buildlink/include/ImageMagick/magick/magick-type.h:120: error: ISO C++ does not support 'long long' /usr/pkgsrc/graphics/pstoedit/work/.buildlink/include/ImageMagick/magick/magick-type.h:121: error: ISO C++ does not support 'long long' on alpha (and probably others) --- configure.orig 2011-08-27 15:27:42.000000000 +0000 +++ configure @@@@ -16859,7 +16859,7 @@@@ $as_echo "GNU on RiscOS" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: GNU" >&5 $as_echo "GNU" >&6; } # need to disable long long warning here because of ImageMagick using it - SPECIAL_CXXFLAGS="-DBUGGYGPP -pedantic -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wno-long-long " + SPECIAL_CXXFLAGS="-DBUGGYGPP -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wno-long-long " fi elif test `echo "$CXX" | egrep -c 'xlC$'` -eq 1; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: AIX xlC" >&5 @ 1.7 log @Update to 3.60: New or changed in 3.60: added option (-minlinewidth) for adjusting very thin (e.g. zero-width) lines to a minimal width. added an option (-pslanguagelevel) for easy switching the language level to be used by GhostScript during interpretation of the PostScript/PDF file. new driver for the "Context Free" drawing tool (http://www.contextfreeart.org/ ) contributed by Scott Pakin. fixed the windows binary version - some drivers were missing. fixed some problems in handling composite fonts (FontType = 0) windows 32 bit binary can call 64 bit ghostscript as exe (i.e. not via DLL interface) support for 64 bit windows and Office 2010 @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.6 2010/04/13 06:53:20 obache Exp $ @ 1.6 log @Update pstoedit to 3.50. While here, remove restriction, it's "please", not "have to". see: http://packages.debian.org/changelogs/pool/main/p/pstoedit/pstoedit_3.45-8/pstoedit.copyright New or changed in 3.50: * added an option (-gs) to specify the full path to GhostScript (under Windows - either the .exe or the DLL). This can be used by portable applications to direct pstoedit to use a specific GhostScript version. * Stanislav Brabec contributed several improvements to the PCB driver. See http://www.penguin.cz/~utx/pstoedit-pcb/ on how these can be useful. * Scott Pakin submitted several improvements to the mpost driver and the font substitution mechanism. * new driver for .vtk files e.g. for ParaView - http://www.paraview.org/ - but this is still a very basic version. Thanks to Mitesh Patel for initiating and testing. * new driver for cairo (http://cairographics.org/ ) contributed by Dan McMahill. This driver generates C-code which can be compiled and linked against the cairo libraries. See the contrib/cairo directory for an example. * several improvements on the DXF driver as suggested and sponsored by Markus Meyer. * because pstoedit may write its output to stdout, all output written by GhostScript to stdout is now redirected to stderr in order to avoid mixed output. * added a -q option to suppress the initial startup message of pstoedit. This can by useful when being called via a pipe, e.g. from inkscape. However, note that this does not suppress all output written to stderr - see also note above. * John Bowman fixed a number of problems related to clipping and image support for the Asymptote backend. * fixed a compilation problem with g++ V4.x. * new driver for gcode (.ngc files) (tested with emc see http://linuxcnc.org). Contributed by Lawrence Glaister. * some adaptations for newer versions of libming * fixed a line width problem for xfig format. * corrected the broken pstoedit.m4 - thanks to Ian Abbott * some minor code beautifying. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.5 2009/03/10 03:29:37 dmcmahill Exp $ d10 1 a10 1 --- configure.orig 2009-08-13 08:18:46.000000000 +0000 d12 2 a13 2 @@@@ -18160,7 +18160,7 @@@@ $as_echo "GNU on RiscOS" >&6; } { $as_echo "$as_me:$LINENO: result: GNU" >&5 a18 1 CXXFLAGS="-g" d20 1 @ 1.5 log @update to pstoedit-3.45 New or changed in 3.45: * Some minor corrections of warnings issued by Coverity Prevent (security related checks). * fixed a bug in the fig backend related to dotted lines. * added better support for pagesize handling in the driver framework. * better handling of fonts using 0 encoded characters (thanks to Vladimir Eltsov) * fixed a problem which caused newer versions of GhostScript to go into an endless loop. New or changed in 3.44: * hotfix for the Aysmptote driver to make it compatible with Aysmptote version 1.00. * removed some diagnostic messages concerning temporary file handling. * removed the pstoedit-config.* since this is replaced by the pkg-config file pstoedit.pc. New or changed in 3.43: * some usability improvements as proposed in Debian Bug Report #347732 [1]http://groups.google.com/group/linux.debian.bugs.dist/msg/c38e1f 79d75b3152?dmode=source&hl=de * cleaned some minor problems found by the Klocwork checker ([2]www.klocwork.com ) * replaced tempnam with mkstemp where available. * replaced several string related functions with the secure versions where available (Windows - VC++2005) * switched back again to calling GhostScript as .exe instead of via the DLL in case pstoedit is called via gsview. Reason - there can be only one instance of GhostScript per process and gsview needs a second instance. * a new driver for the OpenOffice metafile format (drvsvm) contributed by Thorsten Behrens. * source code cleanup considering messages issued by Gimpel's FlexeLint/PC-Lint ([3]www.gimpel.com ). * added a "-glyphs" option. Given this option, the PostScript frontend passes also (if possible) the glyph names to the backend. However, so far no backend really uses the glyph names. This is only a preparation for future work. * changed the way how Image/Graphicmagick is handled by configure. Now configure tries to use pkg-config as proposed by the maintainer of the Debian version of pstoedit (Ray Dassen). * included a further patch for the Aysmptote driver. @ text @d1 1 a1 1 $NetBSD$ d10 1 a10 1 --- configure.orig 2007-08-10 20:26:10.000000000 +0000 d12 6 a17 6 @@@@ -22282,7 +22282,7 @@@@ echo "${ECHO_T}GNU on RiscOS" >&6; } else { echo "$as_me:$LINENO: result: GNU" >&5 echo "${ECHO_T}GNU" >&6; } - SPECIAL_CXXFLAGS="-DBUGGYGPP -pedantic -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith " + SPECIAL_CXXFLAGS="-DBUGGYGPP -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith " @ 1.4 log @remove stale patchfiles @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.3 2002/05/07 13:18:27 itohy Exp $ d3 18 a20 20 --- Makefile.in.orig Sat Dec 29 01:34:06 2001 +++ Makefile.in Fri Mar 22 11:19:23 2002 @@@@ -19,7 +19,7 @@@@ GS=@@GS@@ # Choose a compiler + linker -CXXFLAGS=@@CXXFLAGS@@ +CXXFLAGS=@@CXXFLAGS@@ @@X_CFLAGS@@ CCC=@@CXX@@ @@SPECIAL_CXXFLAGS@@ LDLIBS=$(LOCALLIBS) @@LDLIBS@@ -lm @@LDL@@ LINK=@@LINK@@ @@@@ -71,7 +71,7 @@@@ #LOCALDEFINES=-DHAVE_LIBPLOTTER -I/path/to/plotter.h # add -DOLD_LIBPLOTTER for libplot older than 2.3 LOCALDEFINES=@@PLOTCOMPILEFLAGS@@ @@MINGCOMPILEFLAGS@@ @@PNGCOMPILEFLAGS@@ -LOCALLIBS=-L/path/to/libplot @@LPLOTTER@@ @@LMING@@ @@PNGLINKFLAGS@@ +LOCALLIBS=-L${LOCALBASE}/lib -lplotter @@LPLOTTER@@ @@LMING@@ @@PNGLINKFLAGS@@ ############################################################# ## IRIX 5.3 @ 1.3 log @Update pstoedit to 3.31. Approved by wiz. Tested compilation on i386 (a.out) and alpha (ELF). Note the usage of libtool is not normal. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.2 2000/08/25 00:17:06 wiz Exp $ @ 1.2 log @fix compilation @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 12 --- Makefile.in.orig Sun Jul 2 19:18:37 2000 +++ Makefile.in @@@@ -6,6 +6,7 @@@@ prefix=@@prefix@@ exec_prefix=@@exec_prefix@@ bindir=@@bindir@@ +datadir=@@datadir@@ libdir=@@libdir@@ mandir=@@mandir@@ MANEXT=1 @@@@ -15,12 +16,16 @@@@ INSTALL=@@INSTALL@@ a7 3 +X_LIBS=@@X_LIBS@@ @@X_TOOLKIT_LIBS@@ @@X_PRE_LIBS@@ @@X_BASIC_LIBS@@ @@X_EXTRA_LIBS@@ +X_CFLAGS=@@X_CFLAGS@@ + d10 1 a10 1 +CXXFLAGS=@@CXXFLAGS@@ $(X_CFLAGS) d12 1 a12 2 -LDLIBS=$(LOCALLIBS) @@LDLIBS@@ -lm @@LDL@@ +LDLIBS=$(LOCALLIBS) @@LDLIBS@@ $(X_LIBS) -lm @@LDL@@ d14 1 a14 7 -CCFLAGS=-DDEFAULTGS=$(GS) $(CXXFLAGS) +CCFLAGS=-DDEFAULTGS=$(GS) $(CXXFLAGS) \ + -DPATH_DATADIR=\"$(datadir)\" -DPATH_PLUGINDIR=\"$(libdir)\" # uncommment one of the following CCC lines for Un*x like systems # For users of GNU g++ @@@@ -68,7 +73,7 @@@@ d17 3 a19 3 LOCALDEFINES=@@PLOTCOMPILEFLAGS@@ -LOCALLIBS=-L/path/to/libplot @@LPLOTTER@@ +LOCALLIBS=-L${LOCALBASE}/lib -lplotter @@LPLOTTER@@ a22 16 @@@@ -338,11 +343,11 @@@@ $(INSTALL_DIR) $(bindir); \ fi $(INSTALL_PROGRAM) pstoedit $(bindir) - if [ ! -d $(libdir) ] ; then \ - $(INSTALL_DIR) $(libdir); \ + if [ ! -d $(datadir) ] ; then \ + $(INSTALL_DIR) $(datadir); \ fi - $(INSTALL_DATA) ../misc/mpost.fmp $(libdir) - $(INSTALL_DATA) ../misc/latex2e.fmp $(libdir) + $(INSTALL_DATA) ../misc/mpost.fmp $(datadir) + $(INSTALL_DATA) ../misc/latex2e.fmp $(datadir) if [ ! -d $(MANDIR) ] ; then \ $(INSTALL_DIR) $(MANDIR); \ fi @ 1.1 log @Initial revision @ text @d3 2 a4 2 --- Makefile.in.orig Mon Jul 3 02:18:37 2000 +++ Makefile.in Sat Jul 15 01:55:35 2000 d33 9 @ 1.1.1.1 log @pstoedit, a converter from PostScript and PDF files to other vector graphic formats, including fig (xfig, transfig), tgif .obj, DXF (CAD exchange format), PIC (troff), LaTeX2e picture, and etc. Some files may not be converted. International characters may be broken into polylines and splines, but would be better than nothing. @ text @@