summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-printing/qpdf
Commit message (Collapse)AuthorAgeFilesLines
* qpdf: upgrade 10.5.0 -> 10.6.3wangmy2022-04-141-1/+1
| | | | | | | | Changelog from 10.5.0 to 10.6.3: https://qpdf.readthedocs.io/en/stable/release-notes.html Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qpdf: upgrade 10.4.0 -> 10.5.0wangmy2021-12-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========= Packaging changes: ----------------- 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. 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: -------------------- 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. Add Pl_Buffer::getMallocBuffer() to initialize a buffer allocated with malloc() for better cross-language interoperability. C API Enhancements: ------------------- 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. 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. 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. Add qpdf_oh_is_initialized and qpdf_oh_new_uninitialized to the C API to make it possible to work with uninitialized objects. Add qpdf_oh_new_object to the C API. This allows you to clone an object handle. Add qpdf_get_object_by_id, qpdf_make_indirect_object, and qpdf_replace_object, exposing the corresponding methods in QPDF and QPDFObjectHandle. Add several functions for working with pages. See PAGE FUNCTIONS in include/qpdf/qpdf-c.h for details. Add several functions for working with streams. See STREAM FUNCTIONS in include/qpdf/qpdf-c.h for details. Add qpdf_oh_get_type_code and qpdf_oh_get_type_name. 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. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qpdf: remove obsolete support for renamed libtoolRoss Burton2021-12-131-3/+1
| | | | | | | | libtool is now longer renamed to ${host}-libtool, so remove the changes to support this. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qpdf: upgrade 10.3.2 -> 10.4.0wangmy2021-11-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog is as follows: Handling of Weak Cryptography Algorithms From the qpdf CLI, the --allow-weak-crypto is now required to suppress a warning when explicitly creating PDF files using RC4 encryption. While qpdf will always retain the ability to read and write such files, doing so will require explicit acknowledgment moving forward. For qpdf 10.4, this change only affects the command-line tool. Starting in qpdf 11, there will be small API changes to require explicit acknowledgment in those cases as well. Bug Fixes: Fix potential bounds error when handling shell completion that could occur when given bogus input. Properly handle overlay/underlay on completely empty pages (with no resource dictionary). Fix crash that could occur under certain conditions when using --pages with files that had form fields. Library Enhancements: Make QPDF::findPage functions public. Add methods to Pl_Flate to be able to receive warnings on certain recoverable conditions. Add an extra check to the library to detect when foreign objects are inserted directly (instead of using QPDF::copyForeignObject) at the time of insertion rather than when the file is written. Catching the error sooner makes it much easier to locate the incorrect code. CLI Enhancements: Improve diagnostics around parsing --pages command-line options Packaging Changes: The Windows binary distribution is now built with crypto provided by OpenSSL 3.0. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Convert to new override syntaxMartin Jansa2021-08-031-6/+6
| | | | | | | | | | This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qpdf: upgrade 10.2.0 -> 10.3.2Andreas Müller2021-05-221-2/+1
| | | | | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qpdf: upgrade 10.0.4 -> 10.2.0zhengruoqin2021-03-041-2/+2
| | | | | Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qpdf: upgrade 10.0.1 -> 10.0.4zhengruoqin2020-11-301-2/+2
| | | | | Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qpdf: Link with libatomic on rv32Khem Raj2020-11-151-0/+1
| | | | | | | Fixes libqpdf/build/.libs/libqpdf.so: undefined reference to `__atomic_fetch_add_8' Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qpdf: fix typo in RDEPENDSMaciej Pijanowski2020-05-281-1/+1
| | | | | Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qpdf: link libatomic explicitly on mipsAndreas Müller2020-05-111-0/+2
| | | | | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qpdf: upgrade 9.1.0 -> 10.0.1Andreas Müller2020-05-111-2/+2
| | | | | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qpdf: add recipeDiego Rondini2020-01-101-0/+33
Add qpdf PDF transformation library recipe. The recipe has been imported from meta-printing and updated. Signed-off-by: Diego Rondini <diego.rondini@kynetics.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>