diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-text/dvipdfm |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-text/dvipdfm')
-rw-r--r-- | app-text/dvipdfm/Manifest | 7 | ||||
-rw-r--r-- | app-text/dvipdfm/dvipdfm-0.13.2d-r1.ebuild | 59 | ||||
-rw-r--r-- | app-text/dvipdfm/dvipdfm-0.13.2d-r2.ebuild | 59 | ||||
-rw-r--r-- | app-text/dvipdfm/files/dvipdfm-0.13.2d-libpng14.patch | 22 | ||||
-rw-r--r-- | app-text/dvipdfm/metadata.xml | 8 |
5 files changed, 155 insertions, 0 deletions
diff --git a/app-text/dvipdfm/Manifest b/app-text/dvipdfm/Manifest new file mode 100644 index 000000000000..26361de06875 --- /dev/null +++ b/app-text/dvipdfm/Manifest @@ -0,0 +1,7 @@ +AUX dvipdfm-0.13.2d-libpng14.patch 643 SHA256 8a009c2a0bacf7c175714e5fe96d01babf4fc4a2d415f1d3491c6c5fbbee9c6f SHA512 3eee7c8f811eeee4adcf597f0ec011f2a5237c076ac7e82bf46e55b61ceaeba43201acbca2a39a7f13a59e787c7a607755bcf4c57fa9c47e5b6b2e7e6d8518ad WHIRLPOOL 6bd445a1e03addf7a7eac648231989b71d1bc9383fe33102b7883de8f990a45b46045d97ced45f9c8af4d160a811429c90db6e3671c63d93080c3905632a0e9a +DIST dvipdfm-0.13.2d.tar.gz 236898 SHA256 fc21d4ef316fdd28cce7ce64a9ed3d2254ea1969380a5f52d131ec61d5fb73bc SHA512 f983c64d41920a0cd4b23fec666446c22a989670d0413da1a2fc028ce1ae7e30bbe8a1547be49c4f04cf3961166821613b8482213134086c115a12e6791f8e2e WHIRLPOOL 74cf6bcd1a26363f9236030226846d583506722fa041d3bc3b45513bd465ff84295dc9c444cdd3a1e19424fc8abae86f68f78148b8fdca878dcfb3a48d10f90c +EBUILD dvipdfm-0.13.2d-r1.ebuild 1552 SHA256 90285164bfc400ec4a9a4a2bf9e02b2ab61901f972eff0cddbfc63161d4249d2 SHA512 8560dfa1f32004d55ec2d49b743f0186429ab14bd3a9c89bf227606d0822e7bda109cbfa58c806d208821fb47f12342b7239dcee39d6c1fa36f2c93d56410c95 WHIRLPOOL b733dd24ec03476aeb1230847edcc75ffa81ed8c71663fafdeaf7434b8fcc03010e153f76a7edb9e3f35b2a47f036d6f640478b5a4ab044ab5174ffeef852f22 +EBUILD dvipdfm-0.13.2d-r2.ebuild 1632 SHA256 e5de0f0a10fd0499285c74f02182638b9febc5d109bb58703ee26df6a5067ae0 SHA512 7b11347332ef9357902726eee20c9877ef2a59812f3bfa628e4daae1dd6322865b6f2ca672cc28c8c09047fa295ef5db0369da3b298909d89171c4d280ecf582 WHIRLPOOL 7824131b927b4e80ccb5d437b7bbba503a80f0f07d38efe1ac67e58684a11200ba01b0ad636db6e90fc9f723f35e3bc8662f97829f65d33a70eb0152a87dccc2 +MISC ChangeLog 2540 SHA256 5cd293fa4b32bbc0ada569ce686a810c3a7ad2f8687ddd84ac6ec2203d2610eb SHA512 46d5860c895101daa90b4d6c5677983cfec55863ee6a9205581f305bc0cee29bc2e7e2e6268cbe26383aa3cda2c27131cf858c4b1fecd7c7e0c1030deaf3dda9 WHIRLPOOL 9f940c0a64d295c565fa4b7b624c4f3d9cdc026315b75b4346b13bcad2e2742f928d2782d462f4fe40b2cc5002657082f51b6a304606ec47a5000e49b5508e13 +MISC ChangeLog-2015 4521 SHA256 9c501808f8f3148ac262cd8691e2da2a8494940fb66419cae148611bc13afa3a SHA512 c7be752bb2fba51725f409120751ca8de7dee04eacc49835a22acc97d97869703d9635c834f208ddc85775cb61f0ab41fe68fb0d19d93df4001fa1dbfd1af3eb WHIRLPOOL ba2cb0566c47ca0c7ab19c4da059e608141bc2c78396d5a3efb0891c482a63b959ec5f48c637de3da28097a1ec5f54fc0c59876c2aab0acff1d6430b0dec11a2 +MISC metadata.xml 245 SHA256 b3de478821488be2cdc91b078e21c911dc384af882c5c44631a47dfa91516dc8 SHA512 1653777623e2c15e1ce13229e396723b2cc9c214983e0f8592de98c01a31badc6c38c6735ed44f937d145883b43fb6f049af3eddb9ff96b18c96ccf8f67dd690 WHIRLPOOL 701a78fc2214f5fd4bd781477f85e87e716b8d76ea831a0fa4afc8871c4286cc363679f1ff4f844555ad4f77cc7265208b83e805f56c22fc4baeed1062280c08 diff --git a/app-text/dvipdfm/dvipdfm-0.13.2d-r1.ebuild b/app-text/dvipdfm/dvipdfm-0.13.2d-r1.ebuild new file mode 100644 index 000000000000..153f75fad3d4 --- /dev/null +++ b/app-text/dvipdfm/dvipdfm-0.13.2d-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=3 +inherit eutils + +DESCRIPTION="DVI to PDF translator" +SRC_URI="http://gaspra.kettering.edu/dvipdfm/${P}.tar.gz" +HOMEPAGE="http://gaspra.kettering.edu/dvipdfm/" +LICENSE="GPL-2" + +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +SLOT="0" +IUSE="" + +DEPEND="!>=app-text/tetex-2 + >=media-libs/libpng-1.2.1 + >=sys-libs/zlib-1.1.4 + !app-text/ptex + virtual/latex-base" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${PN} + +src_prepare() { + epatch "${FILESDIR}"/${P}-libpng14.patch +} + +src_install () { + einstall || die "einstall failed!" + + # Install .map and .enc files to correct locations, bug #200956 + dodir /usr/share/texmf/fonts/map/dvipdfm/base + + for i in cmr.map psbase14.map lw35urw.map lw35urwa.map t1fonts.map; do + mv "${ED}usr/share/texmf/dvipdfm/config/${i}" "${ED}usr/share/texmf/fonts/map/dvipdfm/base" || die "moving .map file failed" + done + + dodir /usr/share/texmf/fonts/enc/dvipdfm + + mv "${ED}usr/share/texmf/dvipdfm/base" "${ED}usr/share/texmf/fonts/enc/dvipdfm/base" || die "moving .enc file failed" + + dodoc AUTHORS ChangeLog Credits NEWS OBTAINING README* TODO + + docinto doc + dodoc doc/* + + docinto latex-support + dodoc latex-support/* + + insinto /usr/share/texmf/tex/latex/dvipdfm/ + doins latex-support/dvipdfm.def +} + +pkg_postinst() { + if [ "$ROOT" = "/" ] ; then + "${EPREFIX}"/usr/sbin/texmf-update + fi +} diff --git a/app-text/dvipdfm/dvipdfm-0.13.2d-r2.ebuild b/app-text/dvipdfm/dvipdfm-0.13.2d-r2.ebuild new file mode 100644 index 000000000000..91cb219c17d4 --- /dev/null +++ b/app-text/dvipdfm/dvipdfm-0.13.2d-r2.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=3 +inherit eutils + +DESCRIPTION="DVI to PDF translator" +SRC_URI="http://gaspra.kettering.edu/dvipdfm/${P}.tar.gz" +HOMEPAGE="http://gaspra.kettering.edu/dvipdfm/" +LICENSE="GPL-2" + +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +SLOT="0" +IUSE="" + +DEPEND="!>=app-text/tetex-2 + >=media-libs/libpng-1.2.1 + >=sys-libs/zlib-1.1.4 + !app-text/ptex + virtual/latex-base" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${PN} + +src_prepare() { + epatch "${FILESDIR}"/${P}-libpng14.patch +} + +src_install () { + einstall texmf="${ED}usr/share/texmf-site" || die "einstall failed!" + + # Install .map and .enc files to correct locations, bug #200956 + dodir /usr/share/texmf-site/fonts/map/dvipdfm/base + + for i in cmr.map psbase14.map lw35urw.map lw35urwa.map t1fonts.map; do + mv "${ED}usr/share/texmf-site/dvipdfm/config/${i}" "${ED}usr/share/texmf-site/fonts/map/dvipdfm/base" || die "moving .map file failed" + done + + dodir /usr/share/texmf-site/fonts/enc/dvipdfm + + mv "${ED}usr/share/texmf-site/dvipdfm/base" "${ED}usr/share/texmf-site/fonts/enc/dvipdfm/base" || die "moving .enc file failed" + + dodoc AUTHORS ChangeLog Credits NEWS OBTAINING README* TODO + + docinto doc + dodoc doc/* + + docinto latex-support + dodoc latex-support/* + + insinto /usr/share/texmf-site/tex/latex/dvipdfm/ + doins latex-support/dvipdfm.def +} + +pkg_postinst() { + if [ "$ROOT" = "/" ] ; then + "${EPREFIX}"/usr/sbin/texmf-update + fi +} diff --git a/app-text/dvipdfm/files/dvipdfm-0.13.2d-libpng14.patch b/app-text/dvipdfm/files/dvipdfm-0.13.2d-libpng14.patch new file mode 100644 index 000000000000..f2b2e9816fae --- /dev/null +++ b/app-text/dvipdfm/files/dvipdfm-0.13.2d-libpng14.patch @@ -0,0 +1,22 @@ +--- pngimage.c ++++ pngimage.c +@@ -41,7 +41,7 @@ + rewind (png_file); + if (fread (sigbytes, 1, sizeof(sigbytes), png_file) != + sizeof(sigbytes) || +- (!png_check_sig (sigbytes, sizeof(sigbytes)))) ++ (png_sig_cmp (sigbytes, 0, sizeof(sigbytes)))) + return 0; + else + return 1; +--- thumbnail.c ++++ thumbnail.c +@@ -78,7 +78,7 @@ + } + if (fread (sigbytes, 1, sizeof(sigbytes), thumb_file) != + sizeof(sigbytes) || +- (!png_check_sig (sigbytes, sizeof(sigbytes)))) { ++ (png_sig_cmp (sigbytes, 0, sizeof(sigbytes)))) { + fprintf (stderr, "\nThumbnail not a png file! Skipping\n"); + return NULL; + } diff --git a/app-text/dvipdfm/metadata.xml b/app-text/dvipdfm/metadata.xml new file mode 100644 index 000000000000..13170c3184d8 --- /dev/null +++ b/app-text/dvipdfm/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>tex@gentoo.org</email> + <name>Gentoo TeX Project</name> +</maintainer> +</pkgmetadata> |