From 72e1fb86a22ae8e610144aee6f50109e991562d2 Mon Sep 17 00:00:00 2001 From: adam Date: Tue, 8 Feb 2011 11:25:58 +0000 Subject: Changes 7.0.5: Bug-fixes: * Host font retrieval on Windows was not thread-safe under certain conditions. * Non-ASCII characters in environment variables could incorrectly trigger the error message "Invalid UTF-8 sequence..." on Windows. * PDFlib could crash if the PDFLIBLOGFILE environment variable was specified and the "logging" parameter was set. * Implemented a workaround for broken Corel Craw TIFF images with invalid values for ExtraSamples. * PDF_create_annotation() in PDF/A mode restricted the "rotate" and "zoom" options for all annotation types although PDF/A restricts these only for annotations with type=Text. * Building the PDFlib Lite binding for Perl on Windows with the old-style Makefile instead of Makefile.PL didn't produce any usable binary. * Textflow could wrongly place text with verticalalignment=justify and lastlinedist=descender if multiple fonts were used on a line and certain rare geometric conditions were met. * Invalid PDF output was generated when PDF_begin_template_ext() was called in page scope and one or more of the following options were used: "metadata", "opi-1.3", "opi-2.0". * PHP binding: added a binary for use with Zend Community Server 5.3 which requires Visual Studio 8 (as opposed to the common PHP build which uses VS9). * The pcos_get_string() method in .NET didn't convert non-ASCII return strings to UTF-16 correctly. * Implements a parser for legacy Type 1 PFA fonts with a binary data section. * Added support for addressing a "temporary work path" via the option "clippingpathname" and the pseudo path name "Work Path". * The "transparencygroup" option is no longer allowed in PDF/A mode to match the forthcoming Technical Corrigendum 2 for ISO 19005-1. * Textflow ignored space characters in front of mandatory line breaks (nextline, nextparagraph, nextpage) if alignment=center or =right. * Invalid RGB TIFF images with four components, but extrasamples=0 were wrongly processed in passthrough mode which resulted in invalid image data in the PDF output. * Fixed a memory violation with malformed XMP where the namespace prefix was missing from element names. * The message "Floating point parameter 'x' has bad value (not a number)" could occur spuriously under the following conditions: Linux x86, PHP, certain PHP functions called before using PDFlib API functions. The problem was caused by a bug in the gcc optimizer and solved by disabling the optimizer for a particular source code module. * Fixed a potential memory problem in the XMP code. * The PHP wrapper now honors the "open_basedir" setting in the php.ini file, see also www.securityfocus.com/bid/36951/info. * The starter_type3font samples did not set the bounding box for the glyphs correctly. As a result some undesired clipping could occur when viewing the generated PDF with Acrobat 9.2 (but not older versions). This problem affected only the sample code, not the PDFlib implementation. * textformat=utf16 (i.e. without specifying the byte ordering) didn't work correctly in Textflow if the text began with a BOM which indicated non-native byte ordering. * Large File Support was accidentally disabled in the AIX 64-bit builds. --- print/pdflib-lite/Makefile | 16 +++++++--------- print/pdflib-lite/distinfo | 10 +++++----- print/pdflib-lite/patches/patch-ab | 4 ++-- 3 files changed, 14 insertions(+), 16 deletions(-) diff --git a/print/pdflib-lite/Makefile b/print/pdflib-lite/Makefile index 30f8fd8b7de..4aa9ae94209 100644 --- a/print/pdflib-lite/Makefile +++ b/print/pdflib-lite/Makefile @@ -1,11 +1,9 @@ -# $NetBSD: Makefile,v 1.4 2010/01/18 09:59:23 wiz Exp $ -# +# $NetBSD: Makefile,v 1.5 2011/02/08 11:25:58 adam Exp $ -DISTNAME= PDFlib-Lite-7.0.4p4 -PKGNAME= pdflib-lite-7.0.4p4 -PKGREVISION= 1 +DISTNAME= PDFlib-Lite-7.0.5 +PKGNAME= pdflib-lite-7.0.5 CATEGORIES= print -MASTER_SITES= http://www.pdflib.com/binaries/PDFlib/704/ +MASTER_SITES= http://www.pdflib.com/binaries/PDFlib/705/ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.pdflib.com/ @@ -15,9 +13,9 @@ PKG_DESTDIR_SUPPORT= user-destdir CONFLICTS+= pdflib-[0-9]* -GNU_CONFIGURE= yes -USE_LANGUAGES= c c++ -USE_LIBTOOL= yes +USE_LANGUAGES= c c++ +USE_LIBTOOL= yes +GNU_CONFIGURE= yes CONFIGURE_ARGS+= --with-tcl=no DOCDIR= ${PREFIX}/share/doc/pdflib diff --git a/print/pdflib-lite/distinfo b/print/pdflib-lite/distinfo index 1475e563c90..1aa23dfa960 100644 --- a/print/pdflib-lite/distinfo +++ b/print/pdflib-lite/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.4 2009/11/25 23:58:01 joerg Exp $ +$NetBSD: distinfo,v 1.5 2011/02/08 11:25:58 adam Exp $ -SHA1 (PDFlib-Lite-7.0.4p4.tar.gz) = 36d3f8cedeed95ec68ae90f489d9bfb40b4c6593 -RMD160 (PDFlib-Lite-7.0.4p4.tar.gz) = cb9527120eebc232ef130223a124a956f93e57f1 -Size (PDFlib-Lite-7.0.4p4.tar.gz) = 6264932 bytes +SHA1 (PDFlib-Lite-7.0.5.tar.gz) = 5b2bf5edc49dba3da0997ade0e191511a37fae01 +RMD160 (PDFlib-Lite-7.0.5.tar.gz) = 7f3862e70e2f74cf3143ea61e051c30e518ab2eb +Size (PDFlib-Lite-7.0.5.tar.gz) = 8203939 bytes SHA1 (patch-aa) = a01fa6d85d550f203982a17a898929a8cd94a492 -SHA1 (patch-ab) = 4b9b3bea8e857a904ab57691e548dbacaf25b078 +SHA1 (patch-ab) = 080be19dbb3d4ca317bca6f92c675aea2a685594 diff --git a/print/pdflib-lite/patches/patch-ab b/print/pdflib-lite/patches/patch-ab index 6e752d12265..b9a2aad1e5d 100644 --- a/print/pdflib-lite/patches/patch-ab +++ b/print/pdflib-lite/patches/patch-ab @@ -1,4 +1,4 @@ -$NetBSD: patch-ab,v 1.3 2009/11/25 23:58:01 joerg Exp $ +$NetBSD: patch-ab,v 1.4 2011/02/08 11:25:58 adam Exp $ --- config/mkmainlib.inc.in.orig 2009-11-26 00:52:45.000000000 +0100 +++ config/mkmainlib.inc.in @@ -7,7 +7,7 @@ $NetBSD: patch-ab,v 1.3 2009/11/25 23:58:01 joerg Exp $ cp .libs/$(MAINLIBNAME) .libs/$(MAINLIBNAME)i;\ fi - $(LIBTOOL) $(INSTALL_DATA) $(MAINLIBNAME) $(DESTDIR)$(libdir); -+ $(LIBTOOL) --mode=install $(INSTALL_DATA) $(MAINLIBNAME) $(DESTDIR)$(libdir); ++ $(LIBTOOL) --mode=install $(BSD_INSTALL_LIB) $(MAINLIBNAME) $(DESTDIR)$(libdir); @-if test "$(WITH_SHARED)" = "yes"; then \ $(LIBTOOL) -n --finish $(DESTDIR)$(libdir);\ else\ -- cgit v1.2.3