summaryrefslogtreecommitdiff
path: root/dev-tex/latex2html
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-01-08 11:28:34 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-01-08 11:28:34 +0000
commit24fd814c326e282c4321965c31f341dad77e270d (patch)
tree033d63b33c21a3209964ab56005bb9bdd523630d /dev-tex/latex2html
parent129160ec854dca4c3fedb5bcfbcb56930371da0f (diff)
gentoo resync : 08.01.2021
Diffstat (limited to 'dev-tex/latex2html')
-rw-r--r--dev-tex/latex2html/Manifest8
-rw-r--r--dev-tex/latex2html/latex2html-2015.ebuild4
-rw-r--r--dev-tex/latex2html/latex2html-2017.2-r2.ebuild4
-rw-r--r--dev-tex/latex2html/latex2html-2021.ebuild80
-rw-r--r--dev-tex/latex2html/metadata.xml3
5 files changed, 92 insertions, 7 deletions
diff --git a/dev-tex/latex2html/Manifest b/dev-tex/latex2html/Manifest
index 12d313e3fc00..3164a2f11ae7 100644
--- a/dev-tex/latex2html/Manifest
+++ b/dev-tex/latex2html/Manifest
@@ -9,6 +9,8 @@ AUX latex2html-perl_name.patch 445 BLAKE2B 5393870cd3c090c03c790235e36a255cf4d06
AUX latex2html-tests.patch 1052 BLAKE2B 7f8e2f08d0f0dc102a08837333bfef91610075c316831721ea97f1efa3c65649c2efc61c071560621efe93e2789b5b9ee6b28080b56278a83c5dcd7f1dc106fe SHA512 b3c17ded5c45526f114c8bfdc9bc348e41d3297da377b99af2d0507f953b828d362ec9bdcf166677646b6350a7900f073ea7896dcdd7d3e6f7b265274ffaaeda
DIST latex2html-2015.tar.gz 1217699 BLAKE2B e9daea005b7674ebb6a8c5902b77b609a633515b4127a2b3fe4d1b15bc2428c02ccc024df62545d5fe63e7034ad4b1532905fee97057d49730ec27f12913c55e SHA512 dd031944250efd28691edeba5e83b4c5c0deec3a2e7c2ab2a9bd285a911f6ab21a02cd0ef697bebc2c7c7c0ebd285493c1d6b01b0db9355fc7f3316a2af65e2c
DIST latex2html-2017.2.tar.gz 1131438 BLAKE2B 0a13cca95e1f7d8a9fd7d6b077726e083a6d33fbc712b883be46d57fbdea91d1d02a2a2f1990c5827cf2a4b9db18033f41f326af0a69770988bf4ff5e53a010a SHA512 0e1ab1b2005dc71988b1500884d7a13bfbdce73a62ef7f6cc6e83e29d776c98eb09cff3f8d0c162493586094c9ca6f07d47e98d2137f223f27044d03e9bb3473
-EBUILD latex2html-2015.ebuild 2202 BLAKE2B adfa456d2362ecace02b7d2fd035193ee91da3da568fe4ac374e81045b274e1fe3bc48403911066c1830c137704cb76b7079002a55243fe747f44c4e64b31426 SHA512 1ab2f1f1048efdad66e2883f69e2e393b834efb779e26c9149db378710cbf69790e656d596f642506bab6703cd7fc5f0a662b8d10c5b0fa05e5dcccf412382da
-EBUILD latex2html-2017.2-r2.ebuild 2137 BLAKE2B ac79432e8262ca53258bf57c1823f78cf7eccfcfa310da95b3acc62839ee3aa84a4fe7661923faa9e392b3538cd3081d89c5d776da0f8758c1fcec6cc3795433 SHA512 d4e8bd0e1e9c8da657ceb46498435f9f78c2ba9020e88db8128bfa5e7bcf6bc23a63b44c294769946ed56cf93693570448f697dae343fb8a0eed29d097193bea
-MISC metadata.xml 245 BLAKE2B ee3a163cfe0a4bc59c0dfb46f9ddb580e2d259b4d0e33cb4e684eb9e6d4b901bf97c6edd891f3b75a613a782f1b89318d0ee3ec9bee4e34c4441d9e8f4267678 SHA512 1653777623e2c15e1ce13229e396723b2cc9c214983e0f8592de98c01a31badc6c38c6735ed44f937d145883b43fb6f049af3eddb9ff96b18c96ccf8f67dd690
+DIST latex2html-2021.tar.gz 1130224 BLAKE2B c3775b2546a866834c0ed94362a428f2cfe48e8fe7337261993fe1f473350ddb778c50cc4393fe33c9f3829e5dc6f5c0ef43ae6a4c21481746023ef5939308da SHA512 f1f087a58911410b3ca9f4b60149b66d17608a9a56d0e8f74f08e6d6595e3e9c4f5378a7ab5cfc7488cd182a0dc3d4c151283b57636a70271c7f734e69ed0608
+EBUILD latex2html-2015.ebuild 2191 BLAKE2B bcbb054bb568d025458f35ba6c5a505bbb4bad6e351b3ec4eab6d794118e225183385659ea9e440309c1e7b0175183ad3d873056fa385bfdb59dba032c28a3ab SHA512 0c242512bc4b6d7e72f918470e2fa37ba1a6e4637395a14dd3e85e1af0f242d6fe8d3d2b2051953d130659a45f93c00252c5f2942d76692568df918a9f083c43
+EBUILD latex2html-2017.2-r2.ebuild 2126 BLAKE2B 309ff6abdc1f001dad9e49a03c97e71ff9c8bc1e69f8c060aee29b0e6c575f50409631ad8e8529d031baea0e01752e4d7918c7ffe82eb4e8a1dbc22bee53d59d SHA512 5d160dafdfec73df53da68b25c780259b0023005c92293f740712b2edac4f4cad504a435346251865933c9504b911bb25015f2697e0d25229a8ce7f914119b56
+EBUILD latex2html-2021.ebuild 2025 BLAKE2B 1ae3c0f4ca12654a56c22954d7ee2052a23468d0d3e9ba58192f9c8cbba107d9e0694c8d1482fbc7b7438d16fb6f2a873562f882cc6f36da12315c80fd1b52a6 SHA512 76b157a9ba2c9d39feb8cf8c0afe2abfe499eb64024f14294ff9365f0d46060a1270ac1b1fe057a1d9c9721f24e0cf917d72acdd63af6b9156d510418ea796a2
+MISC metadata.xml 328 BLAKE2B 9e4f1e2f4b841d112f97c6ee05a9587aa7af8903565e43fbe93ea9eda6982a73e7f7b3b0d44b7708e07cbfd68acdfc44747a7d0b51dd4dcfdb9e24af55fdefe6 SHA512 fa38452beaf2043aae5e55611cc1e119589ae9245ab0e13e6e71c542b14cf9573f5ed4f1def242651e95e76aa2d5706b1a0115c2957f0642e4cfc113f443a26b
diff --git a/dev-tex/latex2html/latex2html-2015.ebuild b/dev-tex/latex2html/latex2html-2015.ebuild
index 4cf383bc4132..e6720670d2f2 100644
--- a/dev-tex/latex2html/latex2html-2015.ebuild
+++ b/dev-tex/latex2html/latex2html-2015.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -9,7 +9,7 @@ SRC_URI="http://mirrors.ctan.org/support/latex2html/latex2html-2015.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="gif png"
DEPEND="app-text/ghostscript-gpl
diff --git a/dev-tex/latex2html/latex2html-2017.2-r2.ebuild b/dev-tex/latex2html/latex2html-2017.2-r2.ebuild
index 813278fbadcc..e1f125f80d8f 100644
--- a/dev-tex/latex2html/latex2html-2017.2-r2.ebuild
+++ b/dev-tex/latex2html/latex2html-2017.2-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -9,7 +9,7 @@ SRC_URI="http://mirrors.ctan.org/support/latex2html/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="gif png"
DEPEND="app-text/ghostscript-gpl
diff --git a/dev-tex/latex2html/latex2html-2021.ebuild b/dev-tex/latex2html/latex2html-2021.ebuild
new file mode 100644
index 000000000000..3fa7095e6091
--- /dev/null
+++ b/dev-tex/latex2html/latex2html-2021.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Convertor written in Perl that converts LATEX documents to HTML"
+HOMEPAGE="https://www.latex2html.org/"
+SRC_URI="https://github.com/latex2html/latex2html/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE="gif png"
+
+DEPEND="
+ app-text/ghostscript-gpl
+ virtual/latex-base
+ media-libs/netpbm
+ dev-lang/perl
+ gif? ( media-libs/giflib )
+ png? ( media-libs/libpng:0 )"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}/latex2html-destdir.patch"
+)
+
+src_prepare() {
+ default
+
+ sed -i -e 's%@PERL@%'"${EPREFIX}"'/usr/bin/perl%g' wrapper/unix.pin || die
+}
+
+src_configure() {
+ local myconf
+
+ use gif || use png || myconf="${myconf} --disable-images"
+
+ econf \
+ --libdir="${EPREFIX}"/usr/$(get_libdir)/latex2html \
+ --shlibdir="${EPREFIX}"/usr/$(get_libdir)/latex2html \
+ --enable-pk \
+ --enable-eps \
+ --enable-reverse \
+ --enable-pipes \
+ --enable-paths \
+ --enable-wrapper \
+ --with-texpath="${EPREFIX}"/usr/share/texmf-site/tex/latex/html \
+ --without-mktexlsr \
+ $(use_enable gif) \
+ $(use_enable png) \
+ ${myconf}
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ # make /usr/share/latex2html sticky
+ keepdir /usr/share/latex2html
+
+ # clean the perl scripts up to remove references to the sandbox
+ local dir="${ED}/usr/$(get_libdir)/latex2html"
+ if use png || use gif; then
+ # pstoimg isn't built unless gif or png useflags are enabled
+ sed -i -e "s:${T}:/tmp:g" "${dir}"/pstoimg.pl || die
+ fi
+ sed -i -e "s:${S}::g" "${dir}"/latex2html.pl || die
+ sed -i -e "s:${T}:/tmp:g" "${dir}"/cfgcache.pm || die
+ sed -i -e "s:${T}:/tmp:g" "${dir}"/l2hconf.pm || die
+
+ dodoc BUGS Changes FAQ MANIFEST README.md TODO
+}
+
+pkg_postinst() {
+ "${EROOT}"/usr/bin/mktexlsr
+}
+
+pkg_postrm() {
+ "${EROOT}"/usr/bin/mktexlsr
+}
diff --git a/dev-tex/latex2html/metadata.xml b/dev-tex/latex2html/metadata.xml
index 13170c3184d8..a48e54dd0e00 100644
--- a/dev-tex/latex2html/metadata.xml
+++ b/dev-tex/latex2html/metadata.xml
@@ -5,4 +5,7 @@
<email>tex@gentoo.org</email>
<name>Gentoo TeX Project</name>
</maintainer>
+<upstream>
+ <remote-id type="github">latex2html/latex2html</remote-id>
+</upstream>
</pkgmetadata>