From f131dd6d0cf181e4968db17abddbc8a18e8921cd Mon Sep 17 00:00:00 2001 From: mef Date: Mon, 26 Jan 2015 11:54:17 +0000 Subject: Update 5.0.1 to 5.1.2 --------------------- 2014-06-07 Jay Berkenbilt * 5.1.2: release * MS Visual C++ build: explicitly target Windows 5.0.1 (XP) * New example program: pdf-split-pages: efficiently split PDF files into individual pages. * Bug fix: don't fail on files that contain streams where /Filter or /DecodeParms references a stream. Before, qpdf would try to convert these to direct objects, which would fail because of the stream. 2014-02-22 Jay Berkenbilt * Bug fix: if the last object in the first part of a linearized file had an offset that was below 65536 by less than the size of the hint stream, the xref stream was invalid and the resulting file is not usable. This is now fixed. 2014-01-14 Jay Berkenbilt * 5.1.1: release 2013-12-26 Jay Berkenbilt * Bug fix: when copying foreign objects (which occurs during page splitting among other cases), avoid traversing the same object more than once if it appears more than once in the same direct object. This bug is performance-only and does not affect the actual output. 2013-12-17 Jay Berkenbilt * 5.1.0: release 2013-12-16 Jay Berkenbilt * Document and make explicit that passing null to QUtil::setRandomDataProvider() resets the random data provider. * Provide QUtil::getRandomDataProvider(). 2013-12-14 Jay Berkenbilt * Allow anyspace rather than just newline to follow xref header. This allows qpdf to read a wider range of damaged files. 2013-11-30 Jay Berkenbilt * Allow user-supplied random data provider to be used in place of OS-provided or insecure random number generation. See documentation for 5.1.0 for details. * Add configure option --enable-os-secure-random (enabled by default). Pass --disable-os-secure-random or define SKIP_OS_SECURE_RANDOM to avoid attempts to use the operating system-provided secure random number generation. This can be especially useful on Windows if you wish to avoid any dependency on Microsoft's cryptography system. 2013-11-29 Jay Berkenbilt * If NO_GET_ENVIRONMENT is #defined, for Windows only, QUtil::get_env will always return false. This was added to support a user who needs to avoid calling GetEnvironmentVariable from the Windows API. QUtil::get_env is not used for any functionality in qpdf and exists only to support the test suite including test coverage support with QTC (part of qtest). * Add /FS to msvc builds to allow parallel builds to work with Visual C++ 2013. * Add missing #include in some files that use std::min and std::max. 2013-11-21 Jay Berkenbilt * Change image comparison tests, which are disabled by default, to use tiff files with 8 bits per sample rather than 4. This works around a bug in tiffcmp but also increases time and disk space for image comparison tests. 2013-10-28 Jay Berkenbilt * Fix MacOS compilation errors by adding a missing #include in a header file. --- print/qpdf/Makefile | 5 ++--- print/qpdf/PLIST | 3 ++- print/qpdf/distinfo | 11 +++++------ print/qpdf/patches/patch-include_qpdf_QUtil.hh | 12 +++++++----- 4 files changed, 16 insertions(+), 15 deletions(-) (limited to 'print') diff --git a/print/qpdf/Makefile b/print/qpdf/Makefile index 7688548d7e0..765d5bc3fd7 100644 --- a/print/qpdf/Makefile +++ b/print/qpdf/Makefile @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.7 2014/10/22 08:01:48 wiz Exp $ +# $NetBSD: Makefile,v 1.8 2015/01/26 11:54:17 mef Exp $ -DISTNAME= qpdf-5.0.1 -PKGREVISION= 2 +DISTNAME= qpdf-5.1.2 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=qpdf/} diff --git a/print/qpdf/PLIST b/print/qpdf/PLIST index 870867d9e3f..d8bb3f237f9 100644 --- a/print/qpdf/PLIST +++ b/print/qpdf/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.2 2013/10/23 09:07:27 wiz Exp $ +@comment $NetBSD: PLIST,v 1.3 2015/01/26 11:54:17 mef Exp $ bin/fix-qdf bin/qpdf bin/zlib-flate @@ -26,6 +26,7 @@ include/qpdf/QPDFWriter.hh include/qpdf/QPDFXRefEntry.hh include/qpdf/QTC.hh include/qpdf/QUtil.hh +include/qpdf/RandomDataProvider.hh include/qpdf/Types.h include/qpdf/qpdf-c.h lib/libqpdf.la diff --git a/print/qpdf/distinfo b/print/qpdf/distinfo index bacaba8ae59..ca711358860 100644 --- a/print/qpdf/distinfo +++ b/print/qpdf/distinfo @@ -1,8 +1,7 @@ -$NetBSD: distinfo,v 1.7 2014/04/17 21:37:55 asau Exp $ +$NetBSD: distinfo,v 1.8 2015/01/26 11:54:17 mef Exp $ -SHA1 (qpdf-5.0.1.tar.gz) = 41a4bd91bfbc2d3585ea229b53bfd1183186b1b3 -RMD160 (qpdf-5.0.1.tar.gz) = 4a33fdadd9ebf48eb1b1b1292864ed72ba755c07 -Size (qpdf-5.0.1.tar.gz) = 7569985 bytes -SHA1 (patch-include_qpdf_QPDFExc.hh) = 5c884be89dbeb28f9c209d036a84b3b54dbd17da -SHA1 (patch-include_qpdf_QUtil.hh) = 79bdbb82ec5b6fbec8da6abe356d85d2be589a93 +SHA1 (qpdf-5.1.2.tar.gz) = ede3938fdf2e3bf603fce6eb2bd93b3a2e1d13b9 +RMD160 (qpdf-5.1.2.tar.gz) = 959b8412ecf3d2aefde07a2eb2c60c0aea8f5b3f +Size (qpdf-5.1.2.tar.gz) = 7664268 bytes +SHA1 (patch-include_qpdf_QUtil.hh) = 762000dd8e4f61ed9638a7ba4c4e5ba6540268cd SHA1 (patch-make_libtool.mk) = 8622d6a446da284269102dde38bf14271363dfdc diff --git a/print/qpdf/patches/patch-include_qpdf_QUtil.hh b/print/qpdf/patches/patch-include_qpdf_QUtil.hh index d9033b38351..0c43b9342ef 100644 --- a/print/qpdf/patches/patch-include_qpdf_QUtil.hh +++ b/print/qpdf/patches/patch-include_qpdf_QUtil.hh @@ -1,12 +1,14 @@ -$NetBSD: patch-include_qpdf_QUtil.hh,v 1.1 2014/04/17 21:37:55 asau Exp $ +$NetBSD: patch-include_qpdf_QUtil.hh,v 1.2 2015/01/26 11:54:17 mef Exp $ ---- include/qpdf/QUtil.hh.orig 2013-10-18 17:51:30.000000000 +0000 -+++ include/qpdf/QUtil.hh +Pull time.h to define time_t on FreeBSD. + +--- include/qpdf/QUtil.hh.orig 2014-06-08 06:06:13.000000000 +0900 ++++ include/qpdf/QUtil.hh 2015-01-26 20:47:22.000000000 +0900 @@ -14,6 +14,7 @@ #include #include #include +#include - namespace QUtil - { + class RandomDataProvider; + -- cgit v1.2.3