head 1.7; access; symbols pkgsrc-2016Q1:1.6.0.48 pkgsrc-2016Q1-base:1.6 pkgsrc-2015Q4:1.6.0.46 pkgsrc-2015Q4-base:1.6 pkgsrc-2015Q3:1.6.0.44 pkgsrc-2015Q3-base:1.6 pkgsrc-2015Q2:1.6.0.42 pkgsrc-2015Q2-base:1.6 pkgsrc-2015Q1:1.6.0.40 pkgsrc-2015Q1-base:1.6 pkgsrc-2014Q4:1.6.0.38 pkgsrc-2014Q4-base:1.6 pkgsrc-2014Q3:1.6.0.36 pkgsrc-2014Q3-base:1.6 pkgsrc-2014Q2:1.6.0.34 pkgsrc-2014Q2-base:1.6 pkgsrc-2014Q1:1.6.0.32 pkgsrc-2014Q1-base:1.6 pkgsrc-2013Q4:1.6.0.30 pkgsrc-2013Q4-base:1.6 pkgsrc-2013Q3:1.6.0.28 pkgsrc-2013Q3-base:1.6 pkgsrc-2013Q2:1.6.0.26 pkgsrc-2013Q2-base:1.6 pkgsrc-2013Q1:1.6.0.24 pkgsrc-2013Q1-base:1.6 pkgsrc-2012Q4:1.6.0.22 pkgsrc-2012Q4-base:1.6 pkgsrc-2012Q3:1.6.0.20 pkgsrc-2012Q3-base:1.6 pkgsrc-2012Q2:1.6.0.18 pkgsrc-2012Q2-base:1.6 pkgsrc-2012Q1:1.6.0.16 pkgsrc-2012Q1-base:1.6 pkgsrc-2011Q4:1.6.0.14 pkgsrc-2011Q4-base:1.6 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.28 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.26 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.24 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.22 pkgsrc-2008Q2-base:1.4 cwrapper:1.4.0.20 pkgsrc-2008Q1:1.4.0.18 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.16 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.14 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.12 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.10 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.8 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.6 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.4 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.2 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.3.0.4 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.3.0.2 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.2.0.22 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.20 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.18 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.16 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.14 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.12 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.2.0.10 pkgsrc-2003Q4-base:1.2 netbsd-1-6-1:1.2.0.6 netbsd-1-6-1-base:1.2 netbsd-1-6:1.2.0.8 netbsd-1-6-RELEASE-base:1.2 pkgviews:1.2.0.4 pkgviews-base:1.2 buildlink2:1.2.0.2 buildlink2-base:1.2 netbsd-1-5-PATCH003:1.1.1.1 netbsd-1-5-PATCH001:1.1.1.1 netbsd-1-5-RELEASE:1.1.1.1 netbsd-1-4-PATCH003:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.7 date 2016.05.16.20.17.32; author adam; state dead; branches; next 1.6; commitid cHR2XekiOiRVjK6z; 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.12.28.17.27.28; author joerg; state Exp; branches; next 1.3; 1.3 date 2005.08.26.09.29.00; author drochner; state dead; branches; next 1.2; 1.2 date 2002.05.07.13.18.27; author itohy; 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.7 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-aa,v 1.6 2010/04/13 06:53:20 obache Exp $ --- src/Makefile.am.orig 2009-08-13 08:13:53.000000000 +0000 +++ src/Makefile.am @@@@ -130,7 +130,7 @@@@ libpstoedit_la_SOURCES = \ genericints.h \ version.h -libpstoedit_la_LIBADD = ${CXX_STD_LIB} ${CXX_RUNTIME_LIB} -ldl -lm +libpstoedit_la_LIBADD = ${CXX_STD_LIB} ${CXX_RUNTIME_LIB} -lm libpstoedit_la_LDFLAGS = -no-undefined pstoedit_SOURCES = cmdmain.cpp @ 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-aa,v 1.5 2009/03/10 03:29:37 dmcmahill Exp $ @ 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$ d3 1 a3 1 --- src/Makefile.am.orig 2007-07-08 10:52:54.000000000 +0000 d5 1 a5 1 @@@@ -103,7 +103,7 @@@@ libpstoedit_la_SOURCES = \ d9 2 a10 2 -libpstoedit_la_LIBADD = ${CXX_STD_LIB} ${CXX_RUNTIME_LIB} -ldl +libpstoedit_la_LIBADD = ${CXX_STD_LIB} ${CXX_RUNTIME_LIB} @ 1.4 log @Include unistd.h for mkstemp on DragonFly. @ text @d3 5 a7 3 --- src/drvasy.cpp.orig 2005-12-28 17:12:36.000000000 +0000 +++ src/drvasy.cpp @@@@ -37,6 +37,7 @@@@ d9 3 a11 4 #include // PATH_MAX for MSVC #include // Need definition of ispunct() +#include // Need defintion of mkstemp() #include d13 1 a13 1 #if !(defined(unix) || defined(__unix__) || defined(_unix) || defined(__unix) || defined(__EMX__) || defined (NetBSD) ) @ 1.3 log @remove stale patchfiles @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.2 2002/05/07 13:18:27 itohy Exp $ d3 3 a5 5 --- configure.in.orig Sat Dec 29 01:34:30 2001 +++ configure.in Fri Mar 22 13:15:31 2002 @@@@ -19,6 +19,15 @@@@ AC_PROG_INSTALL AC_PATH_PROG(GS,gs,gs) d7 6 a12 12 +dnl Look for extra libraries used by libplotter +AC_PATH_XTRA +AC_SUBST(X_CFLAGS) +DEPLIBS="`$LIBTOOL -n cc -o xx xx.o $LIBPLOTTERLA | tr ' ' '\012' | sed -e '/^-[[LWl]]/!d' -e '/^-lplotter$/d' | tr '\012' ' '`" + +LDLIBS="$DEPLIBS $LDLIBS" +LIBS="$DEPLIBS" +CPPFLAGS="$X_CFLAGS $CPPFLAGS" + dnl Look for various optional libraries. AC_CHECK_LIB(dl,main,[LDL=-ldl],[LDL=]) AC_SUBST(LDL) @ 1.2 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-aa,v 1.1.1.1 2000/07/18 07:46:40 itohy Exp $ @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 3 --- configure.in.orig Tue May 2 05:02:00 2000 +++ configure.in Sat Jun 24 19:30:17 2000 @@@@ -18,6 +18,21 @@@@ d9 1 a9 1 +dnl X11 support. Stolen from plotutils. d12 1 a12 5 +AC_SUBST(X_LIBS) +AC_SUBST(X_TOOLKIT_LIBS) +AC_SUBST(X_PRE_LIBS) +AC_SUBST(X_BASIC_LIBS) +AC_SUBST(X_EXTRA_LIBS) d14 2 a15 4 +X_TOOLKIT_LIBS="-lXaw -lXmu -lXt" +X_BASIC_LIBS="-lXext -lX11" + +LDFLAGS="$X_LIBS $LDFLAGS" @ 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 @@