diff options
author | ryoon <ryoon@pkgsrc.org> | 2022-01-04 10:53:05 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2022-01-04 10:53:05 +0000 |
commit | 4537ef21bb88a52d3684fa54933beb6f06360b47 (patch) | |
tree | 29df22e9f10b07b04017f430c0d29aa4c90e86fd | |
parent | 4e2ab4728a2864a30074575b726517ae7463833b (diff) | |
download | pkgsrc-4537ef21bb88a52d3684fa54933beb6f06360b47.tar.gz |
qpdf: Update to 10.5.0
Changelog:
10.5.0: December 21, 2021
+ Packaging changes
o Pre-built documentation is no longer distributed with the source
distribution. The AppImage and Windows binary distributions still
contain embedded documentation, and a separate doc distribution
file is available from the qpdf release site. Documentation is now
available at https://qpdf.readthedocs.io for every major/minor
version starting with version 10.5. Please see Packaging
Documentation for details on how packagers should handle
documentation.
o The documentation sources have been switched from docbook to
reStructuredText processed with Sphinx. This will break previous
documentation links. A redirect is in place on the main website. A
top-to-bottom review of the documentation is planned for an
upcoming release.
+ Library Enhancements
o Since qpdf version 8, using object accessor methods on an instance
of QPDFObjectHandle may create warnings if the object is not of the
expected type. These warnings now have an error code of
qpdf_e_object instead of qpdf_e_damaged_pdf. Also, comments have
been added to QPDFObjectHandle.hh to explain in more detail what
the behavior is. See Object Accessor Methods for a more in-depth
discussion.
o Add Pl_Buffer::getMallocBuffer() to initialize a buffer allocated
with malloc() for better cross-language interoperability.
+ C API Enhancements
o Many thanks to M. Holger whose contributions have heavily
influenced these C API enhancements. His several suggestions, pull
requests, questions, and critical reading of documentation and
comments have resulted in significant usability improvements to the
C API.
o Overhaul error handling for the object handle functions C API. Some
rare error conditions that would previously have caused a crash are
now trapped and reported, and the functions that generate them
return fallback values. See comments in the ERROR HANDLING section
of include/qpdf/qpdf-c.h for details. In particular, exceptions
thrown by the underlying C++ code when calling object accessors are
caught and converted into errors. The errors can be checked by
calling qpdf_has_error. Use qpdf_silence_errors to prevent the
error from being written to stderr.
o Add qpdf_get_last_string_length to the C API to get the length of
the last string that was returned. This is needed to handle strings
that contain embedded null characters.
o Add qpdf_oh_is_initialized and qpdf_oh_new_uninitialized to the C
API to make it possible to work with uninitialized objects.
o Add qpdf_oh_new_object to the C API. This allows you to clone an
object handle.
o Add qpdf_get_object_by_id, qpdf_make_indirect_object, and
qpdf_replace_object, exposing the corresponding methods in QPDF and
QPDFObjectHandle.
o Add several functions for working with pages. See PAGE FUNCTIONS in
include/qpdf/qpdf-c.h for details.
o Add several functions for working with streams. See STREAM
FUNCTIONS in include/qpdf/qpdf-c.h for details.
o Add qpdf_oh_get_type_code and qpdf_oh_get_type_name.
o Add qpdf_oh_get_binary_string_value and qpdf_oh_new_binary_string
for making it easier to deal with strings that contain embedded
null characters.
-rw-r--r-- | print/qpdf/Makefile | 4 | ||||
-rw-r--r-- | print/qpdf/PLIST | 6 | ||||
-rw-r--r-- | print/qpdf/distinfo | 8 |
3 files changed, 8 insertions, 10 deletions
diff --git a/print/qpdf/Makefile b/print/qpdf/Makefile index 0cf985c07d1..214d4277f85 100644 --- a/print/qpdf/Makefile +++ b/print/qpdf/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.47 2021/11/25 15:06:48 ryoon Exp $ +# $NetBSD: Makefile,v 1.48 2022/01/04 10:53:05 ryoon Exp $ -DISTNAME= qpdf-10.4.0 +DISTNAME= qpdf-10.5.0 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=qpdf/} diff --git a/print/qpdf/PLIST b/print/qpdf/PLIST index 22e321d55f6..39ec1a9e309 100644 --- a/print/qpdf/PLIST +++ b/print/qpdf/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.12 2021/04/16 17:18:57 ryoon Exp $ +@comment $NetBSD: PLIST,v 1.13 2022/01/04 10:53:05 ryoon Exp $ bin/fix-qdf bin/qpdf bin/zlib-flate @@ -60,6 +60,4 @@ lib/pkgconfig/libqpdf.pc man/man1/fix-qdf.1 man/man1/qpdf.1 man/man1/zlib-flate.1 -share/doc/qpdf/qpdf-manual.html -share/doc/qpdf/qpdf-manual.pdf -share/doc/qpdf/stylesheet.css +share/doc/qpdf/README-doc.txt diff --git a/print/qpdf/distinfo b/print/qpdf/distinfo index 3d27d329ebb..db06ef6b2b6 100644 --- a/print/qpdf/distinfo +++ b/print/qpdf/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.38 2021/11/25 15:06:48 ryoon Exp $ +$NetBSD: distinfo,v 1.39 2022/01/04 10:53:05 ryoon Exp $ -BLAKE2s (qpdf-10.4.0.tar.gz) = 4031a8960bb39d97be4c871a544ba121fee5e0300ddcdd68e7e2dee0467fe53b -SHA512 (qpdf-10.4.0.tar.gz) = 7a17cc2b3168bb60ac05d01b585d34d94f62e44e309b86635351b2564bc2c3b7846d3a008ae0d6c068bce3b1d9c42d3a3ab40de3f85a1ec4952280cf8321a041 -Size (qpdf-10.4.0.tar.gz) = 18942833 bytes +BLAKE2s (qpdf-10.5.0.tar.gz) = 9f9a0774bec5fc8074ae9ce42f231873ef85090a82a584822f79a9a35b4791f9 +SHA512 (qpdf-10.5.0.tar.gz) = 758dd4fd86b79a8b08738abb36685cf4a458dcf70a480efe3207d1148a691cf06a8040c83075ace9c3bbaf372cefe78508df2e52513cc969dca76442ed43775d +Size (qpdf-10.5.0.tar.gz) = 18362586 bytes SHA1 (patch-libqpdf.pc.in) = f592899487bb958a01931afbe4ddf3c749ea103e SHA1 (patch-make_libtool.mk) = f8856a20274b26686731a886e12587006394366d |