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:           Tue Jan  4 10:53:05 UTC 2022

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

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 pkgsrc/print/qpdf/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/print/qpdf/PLIST
cvs rdiff -u -r1.38 -r1.39 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.47 pkgsrc/print/qpdf/Makefile:1.48
--- pkgsrc/print/qpdf/Makefile:1.47     Thu Nov 25 15:06:48 2021
+++ pkgsrc/print/qpdf/Makefile  Tue Jan  4 10:53:05 2022
@@ -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/}
 

Index: pkgsrc/print/qpdf/PLIST
diff -u pkgsrc/print/qpdf/PLIST:1.12 pkgsrc/print/qpdf/PLIST:1.13
--- pkgsrc/print/qpdf/PLIST:1.12        Fri Apr 16 17:18:57 2021
+++ pkgsrc/print/qpdf/PLIST     Tue Jan  4 10:53:05 2022
@@ -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

Index: pkgsrc/print/qpdf/distinfo
diff -u pkgsrc/print/qpdf/distinfo:1.38 pkgsrc/print/qpdf/distinfo:1.39
--- pkgsrc/print/qpdf/distinfo:1.38     Thu Nov 25 15:06:48 2021
+++ pkgsrc/print/qpdf/distinfo  Tue Jan  4 10:53:05 2022
@@ -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



Home | Main Index | Thread Index | Old Index