From patchwork Mon Aug 7 20:51:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 7076 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature ECDSA (secp384r1)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4RKT4r4LDxz3wtL for ; Mon, 7 Aug 2023 20:51:24 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature ECDSA (secp384r1)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4RKT4k5Zr6z2d9; Mon, 7 Aug 2023 20:51:18 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4RKT4k4QtJz30B7; Mon, 7 Aug 2023 20:51:18 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4RKT4j2Lpxz2xhD for ; Mon, 7 Aug 2023 20:51:17 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4RKT4j0yLSz1Xw; Mon, 7 Aug 2023 20:51:17 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1691441477; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=t1hwRGoB5HKDyx6sc/ZhFcApQTx3BRbjc5JVdYsl8gI=; b=QuHTV4d7es2Ie1nwM0OSJyteNSXBTOzDhri08c/JKoAZFTIoCg5oohKiNw9o3ComffrNBo tcSM2xBiCXziEVBw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1691441477; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=t1hwRGoB5HKDyx6sc/ZhFcApQTx3BRbjc5JVdYsl8gI=; b=ukWwHw3t0Lz9jLeXuuPHAV+H676kvkyzahDPBN++xmSX1IJJCv+1/Zx74EW/rt6XYKnpDK bRbYx8fVia78rICc46LDlvkNXZKmUuZQ9CUqXX3y4hVVwyFvze1ppXlPbBbmAW4n6DCoD4 HtMCRA8/86SU67hy4tovloKD/dAING8lEzC3vWrYvp66mL/FQtnPgV9GVCcGC0ACnezylO 5czdgiLbPgBV+lrPMW4NTzOfhzRoTMrg9EiG0ij6tAZZwW7c9n77v6Km3yPzaPdXKIwc18 3QrnqkSfvfhc370SAy8f4YttHRSHI1SmVlJocbsUe/S70QoMziD1dwKEsGon5Q== From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH] qpdf: Update to version 11.5.0 Date: Mon, 7 Aug 2023 22:51:07 +0200 Message-ID: <20230807205110.2664534-4-adolf.belka@ipfire.org> In-Reply-To: <20230807205110.2664534-1-adolf.belka@ipfire.org> References: <20230807205110.2664534-1-adolf.belka@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" - 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 --- config/rootfiles/common/qpdf | 2 +- lfs/qpdf | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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)