qpdf: Update to version 11.5.0

Message ID 20230807205110.2664534-4-adolf.belka@ipfire.org
State Staged
Commit 0436f28b42e5d213ce0126241f23ed1e3e1f96e0
Headers
Series qpdf: Update to version 11.5.0 |

Commit Message

Adolf Belka Aug. 7, 2023, 8:51 p.m. UTC
  - Update from version 11.3.0 to 11.5.0
- Update of rootfile
- Changelog
    11.5.0: release
        * This release consists entirely of changes made by M. Holger.
          Mostly this is changes to the private API, performance
          enhancements, code cleanup, and reformatting to 100 columns
          instead of 80. For qpdf development, we are starting to use
          JetBrains CLion, so a lot of the changes are moving us toward a
          cleaner development experience in that environment.
        * Bug fix: when a the same page is copied multiple times, copy
          the annotations rather than having multiple pages share an
          annotation object. Thanks to M. Holger for the fix. Fixes #600.
        * Add "FUTURE" build option for enabling experimental APIs. Do not
          package qpdf built with the FUTURE option as there are no binary
          compatibility or even source compatibility guarantees. The option
          is intended for developers who want to ensure that future
          potentially breaking changes are compatible with their code or
          provide feedback on upcoming changes. At present, the only feature
          enabled by FUTURE is a move constructor for QPDFObjectHandle.
          While this shouldn't break any code, it would change details about
          how many copies of a specific QPDFObjectHandle were in existence,
          so it could potentially break code that was relying on internal
          shared pointer reference counts. Thanks to M. Holger for the idea
          and contribution.
        * Add new method Buffer::copy and deprecate Buffer copy
          constructor and assignment operator. Buffer copy operations are
          expensive as they always involve copying the buffer content. Use
          "buffer2 = buffer1.copy();" or "Buffer buffer2{buffer1.copy()};"
          to make it explicit that copying is intended. This change was
          contributed by M. Holger.
    11.4.0: release
        * From M. Holger: add QPDF::newReserved as a better alternative to
          QPDFObjectHandle::newReserved. The operation of creating a new
          reserved object fits better in the QPDF API. The old call just
          delegates to the new one.
        * When an annotation dictionary's appearance dictionary (`/AP`)
          has a key that is a stream, disregard `/AS` (which is supposed to
          point to a subkey). This enables qpdf to not ignore annotations
          that have incorrect values for `/AS` when the appearance stream is
          directly in the `/AP` dictionary instead of in a subkey.
          Fixes #949.
        * Allow QPDFJob's workflow to be split into a reading phase and a
          writing phase to allow the caller to operate on the QPDF object
          before it is written. This adds methods QPDFJob::createQPDF and
          QPDFJob::writeQPDF and corresponding C API functions
          qpdfjob_create_qpdf and qpdfjob_write_qpdf. Thanks to M. Holger
          for the contribution.
        * From M. Holger: throw a logic error if an uninitialized or
          foreign QPDFObjectHandle is added to an array.
        * Enhance --optimize-images to support images nested inside of
          form XObjects. Thanks to Connor Osborne (github user cdosborn) for
          the contribution. Fixes #923.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/common/qpdf | 2 +-
 lfs/qpdf                     | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
  

Patch

diff --git a/config/rootfiles/common/qpdf b/config/rootfiles/common/qpdf
index 1afd04a53..752c38491 100644
--- a/config/rootfiles/common/qpdf
+++ b/config/rootfiles/common/qpdf
@@ -77,7 +77,7 @@  usr/bin/qpdf
 #usr/lib/cmake/qpdf/qpdfConfigVersion.cmake
 #usr/lib/libqpdf.so
 usr/lib/libqpdf.so.29
-usr/lib/libqpdf.so.29.3.0
+usr/lib/libqpdf.so.29.5.0
 #usr/lib/pkgconfig/libqpdf.pc
 #usr/share/doc/qpdf
 #usr/share/doc/qpdf/README-doc.txt
diff --git a/lfs/qpdf b/lfs/qpdf
index 2b7557c27..bdcf43082 100644
--- a/lfs/qpdf
+++ b/lfs/qpdf
@@ -24,7 +24,7 @@ 
 
 include Config
 
-VER        = 11.3.0
+VER        = 11.5.0
 
 THISAPP    = qpdf-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
@@ -40,7 +40,7 @@  objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = 80dd2a96f3b82b9e530f26c72cd24cd3b111e2e1cbe821b12af13807e8d54fbc7f5632130f5cbd03df1b7c70de3c94a7e889d4ea4f1a3670a28f726364564b16
+$(DL_FILE)_BLAKE2 = 54545665a31cf0cbfc50faa18f1dc64f036cd5bfd2b274ff443718e704e26f3a8cf83600f9dd7d8039cf4bdcaf42e1c14f03db775226b56c8ba53be33e0ca522
 
 install : $(TARGET)