pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/pstoedit update to pstoedit-3.45



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b1f13d9a2837
branches:  trunk
changeset: 555827:b1f13d9a2837
user:      dmcmahill <dmcmahill%pkgsrc.org@localhost>
date:      Tue Mar 10 03:29:37 2009 +0000

description:
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.

diffstat:

 graphics/pstoedit/Makefile         |  17 ++++++++++++-----
 graphics/pstoedit/PLIST            |   7 +++++--
 graphics/pstoedit/distinfo         |  13 +++++++------
 graphics/pstoedit/patches/patch-aa |  19 ++++++++++---------
 graphics/pstoedit/patches/patch-ab |  13 +++++++++++++
 graphics/pstoedit/patches/patch-ac |  20 ++++++++++++++++++++
 graphics/pstoedit/patches/patch-ba |  32 --------------------------------
 7 files changed, 67 insertions(+), 54 deletions(-)

diffs (193 lines):

diff -r f1569c5dcfd8 -r b1f13d9a2837 graphics/pstoedit/Makefile
--- a/graphics/pstoedit/Makefile        Tue Mar 10 00:54:47 2009 +0000
+++ b/graphics/pstoedit/Makefile        Tue Mar 10 03:29:37 2009 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.38 2008/09/10 13:59:43 gdt Exp $
+# $NetBSD: Makefile,v 1.39 2009/03/10 03:29:37 dmcmahill Exp $
 
-DISTNAME=      pstoedit-3.41
-PKGREVISION=   2
+DISTNAME=      pstoedit-3.45
 CATEGORIES=    converters graphics print
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=pstoedit/}
 
@@ -21,14 +20,18 @@
 NO_SRC_ON_CDROM=       ${RESTRICTED}
 NO_BIN_ON_CDROM=       ${RESTRICTED}
 
-# XXX Avoid hard dependency on Ghostscript
-#USE_TOOLS+=   gs:run
+USE_TOOLS+=    gs:run
 
 USE_LIBTOOL=   yes
 USE_LANGUAGES= c c++
 GNU_CONFIGURE= yes
 CONFIGURE_ENV+=        CXXFLAGS="${CFLAGS} -Dunix"
 CONFIGURE_ENV+=        ac_cv_path_GS=${LOCALBASE}/bin/gs
+
+# needs libEMF which has build problems on alpha and probably
+# other 64-bit systems
+CONFIGURE_ARGS+=--without-emf
+
 CONFIGURE_ARGS+=--datadir=${PREFIX}/share
 CONFIGURE_ARGS+=--libdir=${PREFIX}/lib/pstoedit        # plugin dir -- unused for now
 BUILD_TARGET=
@@ -47,5 +50,9 @@
        done
        ${INSTALL_DATA} ${DOCSRC}/readme.txt    ${DESTDIR}${DOCDIR}
 
+.include "../../graphics/gd/buildlink3.mk"
+.include "../../graphics/ImageMagick/buildlink3.mk"
 .include "../../graphics/plotutils/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../..//multimedia/ming/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r f1569c5dcfd8 -r b1f13d9a2837 graphics/pstoedit/PLIST
--- a/graphics/pstoedit/PLIST   Tue Mar 10 00:54:47 2009 +0000
+++ b/graphics/pstoedit/PLIST   Tue Mar 10 03:29:37 2009 +0000
@@ -1,12 +1,13 @@
-@comment $NetBSD: PLIST,v 1.4 2005/08/12 19:29:29 drochner Exp $
+@comment $NetBSD: PLIST,v 1.5 2009/03/10 03:29:37 dmcmahill Exp $
 bin/pstoedit
-bin/pstoedit-config
 include/pstoedit/base64writer.h
 include/pstoedit/cppcomp.h
 include/pstoedit/drvbase.h
 include/pstoedit/drvfuncs.h
+include/pstoedit/genericints.h
 include/pstoedit/miscutil.h
 include/pstoedit/ordlist.h
+include/pstoedit/papersizes.h
 include/pstoedit/poptions.h
 include/pstoedit/psimage.h
 include/pstoedit/pstoedit.h
@@ -16,6 +17,8 @@
 lib/pstoedit/libpstoedit.la
 lib/pstoedit/pkgconfig/pstoedit.pc
 lib/pstoedit/pstoedit/libp2edrvlplot.la
+lib/pstoedit/pstoedit/libp2edrvmagick++.la
+lib/pstoedit/pstoedit/libp2edrvswf.la
 lib/pstoedit/pstoedit/libp2edrvstd.la
 share/aclocal/pstoedit.m4
 share/doc/html/pstoedit/changelog.htm
diff -r f1569c5dcfd8 -r b1f13d9a2837 graphics/pstoedit/distinfo
--- a/graphics/pstoedit/distinfo        Tue Mar 10 00:54:47 2009 +0000
+++ b/graphics/pstoedit/distinfo        Tue Mar 10 03:29:37 2009 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.11 2005/12/28 17:27:28 joerg Exp $
+$NetBSD: distinfo,v 1.12 2009/03/10 03:29:37 dmcmahill Exp $
 
-SHA1 (pstoedit-3.41.tar.gz) = 10a0a666c02eb5102f867744f6e75ee815b03aca
-RMD160 (pstoedit-3.41.tar.gz) = 8db6d8b40ba681a01eb2bda3a0f14e31df25130f
-Size (pstoedit-3.41.tar.gz) = 797596 bytes
-SHA1 (patch-aa) = bbe51177db5672e3254f89b401af16e14f1a767d
-SHA1 (patch-ba) = a0e14f4b515069972f0cc7bf0f0949c1828edd28
+SHA1 (pstoedit-3.45.tar.gz) = 3eecd5efcd4f3d1752d13303a2d1b64346f74171
+RMD160 (pstoedit-3.45.tar.gz) = dbe610807dae3ece5d32979100795d3399beb23a
+Size (pstoedit-3.45.tar.gz) = 848922 bytes
+SHA1 (patch-aa) = db0c80414eeefa5e8b28c70f124bd23e2e1aa6cb
+SHA1 (patch-ab) = 450443318bcff521998fa29f2902401dfe14fd6e
+SHA1 (patch-ac) = fb67dc34c06e98e80fc241ba906bd0b9d1d1ec4d
diff -r f1569c5dcfd8 -r b1f13d9a2837 graphics/pstoedit/patches/patch-aa
--- a/graphics/pstoedit/patches/patch-aa        Tue Mar 10 00:54:47 2009 +0000
+++ b/graphics/pstoedit/patches/patch-aa        Tue Mar 10 03:29:37 2009 +0000
@@ -1,12 +1,13 @@
-$NetBSD: patch-aa,v 1.4 2005/12/28 17:27:28 joerg Exp $
+$NetBSD: patch-aa,v 1.5 2009/03/10 03:29:37 dmcmahill Exp $
 
---- src/drvasy.cpp.orig        2005-12-28 17:12:36.000000000 +0000
-+++ src/drvasy.cpp
-@@ -37,6 +37,7 @@
+--- src/Makefile.am.orig       2007-07-08 10:52:54.000000000 +0000
++++ src/Makefile.am
+@@ -103,7 +103,7 @@ libpstoedit_la_SOURCES =                   \
+       genericints.h                           \
+       version.h
  
- #include <limits.h>                           // PATH_MAX for MSVC
- #include <ctype.h>                            // Need definition of ispunct()
-+#include <unistd.h>                           // Need defintion of mkstemp()
- #include <sstream>
+-libpstoedit_la_LIBADD = ${CXX_STD_LIB} ${CXX_RUNTIME_LIB} -ldl
++libpstoedit_la_LIBADD = ${CXX_STD_LIB} ${CXX_RUNTIME_LIB}
+ libpstoedit_la_LDFLAGS = -no-undefined
  
- #if !(defined(unix) || defined(__unix__) || defined(_unix) || defined(__unix) || defined(__EMX__) || defined (NetBSD)  )
+ pstoedit_SOURCES = cmdmain.cpp
diff -r f1569c5dcfd8 -r b1f13d9a2837 graphics/pstoedit/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/pstoedit/patches/patch-ab        Tue Mar 10 03:29:37 2009 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.5 2009/03/10 03:29:37 dmcmahill Exp $
+
+--- src/Makefile.in.orig       2007-09-09 16:07:30.000000000 +0000
++++ src/Makefile.in
+@@ -358,7 +358,7 @@ libpstoedit_la_SOURCES = \
+       genericints.h                           \
+       version.h
+ 
+-libpstoedit_la_LIBADD = ${CXX_STD_LIB} ${CXX_RUNTIME_LIB} -ldl
++libpstoedit_la_LIBADD = ${CXX_STD_LIB} ${CXX_RUNTIME_LIB}
+ libpstoedit_la_LDFLAGS = -no-undefined
+ pstoedit_SOURCES = cmdmain.cpp
+ pstoedit_LDFLAGS = -no-undefined -L. libpstoedit.la ${LIBLD_LDFLAGS}
diff -r f1569c5dcfd8 -r b1f13d9a2837 graphics/pstoedit/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/pstoedit/patches/patch-ac        Tue Mar 10 03:29:37 2009 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-ac,v 1.5 2009/03/10 03:29:37 dmcmahill 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     2007-08-10 20:26:10.000000000 +0000
++++ configure
+@@ -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 "
+   fi
+   CXXFLAGS="-g"
+ elif test `echo "$CXX" | egrep -c 'xlC$'` -eq 1; then
diff -r f1569c5dcfd8 -r b1f13d9a2837 graphics/pstoedit/patches/patch-ba
--- a/graphics/pstoedit/patches/patch-ba        Tue Mar 10 00:54:47 2009 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,32 +0,0 @@
-$NetBSD: patch-ba,v 1.1 2005/08/12 19:29:29 drochner Exp $
-
---- src/drvlatex2e.cpp.orig    2005-08-09 14:29:27.000000000 +0200
-+++ src/drvlatex2e.cpp
-@@ -284,27 +284,6 @@ void drvLATEX2E::show_text(const TextInf
-       const char * cp = textinfo.thetext.value();
-       //buffer << textinfo.thetext.value() 
- 
--#if 0
--// characters to be handled specially 
--% -> \%
--# -> \#
--{ -> \{
--} -> \}
--_ -> \_
--& -> \&
--$ -> \$  
--      Tritt auch manchmal mit veränderter Bedeutung als $$ auf: --> \$\$
--
--\ -> \textbackslash
--^ -> \textasciicircum
--~ -> \textasciitilde
--
--Zusätzlich machen folgende Zeichen oft Probleme:
--
--" -> \textquotedblright
--?`-> \textquestiondown
--!`-> \textexclamdown
--#endif
-       while (cp && *cp) {
-               if ((*cp == '%') ||
-                       (*cp == '#') ||



Home | Main Index | Thread Index | Old Index