diff options
Diffstat (limited to 'dev-tex')
39 files changed, 422 insertions, 917 deletions
diff --git a/dev-tex/biber/Manifest b/dev-tex/biber/Manifest index f7adb5662c65..f93740f08409 100644 --- a/dev-tex/biber/Manifest +++ b/dev-tex/biber/Manifest @@ -1,3 +1,2 @@ -DIST biber-2.14.tar.gz 1589847 BLAKE2B a5f2c1ebbcde68c8ec28d54f10f9217e710c0bb840f455fea2516441653d308666ec3e9c1732f3211f0b205952d59b63d87fe8baf6f846776c781555884730a5 SHA512 dd42aabdb8f469ea759a4a7bb97cbe27ebe57e46d1b6dde7d293d1b046a55e20ac889bf9c8c6b6219ee827b162a280bf7aca239af1f357ee1ccc90600a5dcfc1 -DIST biber-2.16.tar.gz 1594209 BLAKE2B 60c07723c0ee869d3430d0270a2c0bf54adb63c1a842cd1bf0c6f2280bc964a404b2acd3d8a48461c8a22f7abaefcdfe346868e5a435f3e375b1466700176fa9 SHA512 12b939c194e171f4e7d8e0341b6301b55be8376eab3aa3e14a72a780e5bd8f6d61fa601a95f99c9d17894b8c10a785ccc916b23593391ed00ef31e0a8c2a4662 DIST biber-2.19.tar.gz 1634803 BLAKE2B c1a752e28714f20c67dc8455f862c78adf8b17e8ffc2aa47b7f39d3ffdade7723ef4bb73e5797ca4ba50bafb7bdff0d0f148b6600b9b0ab7591ec0431d4e2b11 SHA512 427edd042e25fd6b763d60ad5bd3ce6fb68f9d6b15dfe387edc8c8445022cb2a4ba0999d7890fc51798dd95cbe82f82f6fc40b58df5a502c9c9b8485806c56d5 +DIST biber-2.20.tar.gz 1632745 BLAKE2B 3a3787013f38988bad5d7a095013c62ef349c286db842fb3349b5d4df11e8c1db2c7766f47b234a8a801c31c0438f7663c57de4d3df4afa863fdffa27364c563 SHA512 d46abe992e46be0d10d0d3b084c4ef73fece7cfb4e2ea09979acf369c3333d31d54ebb2734590ae7ec6ed6c1466e0fe619e7c91af2aac47675b20deeccd87973 diff --git a/dev-tex/biber/biber-2.14.ebuild b/dev-tex/biber/biber-2.14.ebuild deleted file mode 100644 index 7a1f73db6b8c..000000000000 --- a/dev-tex/biber/biber-2.14.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit perl-module - -DESCRIPTION="A BibTeX replacement for users of biblatex" -HOMEPAGE="http://biblatex-biber.sourceforge.net/ https://github.com/plk/biber/" -SRC_URI="https://github.com/plk/biber/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Artistic-2" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=">=dev-lang/perl-5.30 - dev-perl/autovivification - dev-perl/Business-ISBN - dev-perl/Business-ISMN - dev-perl/Business-ISSN - dev-perl/Class-Accessor - dev-perl/Data-Compare - dev-perl/Data-Dump - dev-perl/Data-Uniqid - dev-perl/DateTime-Calendar-Julian - dev-perl/DateTime-Format-Builder - dev-perl/Encode-EUCJPASCII - dev-perl/Encode-HanExtra - dev-perl/Encode-JIS2K - dev-perl/File-Slurper - dev-perl/IPC-Run3 - dev-perl/libwww-perl[ssl] - >=dev-perl/Lingua-Translit-0.280 - dev-perl/List-AllUtils - dev-perl/List-MoreUtils - dev-perl/List-MoreUtils-XS - dev-perl/Log-Log4perl - dev-perl/LWP-Protocol-https - dev-perl/Mozilla-CA - dev-perl/Parse-RecDescent - dev-perl/PerlIO-utf8_strict - dev-perl/Regexp-Common - dev-perl/Sort-Key - >=dev-perl/Text-BibTeX-0.880.0 - dev-perl/Text-CSV - dev-perl/Text-CSV_XS - dev-perl/Text-Roman - dev-perl/URI - >=dev-perl/Unicode-LineBreak-2019.1.0 - >=virtual/perl-Unicode-Normalize-1.260.0 - >=dev-perl/XML-LibXML-1.70 - dev-perl/XML-LibXML-Simple - dev-perl/XML-LibXSLT - dev-perl/XML-Writer - ~dev-tex/biblatex-3.14 - virtual/perl-IPC-Cmd - >=virtual/perl-Unicode-Collate-1.270.0" -DEPEND="${RDEPEND} - dev-perl/Config-AutoConf - dev-perl/Module-Build - dev-perl/ExtUtils-LibBuilder - test? ( dev-perl/File-Which - dev-perl/Test-Differences )" -BDEPEND="dev-perl/Module-Build" - -mydoc="doc/biber.tex" diff --git a/dev-tex/biber/biber-2.16-r1.ebuild b/dev-tex/biber/biber-2.16-r1.ebuild deleted file mode 100644 index 2216a254dffd..000000000000 --- a/dev-tex/biber/biber-2.16-r1.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit perl-module - -DESCRIPTION="A BibTeX replacement for users of biblatex" -HOMEPAGE="http://biblatex-biber.sourceforge.net/ https://github.com/plk/biber/" -SRC_URI="https://github.com/plk/biber/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Artistic-2" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~riscv ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=">=dev-lang/perl-5.30 - dev-perl/autovivification - dev-perl/Business-ISBN - dev-perl/Business-ISMN - dev-perl/Business-ISSN - dev-perl/Class-Accessor - dev-perl/Data-Compare - dev-perl/Data-Dump - dev-perl/Data-Uniqid - dev-perl/DateTime-Calendar-Julian - dev-perl/DateTime-Format-Builder - dev-perl/Encode-EUCJPASCII - dev-perl/Encode-HanExtra - dev-perl/Encode-JIS2K - dev-perl/File-Slurper - dev-perl/IO-String - dev-perl/IPC-Run3 - dev-perl/libwww-perl[ssl] - >=dev-perl/Lingua-Translit-0.280 - dev-perl/List-AllUtils - dev-perl/List-MoreUtils - dev-perl/List-MoreUtils-XS - dev-perl/Log-Log4perl - dev-perl/LWP-Protocol-https - dev-perl/Mozilla-CA - dev-perl/Parse-RecDescent - dev-perl/PerlIO-utf8_strict - dev-perl/Regexp-Common - dev-perl/Sort-Key - >=dev-perl/Text-BibTeX-0.880.0 - dev-perl/Text-CSV - dev-perl/Text-CSV_XS - dev-perl/Text-Roman - dev-perl/URI - >=dev-perl/Unicode-LineBreak-2019.1.0 - >=virtual/perl-Unicode-Normalize-1.260.0 - >=dev-perl/XML-LibXML-1.70 - dev-perl/XML-LibXML-Simple - dev-perl/XML-LibXSLT - dev-perl/XML-Writer - ~dev-tex/biblatex-3.16 - virtual/perl-IPC-Cmd - >=virtual/perl-Unicode-Collate-1.290.0" -DEPEND="${RDEPEND} - dev-perl/Config-AutoConf - dev-perl/Module-Build - dev-perl/ExtUtils-LibBuilder - test? ( dev-perl/File-Which - dev-perl/Parse-RecDescent - dev-perl/Test-Differences )" -BDEPEND="dev-perl/Module-Build" - -mydoc="doc/biber.tex" - -PATCHES=( - "${FILESDIR}"/${P}-perl-5.36-semicolon.patch -) - -src_prepare() { - # Disable 64-bit only Tests on non 64-bit archs - use amd64 || use arm64 || eapply "${FILESDIR}/${P}-disable-64bit-only-tests.patch" - - default -} diff --git a/dev-tex/biber/biber-2.16.ebuild b/dev-tex/biber/biber-2.20.ebuild index 555c16e662fa..af17decabe5c 100644 --- a/dev-tex/biber/biber-2.16.ebuild +++ b/dev-tex/biber/biber-2.20.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit perl-module @@ -11,11 +11,12 @@ SRC_URI="https://github.com/plk/biber/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="Artistic-2" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~riscv ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" IUSE="test" RESTRICT="!test? ( test )" -RDEPEND=">=dev-lang/perl-5.30 +RDEPEND=" + >=dev-lang/perl-5.32 dev-perl/autovivification dev-perl/Business-ISBN dev-perl/Business-ISMN @@ -55,23 +56,28 @@ RDEPEND=">=dev-lang/perl-5.30 dev-perl/XML-LibXML-Simple dev-perl/XML-LibXSLT dev-perl/XML-Writer - ~dev-tex/biblatex-3.16 + ~dev-tex/biblatex-3.$(ver_cut 2) virtual/perl-IPC-Cmd - >=virtual/perl-Unicode-Collate-1.290.0" -DEPEND="${RDEPEND} + >=virtual/perl-Unicode-Collate-1.290.0 +" +DEPEND=" + ${RDEPEND} dev-perl/Config-AutoConf dev-perl/Module-Build dev-perl/ExtUtils-LibBuilder - test? ( dev-perl/File-Which - dev-perl/Parse-RecDescent - dev-perl/Test-Differences )" + test? ( + dev-perl/File-Which + dev-perl/Parse-RecDescent + dev-perl/Test-Differences + ) +" BDEPEND="dev-perl/Module-Build" mydoc="doc/biber.tex" src_prepare() { #disable 64-bit only Tests on non 64-bit archs - use amd64 || use arm64 || eapply "${FILESDIR}/${P}-disable-64bit-only-tests.patch" + use amd64 || use arm64 || eapply "${FILESDIR}/${PN}-2.16-disable-64bit-only-tests.patch" default } diff --git a/dev-tex/biber/files/biber-2.16-perl-5.36-semicolon.patch b/dev-tex/biber/files/biber-2.16-perl-5.36-semicolon.patch deleted file mode 100644 index 655a4e8f73e9..000000000000 --- a/dev-tex/biber/files/biber-2.16-perl-5.36-semicolon.patch +++ /dev/null @@ -1,38 +0,0 @@ -https://bugs.gentoo.org/850733 -https://github.com/plk/biber/commit/d9e961710074d266ad6bdf395c98868d91952088 - -From d9e961710074d266ad6bdf395c98868d91952088 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com> -Date: Wed, 25 May 2022 12:41:59 +0200 -Subject: [PATCH] Adapt to Perl 5.36 - -A developmental release of Perl 5.36.0 fails to run tests with: - - $ perl -Ilib t/basic-misc.t - 1..72 - Can't modify undef operator in scalar assignment at lib/Biber/Section.pm line 433, near "undef;" - Compilation failed in require at lib/Biber.pm line 24. - BEGIN failed--compilation aborted at lib/Biber.pm line 24. - Compilation failed in require at t/basic-misc.t line 11. - BEGIN failed--compilation aborted at t/basic-misc.t line 11. - # Looks like your test exited with 255 before it could output anything. - -This is because of a missing semicolon between commands in -del_everykeys(). The new perl is more strict and raises a compile-time -error: - - $ perl -e '$a = undef $b = undef;' - Can't modify undef operator in scalar assignment at -e line 1, near "undef;" - Execution of -e aborted due to compilation errors. ---- a/lib/Biber/Section.pm -+++ b/lib/Biber/Section.pm -@@ -429,7 +429,7 @@ sub add_everykey { - - sub del_everykeys { - my $self = shift; -- $self->{everykey} = undef -+ $self->{everykey} = undef; - $self->{everykey_lc} = undef; - return; - } - diff --git a/dev-tex/biblatex/Manifest b/dev-tex/biblatex/Manifest index 0bde69de7c94..0b31876b49bb 100644 --- a/dev-tex/biblatex/Manifest +++ b/dev-tex/biblatex/Manifest @@ -1,3 +1,2 @@ -DIST biblatex-3.14.tds.tgz 20047529 BLAKE2B e7d058050277d542233be957a0b3b7cff7ff3de99cd8ab1f54c8ad5477005f2622f5f50613f1bef969664603b1deebb4e02315ec6ddb47280b739a37e3347e55 SHA512 2d28ba0be1484e83de9f71fb8c759cd7522b5d933708b7c2bfd9cab5790620634965d5c5e92234f42b15a44180f53f2e38e3fad4b899f23011f0dde8d376f660 -DIST biblatex-3.16.tds.tgz 20306711 BLAKE2B 0b458a082f653ff53c2d9aee5ee001bedd7a6d36bdba70bfc6dbaa5fb95e7077259b084e8db582f645d098b0db06a923ae67d198dd8181b9ff77dfab16094e08 SHA512 80d838b2fc60eb40e94aa0afde560bab4927c453eeda9bdedc967a96673551b7b32d7c6f510f49ce7cea631b7d933bf9505217558e459bd1622249f5370c77a3 DIST biblatex-3.19.tds.tgz 18989048 BLAKE2B 8c4386fdbe039787507d11180e12f1daa1323f96bb487b90e05569e4e7d0eb403df885caf6145d378af4d586778fe5ccab5df8237b177eeaadb9dc57c7600236 SHA512 8b743d4d19dc7e465e3aa06c42aae9fcb70d78e782626b43906a8d936521a18149eae8cef3aab34356e88bef841986537f39c4eeb77f26acd8ed3f82dc423237 +DIST biblatex-3.20.tds.tgz 19035703 BLAKE2B fbe1906a0e2aed64750f4dd95038ae9336b38ab936521545eafb79c22f1e19ad22accd078f483abc4c2b8baef83ac4763e6cea5942505ab0f4a9d342f4bf0aa3 SHA512 55bfa626850e6cec31abb2c99ce82d4e9aeb0120101815897e367837a5d679c27e18a204e2270b5b6858eb64a95c459f9ff3c2c0e6245905fa82ab979a5048e1 diff --git a/dev-tex/biblatex/biblatex-3.14.ebuild b/dev-tex/biblatex/biblatex-3.14.ebuild deleted file mode 100644 index 78111a310eda..000000000000 --- a/dev-tex/biblatex/biblatex-3.14.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit latex-package - -DESCRIPTION="Reimplementation of the bibliographic facilities provided by LaTeX" -HOMEPAGE="http://www.ctan.org/tex-archive/macros/latex/contrib/biblatex https://github.com/plk/biblatex/" -SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tds.tgz" - -LICENSE="LPPL-1.3" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~x86" -IUSE="+biber doc examples" - -DEPEND="dev-texlive/texlive-bibtexextra - dev-texlive/texlive-latexextra - dev-texlive/texlive-plaingeneric" -RDEPEND="${DEPEND}" -PDEPEND="biber? ( ~dev-tex/biber-2.14 )" - -S="${WORKDIR}" -TEXMF=/usr/share/texmf-site - -src_install() { - insinto "${TEXMF}" - doins -r bibtex tex - - dodoc doc/latex/biblatex/{README,CHANGES.md} - if use doc ; then - pushd doc || die - latex-package_src_doinstall doc - popd || die - fi - - if use examples ; then - dodoc -r doc/latex/biblatex/examples - fi -} diff --git a/dev-tex/biblatex/biblatex-3.16.ebuild b/dev-tex/biblatex/biblatex-3.20.ebuild index 792354a1aba9..81fc6310f948 100644 --- a/dev-tex/biblatex/biblatex-3.16.ebuild +++ b/dev-tex/biblatex/biblatex-3.20.ebuild @@ -1,26 +1,31 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit latex-package DESCRIPTION="Reimplementation of the bibliographic facilities provided by LaTeX" -HOMEPAGE="http://www.ctan.org/tex-archive/macros/latex/contrib/biblatex https://github.com/plk/biblatex/" +HOMEPAGE="https://www.ctan.org/tex-archive/macros/latex/contrib/biblatex https://github.com/plk/biblatex/" SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tds.tgz" +S="${WORKDIR}" + LICENSE="LPPL-1.3" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~riscv ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" + IUSE="+biber doc examples" -DEPEND="dev-texlive/texlive-bibtexextra +DEPEND=" + dev-texlive/texlive-bibtexextra dev-texlive/texlive-latexextra - dev-texlive/texlive-plaingeneric" + dev-texlive/texlive-plaingeneric +" RDEPEND="${DEPEND}" -PDEPEND="biber? ( ~dev-tex/biber-2.16 )" +# biblatex and biber must always have compatible versions +PDEPEND="biber? ( ~dev-tex/biber-2.$(ver_cut 2) )" -S="${WORKDIR}" TEXMF=/usr/share/texmf-site src_install() { diff --git a/dev-tex/bibtexu/Manifest b/dev-tex/bibtexu/Manifest index aab28b9d9578..d7774c90dc50 100644 --- a/dev-tex/bibtexu/Manifest +++ b/dev-tex/bibtexu/Manifest @@ -4,6 +4,7 @@ DIST bibtexu.doc.r66186.tar.xz 72312 BLAKE2B 94a52e2a9aa813391ed4b0edc115cb0eb1e DIST bibtexu.r66186.tar.xz 620 BLAKE2B c9ed41adbfcdec4ee34f136386c1e0b2ad408bac962806478b623df655f5a1b1985ae95b87fb77cec020bd49088c786e4187c9ca18aff2e6f704cdede270129d SHA512 fce13fca4fd3d65b04a451365c5df50e4990bb62b0e8f878b712e9062f7d240a33ca6cfdbccd2ad2df0179be1cbaf2421ca32bdb745f3b9d9c67829d4c739916 DIST texlive-20210325-source.tar.xz 54837368 BLAKE2B 66bd4bdd43ff53513004b9b9b90ababa0ab5efcf183a27864a3d39cde9cf90721456bda90c49ad6014f4b12d2e6293feaf9a8b152b85a89ffaa96bf5056347df SHA512 afd6eb24efaeac7c58d43ff24162aece919079a9ae02934509f068c7a3828223c33c14d9db11ff7fea3560b08a06f352446ba7f845eefb4a56a87b96f088f213 DIST texlive-20230311-source.tar.xz 68359984 BLAKE2B 6263e8d3e066db96f071138f2442b1ed7e1f3db7e6d261cdeb9a7e6e636c6e6ed45305c6bda3ab6f9a439c92eabf32a79bf6e371d16b747eebbc05ee47b85035 SHA512 93ac43f3055fee0103a6cfceea18d39ece63984914f3af9ad76da218f2d568852d9b987d1c9647c1497b985e4ffa297ef97dc2d50d3e90f62b03ad685af31d96 +DIST texlive-20240311-source.tar.xz 70130920 BLAKE2B f7e0c99694734585e36cbfa815e8c50b4e73c2b8b9a81a0c13f2ca22b1f54d46d92d07792c2036bdd2b3ebfcdf2c100638f4302b3dd64d478b04d1eb7a7aaee1 SHA512 2f1d567abba2ba98e236c1de034a861a86af9ce34a9be4f6b478a9f4eaf07a78d09104c652dddab9db2e7057a66f39504c0403a456c72a74f612d0efeccb0714 DIST tl-bibtex8-2021.tar.xz 9216 BLAKE2B 3b03beac8ff92de75c477d5a1a8d675308ba1bd435e5d5f7c75c45039c2fb96984f1539c192e93d7659ef6b07c73f754593ecb56c277ae421a15ede4b1012331 SHA512 69f6b09fbed8a089e18ab7d39e352ad5a1e7512096a1806158ecb4df74822664b6620f3cffc12cb8a938b15a4000df2b46eadc0ff38c8de1d325539f01e8aff8 DIST tl-bibtex8.doc-2021.tar.xz 33164 BLAKE2B af786ae0d513377bf11efa9dbfa7ea673fc217144f8e6cd48ceca2058ab22d17c872ed4c01df1d02db9010c1c5ad01ef4962a81848e5ac3a6ac6ef7e57770195 SHA512 d0863c43a5cbb87632a3513ffe75ab8a686647003366fbca1c9c168a4bb234f26078b260e1a3180f941e3eacf4717439a400df1bd180763aa43eec664009f25b DIST tl-bibtexu-2021.tar.xz 292 BLAKE2B a4dc5c282232b3b8c73aa43d5b0e482dc9521f4a1634add66037e2d4d33ec014863ebd96ca8cacf5a6214aedcc169bd328d3a224d9dae2b699553bbede67ba43 SHA512 9f1e27f1d7a76700aaa4f0f19c4e999070dbce873203b80e3ce5d2f4ed14c9b685515b6c648ece8942ba429d698f66f492b58373f348bcfef2523ffec270f466 diff --git a/dev-tex/bibtexu/bibtexu-4.00_p20230311.ebuild b/dev-tex/bibtexu/bibtexu-3.72_p20230311.ebuild index ccb855fe04fd..68a22750f421 100644 --- a/dev-tex/bibtexu/bibtexu-4.00_p20230311.ebuild +++ b/dev-tex/bibtexu/bibtexu-3.72_p20230311.ebuild @@ -9,9 +9,12 @@ DESCRIPTION="8-bit Implementation of BibTeX 0.99 with a Very Large Capacity" HOMEPAGE="https://tug.org/texlive/" SRC_URI="https://mirrors.ctan.org/systems/texlive/Source/texlive-${PV#*_p}-source.tar.xz" +S="${WORKDIR}"/texlive-${PV#*_p}-source/texk/bibtex-x LICENSE="GPL-2" SLOT="0" + KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + IUSE="doc source" RDEPEND=" @@ -21,8 +24,6 @@ RDEPEND=" DEPEND="${RDEPEND}" BDEPEND="virtual/pkgconfig" -S=${WORKDIR}/texlive-${PV#*_p}-source/texk/bibtex-x - TL_REVISION=66186 EXTRA_TL_MODULES="bibtex8.r${TL_REVISION} bibtexu.r${TL_REVISION}" EXTRA_TL_DOC_MODULES="bibtex8.doc.r${TL_REVISION} bibtexu.doc.r${TL_REVISION}" diff --git a/dev-tex/bibtexu/bibtexu-3.72_p20240311.ebuild b/dev-tex/bibtexu/bibtexu-3.72_p20240311.ebuild new file mode 100644 index 000000000000..c0df51c04883 --- /dev/null +++ b/dev-tex/bibtexu/bibtexu-3.72_p20240311.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic texlive-common + +DESCRIPTION="8-bit Implementation of BibTeX 0.99 with a Very Large Capacity" +HOMEPAGE="https://tug.org/texlive/" +SRC_URI="https://mirrors.ctan.org/systems/texlive/Source/texlive-${PV#*_p}-source.tar.xz" + +S="${WORKDIR}"/texlive-${PV#*_p}-source/texk/bibtex-x +LICENSE="GPL-2" +SLOT="0" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + +IUSE="doc source" + +RDEPEND=" + >=dev-libs/kpathsea-6.2.1:= + >=dev-libs/icu-4.4:= +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +TL_REVISION=66186 +EXTRA_TL_MODULES="bibtex8.r${TL_REVISION} bibtexu.r${TL_REVISION}" +EXTRA_TL_DOC_MODULES="bibtex8.doc.r${TL_REVISION} bibtexu.doc.r${TL_REVISION}" + +texlive-common_append_to_src_uri EXTRA_TL_MODULES + +SRC_URI="${SRC_URI} doc? ( " +texlive-common_append_to_src_uri EXTRA_TL_DOC_MODULES +SRC_URI="${SRC_URI} ) " + +src_configure() { + # bug #943986 + append-cflags -std=gnu17 + + econf \ + --with-system-kpathsea \ + --with-system-icu +} + +src_install() { + emake \ + DESTDIR="${D}" \ + csfdir="${EPREFIX}/usr/share/texmf-dist/bibtexu/csf/base" \ + btdocdir="${EPREFIX}/usr/share/doc/${PF}" \ + install + dodoc 00bibtex8-readme.txt 00bibtex8-history.txt ChangeLog csf/csfile.txt + + dodir /usr/share # just in case + cp -pR "${WORKDIR}"/texmf-dist "${ED}/usr/share/" || die "failed to install texmf trees" + if use source ; then + cp -pR "${WORKDIR}"/tlpkg "${ED}/usr/share/" || die "failed to install tlpkg files" + fi +} diff --git a/dev-tex/glossaries/Manifest b/dev-tex/glossaries/Manifest index f3a17d1cd3d6..8c4a086f89f6 100644 --- a/dev-tex/glossaries/Manifest +++ b/dev-tex/glossaries/Manifest @@ -1,3 +1,2 @@ -DIST glossaries-4.46.zip 7028263 BLAKE2B 3d1479a50ea938eb3bd273b2a17db2675275aece241f4bab0329656966d2d28fae2e82268c667998b111fa35f1a04f24ddb3b5130e897c13e2cef965783f9606 SHA512 6ade1039b91b719035cdaef5381cd4904c4baccdd7b9f9a2e655e47a833bfe5b20c6775e30ce08645c0c30d3cec140ce92e36c5a872b40217c5a82bca2a6ce5c -DIST glossaries-4.52.zip 12709543 BLAKE2B b15ead946238225e9a0818223658f94f161e2519bfe66252affa607be076629df6d8e63ee9e5ccde6ee3ca74086547cd0a8fab55d4f73515eaa68c3dec65d380 SHA512 904e0e153b73d0dc1bf61e1238556e7bbe5c58195226e25b566a2e1e5eb5681a8c6a6c9f43ff43301918f4769554bd2303bb3323d50d58f4eeb4f59af6160a83 DIST glossaries-4.53.zip 12987246 BLAKE2B 41ce0e974385f53a5a57d16e56af44f0616c9277981b634ce81bba2e1340663de47ff1a41b60950e5b37db69493391518dc44914621abdd67fd4aebbd69f1232 SHA512 5afa7e766e19f88297b44293a4e5c83182b20e000566eb91340277490857ef7d1bc13a86048ab6fb05a55e50ef26fa112203d8d8596994e6e155ab69f793f4a7 +DIST glossaries-4.55.zip 13700848 BLAKE2B 62f25df6e94dab9e69d2562b5425248c693e3758f7fc4234106c2c0510f0669d52ca25eb995d16d8dc65f32550c1253ea18e00d2a3467430018354c59c2f0693 SHA512 030bacdc47c29b66ea2f29e3e81adf8bec345d1d7c0a66752c488d81ccfd3cb4fbcddd7096e2067791959047ba86821425d51447a901d01607b5623daa5857f5 diff --git a/dev-tex/glossaries/glossaries-4.46.ebuild b/dev-tex/glossaries/glossaries-4.46.ebuild deleted file mode 100644 index 54e06c7f26aa..000000000000 --- a/dev-tex/glossaries/glossaries-4.46.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit latex-package - -DESCRIPTION="Create glossaries and lists of acronyms" -HOMEPAGE="http://www.ctan.org/pkg/glossaries/" -SRC_URI="http://mirrors.ctan.org/macros/latex/contrib/glossaries.zip -> ${P}.zip" - -LICENSE="LPPL-1.2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" -IUSE="doc examples" - -RDEPEND="dev-lang/perl - dev-texlive/texlive-latexrecommended - >=dev-texlive/texlive-latexextra-2012 - dev-texlive/texlive-plaingeneric" -BDEPEND="${RDEPEND} - app-arch/unzip" - -TEXMF="/usr/share/texmf-site" -S=${WORKDIR}/${PN} - -src_install() { - latex-package_src_doinstall styles - - dobin makeglossaries - - dodoc CHANGES - if use doc ; then - latex-package_src_doinstall pdf - fi - if use examples ; then - docinto examples - dodoc samples/*.tex - fi -} diff --git a/dev-tex/glossaries/glossaries-4.52.ebuild b/dev-tex/glossaries/glossaries-4.55.ebuild index 9faf563bebd7..a790a37ac31d 100644 --- a/dev-tex/glossaries/glossaries-4.52.ebuild +++ b/dev-tex/glossaries/glossaries-4.55.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -7,22 +7,31 @@ inherit latex-package DESCRIPTION="Create glossaries and lists of acronyms" HOMEPAGE="https://www.ctan.org/pkg/glossaries/" -SRC_URI="https://mirrors.ctan.org/macros/latex/contrib/glossaries.zip -> ${P}.zip" +# The real origin of this is +# https://mirrors.ctan.org/macros/latex/contrib/glossaries.zip, which +# is, unfortunately, unversioned. +SRC_URI="https://dev.gentoo.org/~flow/distfiles/glossaries/${P}.zip" + +S=${WORKDIR}/${PN} LICENSE="LPPL-1.2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" + IUSE="doc examples" -RDEPEND="dev-lang/perl +RDEPEND=" + dev-lang/perl dev-texlive/texlive-latexrecommended >=dev-texlive/texlive-latexextra-2012 - dev-texlive/texlive-plaingeneric" -BDEPEND="${RDEPEND} - app-arch/unzip" - -TEXMF="/usr/share/texmf-site" -S=${WORKDIR}/${PN} + dev-texlive/texlive-plaingeneric +" +BDEPEND=" + ${RDEPEND} + app-arch/unzip +" + +TEXMF="/usr/share/texmf-dist" src_install() { latex-package_src_doinstall styles diff --git a/dev-tex/latex-beamer/Manifest b/dev-tex/latex-beamer/Manifest index 67b615e338e7..20f370b9da33 100644 --- a/dev-tex/latex-beamer/Manifest +++ b/dev-tex/latex-beamer/Manifest @@ -1 +1,2 @@ DIST latex-beamer-3.71.tar.gz 670216 BLAKE2B 839ed2975cf8c37f1ae1f6f7a7318b57ce588cc6211e0c44f3972033a34225d3e69479d9ec0617a37d225f869b33966d2678f902d2b5f6eabe70a168c5f23ad9 SHA512 b786824a6d721117be0e5bea4522634ff03ce91f558c9261748f62c85966ec2dec38be56a140f9ba7158dc350a72d7e2306dcbb10542b9ba8a4f06b0c45794fb +DIST latex-beamer-3.72.tar.gz 671488 BLAKE2B cc38c5116cfdc5a08182ae86d7ce337a31bf7e81c68d654d10b9e81353fa2ce00e6c482c8026a505d93c00b959ff8c81536b72a866af8cebab0e32de33ae44fe SHA512 4c952e54bad2701acf0de5cb126ef9d472d599e6b987cd8a204d0e5e175f1b1d0218c00293d395f124e94bedb8468c504cff6b21e92d23f4c4603915d19ff173 diff --git a/dev-tex/latex-beamer/latex-beamer-3.72.ebuild b/dev-tex/latex-beamer/latex-beamer-3.72.ebuild new file mode 100644 index 000000000000..f8d4b26c8277 --- /dev/null +++ b/dev-tex/latex-beamer/latex-beamer-3.72.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit latex-package + +DESCRIPTION="LaTeX class for creating presentations using a video projector" +HOMEPAGE="https://github.com/josephwright/beamer" +SRC_URI="https://github.com/josephwright/beamer/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/beamer-${PV}" + +LICENSE="GPL-2 FDL-1.2 LPPL-1.3c" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="doc" + +BDEPEND="dev-texlive/texlive-latex" +RDEPEND=" + >=dev-tex/pgf-1.10 + dev-texlive/texlive-latexrecommended +" + +src_prepare() { + default + rm -r doc/licenses || die +} + +src_install() { + insinto /usr/share/texmf-site/tex/latex/beamer + doins -r base + + dodoc README.md + + if use doc ; then + docinto doc + dodoc -r doc + dosym ../../../../../usr/share/doc/${PF}/doc/ "${TEXMF}/doc/latex/beamer" + fi +} diff --git a/dev-tex/latex2pydata/Manifest b/dev-tex/latex2pydata/Manifest index 19f559486028..a0d07076fb13 100644 --- a/dev-tex/latex2pydata/Manifest +++ b/dev-tex/latex2pydata/Manifest @@ -1,2 +1 @@ -DIST latex2pydata-0.4.0-explicitly-set-build-backend.patch 1196 BLAKE2B de64d8aa56137407771c5f49347be1725aed643ab3251aacb3c12d23ad7075f9ba3429d9b6c937bcdfb43a3ae56078866ef6d800291d1c796518610954f4d430 SHA512 72f4180f4e5c4a818fc79c59f0c3cf672c764986896a9ea80dc40c58eb5a5587464127d79c4f87226d476145b05bda5f4e13b25f507bee6485eb657817e84f64 -DIST latex2pydata-0.4.0.gh.tar.gz 346788 BLAKE2B 8ff018857f3b3140b1d21cbdca4ec5c73156d724ea5131aa1235343f8308e95af2ebb0f265a3b8a59a3a10adb926a9c93c210e66cc1238e4b8bfe39a979b3ed9 SHA512 41bf2438230a48c52275a3c3988f2e4024cf5939fae4b7309cbd6ac3ee889fc1f9f00e5e862caaf71c53229bb933ba38c86271ede68848c06fd21073ee26630b +DIST latex2pydata-0.4.1.gh.tar.gz 346867 BLAKE2B cdf9a69d87d8f859016917af47dccb0f85896026ed020bf92a6e45c4326677f8378f3426243ed4a8ef4039b3041d3cb5b0f1f9643bef82ba0465922185431d9e SHA512 25ebaca117c2b09cf510598ed0bc2e7c3a479503bc18c0f36d0dd5723116f308f68e26d9afee2ababe317417aefb8f69f2828ad5ab2c66eab7ee3903d8cfff42 diff --git a/dev-tex/latex2pydata/latex2pydata-0.4.0.ebuild b/dev-tex/latex2pydata/latex2pydata-0.4.0.ebuild deleted file mode 100644 index e7476536d8b8..000000000000 --- a/dev-tex/latex2pydata/latex2pydata-0.4.0.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..13} ) - -inherit distutils-r1 latex-package - -DESCRIPTION="Allows LaTeX to save data to files using Python" -HOMEPAGE=" - https://github.com/gpoore/latex2pydata - https://pypi.org/project/latex2pydata/ -" -SRC_URI=" - https://github.com/gpoore/${PN}/archive/refs/tags/latex/v${PV}.tar.gz - -> ${P}.gh.tar.gz - https://github.com/gpoore/latex2pydata/commit/539ea2c24769a509728ac6ba52a20df588576376.patch - -> ${PN}-0.4.0-explicitly-set-build-backend.patch -" - -S="${WORKDIR}/${PN}-latex-v${PV}" - -LICENSE="LPPL-1.3c" -SLOT="0" -KEYWORDS="~amd64" - -PATCHES=( - "${DISTDIR}"/${PN}-0.4.0-explicitly-set-build-backend.patch -) - -# DEPEND=">=dev-texlive/texlive-latexextra-2024" - -src_compile() { - pushd python &> /dev/null || die - distutils-r1_src_compile - popd &> /dev/null || die - - pushd latex/latex2pydata &> /dev/null || die - latex-package_src_compile - popd &> /dev/null || die -} - -src_install() { - pushd python &> /dev/null || die - distutils-r1_src_install - docinto python - dodoc *.md - popd &> /dev/null || die - - pushd latex/latex2pydata &> /dev/null || die - latex-package_src_install - docinto latex - dodoc *.md - popd &> /dev/null || die -} diff --git a/dev-tex/latex2pydata/latex2pydata-0.4.1.ebuild b/dev-tex/latex2pydata/latex2pydata-0.4.1.ebuild new file mode 100644 index 000000000000..66c03c074bd2 --- /dev/null +++ b/dev-tex/latex2pydata/latex2pydata-0.4.1.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 latex-package + +DESCRIPTION="Allows LaTeX to save data to files using Python" +HOMEPAGE=" + https://github.com/gpoore/latex2pydata + https://pypi.org/project/latex2pydata/ +" +SRC_URI=" + https://github.com/gpoore/${PN}/archive/refs/tags/python/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +S="${WORKDIR}/${PN}-python-v${PV}" + +LICENSE="LPPL-1.3c" +SLOT="0" +KEYWORDS="amd64 ~ppc ~ppc64 ~x86" + +# fontsextra for fourier.sty +# latexextra for upquote.sty +BDEPEND=" + >=dev-texlive/texlive-fontsextra-2024 + >=dev-texlive/texlive-latexextra-2024 +" + +distutils_enable_tests pytest + +src_compile() { + pushd python > /dev/null || die + distutils-r1_src_compile + popd > /dev/null || die + + pushd latex/latex2pydata > /dev/null || die + latex-package_src_compile + popd > /dev/null || die +} + +src_test() { + pushd python > /dev/null || die + distutils-r1_src_test + popd > /dev/null || die +} + +src_install() { + dodoc README.md + + pushd python > /dev/null || die + distutils-r1_src_install + docinto python + dodoc CHANGELOG.md README.md + popd > /dev/null || die + + pushd latex > /dev/null || die + docinto latex + dodoc CHANGELOG.md README.md + popd > /dev/null || die + + pushd latex/latex2pydata > /dev/null || die + latex-package_src_install + popd > /dev/null || die +} diff --git a/dev-tex/latexdiff/Manifest b/dev-tex/latexdiff/Manifest index a2f40993dbf6..11f3d74df95b 100644 --- a/dev-tex/latexdiff/Manifest +++ b/dev-tex/latexdiff/Manifest @@ -1,2 +1,3 @@ DIST latexdiff-1.3.3.tar.gz 1890774 BLAKE2B c6a4da89477d7ff51ca23d8261f30e46c35faf3fa98e75d4dbb7bb0910822e06a7aff1198a0c2506711c7c527dd83bfe47dbfc0146a4440d08c26ecd411c7570 SHA512 5285d75c5fe9aa057ad56683ffd55308b45e1259beea0136d8b8526514602d6f8c5f79291dd2fa8c9b34e6a717323a02470878776b47b4ca4d36cab4d75f6ff1 +DIST latexdiff-1.3.4-makefile-fix-example-diff-target.patch 1047 BLAKE2B a506435a0b8a91db303391821ec9b5ee01d0a292e22336e76d29d07c764ba26d92d0d54b579f152fb404736afe52ad1cf137acf6ea1e65683ce9d16a04f27c7d SHA512 5c2690262bcc71770837970d9cb80aae55172d7dfd6a8d93b9868474f72b32e5a36792b1684426864c2b1819d333522c5d09bbeb8289c5f8e8e0260b1f6e2c7e DIST latexdiff-1.3.4.tar.gz 1955150 BLAKE2B 23a312f423b0baf4c0e0a929e5818411ac2d65b8411e96c39864fb3a38fb9ab1dbdff8e691a3ddbda56ef81b5df658047b03fd9233fa5bca82bbbcb747c30920 SHA512 e53a6cb4262648c8e5d1d83ec4d3839134bd49a6a0d50ea180b045f7949126e8036336fbfb8d8d67412a9e8134208711909d8814e21683923afe44d0db221721 diff --git a/dev-tex/latexdiff/latexdiff-1.3.4.ebuild b/dev-tex/latexdiff/latexdiff-1.3.4.ebuild index d2d134e5fe7f..e7eb31b88bb0 100644 --- a/dev-tex/latexdiff/latexdiff-1.3.4.ebuild +++ b/dev-tex/latexdiff/latexdiff-1.3.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -14,6 +14,11 @@ else KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" fi +SRC_URI+=" + https://github.com/ftilmann/latexdiff/pull/314/commits/94e13c799d2e218a814d007ceff37e91828fb4a4.patch + -> ${PN}-1.3.4-makefile-fix-example-diff-target.patch +" + LICENSE="GPL-3" SLOT="0" @@ -33,13 +38,13 @@ BDEPEND=" test? ( app-shells/tcsh ) " -src_compile() { - export VARTEXFONTS="${T}/fonts" - PATH="${S}/dist:${PATH}" emake -j1 distribution -} +PATCHES=( + "${DISTDIR}"/${PN}-1.3.4-makefile-fix-example-diff-target.patch +) -src_test() { - emake test +src_compile() { + local -x VARTEXFONTS="${T}/fonts" + emake -j1 distribution } src_install() { diff --git a/dev-tex/latexdiff/latexdiff-9999.ebuild b/dev-tex/latexdiff/latexdiff-9999.ebuild index a8448445310e..ccecd994e442 100644 --- a/dev-tex/latexdiff/latexdiff-9999.ebuild +++ b/dev-tex/latexdiff/latexdiff-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -14,6 +14,11 @@ else KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" fi +SRC_URI+=" + https://github.com/ftilmann/latexdiff/pull/314/commits/94e13c799d2e218a814d007ceff37e91828fb4a4.patch + -> ${PN}-1.3.4-makefile-fix-example-diff-target.patch +" + LICENSE="GPL-3" SLOT="0" @@ -33,13 +38,13 @@ BDEPEND=" test? ( app-shells/tcsh ) " -src_compile() { - export VARTEXFONTS="${T}/fonts" - PATH="${S}/dist:${PATH}" emake -j1 distribution -} +PATCHES=( + "${DISTDIR}"/${PN}-1.3.4-makefile-fix-example-diff-target.patch +) -src_test() { - emake test +src_compile() { + local -x VARTEXFONTS="${T}/fonts" + emake -j1 distribution } src_install() { diff --git a/dev-tex/latexmk/Manifest b/dev-tex/latexmk/Manifest index 13d03cf622e3..aefc6a41e235 100644 --- a/dev-tex/latexmk/Manifest +++ b/dev-tex/latexmk/Manifest @@ -1,3 +1,2 @@ -DIST latexmk-470b.zip 458908 BLAKE2B b82f09227412a05fcb662530b2c6691bac72640e5e1bc431de1710ca13b2c97f62f23fbf18a11eff21b222483367c7a4ba88cc197148d8f0b37edc53a96e1490 SHA512 2f984fd9c1785177fd58eb6bad44061bc7b397ed627599557704bae2cef1f53c186d161f99e4aaae5fa33fc66d56936dc9f5b6385f00d85bd634016bac0d555d -DIST latexmk-480.zip 515014 BLAKE2B ec45e6590346c2ab0a226fff08143e5262fd442485c7199b3eea279901753b4d4d7c7d1030e44451a833bbfd74dcf04bae8fd6f63732ac4d5858f5dd96377687 SHA512 38652457a0ba311a7d4e3fdfeec53af27a1f370bf35e4f4214d97946eeece13b67ece22fe5b2c428c3d4d9145f593b683a1fc7993c11c601d8c4d87b592428da DIST latexmk-483.zip 542683 BLAKE2B c6c45b878d2c78bec5e9a7daf4f8e513466a904349ef254792c94412bc872ba4a76b7da276e1f6588fec76bfcfa90e0465fe5b3f9b2785361d4acee15bf31a77 SHA512 5a856bb8ec37ab582ce35ba01f6c3ad574b73862e6ed67810b166b34344a2d76c3046e4b7442cac81e8cf7ff64bac674f2b4f5b76f0c0cd266271e930ded093e +DIST latexmk-485.zip 566601 BLAKE2B 858245b0dc252825640b257ec0126351fb4a261c82f1bddf2c8abe67b45fe6d913747489d0b1da007050bd6e5e9898e55998e0c5efc5b4d6115665807d050236 SHA512 cb177fc1379ce7249da0931c6ce7e37fbacd812a96ded415fdeaaf5bf736324f55f08df03cec807fc931f65271c5bc4051523d5ffde0b0e281b3777e1c885840 diff --git a/dev-tex/latexmk/latexmk-4.70b.ebuild b/dev-tex/latexmk/latexmk-4.70b.ebuild deleted file mode 100644 index 5580975e570d..000000000000 --- a/dev-tex/latexmk/latexmk-4.70b.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit bash-completion-r1 - -DESCRIPTION="Perl script for automatically building LaTeX documents" -HOMEPAGE="https://personal.psu.edu/~jcc8/software/latexmk/ - https://ctan.org/pkg/latexmk/" -SRC_URI="https://personal.psu.edu/~jcc8/software/${PN}/${P/./}.zip" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~ppc-macos ~x64-macos" - -RDEPEND="virtual/latex-base - dev-lang/perl" - -DEPEND="${RDEPEND}" - -BDEPEND="app-arch/unzip" - -S="${WORKDIR}/${PN}" - -src_install() { - newbin latexmk.pl latexmk - doman latexmk.1 - dodoc CHANGES README latexmk.pdf latexmk.txt - dodoc -r example_rcfiles extra-scripts - newbashcomp "${FILESDIR}"/completion.bash-2 ${PN} -} diff --git a/dev-tex/latexmk/latexmk-4.80.ebuild b/dev-tex/latexmk/latexmk-4.85.ebuild index 80edeb4939c0..2fbb3fb8587f 100644 --- a/dev-tex/latexmk/latexmk-4.80.ebuild +++ b/dev-tex/latexmk/latexmk-4.85.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -8,21 +8,23 @@ inherit bash-completion-r1 DESCRIPTION="Perl script for automatically building LaTeX documents" HOMEPAGE="https://personal.psu.edu/~jcc8/software/latexmk/ https://ctan.org/pkg/latexmk/" -SRC_URI="https://personal.psu.edu/~jcc8/software/${PN}/${P/./}.zip" +SRC_URI="https://www.cantab.net/users/johncollins/${PN}/${P/./}.zip" + +S="${WORKDIR}/${PN}" LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~ppc-macos ~x64-macos" -RDEPEND="virtual/latex-base - dev-lang/perl" +RDEPEND=" + dev-lang/perl + virtual/latex-base +" DEPEND="${RDEPEND}" BDEPEND="app-arch/unzip" -S="${WORKDIR}/${PN}" - src_install() { newbin latexmk.pl latexmk doman latexmk.1 diff --git a/dev-tex/minted/Manifest b/dev-tex/minted/Manifest index 3bb9b6c6ab6a..da71f3c5c94d 100644 --- a/dev-tex/minted/Manifest +++ b/dev-tex/minted/Manifest @@ -1,2 +1,3 @@ -DIST minted-2.6.tar.gz 891134 BLAKE2B b8f1686adeb138c61c232502b10aa420f1054180c5a460e9e5058d40435e13d336c15a044202923bd1acd7b62a7b780d95c62cf1a589181c90b9058712479c43 SHA512 6fb28485fca7238053ad177ee5579c27740e72b8753c6dcaa59afe20bc97d7e81ec20d189e97522445b6435f17cef1f8326aaa41c154bf21f59519c9abf10485 DIST minted-2.9.tar.gz 923928 BLAKE2B e4a9dc6194c8f03ce09d02cbab81f3aca473240ad6f84d6d39d7af62dc6111c50bdf2011ce1174d8bf998e93fab2706d7394423ee0a5486e92d62b592dca37ff SHA512 55b2d9800c752e47c98045baae0e68c3d5003f9154ec58d10922f1087cabb1305fbda9a3d45e330a8de982de1c94e58cbd1d3878f7f0cc8f5830080688e35377 +DIST minted-3.4.0-explicitly-set-build-backend.patch 1196 BLAKE2B cfa83f1175d7b4334e65c964684ee1443f22ab5cd5892d502b0902c806cab3b74a4867367639804f96173a96b617ac11f234f803625aef7e8f4e117f815bf411 SHA512 94e36346bed7dc672c2286bc57096473f67d09ab2295e9c4356cbd948b64a490ec162eff68b46053009ead82c5b3d133ea3b4ff83ec8f5fec71ebbdb728841fd +DIST minted-3.4.0.tar.gz 629289 BLAKE2B cc4e4f7d55e2844e6aaa91c7d1b8410770a02f0def612befe46f961288e65c7650743d856738baa0f3a8e1574a270e89baf9c6ddabb34d203d82c288aad662b4 SHA512 9f95a8d96dd7813342ff6a336a192d675c47649d18c05916d104e934ed324e5b8b51c024fb2d362695d745da624d9f77c2878227d9e80306fb69ea45b301ecc1 diff --git a/dev-tex/minted/minted-2.6.ebuild b/dev-tex/minted/minted-2.6.ebuild deleted file mode 100644 index 450a5f074653..000000000000 --- a/dev-tex/minted/minted-2.6.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit latex-package - -DESCRIPTION="LaTeX package for source code syntax highlighting" -HOMEPAGE="https://github.com/gpoore/minted/" -SRC_URI="https://github.com/gpoore/${PN}/archive/v${PV}.tar.gz - -> ${P}.tar.gz" -S="${WORKDIR}"/${P}/source - -SLOT="0" -LICENSE="|| ( BSD LPPL-1.3 )" -KEYWORDS="amd64 ~arm64 ~ppc ~riscv ~x86" -IUSE="doc" - -RDEPEND=" - dev-python/pygments - dev-texlive/texlive-latexextra -" -BDEPEND="doc? ( dev-texlive/texlive-fontsextra )" - -DOCS=( ../CHANGES.md ../README.md ) - -src_prepare() { - default - - rm "${S}"/${PN}.pdf || die -} - -src_install() { - LATEX_DOC_ARGUMENTS="-shell-escape" - - latex-package_src_install - - use doc && latex-package_src_doinstall pdf -} diff --git a/dev-tex/minted/minted-3.4.0.ebuild b/dev-tex/minted/minted-3.4.0.ebuild new file mode 100644 index 000000000000..b2d939ca2c89 --- /dev/null +++ b/dev-tex/minted/minted-3.4.0.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 latex-package + +DESCRIPTION="LaTeX package for source code syntax highlighting" +HOMEPAGE="https://github.com/gpoore/minted/" +SRC_URI=" + https://github.com/gpoore/${PN}/archive/refs/tags/latex/v${PV}.tar.gz + -> ${P}.tar.gz + https://github.com/gpoore/minted/commit/45ccea404689680513be3b78d2c0579f6250f963.patch + -> ${PN}-3.4.0-explicitly-set-build-backend.patch +" + +S="${WORKDIR}"/${PN}-latex-v${PV} + +LICENSE="|| ( BSD LPPL-1.3 )" +SLOT="0" +KEYWORDS="amd64 ~ppc ~ppc64 ~x86" + +IUSE="doc" + +RDEPEND=" + >=dev-python/latexrestricted-0.6.0 + >=dev-python/pygments-2.17.0 + >=dev-tex/latex2pydata-0.4.0 + dev-texlive/texlive-latexextra +" +BDEPEND=" + doc? ( + dev-texlive/texlive-fontsextra + ) +" + +PATCHES=( + "${DISTDIR}"/${PN}-3.4.0-explicitly-set-build-backend.patch +) + +src_prepare() { + default + + rm latex/minted/${PN}.pdf || die +} + +src_compile() { + pushd python &> /dev/null || die + distutils-r1_src_compile + popd &> /dev/null || die + + pushd latex/minted &> /dev/null || die + latex-package_src_compile + popd &> /dev/null || die +} + +src_install() { + dodoc README.md + + pushd python &> /dev/null || die + docinto python + dodoc *.md + distutils-r1_src_install + popd &> /dev/null || die + + pushd latex &> /dev/null || die + docinto latex + dodoc *.md + popd &> /dev/null || die + + pushd latex/minted &> /dev/null || die + latex-package_src_doinstall styles fonts bin + if use doc; then + python_setup + local -x LATEX_DOC_ARGUMENTS="-shell-escape" + local -x PYTHONPATH="${ED}/usr/lib/${EPYTHON}/site-packages" + local -x PATH="${ED}/usr/lib/python-exec/${EPYTHON}:${PATH}" + latex-package_src_doinstall doc + fi + popd &> /dev/null || die +} diff --git a/dev-tex/pgf/pgf-3.1.10.ebuild b/dev-tex/pgf/pgf-3.1.10-r1.ebuild index de532bb1434d..701daca14a2c 100644 --- a/dev-tex/pgf/pgf-3.1.10.ebuild +++ b/dev-tex/pgf/pgf-3.1.10-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,32 +19,22 @@ IUSE="doc source" RDEPEND="dev-texlive/texlive-latexrecommended" +# ADJUST ON BUMPS: The date of the according release tag. See also +# upstream's build.lua +PGF_VERSION_DATE="2023-01-15" + src_install() { einstalldocs insinto "${TEXMF}" doins -r tex insinto "${TEXMF}"/tex/generic/${PN} - # Here is one of the rare examples where you want to quote the label - # of the heredoc to prevent the backticks from being evaluated. - newins - pgf.revision.tex <<"EOF" -\begingroup -\catcode`\-=12 -\catcode`\/=12 -\catcode`\.=12 -\catcode`\:=12 -\catcode`\+=12 -\catcode`\-=12 -\gdef\pgfrevision{@PVR@} -\gdef\pgfversion{@PVR@} -\gdef\pgfversiondatetime{2024-02-09 00:00:00 +0000} -\gdef\pgfrevisiondatetime{2024-02-09 00:00:00 +0000} -\gdef\pgf@glob@TMPa#1-#2-#3 #4\relax{#1/#2/#3} -\xdef\pgfversiondate{\expandafter\pgf@glob@TMPa\pgfversiondatetime\relax} -\xdef\pgfrevisiondate{\expandafter\pgf@glob@TMPa\pgfrevisiondatetime\relax} -\endgroup + newins - pgf.revision.tex <<EOF +\\def\\pgfrevision{${PV}} +\\def\\pgfversion{${PV}} +\\def\\pgfrevisiondate{${PGF_VERSION_DATE}} +\\def\\pgfversiondate{${PGF_VERSION_DATE}} EOF - sed -i s/@PVR@/${PVR}/ "${ED}/${TEXMF}"/tex/generic/${PN}/pgf.revision.tex || die if use source ; then doins -r source diff --git a/dev-tex/rubber/Manifest b/dev-tex/rubber/Manifest index de632e297caa..bbd62445d18f 100644 --- a/dev-tex/rubber/Manifest +++ b/dev-tex/rubber/Manifest @@ -1,5 +1,2 @@ -DIST rubber-1.5.1.tar.gz 111812 BLAKE2B 4d08527689d669e3ac8dd6e9050fc09766bfb46c53d9923ce10efc0aaf8a62a962cb2f1c27a0e7a19a9be96710edba923d93589d816aa22305eec33fd08aa08c SHA512 ba22eeddc24b4f9abf0bf087604a4261add648877ec558b766555de09538cd20c21c8cfd9731c1421540bb2479501dd6ed066346d250c6bc981529e31efacc40 -DIST rubber-1.6.0.tar.bz2 98055 BLAKE2B e3355a53f811e972b68a918393023a16c11a84035c0ea76b560df25db2d9c20f2a7c9d0d4fc3b0395c6baab5dc785840fa18a76aa0e3f480cf2c14668d61b083 SHA512 68674c27fa7c6eb2c8ec60c0a961fd2dd07822fe5ba50682e863a7dbe7d1e0ce8ebffce84a52b72a254cb9c8d446a33005715b81e43dd6266e2c247f12ebb1e6 -DIST rubber-1.6.4.tar.bz2 100227 BLAKE2B 5a467f5a2a4709e7faffef1308e644900f02ca51e4fff635e7a88bb237788e60257e0e8e82ed9acac66db46f0a1e8aed1296703fefc8e1fb6e28cd38334b7d14 SHA512 dbb3896c165d63cfae8421929d0d796002fb3abcfc2ccb3fe70c4c98acc54ed48be1ad469158436dabd973bf37355c62c096ebd47c0efa7dbe58137a0a895527 -DIST rubber-1.6.5.tar.bz2 100300 BLAKE2B bbddf550fbce2f2f98ecf2e737515b4c6891e89494dc2c39cc4a0f268d76f505cad184f27c5f333bc706fe08adcce1d668e8e33c37e26fc6142b12b32797e402 SHA512 e0fadbca6d9e570e6414a99a72da22656abb0fc71e14dd0840bd3dd68364d0da0b2fd5c416f45eb8489bdcb10c226657799efae4ae0c73807b2485b8c8c2094b DIST rubber-1.6.6.tar.bz2 100502 BLAKE2B fa74c189b7265206495436b14f229588f7998e0c2f1b148eb8202805ddea54f6391ee15c6ca40957e242b1f065eb1159904fbafe0ddc4d8e6d64cdd26478d614 SHA512 0913a1c9ac012a8bd577e975aca92eae0965137fbc01b049b139f8f31bd85856503af7d760defc67f76894a74ca0616fcb887b1a9395be5a93ff0397ec6795ae +DIST rubber-1.6.7.tar.bz2 100670 BLAKE2B 468af397d58bc0866fb3443098ae55fff8eff2be9ef9537d8b7d8ea4c45f9928083732778106850f90bcc52d8decafd11386d4c1c69583c3953094180ce4065c SHA512 82ff4457fbe98de15c09adce2dc6dc9693f1ce8bb8f5fa358e9e9f0268e98fb4aa05fe08bafb5a1fad1c400c1623af21e21376c42cec6a162dd05c7791819ef4 diff --git a/dev-tex/rubber/rubber-1.5.1-r1.ebuild b/dev-tex/rubber/rubber-1.5.1-r1.ebuild deleted file mode 100644 index 2a80c8a79354..000000000000 --- a/dev-tex/rubber/rubber-1.5.1-r1.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{9..11} ) - -inherit distutils-r1 - -DESCRIPTION="A LaTeX wrapper for automatically building documents" -HOMEPAGE="https://launchpad.net/rubber/" -SRC_URI="https://launchpad.net/rubber/trunk/${PV}/+download/${P}.tar.gz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="amd64 ppc x86" - -RDEPEND="virtual/latex-base" -BDEPEND="${RDEPEND} - virtual/texi2dvi" - -pkg_setup() { - # https://bugs.gentoo.org/727996 - export VARTEXFONTS="${T}"/fonts -} - -python_install() { - distutils-r1_python_install \ - --docdir="${EPREFIX}"/usr/share/doc/${PF} \ - --infodir="${EPREFIX}"/usr/share/info \ - --mandir="${EPREFIX}"/usr/share/man -} diff --git a/dev-tex/rubber/rubber-1.6.0-r1.ebuild b/dev-tex/rubber/rubber-1.6.0-r1.ebuild deleted file mode 100644 index 081960532562..000000000000 --- a/dev-tex/rubber/rubber-1.6.0-r1.ebuild +++ /dev/null @@ -1,108 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{9..11} ) -DISTUTILS_USE_SETUPTOOLS="no" - -inherit distutils-r1 - -if [[ ${PV} == "9999" ]] || [[ -n "${EGIT_COMMIT_ID}" ]]; then - inherit git-r3 - EGIT_REPO_URI="https://gitlab.com/latex-rubber/${PN}.git" -else - UPSTREAM_PV=$(ver_rs 3 -) - SRC_URI="https://gitlab.com/latex-rubber/${PN}/-/archive/${UPSTREAM_PV}/${PN}-${UPSTREAM_PV}.tar.bz2" - S="${WORKDIR}/${PN}-${UPSTREAM_PV}" - KEYWORDS="amd64 ~ppc ~riscv ~x86" -fi - -DESCRIPTION="A LaTeX wrapper for automatically building documents" -HOMEPAGE="https://gitlab.com/latex-rubber/rubber" - -LICENSE="GPL-3+" -SLOT="0" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND="virtual/latex-base" - -# Test dependencies: -# - app-text/texlive-core for rubber's 'cweave' test -# - dev-lang/R for rubber's 'knitr' test (requires knitr R library, currently disabled) -# - dev-texlive/texlive-latexextra for rubber's 'combine' test (currently disabled) -BDEPEND=" - ${RDEPEND} - virtual/texi2dvi - test? ( - app-text/ghostscript-gpl - app-text/texlive-core - dev-tex/biber - dev-tex/biblatex - dev-tex/glossaries - dev-tex/latex-beamer - $(python_gen_cond_dep 'dev-tex/pythontex[${PYTHON_USEDEP}]') - dev-texlive/texlive-latexextra - dev-texlive/texlive-pstricks - media-gfx/asymptote - ) -" - -pkg_setup() { - # https://bugs.gentoo.org/727996 - export VARTEXFONTS="${T}"/fonts -} - -python_test() { - cd tests || die - - # Disable the broken 'combine' test as it uses the 'combine' as a - # latex package when it is only a document class (probably only in - # newer versions of combine). Also note that this tests works - # under debian 'buster'. TODO: Look into potential modifications - # done by debian. - touch combine/disable || die - - # This test does not work under Gentoo nor Debian 'buster'. - # TODO: Investigate why it does not work. - touch cweb-latex/disable || die - - # TODO: Investigate why the following are failing. - touch fig2dev-dvi/disable || die - touch fig2dev-path/disable || die - touch fig2dev-path-inplace/disable || die - touch fig2dev-path-into/disable || die - touch graphicx-dotted-files/disable || die - touch hooks-input-file/disable || die - touch knitr/disable || die - - # Even tough metapost is available, those tests fail on Gentoo - # (while they succeed on Debian 'buster'). - # TODO: Determine why. - # ERROR:mpost:I can't read MetaPost's log file, this is wrong. - touch metapost/disable || die - # expected error message not reported by Rubber - touch metapost-error/disable || die - # ERROR:mpost:I can't read MetaPost's log file, this is wrong. - touch metapost-input/disable || die - - ./run.sh * || die "Tests failed with ${EPYTHON}" -} - -python_install() { - local my_install_args=( - --mandir="${EPREFIX}/usr/share/man" - --infodir="${EPREFIX}/usr/share/info" - --docdir="${EPREFIX}/usr/share/doc/${PF}" - ) - - distutils-r1_python_install "${my_install_args[@]}" -} - -src_install() { - insinto /usr/share/zsh/site-functions - newins misc/zsh-completion _rubber - - distutils-r1_src_install -} diff --git a/dev-tex/rubber/rubber-1.6.4-r1.ebuild b/dev-tex/rubber/rubber-1.6.4-r1.ebuild deleted file mode 100644 index 39ebc4698ab0..000000000000 --- a/dev-tex/rubber/rubber-1.6.4-r1.ebuild +++ /dev/null @@ -1,114 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..11} ) -DISTUTILS_USE_PEP517=hatchling - -inherit distutils-r1 - -if [[ ${PV} == "9999" ]] || [[ -n "${EGIT_COMMIT_ID}" ]]; then - inherit git-r3 - EGIT_REPO_URI="https://gitlab.com/latex-rubber/${PN}.git" -else - # NOTE: Cannot be "PYPI_PN=latex-rubber" + "inherit pypi" due to missing tests - SRC_URI="https://gitlab.com/latex-rubber/${PN}/-/archive/${PV}/${P}.tar.bz2" - KEYWORDS="~amd64 ~ppc ~riscv ~x86" -fi - -DESCRIPTION="A LaTeX wrapper for automatically building documents" -HOMEPAGE="https://gitlab.com/latex-rubber/rubber" - -LICENSE="GPL-3+" -SLOT="0" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND="virtual/latex-base" - -# Test dependencies: -# - app-text/texlive-core for rubber's 'cweave' test -# - dev-lang/R for rubber's 'knitr' test (requires knitr R library, currently disabled) -# - dev-texlive/texlive-latexextra for rubber's 'combine' test (currently disabled) -BDEPEND=" - ${RDEPEND} - virtual/texi2dvi - test? ( - app-text/ghostscript-gpl - app-text/texlive-core - dev-tex/biber - dev-tex/biblatex - dev-tex/glossaries - dev-tex/latex-beamer - $(python_gen_cond_dep 'dev-tex/pythontex[${PYTHON_USEDEP}]') - dev-texlive/texlive-latexextra - dev-texlive/texlive-pstricks - media-gfx/asymptote - ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-1.6.4-pythontex.patch -) - -pkg_setup() { - # https://bugs.gentoo.org/727996 - export VARTEXFONTS="${T}"/fonts -} - -python_test() { - cd tests || die - - # Disable the broken 'combine' test as it uses the 'combine' as a - # latex package when it is only a document class (probably only in - # newer versions of combine). Also note that this tests works - # under debian 'buster'. TODO: Look into potential modifications - # done by debian. - touch combine/disable || die - - # This test does not work under Gentoo nor Debian 'buster'. - # TODO: Investigate why it does not work. - touch cweb-latex/disable || die - - # TODO: Investigate why the following are failing. - touch fig2dev-dvi/disable || die - touch fig2dev-path/disable || die - touch fig2dev-path-inplace/disable || die - touch fig2dev-path-into/disable || die - touch graphicx-dotted-files/disable || die - touch hooks-input-file/disable || die - touch knitr/disable || die - - # Even tough metapost is available, those tests fail on Gentoo - # (while they succeed on Debian 'buster'). - # TODO: Determine why. - # ERROR:mpost:I can't read MetaPost's log file, this is wrong. - touch metapost/disable || die - # expected error message not reported by Rubber - touch metapost-error/disable || die - # ERROR:mpost:I can't read MetaPost's log file, this is wrong. - touch metapost-input/disable || die - - ./run.sh * || die "Tests failed with ${EPYTHON}" -} - -python_install() { - local my_install_args=( - --mandir="${EPREFIX}/usr/share/man" - --infodir="${EPREFIX}/usr/share/info" - --docdir="${EPREFIX}/usr/share/doc/${PF}" - ) - - distutils-r1_python_install "${my_install_args[@]}" -} - -src_install() { - distutils-r1_src_install - - # Fix file misplacements - dodir /usr/share/man/fr - mv "${D}"/usr/share/{doc/man-fr,man/fr/man1} || die - mv "${D}"/usr/share/{doc/man-en,man/man1} || die - mv "${D}"/usr/share/doc/{rubber.*,${PF}/} || die -} diff --git a/dev-tex/rubber/rubber-1.6.4.ebuild b/dev-tex/rubber/rubber-1.6.4.ebuild deleted file mode 100644 index bac70181e992..000000000000 --- a/dev-tex/rubber/rubber-1.6.4.ebuild +++ /dev/null @@ -1,111 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..11} ) -DISTUTILS_USE_PEP517=hatchling - -inherit distutils-r1 - -if [[ ${PV} == "9999" ]] || [[ -n "${EGIT_COMMIT_ID}" ]]; then - inherit git-r3 - EGIT_REPO_URI="https://gitlab.com/latex-rubber/${PN}.git" -else - # NOTE: Cannot be "PYPI_PN=latex-rubber" + "inherit pypi" due to missing tests - SRC_URI="https://gitlab.com/latex-rubber/${PN}/-/archive/${PV}/${P}.tar.bz2" - KEYWORDS="~amd64 ~ppc ~riscv ~x86" -fi - -DESCRIPTION="A LaTeX wrapper for automatically building documents" -HOMEPAGE="https://gitlab.com/latex-rubber/rubber" - -LICENSE="GPL-3+" -SLOT="0" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND="virtual/latex-base" - -# Test dependencies: -# - app-text/texlive-core for rubber's 'cweave' test -# - dev-lang/R for rubber's 'knitr' test (requires knitr R library, currently disabled) -# - dev-texlive/texlive-latexextra for rubber's 'combine' test (currently disabled) -BDEPEND=" - ${RDEPEND} - virtual/texi2dvi - test? ( - app-text/ghostscript-gpl - app-text/texlive-core - dev-tex/biber - dev-tex/biblatex - dev-tex/glossaries - dev-tex/latex-beamer - $(python_gen_cond_dep 'dev-tex/pythontex[${PYTHON_USEDEP}]') - dev-texlive/texlive-latexextra - dev-texlive/texlive-pstricks - media-gfx/asymptote - ) -" - -pkg_setup() { - # https://bugs.gentoo.org/727996 - export VARTEXFONTS="${T}"/fonts -} - -python_test() { - cd tests || die - - # Disable the broken 'combine' test as it uses the 'combine' as a - # latex package when it is only a document class (probably only in - # newer versions of combine). Also note that this tests works - # under debian 'buster'. TODO: Look into potential modifications - # done by debian. - touch combine/disable || die - - # This test does not work under Gentoo nor Debian 'buster'. - # TODO: Investigate why it does not work. - touch cweb-latex/disable || die - - # TODO: Investigate why the following are failing. - touch fig2dev-dvi/disable || die - touch fig2dev-path/disable || die - touch fig2dev-path-inplace/disable || die - touch fig2dev-path-into/disable || die - touch graphicx-dotted-files/disable || die - touch hooks-input-file/disable || die - touch knitr/disable || die - - # Even tough metapost is available, those tests fail on Gentoo - # (while they succeed on Debian 'buster'). - # TODO: Determine why. - # ERROR:mpost:I can't read MetaPost's log file, this is wrong. - touch metapost/disable || die - # expected error message not reported by Rubber - touch metapost-error/disable || die - # ERROR:mpost:I can't read MetaPost's log file, this is wrong. - touch metapost-input/disable || die - - ./run.sh * || die "Tests failed with ${EPYTHON}" -} - -python_install() { - local my_install_args=( - --mandir="${EPREFIX}/usr/share/man" - --infodir="${EPREFIX}/usr/share/info" - --docdir="${EPREFIX}/usr/share/doc/${PF}" - ) - - distutils-r1_python_install "${my_install_args[@]}" -} - -src_install() { - distutils-r1_src_install - - # Fix file misplacements - dodir /usr/share/man/fr - mv "${D}"/usr/share/{doc/man-fr,man/fr/man1} || die - mv "${D}"/usr/share/{doc/man-en,man/man1} || die - dodir /usr/share/doc/${P} - mv "${D}"/usr/share/doc/{rubber.*,${P}/} || die -} diff --git a/dev-tex/rubber/rubber-1.6.5-r1.ebuild b/dev-tex/rubber/rubber-1.6.7.ebuild index 0d6cb11369e9..b66e0595b837 100644 --- a/dev-tex/rubber/rubber-1.6.5-r1.ebuild +++ b/dev-tex/rubber/rubber-1.6.7.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..12} ) DISTUTILS_USE_PEP517=hatchling inherit distutils-r1 @@ -14,7 +14,7 @@ if [[ ${PV} == "9999" ]] || [[ -n "${EGIT_COMMIT_ID}" ]]; then else # NOTE: Cannot be "PYPI_PN=latex-rubber" + "inherit pypi" due to missing files SRC_URI="https://gitlab.com/latex-rubber/${PN}/-/archive/${PV}/${P}.tar.bz2" - KEYWORDS="~amd64 ~ppc ~riscv ~x86" + KEYWORDS="amd64 ~ppc ~riscv ~x86" fi DESCRIPTION="A LaTeX wrapper for automatically building documents" diff --git a/dev-tex/sketch/sketch-0.3.7.ebuild b/dev-tex/sketch/sketch-0.3.7.ebuild index 224a68f6c88c..a5c4eefaa58a 100644 --- a/dev-tex/sketch/sketch-0.3.7.ebuild +++ b/dev-tex/sketch/sketch-0.3.7.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit edos2unix toolchain-funcs +inherit edos2unix flag-o-matic toolchain-funcs DESCRIPTION="Produces drawings of two- or three-dimensional solid objects and scenes for TeX" HOMEPAGE="https://www.frontiernet.net/~eugene.ressler/" @@ -24,6 +24,8 @@ src_prepare() { } src_compile() { + # bug #943829 + append-cflags -std=gnu17 emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" } diff --git a/dev-tex/tex4ht/Manifest b/dev-tex/tex4ht/Manifest index 0ed949987ca8..ecfa97f83715 100644 --- a/dev-tex/tex4ht/Manifest +++ b/dev-tex/tex4ht/Manifest @@ -1,7 +1,7 @@ -DIST tex4ht-1.0.2009_06_11_1038.tar.gz 2576719 BLAKE2B d04fd7b5f614414a200b01f11bea9880ea12561873fc08cb2f5f6f62167d6128cc50abbeeee0c7eae5d80046f6d3b504493d66262153c5a534fd1b56bfa1dfcd SHA512 868961c16da63ef20a8af3ec3e56a2b6c518a291cdbc3974f701773dbb55b844f0df06aae4c7b481c96b9e2ba29cb0f1ed1279b6f32340e4708e31bb67170963 DIST tex4ht-sources-1477.tar.xz 77020 BLAKE2B 7e3a3a77363f223c58302cfde9b6743ced4313efe2bdf44393d3a5cb04cd49cd43e44467ac097421843a9af9c6244b4057776c09eb380ec961cc6a90175885ca SHA512 557f119a98b21380e6affbbeee68a3ebcc8c4e94fda537f881a68617632ca5951dd02cf765218aa80eace7a7af0bf3f2a259f19768943ab8efc93fa4e41c5cba -DIST tex4ht-texlive-20210603.doc.tar.xz 136388 BLAKE2B d379e35b8fcd37243e2e1e9b4c378b78004774c530031ecbc0f10b99041a9f785d2317054d2f41181f41d29718d3dbbd7e9632541013eaeea6d54fcdb3568f3f SHA512 de7c2fb855010f62d8dc7dda39826a549aa38daf5acb9e89abf19cf26724db5ac25f362a490058a1456a056ee9954eaa52985b9a05dcb89d6a947474593a77cb -DIST tex4ht-texlive-20210603.tar.xz 908004 BLAKE2B bbc5ce16c10314120b998b5d2b527cf918c0991f47e6c7abe322dba62c1371a38f80ba971a971d756df548aa91d8c5b1f1f0ce3128a6dd33ac052ee465e0be99 SHA512 5a51db0b4cfacba33f9cd83b757d45f83c8470bb451a0376f328a1e78ffe39e5f22dcf2be6f9bed5724eed373ff020c8fa4aa38d9bf34bb45a05186e224e144e DIST tex4ht.doc.r69739.tar.xz 136384 BLAKE2B 5898796e36d0d833ccbd23b85f1dff50612ff1bc1357f70732222bac2c9fcfe6f3bd128aa9613143efb974448d1232c847abace6a5f2d7d6d063e4bf7f92931f SHA512 135b1475d6b4f8650a6e9363caeed0c769ea6ea2512a585b19767ebd440123f39206ebf80b708c37dc3f269b9dbec9bc91a306c36055324e883f679338fcca16 +DIST tex4ht.doc.r72882.tar.xz 136384 BLAKE2B baa5a59a86adc3677c9081b28c86c5a107ebbc17e9734110d052b959fbe4249d802cf3e206617d9b519d5a74804c562bf1c1ba1c678501a48cb837a56ea21f56 SHA512 27e5302ac03f9bb2b4a343dfd3336ba37d42748e687bc7ebb1b22ae59cd3807aa3f07ff9c2f400b41073ad1033fa093ae7c66f815851ca889fb348e7ee1c75e5 DIST tex4ht.r69739.tar.xz 1118960 BLAKE2B 4e8befea28d2879c9ea5ab9cb20721a030e4dd2876fcaf8db310afef2e2398bf0b5635e8d9a0c87b92ceca2bc75e90379c1c994f40c08c8b1e72095c79ce3f6a SHA512 c78b1daae522e9dfb8a0c3b49e04cfa57d68bf96555cebb5ce2700f87748e7c7f5092ad1329f9bb03d1c3f2f11eec58653a66aaa51e295b8aeb7f3606d7d87af +DIST tex4ht.r72882.tar.xz 1138232 BLAKE2B 6b3f58c1a04ab766b55855cafecc5d5746eb39d1de24f01b374ce4676017fff7339d5cc79dbd6df133ffd35c09f4729ab3591a51d3600cb599a008e0333774ba SHA512 b3627e7bbb0b547c2e4cc718b2a426057b6411fccaeee3a23bb5191c27319ba02f3ae88ecc064e047d67e2c06915f40e83f220e29d492c36da05e1a49bfe8df9 DIST tex4ht.source.r69739.tar.xz 1481144 BLAKE2B b1ca1f86455a53cf0c7a8ce38f5255e0301ce9a81dacbf13434e834e0d7a8d6d17144cb9fa143aa1f03b28f3857b0d34334e93212092b5a4325988cb9a2ba9c2 SHA512 1366b563e320f55c4a005e25520b942c9d4e6a1dc6204a3f4e5416fdc6d682cf1b3829233780f4fb7ea81881b3b32f741ab87c2496bc75ef45993c4769fccda7 +DIST tex4ht.source.r72882.tar.xz 1508608 BLAKE2B 4c24998a728dd1846b70db8b9145c0e447359ee8f20bac026441458b8a801103610b9cb061b02ae5a35e06d10642dcbc6db56bd56cb4462e8ab1520d1dd63453 SHA512 392467773e02a0452be109cdd7142ae5f24203b2e3bf18ded0087f0b497e2df4d466fa0dbc834c818899e8f01cc9cbb1fe13b0cc9796524f176f9d534fcadd52 diff --git a/dev-tex/tex4ht/files/tex4ht-invalid-read.patch b/dev-tex/tex4ht/files/tex4ht-invalid-read.patch deleted file mode 100644 index 0b784f338d2c..000000000000 --- a/dev-tex/tex4ht/files/tex4ht-invalid-read.patch +++ /dev/null @@ -1,35 +0,0 @@ -Avoid invalid read and uninitialized comparisons -https://bugs.gentoo.org/915782 -https://puszcza.gnu.org.ua/bugs/?611 - -This backports the following upstream commits: - -r1387 -Author: karl -Date: Thu Oct 12 16:10:29 2023 UTC -avoid negative index into font_tbl - -r1391 -Author: karl -Date: Fri Oct 13 22:34:24 2023 UTC -zero htf_4hf array to avoid uninitialized reads - ---- tex4ht-1.0.2009_06_11_1038/src/tex4ht.c -+++ tex4ht-1.0.2009_06_11_1038/src/tex4ht.c -@@ -7039,6 +7039,7 @@ - - max_htf_4hf_n = 256; - htf_4hf = m_alloc(struct htf_4hf_rec, 256); -+memset (htf_4hf, 0, 256 * sizeof (struct htf_4hf_rec)); - - - -@@ -8738,7 +8739,7 @@ - - - if( span_on && !in_span_ch && !ignore_chs && !in_accenting -- && (default_font != font_tbl[cur_fnt].num) ){ -+ && cur_fnt >= 0 && (default_font != font_tbl[cur_fnt].num) ){ - if( (ch < 137) && (ch != - 132 - ) ){ diff --git a/dev-tex/tex4ht/tex4ht-20090611_p1038_p20210603-r1.ebuild b/dev-tex/tex4ht/tex4ht-20240311_p72882.ebuild index 8862f9cf199b..8bae6fdb4323 100644 --- a/dev-tex/tex4ht/tex4ht-20090611_p1038_p20210603-r1.ebuild +++ b/dev-tex/tex4ht/tex4ht-20240311_p72882.ebuild @@ -1,90 +1,108 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit latex-package toolchain-funcs java-pkg-opt-2 flag-o-matic readme.gentoo-r1 -# tex4ht-20050331_p2350 -> tex4ht-1.0.2005_03_31_2350 -MY_P="${PN}-1.0.${PV:0:4}_${PV:4:2}_${PV:6:2}_$(ver_cut 3)" - -# from https://mirrors.ctan.org/systems/texlive/tlnet/archive/tex4ht.tar.xz -MY_P_TEXLIVE="${PN}-texlive-$(ver_cut 5)" +MY_P_TEXLIVE="${PN}.r$(ver_cut 3).tar.xz" +MY_P_TEXLIVE_DOC="${PN}.doc.r$(ver_cut 3).tar.xz" +MY_P_TEXLIVE_SRC="${PN}.source.r$(ver_cut 3).tar.xz" DESCRIPTION="Converts (La)TeX to (X)HTML, XML and OO.org" HOMEPAGE=" https://tug.org/tex4ht/ https://puszcza.gnu.org.ua/projects/tex4ht/ " -SRC_URI="http://www.cse.ohio-state.edu/~gurari/TeX4ht/fix/${MY_P}.tar.gz - https://dev.gentoo.org/~ulm/distfiles/${MY_P_TEXLIVE}.tar.xz - doc? ( https://dev.gentoo.org/~ulm/distfiles/${MY_P_TEXLIVE}.doc.tar.xz )" -S="${WORKDIR}/${MY_P}" +# See bootstrap-tex4ht in tex.git on how to create the tex4ht-sources-<NUM>.tar.xz +SRC_URI=" + https://dev.gentoo.org/~flow/distfiles/texlive/tex4ht-sources-1477.tar.xz + https://mirrors.ctan.org/systems/texlive/tlnet/archive/${MY_P_TEXLIVE} + https://dev.gentoo.org/~flow/distfiles/texlive/${MY_P_TEXLIVE} + source? ( + https://mirrors.ctan.org/systems/texlive/tlnet/archive/${MY_P_TEXLIVE_SRC} + https://dev.gentoo.org/~flow/distfiles/texlive/${MY_P_TEXLIVE_SRC} + ) + doc? ( + https://mirrors.ctan.org/systems/texlive/tlnet/archive/${MY_P_TEXLIVE_DOC} + https://dev.gentoo.org/~flow/distfiles/texlive/${MY_P_TEXLIVE_DOC} + ) +" +S="${WORKDIR}" LICENSE="LPPL-1.2" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" -IUSE="doc java" +IUSE="doc java source" + +COMMON_DEPEND=" + dev-libs/kpathsea:= +" -RDEPEND="app-text/ghostscript-gpl +RDEPEND=" + ${COMMON_DEPEND} + app-text/ghostscript-gpl + dev-lang/perl media-gfx/imagemagick - dev-libs/kpathsea - java? ( >=virtual/jre-1.8:* )" + java? ( >=virtual/jre-1.8:* ) +" -DEPEND="dev-libs/kpathsea - java? ( >=virtual/jdk-1.8:* )" +DEPEND=" + ${COMMON_DEPEND} + java? ( >=virtual/jdk-1.8:* ) +" BDEPEND="virtual/pkgconfig" -PATCHES=( "${FILESDIR}/${PN}-invalid-read.patch" ) - src_prepare() { - cp -a "${WORKDIR}/texmf-dist/"* texmf/ || die + mv texmf-dist texmf || die default cd "${S}/texmf/tex4ht/base/unix" || die sed -i \ -e "s#~/tex4ht.dir#${EPREFIX}/usr/share#" \ -e "s#tpath/tex/texmf/fonts/tfm/!#t${EPREFIX}/usr/share/texmf-dist/fonts/tfm/!\nt${EPREFIX}/usr/local/share/texmf/fonts/tfm/!\nt${EPREFIX}/var/cache/fonts/tfm/!\nt${EPREFIX}${TEXMF}/fonts/tfm/!#" \ -e "s#%%~#${EPREFIX}${TEXMF}#g" \ - -e "s#/usr/share/texmf/#${EPREFIX}${TEXMF}/#" \ tex4ht.env \ || die "sed of tex4ht.env failed" einfo "Removing precompiled java stuff" - find "${S}" '(' -name '*.class' -o -name '*.jar' ')' -print -delete || die + rm "${S}/texmf/tex4ht/bin/tex4ht.jar" } src_compile() { has_version '>=dev-libs/kpathsea-6.2.1' \ && append-cppflags "$($(tc-getPKG_CONFIG) --cflags kpathsea)" - cd "${S}/src" || die + pushd c > /dev/null || die einfo "Compiling postprocessor sources..." for f in tex4ht t4ht; do $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -o $f $f.c \ -DENVFILE="\"${EPREFIX}${TEXMF}/tex4ht/base/tex4ht.env\"" \ - -DHAVE_DIRENT_H -DKPATHSEA -lkpathsea \ + -DANSI -DHAVE_DIRENT_H -DKPATHSEA -lkpathsea \ || die "Compiling $f failed" done + popd > /dev/null || die + if use java; then + pushd java > /dev/null || die einfo "Compiling java files..." - cd java || die - ejavac *.java */*.java */*/*.java -d ../../texmf/tex4ht/bin - cd "${S}/texmf/tex4ht/bin" || die + ejavac *.java tex4ht/*.java xtpipes/*.java xtpipes/util/*.java + rm *.java tex4ht/*.java xtpipes/*.java xtpipes/util/*.java || die # Create the jar needed by oolatex jar -cf "${S}/${PN}.jar" * || die "failed to create jar" + popd > /dev/null || die fi } src_install() { # install the binaries - dobin "${S}/src/tex4ht" "${S}/src/t4ht" + dobin "c/tex4ht" "c/t4ht" # install the scripts if ! use java; then rm -f "${S}"/bin/unix/oo* || die rm -f "${S}"/bin/unix/jh* || die fi - dobin "${S}"/bin/unix/mk4ht + newbin texmf/scripts/tex4ht/mk4ht.pl mk4ht # install the .4ht scripts insinto ${TEXMF}/tex/generic/tex4ht @@ -96,6 +114,11 @@ src_install() { doins "${S}"/texmf/doc/generic/tex4ht/* fi + if use source; then + insinto ${TEXMF}/source/generic/tex4ht + doins "${S}"/texmf/source/generic/tex4ht/* + fi + # install the special htf fonts insinto ${TEXMF}/tex4ht doins -r "${S}/texmf/tex4ht/ht-fonts" @@ -119,7 +142,10 @@ src_install() { insinto ${TEXMF}/tex/generic/${PN} insopts -m755 - doins "${S}"/bin/ht/unix/* + local script_name + for script_name in htlatex.sh htmex.sh ht.sh httexi.sh httex.sh htxelatex.sh htxetex.sh xhlatex.sh; do + newins texmf/scripts/tex4ht/"${script_name}" "${script_name%.*}" + done local DOC_CONTENTS="In order to avoid collisions with multiple packages, we are not installing the scripts in /usr/bin any more. |