From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 04EB81581EE for ; Mon, 07 Apr 2025 05:31:05 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id C79B23430F1 for ; Mon, 07 Apr 2025 05:31:04 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 1891E1104B7; Mon, 07 Apr 2025 05:31:00 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 141BE1104B7 for ; Mon, 07 Apr 2025 05:31:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BE6583430B5 for ; Mon, 07 Apr 2025 05:30:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 256FA2737 for ; Mon, 07 Apr 2025 05:30:58 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1744003853.524f3b4b159189531b89b3fa26528dfc86cb86d5.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/qpdf/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/qpdf/Manifest app-text/qpdf/qpdf-12.1.0.ebuild X-VCS-Directories: app-text/qpdf/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 524f3b4b159189531b89b3fa26528dfc86cb86d5 X-VCS-Branch: master Date: Mon, 07 Apr 2025 05:30:58 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 07b7f926-75c9-4133-b5ef-1e6dfffd051d X-Archives-Hash: bcfe2d1bb3cbd6c5293413527a3b658a commit: 524f3b4b159189531b89b3fa26528dfc86cb86d5 Author: Michał Górny gentoo org> AuthorDate: Mon Apr 7 05:09:06 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Apr 7 05:30:53 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=524f3b4b app-text/qpdf: Bump to 12.1.0 Signed-off-by: Michał Górny gentoo.org> app-text/qpdf/Manifest | 3 ++ app-text/qpdf/qpdf-12.1.0.ebuild | 99 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 102 insertions(+) diff --git a/app-text/qpdf/Manifest b/app-text/qpdf/Manifest index b24cdd62d2b6..cefe9517ba5d 100644 --- a/app-text/qpdf/Manifest +++ b/app-text/qpdf/Manifest @@ -7,3 +7,6 @@ DIST qpdf-11.9.1.tar.gz.asc 833 BLAKE2B 4b676ac2469971e0b4862d329d489ca4c37a11a7 DIST qpdf-12.0.0-doc.zip 16615215 BLAKE2B fe7ee27dca5a68a11a4776635e8c88bd2c52bca48c6156d06f82b71264e34b98bc9134f078fc36f6be5135899b4f982a1c59f87c85f5d588f22c1ce951c3f706 SHA512 01897d6ac25ed511c2c8535386e0dbe6e3ae03ffac7d824fe09294280b82bbb8ec43802a61d7dfb52029860c558f68e2f13e4cd6cda507fea499cfa81550c2ba DIST qpdf-12.0.0.tar.gz 19483762 BLAKE2B 8fb398e24ae09248ee58f290b3911827541ae395f61672fea4d31e26817886410b5b1b203c83af03840597677777ad6a9de29a5d95b916a9eba1887ab7907540 SHA512 1d2e723b44c219057154607746bf53c6589240d5c9a267ed4180dbd574bb4a51f3862d4a2d77521eb1023b7a278e89162a811222611988dc48ca028a53845db1 DIST qpdf-12.0.0.tar.gz.asc 833 BLAKE2B 7e97af439fba80643c2eaf1e730d5f61cc9f01f303e37bde97ef5bf7f1190ddc9dc0af645e400910114707e86541d27b6039fa7f74b2666264741b65999646a9 SHA512 0b9ccb89e26bd1120f590918bf614d89a9f75817958ca86a41260cf50747aa558b63f1ba496ff2506ca30692ef129728d982762695cbeed3840d2f45443d86c2 +DIST qpdf-12.1.0-doc.zip 16622544 BLAKE2B f8c2cac927d32b9d2ba3740d1800895e7d301b42e6d215f8a0334f57f7c581eb05c3b9b4398672bfea971e017635bc77610ae53919901443050133e841dfc040 SHA512 9539096064ecd744a6fc4ea5431c6bf519d2ebdd158ff9a1cbf77c9eef15f896ffa4ba1ea7b3b8e7240e2fea361a6ca2c01840bb6324a9933f9d84d1f2e5cbd5 +DIST qpdf-12.1.0.tar.gz 19496862 BLAKE2B f27eb66ad2925d9ce50c44b26cae0731cb07e0272e8b11c02e11e816e59af070d60261db4842fb042be005961c6728f349644220951eb7e84e84ae7ffce8e237 SHA512 1ebba761e1b5091417b324c53aac6d1ce75b3ac868f6590d4e4a9d36a08bddccfc66a478c5626211b57bdd01086a612a5aff75a576e1dadc52b122a47b552d10 +DIST qpdf-12.1.0.tar.gz.asc 833 BLAKE2B 2049b64feb94eec8cb4b9f6565ba0416361cf4261b4e20211e86bc25357b3cf484bbc0c8f5c7e0170e4cd9a36ff70d6343bb45a7975fd1732f35c6f177579172 SHA512 16dd917d73430a065e784112c22149505e30a075df992c93710e01c9379a13361cb8e86e1fa2c6fd77a638b6328286bbb89e5685a9b6115328792dd0e4b6efff diff --git a/app-text/qpdf/qpdf-12.1.0.ebuild b/app-text/qpdf/qpdf-12.1.0.ebuild new file mode 100644 index 000000000000..778551162ec3 --- /dev/null +++ b/app-text/qpdf/qpdf-12.1.0.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake shell-completion verify-sig + +DESCRIPTION="Command-line tool for structural, content-preserving transformation of PDF files" +HOMEPAGE=" + https://qpdf.sourceforge.io/ + https://github.com/qpdf/qpdf/ +" +SRC_URI=" + https://github.com/qpdf/qpdf/releases/download/v${PV}/${P}.tar.gz + doc? ( + https://github.com/qpdf/qpdf/releases/download/v${PV}/${P}-doc.zip + ) + verify-sig? ( + https://github.com/qpdf/qpdf/releases/download/v${PV}/${P}.tar.gz.asc + ) +" + +LICENSE="|| ( Apache-2.0 Artistic-2 )" +# Subslot for libqpdf soname version (just represent via major version) +SLOT="0/$(ver_cut 1)" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="doc examples gnutls test zopfli" +RESTRICT="!test? ( test )" + +RDEPEND=" + media-libs/libjpeg-turbo:= + sys-libs/zlib + gnutls? ( net-libs/gnutls:= ) + !gnutls? ( dev-libs/openssl:= ) + zopfli? ( app-arch/zopfli:= ) +" +DEPEND=" + ${RDEPEND} + test? ( + app-text/ghostscript-gpl[tiff(+)] + media-libs/tiff + sys-apps/diffutils + ) +" +BDEPEND=" + dev-lang/perl + doc? ( app-arch/unzip ) + verify-sig? ( sec-keys/openpgp-keys-jberkenbilt ) +" + +QA_CONFIG_IMPL_DECL_SKIP=( + # glibc only (bug #899052) + malloc_info +) + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/jberkenbilt.asc + +src_unpack() { + if use verify-sig ; then + verify-sig_verify_detached "${DISTDIR}"/${P}.tar.gz{,.asc} + fi + + default +} + +src_configure() { + local crypto_provider=$(usex gnutls GNUTLS OPENSSL) + local crypto_provider_lowercase=${crypto_provider,,} + + # Keep an eye on https://qpdf.readthedocs.io/en/stable/packaging.html. + local mycmakeargs=( + -DINSTALL_EXAMPLES=$(usex examples) + -DZOPFLI=$(usex zopfli) + + # Avoid automagic crypto deps + -DUSE_IMPLICIT_CRYPTO=OFF + -DALLOW_CRYPTO_NATIVE=ON + + # Breaks install with USE=-doc in 11.0.0? + #-DINSTALL_MANUAL=ON + + -DDEFAULT_CRYPTO=${crypto_provider_lowercase} + -DREQUIRE_CRYPTO_${crypto_provider}=ON + ) + + cmake_src_configure +} + +src_install() { + if use doc ; then + mv "${WORKDIR}"/${P}-doc "${BUILD_DIR}"/manual/doc-dist || die + fi + + cmake_src_install + + # Completions + dobashcomp completions/bash/qpdf + dozshcomp completions/zsh/_qpdf +}