From patchwork Tue Dec 26 13:10:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 7413 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 4SzwBW2L32z3wmh for ; Tue, 26 Dec 2023 13:10:59 +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 4SzwBN4Fzhz2QT; Tue, 26 Dec 2023 13:10:52 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4SzwBN1v0Gz32cc; Tue, 26 Dec 2023 13:10:52 +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 (secp384r1) client-signature ECDSA (secp384r1)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4SzwBC51Yfz30Px for ; Tue, 26 Dec 2023 13:10:43 +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 4SzwBC3PZCzHs; Tue, 26 Dec 2023 13:10:43 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1703596243; 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=9Pg0uHB4ufBkzKbcAOEQq/9FdmCJkc1Lm+B0loyza8I=; b=d4u629Z+domHBOI9QKjB2u6sZKexvbL7eYeLKQf2xIbs+HajvyoS9elGDP+8UKc1pAAz03 nKvDyzu6+g1nnwCA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1703596243; 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=9Pg0uHB4ufBkzKbcAOEQq/9FdmCJkc1Lm+B0loyza8I=; b=shOcuLRCFsFvWZtvVWCqAsYc95u7DEYQu6dyLx9Yai0OT1/NQb+sW9j9danADfSnFqLjNm oczjs/X7mV5bMetyJK8oM8osHQaHHEm6EuNHX46I9k7EOegQDCuRzAaCuXPV66fRhv3oXa hu2A6JFdM/lqo9imr+TufyI3OoaI0Ap1lqiSLqfk9q0cCbg0vrYLlj0Z7AQXKqMELbjLb0 RL3A1HTFxonbRzaUzDkTJxmVzwMRMubj/CiuaChdXye9bBvCeifxoBsl8peoXM4aFYth4O x8Eap9/JBRImoa8RjBcP/KtUEkyAJnrCzliktRL7YcWJ8c0lMVhQfWkaBbs2CA== From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH] qpdf: Update to version 11.7.0 Date: Tue, 26 Dec 2023 14:10:35 +0100 Message-ID: <20231226131036.3260423-4-adolf.belka@ipfire.org> In-Reply-To: <20231226131036.3260423-1-adolf.belka@ipfire.org> References: <20231226131036.3260423-1-adolf.belka@ipfire.org> MIME-Version: 1.0 Message-ID-Hash: D2UT6TUQWOK4HRGXHYWHU5TUDTJ2P52Q X-Message-ID-Hash: D2UT6TUQWOK4HRGXHYWHU5TUDTJ2P52Q X-MailFrom: adolf.belka@ipfire.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: IPFire development talk Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: - Update from version 11.6.1 to 11.7.0 - Update of rootfile - Changelog 11.7.0 * Define CPACK_NSIS_MODIFY_PATH for the Windows builds so the official installers will offer to modify PATH when installing qpdf. Fixes #1054. * Add QPDFAcroFormDocumentHelper::disableDigitalSignatures, which disables any digital signature fields, leaving their visual representations intact. The --remove-restrictions command-line argument now calls this. Fixes #1015. * Generate a more complete qpdf "man page" from the same source as qpdf --help. Fixes #1064. * Allow the syntax "--encrypt --user-password=user-password --owner-password=owner-password --bits={40,128,256}" when encrypting PDF files. This is an alternative to the syntax "--encrypt user-password owner-password {40,128,256}", which will continue to be supported. The new syntax works better with shell completion and allows creation of passwords that start with "-". Fixes #874. * When setting a check box value, allow any value other than /Off to mean checked. This is permitted by the spec. Previously, any value other than /Yes or /Off was rejected. Fixes #1056. * Fix to QPDF JSON: a floating point number that appears in scientific notation will be converted to fixed-point notation, rounded to six digits after the decimal point. Fixes #1079. * Fix to QPDF JSON: the syntax "n:/pdf-syntax" is now accepted as an alternative way to represent names. This can be used for any name (e.g. "n:/text#2fplain"), but it is necessary when the name contains binary characters. For example, /one#a0two must be represented as "n:/one#a0two" since the single byte a0 is not valid in JSON. Fixes #1072. * From M. Holger: Refactor QPDFParser for performance. See #1059 for a discussion. * Update code and tests so that qpdf's test suite no longer depends on the output of any specific zlib implementation. This makes it possible to get a fully passing test suite with any API-compatible zlib library. CI tests with the default zlib as well as zlib-ng (including verifying that zlib-ng is not the default), but any zlib implementation should work. Fixes #774. * Bug fix: with --compress-streams=n, don't compress object, XRef, or linearization hint streams. * Add new C++ functions "qpdf_c_get_qpdf" and "qpdf_c_wrap" to qpdf-c.h that make it possible to write your own extern "C" functions in C++ that interoperate with the C API. See examples/extend-c-api for more information. * Bug fix from M. Holger: the default for /Columns in PNG filter is 1, but libqpdf was acting like it was 0. * Enhancement from M. Holger: add methods to Buffer to work more easily with std::string. 11.6.4 * Install fix: include cmake files with the dev component. * Build AppImage with an older Linux distribution to support AWS Lambda. Fixes #1086. 11.6.3 * Tweak linearization code to better handle files between 2 GB and 4 GB in size. Fixes #1023. * Fix data loss bug: qpdf could discard a the character after an escaped octal string consisting of less than three digits. For content, this would only happen with QDF or when normalizing content. Outside of content, it could have happened in any binary string, such as /ID, if the encoding software used octal escape strings with less than three digits. This bug was introduced between 10.6.3 and 11.0.0. Fixes #1050. 11.6.2 * Bug fix: when piping stream data, don't call finish on failure if the failure was caused by a previous call to finish. Fixes #1042. * Push .idea directory with the beginning of a sharable JetBrains CLion configuration. 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 ac6117db0..4bc9120cc 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.6.1 +usr/lib/libqpdf.so.29.7.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 f155d274c..b91ca693f 100644 --- a/lfs/qpdf +++ b/lfs/qpdf @@ -24,7 +24,7 @@ include Config -VER = 11.6.1 +VER = 11.7.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 = fd6163963eb192b38ed1e78cba443e9e247e6ff408efd6cb480c81ac3d9d233e00edf9ef0858e51ac755b2b7cea0d8763ac6dda3fe9d54618114b4b3a00d5b15 +$(DL_FILE)_BLAKE2 = aa10e154899a7fd53d696b9521cc8a44d4a336094711ddc2a506dac8841ae12ce5bcd604555725d2b6bae3c63a6a3f6ef0e9ab6baf38dd3d7fa71507234378a3 install : $(TARGET)