pkgsrc-Changes archive

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

CVS commit: pkgsrc/print/qpdf



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Wed Feb 26 16:32:39 UTC 2025

Modified Files:
        pkgsrc/print/qpdf: Makefile PLIST distinfo

Log Message:
print/qpdf: Update to 11.10.1

Changelog:
11.10.1: February 15, 2025
      + Build fixes

          o Fix incorrect detection of zopfli

          o Recognize cygwin perl as Windows when running test suite

11.10.0: February 8, 2025
      + Bug fixes

          o Detect and break loops in the outline (bookmark) tree.

          o Correctly handle outline (bookmark) items where the destination is
            given as a dictionary with ??/D?? entry.

          o When loading object streams, ignore any objects not included in the
            xref table. The PDF specification requires any object that is not
            present in the xref table to be treated as the null object.

          o When writing real numbers as JSON ensure they do not end in a
            trailing decimal point. Numbers with trailing ??.?? are valid PDF
            format but are not valid in JSON.

          o When QPDF::getObject, getObjectByObjGen or getObjectByID are called
            with a QPDFObjGen that does not exists in the xref and object
            tables return a direct null. Previously the methods inserted an
            indirect reference to the null object in the object table,
            potentially hiding a valid object with the same object id.

          o Fix handling of certain deleted objects in hybrid reference files.
            Previously qpdf would incorrectly load a deleted object if it was
            present in a cross-reference stream specified by the /XRefStm
            entry.

          o Default the stream decode level to generalized. Previously the
            decode level incorrectly defaulted to none, affecting both the
            --decode-level CLI option and the QPDFWriter::setDecodeLevel
            method.

          o Reject CLI flags with parameters. Previously the parameter was
            simply ignored (e.g. --encrypt=n was treated as --encrypt).

      + CLI Enhancements

          o The fix-qdf command now allows an output file to be specified as an
            optional second argument. This is useful for environments in which
            writing a binary file to standard output doesn??t work (such as
            PowerShell 5).

          o New --remove-metadata and --remove-info options to exclude document
            metadata and information from the output PDF.

      + Library Enhancements

          o qpdf can now be built with zopfli support. For details, see Zopfli
            Compression Algorithm.

          o Add QPDFObjectHandle operator bool. The operator returns true if
            the object handle is initialized and is a replacement for the
            isInitialized method. For more details see the qpdf wiki.

          o New C API function qpdf_oh_free_buffer to free malloc allocated
            buffers.

      + Other enhancements

          o There has been some refactoring of the processing of xref tables
            during the loading of PDF files, including the reconstruction of
            xref tables of damaged files. As part of this additional
            validations have been added. As a result, some damaged files will
            produce errors during loading rather than during later processing
            or writing. Repair of damaged files has been improved.

          o As part of the additional validations during the loading of PDF
            files, non-dictionary objects are now automatically removed from
            pages tree.

          o The handling of corrupt filtered streams has changed. If a
            compressed stream cannot be successfully uncompressed, qpdf will
            now write the raw (encoded) stream even if decode-level generalized
            or specialized is set. The result of attempting to decode a corrupt
            stream is generally unusable and can be extremely large.


To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 pkgsrc/print/qpdf/Makefile
cvs rdiff -u -r1.21 -r1.22 pkgsrc/print/qpdf/PLIST
cvs rdiff -u -r1.47 -r1.48 pkgsrc/print/qpdf/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/print/qpdf/Makefile
diff -u pkgsrc/print/qpdf/Makefile:1.62 pkgsrc/print/qpdf/Makefile:1.63
--- pkgsrc/print/qpdf/Makefile:1.62     Sun Aug 25 06:19:11 2024
+++ pkgsrc/print/qpdf/Makefile  Wed Feb 26 16:32:39 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.62 2024/08/25 06:19:11 wiz Exp $
+# $NetBSD: Makefile,v 1.63 2025/02/26 16:32:39 ryoon Exp $
 
-DISTNAME=      qpdf-11.9.1
+DISTNAME=      qpdf-11.10.1
 CATEGORIES=    print
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=qpdf/}
 

Index: pkgsrc/print/qpdf/PLIST
diff -u pkgsrc/print/qpdf/PLIST:1.21 pkgsrc/print/qpdf/PLIST:1.22
--- pkgsrc/print/qpdf/PLIST:1.21        Tue Jun 11 08:48:59 2024
+++ pkgsrc/print/qpdf/PLIST     Wed Feb 26 16:32:39 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.21 2024/06/11 08:48:59 adam Exp $
+@comment $NetBSD: PLIST,v 1.22 2025/02/26 16:32:39 ryoon Exp $
 bin/fix-qdf
 bin/qpdf
 bin/zlib-flate
@@ -45,6 +45,7 @@ include/qpdf/QPDFNumberTreeObjectHelper.
 include/qpdf/QPDFObjGen.hh
 include/qpdf/QPDFObject.hh
 include/qpdf/QPDFObjectHandle.hh
+include/qpdf/QPDFObjectHandle_future.hh
 include/qpdf/QPDFObjectHelper.hh
 include/qpdf/QPDFOutlineDocumentHelper.hh
 include/qpdf/QPDFOutlineObjectHelper.hh
@@ -78,7 +79,7 @@ lib/cmake/qpdf/qpdfConfigVersion.cmake
 lib/libqpdf.a
 lib/libqpdf.so
 lib/libqpdf.so.29
-lib/libqpdf.so.29.9.1
+lib/libqpdf.so.29.10.1
 lib/pkgconfig/libqpdf.pc
 man/man1/fix-qdf.1
 man/man1/qpdf.1

Index: pkgsrc/print/qpdf/distinfo
diff -u pkgsrc/print/qpdf/distinfo:1.47 pkgsrc/print/qpdf/distinfo:1.48
--- pkgsrc/print/qpdf/distinfo:1.47     Tue Jun 11 08:48:59 2024
+++ pkgsrc/print/qpdf/distinfo  Wed Feb 26 16:32:39 2025
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.47 2024/06/11 08:48:59 adam Exp $
+$NetBSD: distinfo,v 1.48 2025/02/26 16:32:39 ryoon Exp $
 
-BLAKE2s (qpdf-11.9.1.tar.gz) = 502a92ea619782e8de0f1085250ad2a196469bce0aa729bcb2a0b4e0ad1d3195
-SHA512 (qpdf-11.9.1.tar.gz) = 8c60c6639371e71a5229afb2e11c18aa660061e652eae4a8d9c8e9ceff913b0c7d866ed17375d1be9c439b0789ea03064ab98771f43fd03c7059aa136285a4b2
-Size (qpdf-11.9.1.tar.gz) = 18585065 bytes
+BLAKE2s (qpdf-11.10.1.tar.gz) = 633915cbfceb2ca77f85fe51a82544c7934fa04cb49e86978edb85879af3cd6a
+SHA512 (qpdf-11.10.1.tar.gz) = 2229d9feee4189770ec7c0a6a2fa39664af8f29b0410bacf40f53fa83a047ee282de7324c028f70eda69cd7da78e65589240c95dcfbf3718741428ffe403ac19
+Size (qpdf-11.10.1.tar.gz) = 19497326 bytes
 SHA1 (patch-libqpdf.pc.in) = 594c009942d3d0ae54388aed669e07fec030c0bc



Home | Main Index | Thread Index | Old Index