diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-13 23:44:17 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-13 23:44:17 +0100 |
commit | fdca6388cf31827202fae75cae067c695bd09339 (patch) | |
tree | 5021150295c139ea6a808950a9e1928b8ef593b8 /app-text | |
parent | b43fb9ec552fc1a84599161478d77c6716dd9e0a (diff) |
gentoo auto-resync : 13:04:2023 - 23:44:17
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/Manifest.gz | bin | 48589 -> 48574 bytes | |||
-rw-r--r-- | app-text/a2ps/Manifest | 2 | ||||
-rw-r--r-- | app-text/a2ps/a2ps-4.15.4.ebuild | 86 | ||||
-rw-r--r-- | app-text/libpaper/Manifest | 2 | ||||
-rw-r--r-- | app-text/libpaper/libpaper-2.1.0.ebuild | 24 | ||||
-rw-r--r-- | app-text/poppler/Manifest | 5 | ||||
-rw-r--r-- | app-text/poppler/poppler-23.04.0.ebuild | 136 | ||||
-rw-r--r-- | app-text/poppler/poppler-9999.ebuild | 2 |
8 files changed, 255 insertions, 2 deletions
diff --git a/app-text/Manifest.gz b/app-text/Manifest.gz Binary files differindex 55c5670fc95b..9f54d94faa6d 100644 --- a/app-text/Manifest.gz +++ b/app-text/Manifest.gz diff --git a/app-text/a2ps/Manifest b/app-text/a2ps/Manifest index b9eeaed1a627..2e45e9a5f9ac 100644 --- a/app-text/a2ps/Manifest +++ b/app-text/a2ps/Manifest @@ -21,7 +21,9 @@ DIST a2ps-4.14-ja_nls.patch.gz 27576 BLAKE2B 7300971fb76f6c8d2b0e5ffa519cf606451 DIST a2ps-4.14.tar.gz 2552507 BLAKE2B cd15a2b85f54f8bfb92adf9f4cf2c3c29091e528ae8072d0e905c58cc94caf55b76ac3e37891f8a0bc0909a177c5ee434fe5aaab3625a2c14127dabad8b506ed SHA512 fd6ac8ab47d789114c283e8ca508f7f56feabd1a189f4ac772cad9e6be7e3791e210892cfffd04ad1d39efe4b15386b2e61bf4cd56b70ed581c0554f36bfe06f DIST a2ps-4.15.2.tar.gz 3600923 BLAKE2B 37d6dd76578301a629a4171e194cc34836b393ef293193191b2a4e3c5635c154b0d380f921e3862cad64e468108105a669c89e76ec8baa915587f8fff8af8aa9 SHA512 637bda87c7e8d59d923428398d0d67066c700e7e37d91cf3408bfe38f3367afdc651a8248984512fbe71e0d1cb07cb4a348816650748e1fbde52625e8e055a70 DIST a2ps-4.15.3.tar.gz 3601424 BLAKE2B 6a3a94d8ee2ff6ffabd3b4784b6b69fe1ba91d66b947de57145d952312deeab0d883714b19a5aab69c9cca6818b4c00e6efc69edf0bc3ee0a7ee56ac4c65491b SHA512 41f0590c5f794af767b57bfe2eeea105b73232ea9a9fcf87380d93cb4ccaaf652c69990bcb06d1da5f398f4c7d0ab6d23d9c3f5b6a85c37f36e72dc03e7ddc2a +DIST a2ps-4.15.4.tar.gz 3570970 BLAKE2B 96355c3e656199a6daebc7d311d85f9c124080db8d92e6fdc502bedf06c547e886fed8335f6ce01df04ee23972fb93ccf4c2614294dea63f1bf5eccd95f37a04 SHA512 aac3dfed21919682afa688b7315eeea012c5d496aad163b801021ed81d6056362d149745dcf48a99d139909c2ec796ce56bd4e63adb103d746ad89c691ea7779 EBUILD a2ps-4.14-r8.ebuild 3086 BLAKE2B ed9f36fc3e2d32cbbe51330dd994aac86c1f0fb57769b56973f0cfc243fb71ff69d72ab5c7133ebef9e150532288ba081dd24f368013a5db64608515806baeb5 SHA512 3fc03b3bc163cff89cf38a1ba8d04e5ce8228911ec991abb86a75ebbc8c357ae427b51d128e96ab0d53c62d4c56c7d7d025b03ab7278ff7b9c37e00ff2e4b21a EBUILD a2ps-4.15.2.ebuild 1868 BLAKE2B e7c07e0c818de8be95a2cb12056958af806b8c9dfe0f257835d8664a3db796718c4927b2b77e32d9399c112b084214b77ebedbcb1373d0e46cc6eafe7d9c33d8 SHA512 b6507d90f2aaadb87b06f3ba556c95e32871b94795ee8b53a4fbcb4bab5619dbfc331c3b6a58f38400767c3ec77ba011175f2983201fb04a934b4c2527759bad EBUILD a2ps-4.15.3.ebuild 1868 BLAKE2B e7c07e0c818de8be95a2cb12056958af806b8c9dfe0f257835d8664a3db796718c4927b2b77e32d9399c112b084214b77ebedbcb1373d0e46cc6eafe7d9c33d8 SHA512 b6507d90f2aaadb87b06f3ba556c95e32871b94795ee8b53a4fbcb4bab5619dbfc331c3b6a58f38400767c3ec77ba011175f2983201fb04a934b4c2527759bad +EBUILD a2ps-4.15.4.ebuild 1868 BLAKE2B e7c07e0c818de8be95a2cb12056958af806b8c9dfe0f257835d8664a3db796718c4927b2b77e32d9399c112b084214b77ebedbcb1373d0e46cc6eafe7d9c33d8 SHA512 b6507d90f2aaadb87b06f3ba556c95e32871b94795ee8b53a4fbcb4bab5619dbfc331c3b6a58f38400767c3ec77ba011175f2983201fb04a934b4c2527759bad MISC metadata.xml 442 BLAKE2B 89796eb65cfc9ab8929511f94655a9c7f6a39837f5c1cfb0f8885a29d3900512e6c3ee6b44f3ee8e23eca54112f72c7462d4fb223109fdea3d203d5ff4492252 SHA512 078d824c815b9cc0c5a0acfea6f8c5203eb3f1e94778987137181f987cbeaab0040389b0e34cda160d6a3c6f00508c39a6c30404b89dfe64782db1980c9340b7 diff --git a/app-text/a2ps/a2ps-4.15.4.ebuild b/app-text/a2ps/a2ps-4.15.4.ebuild new file mode 100644 index 000000000000..db63721729f2 --- /dev/null +++ b/app-text/a2ps/a2ps-4.15.4.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools elisp-common + +DESCRIPTION="Any to PostScript filter" +HOMEPAGE="https://www.gnu.org/software/a2ps/" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="cjk emacs latex nls static-libs vanilla" + +# a2ps-lpr-wrapper needs bash +RDEPEND=" + app-text/ghostscript-gpl + app-text/libpaper:= + >=app-text/psutils-1.17 + app-text/wdiff + app-shells/bash:* + dev-libs/boehm-gc + >=sys-apps/coreutils-6.10-r1 + emacs? ( >=app-editors/emacs-23.1:* ) + latex? ( virtual/latex-base ) + nls? ( virtual/libintl ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + app-alternatives/yacc + >=dev-util/gperf-2.7.2 + nls? ( sys-devel/gettext ) +" + +SITEFILE="50${PN}-gentoo.el" + +src_prepare() { + default + + use vanilla || eapply "${FILESDIR}"/${PN}-4.15-stdout.patch + + eautoreconf +} + +src_configure() { + export LANG=C LC_ALL=C + + econf \ + --enable-shared \ + $(use_enable static-libs static) \ + --sysconfdir="${EPREFIX}"/etc/a2ps \ + $(use_enable nls) \ + COM_netscape=no \ + COM_acroread=no \ + $(usev !latex COM_latex=no) \ + $(usev !emacs EMACS=no) +} + +src_install() { + emake \ + DESTDIR="${D}" \ + lispdir="${EPREFIX}${SITELISP}"/${PN} \ + install + + newdoc "${ED}"/usr/share/a2ps/README README.a2ps + newdoc "${ED}"/usr/share/a2ps/ppd/README README.a2ps.ppd + newdoc "${ED}"/usr/share/ogonkify/README README.ogonkify + + rm -f "${ED}"/usr/share/{a2ps,a2ps/ppd,ogonkify}/README || die + + find "${ED}" -name '*.la' -delete || die + + use emacs && elisp-site-file-install "${FILESDIR}"/${SITEFILE} + + dodoc ANNOUNCE AUTHORS ChangeLog FAQ NEWS README* THANKS TODO +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} diff --git a/app-text/libpaper/Manifest b/app-text/libpaper/Manifest index 429540d7106e..174ffc7c4c56 100644 --- a/app-text/libpaper/Manifest +++ b/app-text/libpaper/Manifest @@ -1,9 +1,11 @@ DIST libpaper-2.0.10.tar.gz 1304460 BLAKE2B 89c0ab7348cff01e278a64fe984f51102146c38699d1036ae265343cc7174a2954974770384e625582669217f57992ed28dd1755867e2f7d00b7e423323f500c SHA512 629d357b4946aca324ca95024dbfd5d49a9e7110b6163eac72482c010c4cb84b50a50b5b119399090a49eaef58329bf3c497d3d871b7c9e46ae5c8e71364c2ce DIST libpaper-2.0.12.tar.gz 1304598 BLAKE2B e8a78fc3efc3d0676e8596c0c457f4ebab26eb2f4d4f8e885237f475db4969f6c875bbb7021afb41a212e1cf8bc540e56b301964ce9f3399bb65af789db085cd SHA512 edea8758894eb4b36d7164623d34ae7721a903d7fccaf3a0a40b598e901699b8d2754cb02be9a289494de46e3d30463806c3d85a9d701947218bb7146cf05af4 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_1.1.28.tar.gz 42356 BLAKE2B 48c4a28c6ff01bd91e257b6b306e787e5c6112052cff09bdb501d1cc4ddd10964c3588942098a6092d5a44391dfb22e10d5147d4c5012497f473473129ff7422 SHA512 3bf6ebb0af89931d2f72ea4a09a7fa958b2facda5f238983ec7bac39652e08614b33f0de3af74a03457b2a4203eee4950bf18a4b726e79aa64093ace6a1fb0bc EBUILD libpaper-1.1.28.ebuild 1148 BLAKE2B b5556a5ae27415083aa89ca18a6f9dc232026a37fae823b9f96ef0325d28f2c1e37e3f34ecee1f4773793fb0b31b7f607ea955c9fa96a88d18a4b90eca8f54be SHA512 07e36537c2278711c602c667e50e72091aef0bbbb79de8a99ed915c7c1f600be4c7d53f7446578b3b1734375a07ab8464e5ab0b342ef50516d1e2b0e7c325d07 EBUILD libpaper-2.0.10.ebuild 751 BLAKE2B dff6949aeaaeabd4ba376751a664d5b3f480803527f372f8ca41ab1b8b87e607e621b10c949287d5481b109468303393e33671e95ba59c251efc258483f4f840 SHA512 56496703a0c56ee21a27f269df1f0702ad9387c1a851817f2f5a04ce7b7e9a15688d9b1893fd0d2b66071883b549c8b7d4859660b0cbbb1a78ab8afc4acf000e EBUILD libpaper-2.0.12.ebuild 759 BLAKE2B 3ab49f8c1b8d2bbe5672c6021e0b04ff4c10692bfe3cac95e212d2425e0b7a39f80982e07a7f08ab71cb6ba0da9e2855437ba184eb79762fa397e8b161073a44 SHA512 69bc2bee9595ae86e843b2413d9cee5458d2655cb6a20e478628817dd520cd3450f26b08589f9b13b2f5b6f73db5485df3d9653951a0f33888fc80ff2a3c2138 EBUILD libpaper-2.0.4.ebuild 863 BLAKE2B 3e0d9e2cbdf03710e90764064f0b1200028ad0ce9f850d243bcbfe76a674cd1e1c849d872d29cf895dad88bb0af568805f8b8b9fd725372b27128bb8bb181034 SHA512 d2b1345af00be4c2c723f08362f12a0e0570ab28bb401d68f533d8c866f61a95e662f089ec56fdb0fd85e17cf92252606d29fe2e84979bf06958cfa407244be1 +EBUILD libpaper-2.1.0.ebuild 759 BLAKE2B 3ab49f8c1b8d2bbe5672c6021e0b04ff4c10692bfe3cac95e212d2425e0b7a39f80982e07a7f08ab71cb6ba0da9e2855437ba184eb79762fa397e8b161073a44 SHA512 69bc2bee9595ae86e843b2413d9cee5458d2655cb6a20e478628817dd520cd3450f26b08589f9b13b2f5b6f73db5485df3d9653951a0f33888fc80ff2a3c2138 MISC metadata.xml 342 BLAKE2B 28767bfca8e43186de0792106c408d3a8e0ef8c9c59836789b045c23f12163e43b9eb547c93f1751f031b8f61bd7940f50ccaa95f2ecc14cdf5a9267be721d0e SHA512 0d16a636e3cce2ee9051bd694f34a072ff13d4ca6f4c9f3e81443cea386f48f5863db03ca9cb050f43a6a1fa483d401969617597d68024fee10058a0c72b3585 diff --git a/app-text/libpaper/libpaper-2.1.0.ebuild b/app-text/libpaper/libpaper-2.1.0.ebuild new file mode 100644 index 000000000000..d77438c2f590 --- /dev/null +++ b/app-text/libpaper/libpaper-2.1.0.ebuild @@ -0,0 +1,24 @@ +# 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 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +src_configure() { + econf --enable-relocatable +} + +src_install() { + default + + find "${ED}" -type f -name '*.la' -delete || die +} diff --git a/app-text/poppler/Manifest b/app-text/poppler/Manifest index f2d508930ccd..890999cd6fc1 100644 --- a/app-text/poppler/Manifest +++ b/app-text/poppler/Manifest @@ -7,8 +7,11 @@ DIST poppler-23.02.0.tar.xz 1847612 BLAKE2B ca5187432c5088372f0b8f4fcd39a93998b2 DIST poppler-23.02.0.tar.xz.sig 833 BLAKE2B 48b46b92d8d95f25a0619aaa50c29c652e91ba99c5f8d5f30cbb879a2145e3a21df0258585ee9e44d036f4a8c1d54023e1bb22aa0d90bf69403b37c601b37ef2 SHA512 68fe9d46ec6f7f1b6d0d7becf96675477454af9218ad20ad159d8a06def73f08db59915adbb77b520e3e43091aaf895e045c7ccaafb57d2b2b9390e84e70a963 DIST poppler-23.03.0.tar.xz 1849324 BLAKE2B 1247b7cf62466f65c46b739f0784e8ba97911940e04f91a7db28bf0663c8fe182f79066aa3925cb338580ccedbf17aecd2a2d2795e859680d1fb721390a1cbe0 SHA512 1c370d9262141ff5b720a4c3cf6f01573047398f8950295e3e99f32700946e3241e26e3d909cf78a278fc402306811fd87977d0f86a744f3eaedb4f39b8e8a2c DIST poppler-23.03.0.tar.xz.sig 833 BLAKE2B a8a07aac9068a3edc6cdce4d59c2b5d3d792dd6addcd420d5b92f013041cfd934c0da04a21eabefdd25167fb89b940945f8ca03e7a7280d03a47b6df8490bdf4 SHA512 3d950ff4b1a368b6edd8333677d1d125f60b4b1a052e20a2be6a0d38489e7af393be8359fc2c75010b2a28673e201507da4bf4c8458904fa712247d8ebda4786 +DIST poppler-23.04.0.tar.xz 1853488 BLAKE2B a26003f6bc642c03580d61999ae7e1c1756b2f602f697b372faaab99df7b5ddec843d93da3593d0388bc8a49d19ef00fc0e780d5297d77032afa77709a1f8372 SHA512 83580d42c79c6c5d08c686f764710bf08c6919b3707015ab3423c6f2a7fb711d53dde51b301148e14dba90a6f4d69bb6a3e0c8c47c1534047b0ce91be18d87ef +DIST poppler-23.04.0.tar.xz.sig 833 BLAKE2B 65b1f18330ff1e7088e3e1d427b6cf06563c82ada67b7fa1f2d90655ffb264b2c3db54a34cd6d91fb610c939dd76bcd15d3731dcb3b3be4ed532a8fa6845d60a SHA512 a7786ecd9dd7c160bfcad56bff6ac04d4503b2e2ef4f84b66c5ac67732dd9102d6156b791f2e356825ba7fe315b5ec566797b58ac18e3ac86a7b944f422994b2 EBUILD poppler-23.01.0.ebuild 3708 BLAKE2B e6447e3be63e3b1af49b2af667b50517c92a709c94cd08cd327115cd6700baaaa5471e37ab698b8e3ed4af8b3db5803629d9bce24c69808d650ee66cc41e6e3b SHA512 29a5be0b1b0afa6e577b76e57c9ab3955511d34a20542088b85586694de99554b6b5863e2e6dadc2b9e801c236a43389a8c06457583e43d8ff9a2b2e059e7782 EBUILD poppler-23.02.0.ebuild 3716 BLAKE2B 05482bef3faa8fc5d9209434fc001947182c0a2d794a45abde054a96e309ac5d76e661270b072f920cf147e017cba30f1b51c6ec855e57d15caab89ee5df9d3a SHA512 dc312fcd662d945bf522fca4c05b8bab83d9ac251a7676a36ae1cfabca17982984cf551c25f51d9a04488ff1972641ac44f687f4f3cfa21f89cac50ad54403ff EBUILD poppler-23.03.0.ebuild 3716 BLAKE2B 05482bef3faa8fc5d9209434fc001947182c0a2d794a45abde054a96e309ac5d76e661270b072f920cf147e017cba30f1b51c6ec855e57d15caab89ee5df9d3a SHA512 dc312fcd662d945bf522fca4c05b8bab83d9ac251a7676a36ae1cfabca17982984cf551c25f51d9a04488ff1972641ac44f687f4f3cfa21f89cac50ad54403ff -EBUILD poppler-9999.ebuild 3762 BLAKE2B 7fe4aae2e80923428d9d85fbe21d433183b71a1efab3ebf979fc7f8e60ab80494ddb9f97a2a992c71c185cd32266f45a8acc4bcdbf16df452e45fc08d8edc09b SHA512 c33415cdfdecceae571eadc5dd695dc9cef313603f8f0616626a853325f94a0c3af18f4499780212de97b3329369de37350f4efebed97f85f4b83c933d1f9b97 +EBUILD poppler-23.04.0.ebuild 3762 BLAKE2B 409ebee16ed41580dcb05a9ab78a9e24f6f91a2e7d0b6b08f16b68e721c87f5a19b53e0ff73dbdfb319147059426b93802a115800bb7eaa578d70760f384e85b SHA512 5743d8dfd6ffb10a124549eb28164e299c989a8fb52a241924751461f4eb089b814d2b59b8988221ee3c78bc64f0df86982896a2562d07bdd58cba0dddc0244c +EBUILD poppler-9999.ebuild 3762 BLAKE2B 409ebee16ed41580dcb05a9ab78a9e24f6f91a2e7d0b6b08f16b68e721c87f5a19b53e0ff73dbdfb319147059426b93802a115800bb7eaa578d70760f384e85b SHA512 5743d8dfd6ffb10a124549eb28164e299c989a8fb52a241924751461f4eb089b814d2b59b8988221ee3c78bc64f0df86982896a2562d07bdd58cba0dddc0244c MISC metadata.xml 1078 BLAKE2B c5ce2245efedc75eb39a6c649d27698da0ac07b87da3240aeb9fea1435d48c3282a8a3bb9f002c78b79de2a518cb73f3eef563c05f41528bb55ffeca84409e13 SHA512 22c83f7f6a7632fc4fe94223be9e5edac085099bf5c0f6621b0179b16e35b98b0027e467e76c0ca365008d765258e05faf48dbc4b1e8d5eb507f348a533f88f6 diff --git a/app-text/poppler/poppler-23.04.0.ebuild b/app-text/poppler/poppler-23.04.0.ebuild new file mode 100644 index 000000000000..353dacb709f7 --- /dev/null +++ b/app-text/poppler/poppler-23.04.0.ebuild @@ -0,0 +1,136 @@ +# Copyright 2005-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake flag-o-matic toolchain-funcs xdg-utils + +if [[ ${PV} == *9999* ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://anongit.freedesktop.org/git/poppler/poppler.git" + SLOT="0/9999" +else + VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/aacid.asc + inherit verify-sig + + SRC_URI="https://poppler.freedesktop.org/${P}.tar.xz" + SRC_URI+=" verify-sig? ( https://poppler.freedesktop.org/${P}.tar.xz.sig )" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + SLOT="0/127" # CHECK THIS WHEN BUMPING!!! SUBSLOT IS libpoppler.so SOVERSION +fi + +DESCRIPTION="PDF rendering library based on the xpdf-3.0 code base" +HOMEPAGE="https://poppler.freedesktop.org/" + +LICENSE="GPL-2" +IUSE="boost cairo cjk curl +cxx debug doc +introspection +jpeg +jpeg2k +lcms nss png qt5 tiff +utils" + +# No test data provided +RESTRICT="test" + +COMMON_DEPEND=" + >=media-libs/fontconfig-2.13 + >=media-libs/freetype-2.10 + sys-libs/zlib + cairo? ( + >=dev-libs/glib-2.64:2 + >=x11-libs/cairo-1.16 + introspection? ( >=dev-libs/gobject-introspection-1.64:= ) + ) + curl? ( net-misc/curl ) + jpeg? ( >=media-libs/libjpeg-turbo-1.1.0:= ) + jpeg2k? ( >=media-libs/openjpeg-2.3.0-r1:2= ) + lcms? ( media-libs/lcms:2 ) + nss? ( >=dev-libs/nss-3.49 ) + png? ( media-libs/libpng:0= ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtxml:5 + ) + tiff? ( media-libs/tiff:= ) +" +RDEPEND="${COMMON_DEPEND} + cjk? ( app-text/poppler-data ) +" +DEPEND="${COMMON_DEPEND} + boost? ( >=dev-libs/boost-1.71 ) +" +BDEPEND=" + >=dev-util/glib-utils-2.64 + virtual/pkgconfig +" + +if [[ ${PV} != *9999* ]] ; then + BDEPEND+=" verify-sig? ( >=sec-keys/openpgp-keys-aacid-20230313 )" +fi + +DOCS=( AUTHORS NEWS README.md README-XPDF ) + +PATCHES=( + "${FILESDIR}/${PN}-20.12.1-qt5-deps.patch" + "${FILESDIR}/${PN}-21.09.0-respect-cflags.patch" + "${FILESDIR}/${PN}-0.57.0-disable-internal-jpx.patch" +) + +src_prepare() { + cmake_src_prepare + + # Clang doesn't grok this flag, the configure nicely tests that, but + # cmake just uses it, so remove it if we use clang + if tc-is-clang ; then + sed -e 's/-fno-check-new//' -i cmake/modules/PopplerMacros.cmake || die + fi + + if ! grep -Fq 'cmake_policy(SET CMP0002 OLD)' CMakeLists.txt ; then + sed -e '/^cmake_minimum_required/acmake_policy(SET CMP0002 OLD)' \ + -i CMakeLists.txt || die + else + einfo "policy(SET CMP0002 OLD) - workaround can be removed" + fi +} + +src_configure() { + xdg_environment_reset + append-lfs-flags # bug #898506 + + local mycmakeargs=( + -DBUILD_GTK_TESTS=OFF + -DBUILD_QT5_TESTS=OFF + -DBUILD_CPP_TESTS=OFF + -DBUILD_MANUAL_TESTS=OFF + -DRUN_GPERF_IF_PRESENT=OFF + -DENABLE_BOOST="$(usex boost)" + -DENABLE_ZLIB=ON + -DENABLE_ZLIB_UNCOMPRESS=OFF + -DENABLE_UNSTABLE_API_ABI_HEADERS=ON + -DUSE_FLOAT=OFF + -DWITH_Cairo=$(usex cairo) + -DENABLE_LIBCURL=$(usex curl) + -DENABLE_CPP=$(usex cxx) + -DWITH_JPEG=$(usex jpeg) + -DENABLE_DCTDECODER=$(usex jpeg libjpeg none) + -DENABLE_LIBOPENJPEG=$(usex jpeg2k openjpeg2 none) + -DENABLE_CMS=$(usex lcms lcms2 none) + -DWITH_NSS3=$(usex nss) + -DWITH_PNG=$(usex png) + $(cmake_use_find_package qt5 Qt5Core) + -DWITH_TIFF=$(usex tiff) + -DENABLE_UTILS=$(usex utils) + -DENABLE_QT6=OFF + ) + use cairo && mycmakeargs+=( -DWITH_GObjectIntrospection=$(usex introspection) ) + + cmake_src_configure +} + +src_install() { + cmake_src_install + + # live version doesn't provide html documentation + if use cairo && use doc && [[ ${PV} != *9999* ]]; then + # For now install gtk-doc there + insinto /usr/share/gtk-doc/html/poppler + doins -r "${S}"/glib/reference/html/* + fi +} diff --git a/app-text/poppler/poppler-9999.ebuild b/app-text/poppler/poppler-9999.ebuild index 4834fad51161..353dacb709f7 100644 --- a/app-text/poppler/poppler-9999.ebuild +++ b/app-text/poppler/poppler-9999.ebuild @@ -16,7 +16,7 @@ else SRC_URI="https://poppler.freedesktop.org/${P}.tar.xz" SRC_URI+=" verify-sig? ( https://poppler.freedesktop.org/${P}.tar.xz.sig )" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" - SLOT="0/126" # CHECK THIS WHEN BUMPING!!! SUBSLOT IS libpoppler.so SOVERSION + SLOT="0/127" # CHECK THIS WHEN BUMPING!!! SUBSLOT IS libpoppler.so SOVERSION fi DESCRIPTION="PDF rendering library based on the xpdf-3.0 code base" |