commit:     2a7c441239c278f4200136f40ecfbe3fe8d0ad85
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon May  5 04:30:22 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon May  5 05:05:51 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a7c4412

app-text/qpdf: Remove old

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 app-text/qpdf/Manifest                             |   6 --
 .../qpdf/files/qpdf-11.9.1-include-cstdint.patch   |  37 --------
 app-text/qpdf/qpdf-11.10.1.ebuild                  | 101 --------------------
 app-text/qpdf/qpdf-11.9.1.ebuild                   | 103 ---------------------
 4 files changed, 247 deletions(-)

diff --git a/app-text/qpdf/Manifest b/app-text/qpdf/Manifest
index cefe9517ba5d..4f0a4a58c86e 100644
--- a/app-text/qpdf/Manifest
+++ b/app-text/qpdf/Manifest
@@ -1,9 +1,3 @@
-DIST qpdf-11.10.1-doc.zip 16606254 BLAKE2B 
ae8a4fef1f7e866dc47e977304aadcf8d1e634c9c313544981fc12828079548a0ab60301fd3f873d72005bdc2510df830f7db766f615a7b390b4adeabb7ce74f
 SHA512 
205a51ee20fbafbf31fbe02f830fd0d350ea155476064f73d2924154c21a08169556b24dc87b3320dd26c884acf02d4b0f9e69d02ce447889d915f3b835c3f61
-DIST qpdf-11.10.1.tar.gz 19497326 BLAKE2B 
a6ee1aae4fce5717374ad7d0a1bac3a7b244df6fd1a0f330e5d324c3239d5823add8c47fc09b1d0d6b12a2161cc3722d95781199aa3d8c29c7118e0ff07e6ba7
 SHA512 
2229d9feee4189770ec7c0a6a2fa39664af8f29b0410bacf40f53fa83a047ee282de7324c028f70eda69cd7da78e65589240c95dcfbf3718741428ffe403ac19
-DIST qpdf-11.10.1.tar.gz.asc 833 BLAKE2B 
260b056b35bdd6a04c6401c7b496969740c1c1b488e52a55eb489ffe2ad631e3b60c2ff42d0b3f641d8aaf0735aa6560be95379f4147ef10206f70c6f0be1812
 SHA512 
2da7dbbe1e3105ff527187fd32b14f3d2ff2f458f12dc7431a47421bad1ef1919c56849c8699f1feada55d3d2b7d06b891f2b257255899547d5609ba5837c806
-DIST qpdf-11.9.1-doc.zip 6895053 BLAKE2B 
6f23676b54cc1e913ec131cd2121e9ef35dd74cc2d85949e28374ca8fc449a8a93946c0ec7bd41c2cbabaef2eb00e54fb9cac7376658e835f9c2ab9e1e58bb7a
 SHA512 
7cd4add8d43ab366feac34e98e7ce13338ed3e2282f5bbe5c59b96230acff3bdb259723ebf197f2e4aba6ed03ba20cab01df4cf583b9d80102e8f5ec0e06e18d
-DIST qpdf-11.9.1.tar.gz 18585065 BLAKE2B 
fa845e04d6044c70e1864a8eee9831774218a2fa6de74fed1efc22f0cc4982b7e41b2a7d6f0c794941eac08ba65d2196d72399514c376e2774c754f074560c43
 SHA512 
8c60c6639371e71a5229afb2e11c18aa660061e652eae4a8d9c8e9ceff913b0c7d866ed17375d1be9c439b0789ea03064ab98771f43fd03c7059aa136285a4b2
-DIST qpdf-11.9.1.tar.gz.asc 833 BLAKE2B 
4b676ac2469971e0b4862d329d489ca4c37a11a753bee380668159f8e0c8bdeecefcfc51b6aa0fbafc379a732aacb89481b52138a38cb69fd8d8cfb804dcae9f
 SHA512 
392cec40c7f7251f77ef3c7d27d9fc5c8d63ae6774192af59b3651c240fe652d67dee8ad80c94ee67362e27983124fecefc97df542b8e8d48843f2c305fa99b8
 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

diff --git a/app-text/qpdf/files/qpdf-11.9.1-include-cstdint.patch 
b/app-text/qpdf/files/qpdf-11.9.1-include-cstdint.patch
deleted file mode 100644
index 0c292e3e9626..000000000000
--- a/app-text/qpdf/files/qpdf-11.9.1-include-cstdint.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-https://github.com/qpdf/qpdf/commit/6918f0b7eb0160059d712ee19ba0ce2d65b9f89c
-
-From: Christopher Fore <[email protected]>
-Date: Mon, 5 Aug 2024 09:41:50 -0400
-Subject: [PATCH] libtests: include cstdint for GCC 15
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-GCC 15 starts to no longer include this by default, requiring it to be
-explicitly included.
-
-Error message:
-libtests/cxx11.cc:75:16: error: ‘uint8_t’ was not declared in this scope
-   75 |     check_size<uint8_t>(1, false);
-      |                ^~~~~~~
-libtests/cxx11.cc:10:1: note: ‘uint8_t’ is defined in header ‘<cstdint>’; this 
is probably fixable by adding ‘#include <cstdint>’
-    9 | #include <regex>
-  +++ |+#include <cstdint>
-   10 | #include <type_traits>
-
-Signed-off-by: Christopher Fore <[email protected]>
----
- libtests/cxx11.cc | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/libtests/cxx11.cc b/libtests/cxx11.cc
-index 59c74fa86..953ad00f9 100644
---- a/libtests/cxx11.cc
-+++ b/libtests/cxx11.cc
-@@ -1,5 +1,6 @@
- #include <qpdf/assert_test.h>
- 
-+#include <cstdint>
- #include <cstdlib>
- #include <cstring>
- #include <functional>

diff --git a/app-text/qpdf/qpdf-11.10.1.ebuild 
b/app-text/qpdf/qpdf-11.10.1.ebuild
deleted file mode 100644
index ce01ab9289c5..000000000000
--- a/app-text/qpdf/qpdf-11.10.1.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit bash-completion-r1 cmake 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
-
-       insinto /usr/share/zsh/site-functions
-       doins completions/zsh/_qpdf
-}

diff --git a/app-text/qpdf/qpdf-11.9.1.ebuild b/app-text/qpdf/qpdf-11.9.1.ebuild
deleted file mode 100644
index 39c17b16851b..000000000000
--- a/app-text/qpdf/qpdf-11.9.1.ebuild
+++ /dev/null
@@ -1,103 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit bash-completion-r1 cmake 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"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-       media-libs/libjpeg-turbo:=
-       sys-libs/zlib
-       gnutls? ( net-libs/gnutls:= )
-       !gnutls? ( dev-libs/openssl:= )
-"
-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
-
-PATCHES=(
-       "${FILESDIR}/${PN}-11.9.1-include-cstdint.patch" #937571
-)
-
-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)
-
-               # 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
-
-       insinto /usr/share/zsh/site-functions
-       doins completions/zsh/_qpdf
-}

Reply via email to