bb19cda8dd
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.
33 lines
744 B
Makefile
33 lines
744 B
Makefile
# $NetBSD: Makefile,v 1.5 2011/02/08 11:25:58 adam Exp $
|
|
|
|
DISTNAME= PDFlib-Lite-7.0.5
|
|
PKGNAME= pdflib-lite-7.0.5
|
|
CATEGORIES= print
|
|
MASTER_SITES= http://www.pdflib.com/binaries/PDFlib/705/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.pdflib.com/
|
|
COMMENT= C library to produce PDF files
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
CONFLICTS+= pdflib-[0-9]*
|
|
|
|
USE_LANGUAGES= c c++
|
|
USE_LIBTOOL= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --with-tcl=no
|
|
|
|
DOCDIR= ${PREFIX}/share/doc/pdflib
|
|
|
|
INSTALLATION_DIRS= ${DOCDIR}
|
|
|
|
post-install:
|
|
cd ${WRKSRC}/doc/pdflib; for file in \
|
|
PDFlib-Lite-license.pdf \
|
|
PDFlib-API-reference.pdf; \
|
|
do \
|
|
${INSTALL_DATA} $${file} ${DESTDIR}${DOCDIR}; \
|
|
done
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|