summaryrefslogtreecommitdiff
path: root/app-text
diff options
context:
space:
mode:
Diffstat (limited to 'app-text')
-rw-r--r--app-text/Manifest.gzbin48749 -> 48756 bytes
-rw-r--r--app-text/libpaper/Manifest2
-rw-r--r--app-text/libpaper/libpaper-2.1.2.ebuild30
-rw-r--r--app-text/qpdf/Manifest3
-rw-r--r--app-text/qpdf/qpdf-11.6.3.ebuild84
5 files changed, 119 insertions, 0 deletions
diff --git a/app-text/Manifest.gz b/app-text/Manifest.gz
index 8933f08c9c38..6e9f76a584fd 100644
--- a/app-text/Manifest.gz
+++ b/app-text/Manifest.gz
Binary files differ
diff --git a/app-text/libpaper/Manifest b/app-text/libpaper/Manifest
index e805189e7298..3b5ff0c80b67 100644
--- a/app-text/libpaper/Manifest
+++ b/app-text/libpaper/Manifest
@@ -3,6 +3,7 @@ DIST libpaper-2.0.12.tar.gz 1304598 BLAKE2B e8a78fc3efc3d0676e8596c0c457f4ebab26
DIST libpaper-2.0.4.tar.gz 1286975 BLAKE2B 2751422ca3176d1f47d98c74d948d986e6dcff15acbac126535f526312900650e25fa0a4d68ceebc5d718f5135be22a9f9407d690dc5d5e22eab9dc55b040fc8 SHA512 d603a807c8fdc57b704cdfdc90bedf05c54c8a7b67e8cf52f26298c22a6cee5291fcadc6e67d28b00cf9d68f4890a394e56c8e91f0b97c8edfac4662fe4dc8f0
DIST libpaper-2.1.0.tar.gz 1306128 BLAKE2B 6e44e3d2fcf01faa551b1df401155a96b8612f5372683cf8f62af7af4ec93e748c650a3246a0548c3fea9f48c4f61b21a0a9c6310d4d19aed599b8b165c0bd72 SHA512 0e54084ee4aada1eb87cb8e0423ff23039298b0135c7f1c7c92794ef9010ab0704e5fab94f2e34dfbee2f8c048e11b6acecc04a4f3ac7c772dec5be43f870392
DIST libpaper-2.1.1.tar.gz 1262975 BLAKE2B 1605accd560f34ffc08f556fbab6caae4f945dccf83a08e2a0f1f971915d914450a615bf76db316fce3e32a38e53a6a77751df7617d0271cd1f55eaa7db084e8 SHA512 90fabb586115d99c9fb4d4ecee87ac0d1b2ac17ddf0c89287eb82e21834b0a2bc7cd5049fb73f3e20e4b494c374413c388b28c3274ceb278ce81928e17fde288
+DIST libpaper-2.1.2.tar.gz 1264200 BLAKE2B d931c70ea1b26e57ef5cf120189dbf089d7b122ab195b154e6dc100845f63acd051195662d1b019a2f738ebe65047207b39609f4db0e748eaabc3868f3a2ccb0 SHA512 29c5d8074c10f6413b4eaf779153828e59b4b7353e6b380b37ed6cac04a92dc367da775a62e561b47064728f4173cb526d05a8abd80334ad229ee2a42039ac7b
DIST libpaper_1.1.28.tar.gz 42356 BLAKE2B 48c4a28c6ff01bd91e257b6b306e787e5c6112052cff09bdb501d1cc4ddd10964c3588942098a6092d5a44391dfb22e10d5147d4c5012497f473473129ff7422 SHA512 3bf6ebb0af89931d2f72ea4a09a7fa958b2facda5f238983ec7bac39652e08614b33f0de3af74a03457b2a4203eee4950bf18a4b726e79aa64093ace6a1fb0bc
EBUILD libpaper-1.1.28.ebuild 1091 BLAKE2B 959695856a3c1c883f214a45893da5355d633ce9dafaf1509fa7820ba1c0134172c6e688dc87c2af7bf88806e0682426c7089bdd21bed3d7fc2e76455e6b82c7 SHA512 0fbfee7d663a4c1f9e7f230b734334de8ae25cc2ad7fac5e1efc10dfb6a23c4f1dfa4dd03ddd5c4a5c56cbdd8bcfe4e5781b41fd882382992140628645e327ba
EBUILD libpaper-2.0.10.ebuild 694 BLAKE2B fbd024536c0d7c9901d9a90214543650dcbc45c5e510e35711cf51f12c7182134f5010e56242f0d2bbae737e8ff5fe85a64c27cb3f63a75490194ffe4cf0d255 SHA512 a965663584d0de7b1c36f48bb2f74bee550f9e879e7a4655044f20ef66868e6b22937b099f91b75c96e564874dbf36ce8748b0789b97b6e79d307d9def523e83
@@ -10,4 +11,5 @@ EBUILD libpaper-2.0.12.ebuild 694 BLAKE2B fbd024536c0d7c9901d9a90214543650dcbc45
EBUILD libpaper-2.0.4.ebuild 806 BLAKE2B 9a4bed52ec481ae9879c4ab580e2f263b6ee45d60fb1b56d57dd1f4c629c738927590c9512b5b76c38a7e1836e0f51a54c05244f88f869ab41dcd2b366e05a39 SHA512 8a5bbe6afdc418adb360f7712d6c682a221257c4ab2791e88527f4d859b62db471507e5fb5da56453adde0f5e26c49895facf278f3ad7635f47d1560b82b5f80
EBUILD libpaper-2.1.0.ebuild 707 BLAKE2B 0bb35173e5699918b6164e40092053566c05dfc7a1eb015241e3ecda0a8cdce674a84036d59466a645a3904ac4fc1893ce4b920b8b1ab2a0e09552963cc3aa8f SHA512 cd9c5d24d15bc49c96687be2d5ce891a1102c59c23d92d68e4856cd428a412b843fd50f7aa4156a3c923cc7be591b651fb3fe5f1a16bd9e27707cc41af183780
EBUILD libpaper-2.1.1.ebuild 856 BLAKE2B df03e2e5501dd1414ea2247280380c1189342228e61ba28b43c50cfe9bf8c2f1ffc650756a721351d59a86cfff0ee1b6d3b514b44be949feb879401a4c280178 SHA512 de00907f55027faa8b72ac3165f48408649af35a8a28acfaf6b9303a54ec6d178379cfc55ef4eff354331b0f9ba8fba4d616f9650b359fe14adc17c8ab56df30
+EBUILD libpaper-2.1.2.ebuild 856 BLAKE2B df03e2e5501dd1414ea2247280380c1189342228e61ba28b43c50cfe9bf8c2f1ffc650756a721351d59a86cfff0ee1b6d3b514b44be949feb879401a4c280178 SHA512 de00907f55027faa8b72ac3165f48408649af35a8a28acfaf6b9303a54ec6d178379cfc55ef4eff354331b0f9ba8fba4d616f9650b359fe14adc17c8ab56df30
MISC metadata.xml 342 BLAKE2B 28767bfca8e43186de0792106c408d3a8e0ef8c9c59836789b045c23f12163e43b9eb547c93f1751f031b8f61bd7940f50ccaa95f2ecc14cdf5a9267be721d0e SHA512 0d16a636e3cce2ee9051bd694f34a072ff13d4ca6f4c9f3e81443cea386f48f5863db03ca9cb050f43a6a1fa483d401969617597d68024fee10058a0c72b3585
diff --git a/app-text/libpaper/libpaper-2.1.2.ebuild b/app-text/libpaper/libpaper-2.1.2.ebuild
new file mode 100644
index 000000000000..2cae82b147f6
--- /dev/null
+++ b/app-text/libpaper/libpaper-2.1.2.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Library for handling paper characteristics"
+HOMEPAGE="https://github.com/rrthomas/libpaper"
+SRC_URI="https://github.com/rrthomas/libpaper/releases/download/v${PV}/${P}.tar.gz"
+
+# See README.
+# paperspecs is public-domain
+LICENSE="LGPL-2.1+ GPL-3+ public-domain"
+SLOT="0/$(ver_cut 1)"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
+
+QA_CONFIG_IMPL_DECL_SKIP=(
+ # Gnulib false positives #898346
+ # These are all tested without an #include first
+ MIN alignof static_assert
+)
+
+src_configure() {
+ econf --enable-relocatable
+}
+
+src_install() {
+ default
+
+ find "${ED}" -type f -name '*.la' -delete || die
+}
diff --git a/app-text/qpdf/Manifest b/app-text/qpdf/Manifest
index 3db5bf364659..a933b0862a37 100644
--- a/app-text/qpdf/Manifest
+++ b/app-text/qpdf/Manifest
@@ -12,6 +12,8 @@ DIST qpdf-11.6.1-doc.zip 6861634 BLAKE2B bc9f566de9bc403e9a81184ef860cf2c3925322
DIST qpdf-11.6.1.tar.gz 18646767 BLAKE2B fd6163963eb192b38ed1e78cba443e9e247e6ff408efd6cb480c81ac3d9d233e00edf9ef0858e51ac755b2b7cea0d8763ac6dda3fe9d54618114b4b3a00d5b15 SHA512 a3ce1a531331a6f7e33244d598118f9463f92f0466fd1f2aa3dcdc6dc2c1db0811d00e5ff16ad33ccc81a702ff8dbec719f56194f944de1e00f5e6cc8ed17a69
DIST qpdf-11.6.2-doc.zip 6863319 BLAKE2B d140a35de156a40dc62ac900f2095d826760d05bdb58c2b6d8ba8ec68d823d9ab5022027d634f82b3a182ec3a842f22f44b659df7355c55e74d8e31a11458a2b SHA512 0d81c3a467833fd66668e2cbc6afef3346cbf2eeb01eaffc532165a19910a000e9e7eea0174e4b930ecd55e423680e39a7b0c8bb6f618e6f9c019058b6bd90ce
DIST qpdf-11.6.2.tar.gz 18656098 BLAKE2B e34c40dcea3e6a3a25a3624bff6afea80ee18f4f02c16b2442a8fc622ab0b6eddd1e8660f3c35f4e3115206a34a97c64e53b9aac46e896517ed5c05aed9d341b SHA512 58f8eff51f4bf64a5cbc40af467aa0626f7f25a31222711e06596f9fccd9ecc0d9d7d87cf65e2055d23409d23458e33bc94f303cd797d00af3c6bc5872b3ef28
+DIST qpdf-11.6.3-doc.zip 6864204 BLAKE2B 05a9d44b877ab9eab4548646ec2cd8110a47e594b0b1d364c7a5d25b249efa368f94c0e549da8697f685fde17ce59378a32e6c31f5dcd1731c97a2434cbe5af0 SHA512 0cdeb6d408823a49909d2394a9cedd8ae5d4f9fd4f4dbef70ce60c60401bc9b78b1740669f46b78609f11b0b4c8bdaafe094158e52b9449dca32d6afd3ece377
+DIST qpdf-11.6.3.tar.gz 18660605 BLAKE2B c684dab7544fe6024db26c7538cc2e16319aeb6c023b53ea97ec9c5ae474ac67538a99a80524d924ac0758f0fc7d552dbea1a47df7595b25dbec121738a07ec8 SHA512 afc1d130e10bb527a7425ce39f6d93245c3d9b08002d104fdf0e909b586f80174fa2eed863794f10b76bab86a064b904eebca89902212accc45a68f9430c122e
EBUILD qpdf-11.1.1-r1.ebuild 1850 BLAKE2B 5e52d82411d166b3d1959f72a5ba9672473ce50c78f01284cd9d42163ef20d61b29893e554773c61a63d4244da8fea22402591eabeef1c5835200d08b6fde4b3 SHA512 133fcaeae8de4256704cb55c0670d8c664ddbf1f11f28577e2bf73bea961b8755757aadbeda4222e5a2d5c80792cdf6beb2d3918729866270d6b930503622f67
EBUILD qpdf-11.2.0-r1.ebuild 1850 BLAKE2B 574271ba3fc5b19da071d62a32357a108de174f0c26ea93d91d81b35e6d1928c685cd9da8edc4499d090d2080f96f8ffd12f82eb748f7223c940b3986e66faa3 SHA512 b53654535d13f84095569a40fa36785228a8c2447815ab6a7a3ee3b0ebb480200bafe25a7bccb160a719a45c28ff12c36fceb7a7384af55ec4304a7e817aad28
EBUILD qpdf-11.3.0.ebuild 1850 BLAKE2B 574271ba3fc5b19da071d62a32357a108de174f0c26ea93d91d81b35e6d1928c685cd9da8edc4499d090d2080f96f8ffd12f82eb748f7223c940b3986e66faa3 SHA512 b53654535d13f84095569a40fa36785228a8c2447815ab6a7a3ee3b0ebb480200bafe25a7bccb160a719a45c28ff12c36fceb7a7384af55ec4304a7e817aad28
@@ -20,4 +22,5 @@ EBUILD qpdf-11.5.0.ebuild 1815 BLAKE2B bdbb5f1e63f8dcf2d18279231fbd6ed1045576ba6
EBUILD qpdf-11.6.1-r1.ebuild 1884 BLAKE2B c488fa1d68d364e612de17e99c2bc8611a6488d5f7f002a85bc8992a390800521bc045a625489d859fece7b8d746a2c2e98da81fa008eb3b36c86e7ccc2ff83f SHA512 9b7f37e43a8a71d1f836a70b92b31a5fe7419e2df6821157a0145e4a771718ad4b60d256e9d883f4b6bd916e93e4e9d6be0c746d99ec6f893015c1073b48520e
EBUILD qpdf-11.6.1.ebuild 1823 BLAKE2B bff9ca5cf2f998df67137b7df24a43204e08b136b00b610149e2da71365d4f651232664329cb8651177fda271bf7f523b171aee057e39ab45e25fe5eb3c68e44 SHA512 d0178fa1b535655df38c46418f0407ccc3d6a7da955e93c46a2d9f87eb1a97ced42273cb1edc5cb1d70c9e6a962b35d1aec4b96e2ec3aacd654ce949b572b2b3
EBUILD qpdf-11.6.2.ebuild 1982 BLAKE2B c5846d13ba45b1a9d82c328ecc803cdb3335fdca6f6875b2dd8a2f6fca4a94cbd0fef7285b5143cf4ac19432e0b049f79fd89c56f089cdab5a94de6c8ad9f48f SHA512 c50601953eac0b27b7d5d043c68dc7a17811168863638318424ff3609953c41cde69c67c9d1508cb1a6a6d5fc3d79894a9ba476142a3300530f864326c417289
+EBUILD qpdf-11.6.3.ebuild 1982 BLAKE2B c5846d13ba45b1a9d82c328ecc803cdb3335fdca6f6875b2dd8a2f6fca4a94cbd0fef7285b5143cf4ac19432e0b049f79fd89c56f089cdab5a94de6c8ad9f48f SHA512 c50601953eac0b27b7d5d043c68dc7a17811168863638318424ff3609953c41cde69c67c9d1508cb1a6a6d5fc3d79894a9ba476142a3300530f864326c417289
MISC metadata.xml 444 BLAKE2B 1febc86d8f85aff5ec02d910550aca3bde66111c3e7364b264db3fca10020ea9bc2887dc8283217e2cb8d05ba46c176a92993e0d418528cbe590771dccc49d90 SHA512 dde5e34ef0d6c65df8a2ca8d630182413800f4c10f4b9860ed752623b6f4864dd4969c757e06b2689c8c5da3377bfcc28ec223e531432add083cd4a68211ea1c
diff --git a/app-text/qpdf/qpdf-11.6.3.ebuild b/app-text/qpdf/qpdf-11.6.3.ebuild
new file mode 100644
index 000000000000..cd7413346d61
--- /dev/null
+++ b/app-text/qpdf/qpdf-11.6.3.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake bash-completion-r1
+
+DESCRIPTION="Command-line tool for structural, content-preserving transformation of PDF files"
+HOMEPAGE="https://qpdf.sourceforge.net/"
+# TODO: verify-sig
+SRC_URI="https://github.com/qpdf/qpdf/releases/download/v${PV}/${P}.tar.gz"
+SRC_URI+=" doc? ( https://github.com/qpdf/qpdf/releases/download/v${PV}/${P}-doc.zip )"
+
+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 ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples gnutls ssl test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ media-libs/libjpeg-turbo:=
+ sys-libs/zlib
+ ssl? (
+ 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 )
+"
+
+QA_CONFIG_IMPL_DECL_SKIP=(
+ # glibc only (bug #899052)
+ malloc_info
+)
+
+src_configure() {
+ # 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
+ )
+
+ if use ssl ; then
+ local crypto_provider=$(usex gnutls GNUTLS OPENSSL)
+ local crypto_provider_lowercase=${crypto_provider,,}
+ mycmakeargs+=(
+ -DDEFAULT_CRYPTO=${crypto_provider_lowercase}
+ -DREQUIRE_CRYPTO_${crypto_provider}=ON
+ )
+ fi
+
+ 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
+}