diff options
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/Manifest.gz | bin | 48883 -> 48888 bytes | |||
-rw-r--r-- | app-text/a2ps/Manifest | 5 | ||||
-rw-r--r-- | app-text/a2ps/a2ps-4.15.ebuild | 86 | ||||
-rw-r--r-- | app-text/a2ps/files/a2ps-4.14-stdout.patch | 3 | ||||
-rw-r--r-- | app-text/a2ps/files/a2ps-4.15-stdout.patch | 16 | ||||
-rw-r--r-- | app-text/dvisvgm/Manifest | 10 | ||||
-rw-r--r-- | app-text/dvisvgm/dvisvgm-2.13.ebuild | 44 | ||||
-rw-r--r-- | app-text/dvisvgm/dvisvgm-3.0.2.ebuild | 61 | ||||
-rw-r--r-- | app-text/dvisvgm/dvisvgm-3.0.4.ebuild (renamed from app-text/dvisvgm/dvisvgm-3.0.1.ebuild) | 8 | ||||
-rw-r--r-- | app-text/dvisvgm/files/dvisvgm-3.0.2-gcc-13.patch | 109 | ||||
-rw-r--r-- | app-text/dvisvgm/files/dvisvgm-3.0.2-rendering.patch | 25 |
11 files changed, 112 insertions, 255 deletions
diff --git a/app-text/Manifest.gz b/app-text/Manifest.gz Binary files differindex baf8717c10db..621291e866e4 100644 --- a/app-text/Manifest.gz +++ b/app-text/Manifest.gz diff --git a/app-text/a2ps/Manifest b/app-text/a2ps/Manifest index 500300133aeb..286d5db9233c 100644 --- a/app-text/a2ps/Manifest +++ b/app-text/a2ps/Manifest @@ -13,10 +13,13 @@ AUX a2ps-4.14-function-decl.patch 214 BLAKE2B 50443a9e70b4e14f0b46b00b92140b55ff AUX a2ps-4.14-ja-cleanup.patch 3210 BLAKE2B 599c8bca7f599c3ffda2d1a071d9ca5c4d47141d1563302fcc4b6476c5718ea9b57902b045e70a1bd2c92d9b36cb7fc32ed01ebed1f92395ff4cbd65a76288b8 SHA512 1a2ce34b5b0bc79bf269fe171c64bcdef0a87bf4efa8508eee851228a1483efce9c8945a17def7abc4cdfe2f1f8611d63995d98099e290d06fb1be430350b778 AUX a2ps-4.14-psset.patch 578 BLAKE2B 9762f2998fd4b006e6ef8fea042b96f88c556a5f8b7a487eccaa10e8be027a8c7aa93effa51ce16a976ce19ea613598757cd1b568991d58f164c39d2acfbc45f SHA512 315585a6dab71a2eaa3d9a8dc3ab1297f5866cb15759ee467935ecb53598eb66196038dc9873f98cc7cc2c9ced81f630283478ab9cd394c532f5b3ea0c10b1ad AUX a2ps-4.14-ptrdiff_t.patch 381 BLAKE2B c8e5afe37bf64f33b5da9e2e98186205c0c7fb90c6805910dc2aef3e9070333ade9ed60dde2a15220ce33729bc40d0089283f1f25a8932c3895af8770f944f6c SHA512 dfb46726bb3b88e5736f5d1628914ccfd40e245ba9fba0916f73ffba30c6f9f059ec797a9421cfae7093c4bd462a6130334391ec0d344146e723f9cfefd62309 -AUX a2ps-4.14-stdout.patch 410 BLAKE2B 00299553c81187b62234893bfa4d06a212d6d9f0284f6f48ec3861af368c5db2720073c876f008abe6ef98dd75c59e0bd7599bc4065b3b7134ca83b84d96742b SHA512 cf904841beb832518e617317fb2a426f4d8db44e2b4d5f3c58c1aec0a5679c1914dfdccc7e2b46e7e4c1b8e30517cc4052bee383e30f9b8e0e40f3f6209df447 +AUX a2ps-4.14-stdout.patch 536 BLAKE2B 0bb6f68778ac31cab6df9064be73ab447ee36deececcc624ab2c54e27fcb86d6d0092dc6f536c9817deb036b0c0da8797fff6b55f779ed0a35b371f5eb5c88a3 SHA512 c65436c58fa18777b92d2c81a0e5681c2dca29961b01cc113adae5b09c3108369526ff65214c7e350c3c576933476d970abb59f92b4417d46e11412bf56ffc5c AUX a2ps-4.14-texinfo-5.x.patch 6069 BLAKE2B b85e03014f38599810bc1e883eed2c7f4b09b6e02584709d17ce5686247bf83a2b86e21966a70a7deb912312d8b78b845cb7a375d4979063d77816733b0431a0 SHA512 73782dee455c56ee70a080fb64d6124558b2667fd6a8e1f0092c9d34fe6c069243107ec1743da140874db9cbfaed90d87cdb7b3fae942acf3f52aecf6e740b05 AUX a2ps-4.14-texinfo-6.7-encoding.patch 1372 BLAKE2B 3eb51e4c83e60f7073c4957963dfe92931fa63eee1410e615171f1f823e21702032ae7dca9ae397851e0620df40a09c8e09bbb0ff12e2843b3c7aa511adda8ec SHA512 31d77113c5a727cc2aa72bc31a6e961cfc5d5871c40aa1f59f3edbadaa06ba55cb35bf6cf9b142276c83ac0a69fa49df9eb157d732fe44dc392f7dac7e014db4 +AUX a2ps-4.15-stdout.patch 578 BLAKE2B edab46a428d330dad3f9543e3ecc92e058f1f425e39f68350d7e9de287217fee27a237aa7747bab7bcf78c2e61b6526a4a62569b22d84c1fb40fb054165d8418 SHA512 44878e936275a8ee23f0bc34293a3eb0ceeadb13a4234e1bc93b3dee02268dbf45eb68d3b6dd2177f4c15c25f88ffa1b9e009d893a1f263da2c24b543331bfd3 DIST a2ps-4.14-ja_nls.patch.gz 27576 BLAKE2B 7300971fb76f6c8d2b0e5ffa519cf6064519a33f24430b9894e43778dff5b78f7cf7e2b9fe1e98fb475f452b39ccc29f88f579bbe1922ac3ef70775a05591b32 SHA512 f02f553dd9d9dbd9dfe41ebfe103493000aa4e9de5634c94e7453f73b66d88fea6b0010095913a4a99c7285990a1df1ebcc39da451b2b34f96b0c191112b125f DIST a2ps-4.14.tar.gz 2552507 BLAKE2B cd15a2b85f54f8bfb92adf9f4cf2c3c29091e528ae8072d0e905c58cc94caf55b76ac3e37891f8a0bc0909a177c5ee434fe5aaab3625a2c14127dabad8b506ed SHA512 fd6ac8ab47d789114c283e8ca508f7f56feabd1a189f4ac772cad9e6be7e3791e210892cfffd04ad1d39efe4b15386b2e61bf4cd56b70ed581c0554f36bfe06f +DIST a2ps-4.15.tar.gz 3723299 BLAKE2B b68c3939ad7af5eeb48c85fe6e36e350ce9d0081181bec4374441a1ed9dea6cf716fd3c30a29c06e987d7c26304f2e21ba9b258bb6ca591a6c68180faca8edd8 SHA512 4d88ed4c65c636aa7640e01cf19c259775a810eb91495dc39726554c8ab3b89a105d947c3b357a5b16e5d120b5530587b1838a99829862c9c081b5ae1b354798 EBUILD a2ps-4.14-r8.ebuild 3086 BLAKE2B ed9f36fc3e2d32cbbe51330dd994aac86c1f0fb57769b56973f0cfc243fb71ff69d72ab5c7133ebef9e150532288ba081dd24f368013a5db64608515806baeb5 SHA512 3fc03b3bc163cff89cf38a1ba8d04e5ce8228911ec991abb86a75ebbc8c357ae427b51d128e96ab0d53c62d4c56c7d7d025b03ab7278ff7b9c37e00ff2e4b21a +EBUILD a2ps-4.15.ebuild 1880 BLAKE2B ceb97e999524e6f5f802174099b2cb7cc867597b70c801614a1287f2bf6a7ea5425b809c62185a8239a65c8573ce34d3f8d0ca460cadfc5c11a48b52ff0929d1 SHA512 2fe998785f2ecd4a2ea934809b1b520961d2a1120093d07bfc2a8eab7854d07ac817372a71d236ad374131dc23d355443936340183dc18700ae737e3c43c1891 MISC metadata.xml 442 BLAKE2B 89796eb65cfc9ab8929511f94655a9c7f6a39837f5c1cfb0f8885a29d3900512e6c3ee6b44f3ee8e23eca54112f72c7462d4fb223109fdea3d203d5ff4492252 SHA512 078d824c815b9cc0c5a0acfea6f8c5203eb3f1e94778987137181f987cbeaab0040389b0e34cda160d6a3c6f00508c39a6c30404b89dfe64782db1980c9340b7 diff --git a/app-text/a2ps/a2ps-4.15.ebuild b/app-text/a2ps/a2ps-4.15.ebuild new file mode 100644 index 000000000000..a8e2110dcdd5 --- /dev/null +++ b/app-text/a2ps/a2ps-4.15.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" +S="${WORKDIR}/${PN}-${PV:0:4}" + +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:* + >=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/a2ps/files/a2ps-4.14-stdout.patch b/app-text/a2ps/files/a2ps-4.14-stdout.patch index 6661b0e26f03..5ca7649ad3e7 100644 --- a/app-text/a2ps/files/a2ps-4.14-stdout.patch +++ b/app-text/a2ps/files/a2ps-4.14-stdout.patch @@ -1,3 +1,6 @@ +https://bugs.gentoo.org/47691 +https://bugs.gentoo.org/47764 +https://lists.gnu.org/archive/html/bug-a2ps/2001-05/msg00000.html --- a2ps-4.14/lib/printers.c +++ a2ps-4.14/lib/printers.c @@ -315,8 +315,8 @@ diff --git a/app-text/a2ps/files/a2ps-4.15-stdout.patch b/app-text/a2ps/files/a2ps-4.15-stdout.patch new file mode 100644 index 000000000000..00002ffb9524 --- /dev/null +++ b/app-text/a2ps/files/a2ps-4.15-stdout.patch @@ -0,0 +1,16 @@ +https://bugs.gentoo.org/47691 +https://bugs.gentoo.org/47764 +https://lists.gnu.org/archive/html/bug-a2ps/2001-05/msg00000.html +--- a/liba2ps/printers.c ++++ b/liba2ps/printers.c +@@ -287,8 +287,8 @@ a2ps_printers_new (struct a2ps_common_s * common) + res->ppd = NULL; /* Printer's ppd are not read yet */ + + /* Output */ +- /* Default is to send to default printer */ +- res->flag_output_is_printer = true; ++ /* Default is to send to stdout */ ++ res->flag_output_is_printer = false; + res->flag_output_name = NULL; + res->output_is_file = true; + res->output_name = NULL; diff --git a/app-text/dvisvgm/Manifest b/app-text/dvisvgm/Manifest index 86fbca93750c..b0d77f4d66bd 100644 --- a/app-text/dvisvgm/Manifest +++ b/app-text/dvisvgm/Manifest @@ -2,16 +2,10 @@ AUX dvisvgm-2.14-Add-missing-cstdint-includes-for-GCC-13.patch 2368 BLAKE2B ace7 AUX dvisvgm-2.14-configure-autoreconf.patch 10069 BLAKE2B afc456c40d73e19d260ad1b3574d2284787f3489eb129a900846c052f441e5cb658316d85448d56b65a5a79e72573e1cac5ce0d70563ea5abab3ee193a5afcbd SHA512 e5038d84ac08097fe43c891494037e327357617800a861a87d83c6fdccce318ba3229660ea32bbd15c363696a4c0a74f68773be10ac02a6e9ab000a4ff3fcfd6 AUX dvisvgm-2.14-configure-clang16.patch 681 BLAKE2B cc91e791f4846e9d0fcc9aab8d528bc55c4f3408e52ca5773b79bc91237acd78968717b0477e5ca65ee64ee3e0025539fec6c6a6d8b576894f2a9a3550237179 SHA512 19d6199ba2237c0a41e3cc0a203f6fca840dd87da1e88d50efba1c0f1eda274c71e61d88bc470995fefd6676955860b5f6a1069b6d7db9d6a23a9e01c3722b36 AUX dvisvgm-2.14-ghostscript.patch 7790 BLAKE2B b9220dbbc39ba015f17f4b330dcffe4506a233753faa4b99b5e70fdc42aaff739b649c6f2d91056db7380dd352e7e694557c92710d0a7adc076cd48ca218102a SHA512 5b4acabfdca5748d28a579c27b294bb247d126dcabbef2d8e385b0b091587ff34a7dfd81e19dfd4cabee4d5b6f3206e9c69a7182a45f4201310fbbda4f288504 -AUX dvisvgm-3.0.2-gcc-13.patch 2225 BLAKE2B e25a9cea81d8252b703237695f5d64c82d22f65ceb20a9f73633981d5c985c33a459aa09baf25d5a19efa6d6e70e6e7dcf2dc1c25e041f53cdca77b1998ab6d8 SHA512 1a5c87c3c37a7e4b499d87de0313b4a19bb9058bfe7b364419b0aaf5179f684160be3281e42b9e1761f14d8cc862dbaee1f53aae99d19a30df4775e3107d0221 -AUX dvisvgm-3.0.2-rendering.patch 956 BLAKE2B 350ed42b6e86d774d0793c57b3dedc08bfb7ac07817aa4288ecfc6a9e9adeb48824f91759de757489361873507f0bda29f3b4d492b7f76b6dcc315f6483e406d SHA512 329252814901fc3068e80b4318e3601a9d4bd496c98cddb2ef0fc867da8c309a0ebf86fb3f1aea0cbab62ade80f3eb4d9b4a8f5d96352554b261d7011022a4bd DIST dvisvgm-2.12.tar.gz 3164951 BLAKE2B 249f1ee43444ac95ed512eac803ab073e1ec04a58266fc569a272014510ab373890fdc7be2207d2037742f4192e266eb214078c0bb448de953ffdf5c29deabba SHA512 3f0ca530f24a8866839d71093dc6fd84f2a0f984d06cdd189425aeeb7c7e7e3c9e283d1fe2e7e9ec79845f36c8bd4d973224a321b8ad39da229a3b4fd59b7008 -DIST dvisvgm-2.13.tar.gz 3174723 BLAKE2B bee6efd0fd32b1b0c116820df955a3b76cfd795acb75063f35bf2b6b15b6bacc8ddc60d9622d8554c80f7c2ab44c85c78a120d4e18fd7a0c902eabb70b6060fc SHA512 264643f9d9dcfa7e1d20df31c3514108ed45c88e0bd0f1ce88c37af22ae57447d624537720e902c5e5e799906d567999c9449fea411f755e75e4c4158e37de30 DIST dvisvgm-2.14.tar.gz 3192670 BLAKE2B 16b290db680c57babba06d97250b26925223984af807695a5b24b2e134a0d41e0b7292efd47e6781e75c4790c3e6482d3447e8a5ad7e25b9b36526ba033d15d4 SHA512 874d2d3deed2b1c1cd3e459a53d43533e7fc19613ad2ade09fdf303cedfecd8091d944933c30a7107aad2e8901cc23f1debd4e36031a90b1ad8ba2f56d2a3ba6 -DIST dvisvgm-3.0.1.tar.gz 2897716 BLAKE2B 52574002b285191cbeb878f94440451beb10291fe5fadacffa59ed6da181c525053ffddd3cd3570d7357941825df4449c311e86bd25b530de505cbeae865e180 SHA512 1ddee12735883c814cdd3c647e902f8372dbe82693b9a599fb752509a184174e376d028c0fee5e11d23115ae94f34e04fb44fe1f8f20f4d599dc92229a2dd94d -DIST dvisvgm-3.0.2.tar.gz 2897978 BLAKE2B f0263e4d9013b85cff275b77318bcc204ddc1f8f99deee21d5e0a20f7803938f6feb35b205d5d76867a67ec435354816e2010cd4ad1ad4038d3606b67fc9d8b3 SHA512 41c7b142f0760ffd629d1b487ff6b98cd7cbaaf8c5853ef054e7646dc09e61af80a2935eaeef65dae6aa33faf2f8875e7b952a8ffc6509a13d4dc2a0b57abd1f +DIST dvisvgm-3.0.4.tar.gz 2970986 BLAKE2B 2a8cff58cc728c833c74a44af1139529eab433ec5cd8b82949dbad169a609e66069f38f18c046250da5c085756c1ef6d95247c133df1afefc92b1783d9dd5ecd SHA512 89105ecc14b974f0fc0a1684a3ce4c66444bc819d56dd43c517d6b547f618ab60a15abb18609c38ac120ac5990fcd0fa6599cb7b0af11c4f820b1f955943688e EBUILD dvisvgm-2.12.ebuild 1133 BLAKE2B 682c6f278485d685080c7cd998a0e55a39e52a8bddca2fd0ffe3a1964773a283bfaaf16771eb66fc850e5755842a8ad325c40bc96e6bb2cac8c4a8547e80d463 SHA512 74a88a33242e5f7b7511f97557b2f70afdb3e28d1cf51a53789e552a215671d58229378d65bddd342da3bf4cef6b6539674753fe0fd46970f4835d416bfe70da -EBUILD dvisvgm-2.13.ebuild 1149 BLAKE2B 7a169d678e8f57eba8a15243116d053f6a2acc04346f69a13d2b97291d9089f4f86961ecadc20b1e4a4465c993814975f0eddbbd4089d1da5927425c263cc762 SHA512 4a408fb8dc501c660f581ce8369c5ae1605230e2fe2f57dcfb90a29a33f5a22df193ce846d841fad7510a86ac0b0e6401e25687a3f423dcc466c06a19654a400 EBUILD dvisvgm-2.14-r1.ebuild 1649 BLAKE2B 0daec12b5203b57bc8be68160bed5cefb2d6228948dae44107d2b9a2a413e58d825b7ce294ae1d8bb9354b721cea43809b5e275236729694f6e97fd257a46512 SHA512 efd24da9bd319d3dba5792efd5881a0a90a1ca91eb7b312899181ed1073f08fe0df13888e475a56b40862ce3ba7cf9145b2dc1855093fa189202db0693d27abb -EBUILD dvisvgm-3.0.1.ebuild 1363 BLAKE2B 6f4d692ce6d33bbddd34228e9c3ed2d2c17e84fa88e193af8f1da64b00f28a805326869205da5843961623e394b7ab6cf3c7970356acf62a9ab83cf8221593ba SHA512 8093d31ccfc015bf753d9a2539190d78876ed7e984e2a7945ba6c8662cb82d7ba049e0db42332d156b9cd672daf3b2064a673f33f8a9ab935287df112e447234 -EBUILD dvisvgm-3.0.2.ebuild 1445 BLAKE2B dde8fb9ace02803e1ff1386d8c61dfd1fa479cd57974c63397f11ba21930308adbe91d56b808cebf31c7264962b646bc6c81e33b9ac06be66fe0f3f5be5cacb6 SHA512 93342a41cdea64a299670a72318c4a6d762b590610638deacaef9860b5590b216dd4ba6b2ef74524238aed43365adbb1c29bed184cbd272e15e8236aa7a48487 +EBUILD dvisvgm-3.0.4.ebuild 1108 BLAKE2B dedac674385e2106a91d02c2773b7cb9c54b6f1cc32e160d367eaebe55c5594f79590ef832779bbb1eba1ce3da8134ea7bc5cddd6f7560c247e5f0abe0c6be6d SHA512 33b6a767b1182ac1a2d9cbd39431a3b3ca5a6013faf04c13e4d9a2334fff7e5c12fedea92f618c0ac139bd6d3d084e8827825b21525ab9b08a8b9fdef4ede151 MISC metadata.xml 383 BLAKE2B d4d13b1caf7ebbd81baf9d911434c0ca57f5b9c5d5c136c0ae569341c511e61fbbaf9211accff192d86bdcedca81ad9f6dab2e23f65778a0b2b7c4be0a286a1e SHA512 563b8459b11497c84145cd7dca5cfa38cafbd5bbeb2c2709080633e785509073b96d1ee999fa87b4263f2babefe32b030361fb537b9016cc3eb5ccf423639573 diff --git a/app-text/dvisvgm/dvisvgm-2.13.ebuild b/app-text/dvisvgm/dvisvgm-2.13.ebuild deleted file mode 100644 index 25e4d4acd0cc..000000000000 --- a/app-text/dvisvgm/dvisvgm-2.13.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Converts DVI files to SVG" -HOMEPAGE="https://dvisvgm.de/" -SRC_URI="https://github.com/mgieseki/dvisvgm/releases/download/${PV}/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos" -IUSE="test" - -# Tests don't work from ${WORKDIR}: kpathsea tries to search in relative -# directories from where the binary is executed. -# We cannot really use absolute paths in the kpathsea configuration since that -# would make it harder for prefix installs. -RESTRICT="test" - -RDEPEND=">=app-arch/brotli-1.0.5:= - app-text/ghostscript-gpl:= - dev-libs/kpathsea:= - dev-libs/openssl:= - >=dev-libs/xxhash-0.8.1 - >=media-gfx/potrace-1.10-r1 - media-libs/freetype:2 - >=media-libs/woff2-1.0.2 - sys-libs/zlib - virtual/tex-base" -DEPEND="${RDEPEND} - test? ( >=dev-cpp/gtest-1.11 )" -BDEPEND="app-text/asciidoc - app-text/xmlto - dev-libs/libxslt - virtual/pkgconfig" - -src_configure() { - local myargs=( - --without-ttfautohint - ) - - econf "${myargs[@]}" -} diff --git a/app-text/dvisvgm/dvisvgm-3.0.2.ebuild b/app-text/dvisvgm/dvisvgm-3.0.2.ebuild deleted file mode 100644 index 15bed4426cd2..000000000000 --- a/app-text/dvisvgm/dvisvgm-3.0.2.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="Converts DVI files to SVG" -HOMEPAGE="https://dvisvgm.de/" -SRC_URI="https://github.com/mgieseki/dvisvgm/releases/download/${PV}/${P}.tar.gz" - -# dvisvgm: GPL-3 -# Boost (tiny part, one header): Boost-1.0 -# md5: || ( public-domain BSD-1 ) -# clipper: Boost-1.0 -# variant: Boost-1.0 -LICENSE="GPL-3 Boost-1.0 || ( public-domain BSD-1 )" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos" -IUSE="test" - -# Tests don't work from ${WORKDIR}: kpathsea tries to search in relative -# directories from where the binary is executed. -# We cannot really use absolute paths in the kpathsea configuration since that -# would make it harder for prefix installs. -RESTRICT="test" - -RDEPEND=" - >=app-arch/brotli-1.0.5:= - app-text/ghostscript-gpl:= - dev-libs/kpathsea:= - dev-libs/openssl:= - >=dev-libs/xxhash-0.8.1 - >=media-gfx/potrace-1.10-r1 - media-libs/freetype:2 - >=media-libs/woff2-1.0.2 - sys-libs/zlib - virtual/tex-base -" -DEPEND=" - ${RDEPEND} - test? ( >=dev-cpp/gtest-1.11 ) -" -BDEPEND=" - app-text/asciidoc - app-text/xmlto - dev-libs/libxslt - virtual/pkgconfig -" - -PATCHES=( - "${FILESDIR}"/${P}-gcc-13.patch - "${FILESDIR}"/${P}-rendering.patch -) - -src_configure() { - local myargs=( - --disable-bundled-libs - --without-ttfautohint - ) - - econf "${myargs[@]}" -} diff --git a/app-text/dvisvgm/dvisvgm-3.0.1.ebuild b/app-text/dvisvgm/dvisvgm-3.0.4.ebuild index f057d03f29d8..03c4f46d78ed 100644 --- a/app-text/dvisvgm/dvisvgm-3.0.1.ebuild +++ b/app-text/dvisvgm/dvisvgm-3.0.4.ebuild @@ -16,18 +16,12 @@ LICENSE="GPL-3 Boost-1.0 || ( public-domain BSD-1 )" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos" IUSE="test" - -# Tests don't work from ${WORKDIR}: kpathsea tries to search in relative -# directories from where the binary is executed. -# We cannot really use absolute paths in the kpathsea configuration since that -# would make it harder for prefix installs. -RESTRICT="test" +RESTRICT="!test? ( test )" RDEPEND=" >=app-arch/brotli-1.0.5:= app-text/ghostscript-gpl:= dev-libs/kpathsea:= - dev-libs/openssl:= >=dev-libs/xxhash-0.8.1 >=media-gfx/potrace-1.10-r1 media-libs/freetype:2 diff --git a/app-text/dvisvgm/files/dvisvgm-3.0.2-gcc-13.patch b/app-text/dvisvgm/files/dvisvgm-3.0.2-gcc-13.patch deleted file mode 100644 index 092c91aa31d4..000000000000 --- a/app-text/dvisvgm/files/dvisvgm-3.0.2-gcc-13.patch +++ /dev/null @@ -1,109 +0,0 @@ -https://github.com/mgieseki/dvisvgm/commit/d5df85b403602c927fe56a1f692af91182a1facd - -From d5df85b403602c927fe56a1f692af91182a1facd Mon Sep 17 00:00:00 2001 -From: Martin Gieseking <martin.gieseking@uos.de> -Date: Mon, 30 Jan 2023 10:51:15 +0100 -Subject: [PATCH] added missing includes of cstdint required for GCC 13 - ---- a/src/BasicDVIReader.hpp -+++ b/src/BasicDVIReader.hpp -@@ -21,6 +21,8 @@ - #ifndef BASICDVIREADER_HPP - #define BASICDVIREADER_HPP - -+#include <cstdint> -+ - #include "Matrix.hpp" - #include "MessageException.hpp" - #include "StreamReader.hpp" ---- a/src/Bitmap.hpp -+++ b/src/Bitmap.hpp -@@ -21,6 +21,7 @@ - #ifndef BITMAP_HPP - #define BITMAP_HPP - -+#include <cstdint> - #include <ostream> - #include <vector> - ---- a/src/CMap.hpp -+++ b/src/CMap.hpp -@@ -22,6 +22,7 @@ - #define CMAP_HPP - - #include <algorithm> -+#include <cstdint> - #include <ostream> - #include <vector> - #include "FontEncoding.hpp" ---- a/src/Color.hpp -+++ b/src/Color.hpp -@@ -21,6 +21,7 @@ - #ifndef COLOR_HPP - #define COLOR_HPP - -+#include <cstdint> - #include <string> - #include <valarray> - #include <vector> ---- a/src/DVIReader.hpp -+++ b/src/DVIReader.hpp -@@ -21,6 +21,7 @@ - #ifndef DVIREADER_HPP - #define DVIREADER_HPP - -+#include <cstdint> - #include <limits> - #include <map> - #include <stack> ---- a/src/FileSystem.hpp -+++ b/src/FileSystem.hpp -@@ -21,6 +21,7 @@ - #ifndef FILESYSTEM_HPP - #define FILESYSTEM_HPP - -+#include <cstdint> - #include <string> - #include <vector> - ---- a/src/InputBuffer.hpp -+++ b/src/InputBuffer.hpp -@@ -22,6 +22,7 @@ - #define INPUTBUFFER_HPP - - #include <algorithm> -+#include <cstdint> - #include <cstring> - #include <istream> - #include <string> ---- a/src/RangeMap.hpp -+++ b/src/RangeMap.hpp -@@ -22,6 +22,7 @@ - #define RANGEMAP_HPP - - #include <algorithm> -+#include <cstdint> - #include <ostream> - #include <vector> - ---- a/src/Unicode.hpp -+++ b/src/Unicode.hpp -@@ -21,6 +21,7 @@ - #ifndef UNICODE_HPP - #define UNICODE_HPP - -+#include <cstdint> - #include <string> - - struct Unicode { ---- a/src/ttf/TTFTable.hpp -+++ b/src/ttf/TTFTable.hpp -@@ -19,6 +19,7 @@ - *************************************************************************/ - - #pragma once -+#include <cstdint> - #include <ostream> - #include <sstream> - #include <vector> - diff --git a/app-text/dvisvgm/files/dvisvgm-3.0.2-rendering.patch b/app-text/dvisvgm/files/dvisvgm-3.0.2-rendering.patch deleted file mode 100644 index c53e07d58cb4..000000000000 --- a/app-text/dvisvgm/files/dvisvgm-3.0.2-rendering.patch +++ /dev/null @@ -1,25 +0,0 @@ -https://github.com/mgieseki/dvisvgm/issues/227 -https://github.com/mgieseki/dvisvgm/commit/62d695b0bf0220a209d143f32054d5a3c872c992 - -From 62d695b0bf0220a209d143f32054d5a3c872c992 Mon Sep 17 00:00:00 2001 -From: Martin Gieseking <martin.gieseking@uos.de> -Date: Sun, 5 Feb 2023 13:12:48 +0100 -Subject: [PATCH] popPageContext: reset initial char context by only one level - and don't rewind it back to the page element (fixes #227) - ---- a/src/SVGTree.cpp -+++ b/src/SVGTree.cpp -@@ -330,11 +330,11 @@ void SVGTree::pushPageContext (unique_ptr<SVGElement> node) { - } - - --/** Pops the current context element and restored the previous one. */ -+/** Pops the current context element and restores the previous one. */ - void SVGTree::popPageContext () { - if (!_pageContextStack.empty()) - _pageContextStack.pop(); -- _charHandler->setInitialContextNode(_page); -+ _charHandler->setInitialContextNode(_pageContextStack.empty() ? _page : _pageContextStack.top()); - } - - |