summaryrefslogtreecommitdiff
path: root/dev-tex/luatex
diff options
context:
space:
mode:
Diffstat (limited to 'dev-tex/luatex')
-rw-r--r--dev-tex/luatex/Manifest14
-rw-r--r--dev-tex/luatex/files/poppler018.patch4
-rw-r--r--dev-tex/luatex/files/poppler022.patch4
-rw-r--r--dev-tex/luatex/files/poppler026-backport.patch8
-rw-r--r--dev-tex/luatex/files/poppler026.patch8
-rw-r--r--dev-tex/luatex/files/remove-zlib-version-check.patch4
-rw-r--r--dev-tex/luatex/luatex-0.70.1-r3.ebuild (renamed from dev-tex/luatex/luatex-0.70.1-r2.ebuild)49
-rw-r--r--dev-tex/luatex/luatex-0.76.0-r1.ebuild (renamed from dev-tex/luatex/luatex-0.76.0.ebuild)29
8 files changed, 63 insertions, 57 deletions
diff --git a/dev-tex/luatex/Manifest b/dev-tex/luatex/Manifest
index a7dc7b0767fd..236d6b539f22 100644
--- a/dev-tex/luatex/Manifest
+++ b/dev-tex/luatex/Manifest
@@ -1,15 +1,15 @@
AUX includes.patch 923 BLAKE2B b0b4602086c2eff9c17fff7d98ff4431b19e3345bac5ebc6d5ea46a517b3f9bced7ed8f17df2b51ad22c72f32be17be3d222f2d5f9d8228f957ebe2e47bd45eb SHA512 e1f45331e341130d74c5327e67fb8ec34741fc5edeca94dbc1a2d034e9362ce933294c80538db0f89030f293b157f7626f9c90b27cb72b9a85c7d9dbe6bac287
AUX kpathsea2012.patch 944 BLAKE2B dfe4148cb2dfbec3d39d7132ed9018323dfcda80ec820384a2bd3fe35455863281839bdd642f0a7cae4f4dabb351e90f0553ded89eb1af471af6523b8326b8ec SHA512 d72bce55c2494622fd15703f483c058245c96c8b2aa03d6fa02b112be827ddfe8a0013ee0c3710bb3e1313b631bf436f70ce99d383f11f4d2b51915752c59960
-AUX poppler018.patch 5041 BLAKE2B 18af2742f61cfe542c6c14c379c2766610ad5b686900459b4a4e35e0e0011b8776803ff72a5e3cd90a435a2434047fca2a6a9e3b109b11b7fd1c3e1da6b3a36d SHA512 e8b1660cb6674a8d2f68f29022d0ea33ca00795c8360a9656c5ad84776c86d3ab0a3c0895632957c5ed93fcab96e11e6bc7eb1a03df518122fcc3fa574b095ee
+AUX poppler018.patch 4993 BLAKE2B ed036dbb14206742ca5c54471c6b1e26c6c248136266d1a99109fe84c958e8f98f53bb44fb727b777e178d367d82af005f951de9636524c5a937705dd5cc95aa SHA512 1d78163db7061b21761144218b2078154fc55020c5beee0835729f17a16e176a5b850ba9bb9d3d7d649f6d48903d02c7b828d6cb5bc6366bad6e648d59861b9a
AUX poppler020.patch 2909 BLAKE2B d4482cb205907713c211ab4dbbe514f9fb25ea70a93e834999fd38bd28ba2a199015c63fbe7467c35c04e7125954b9127db79227d3f4731cf723262836b51146 SHA512 9517efce4ede9b792f27647ec4ed95d447572a9cbb3ee58e089b658ccc55bbb6a7843768b5962a4535ed77ab364e73f4fd1248e92a5a480ce30429303664f385
-AUX poppler022.patch 12617 BLAKE2B 6a06484880a818bb9eb28363b37ce7e07920719cc625c711e14cb1f780347c4bc48808c3adebaf710d0278bcb8e64e9d12c236a903fac0f1884a3021af2d461a SHA512 998c948bc02014bf1e79e9c8ee2c7681568b827c467f15eed0ec90342d65f43ec36b9acaf7cdf51404234eab14337122d330adc647ce97b3c299a2c368bf9a9a
-AUX poppler026-backport.patch 3914 BLAKE2B 8c98f7307e0b8b102d91dc52fb5952ae319b4621d3fe87c094f7965c6556bd29fb2808c5542ec0840cbd4f21a372c44a8fa08e9c3123d68879918850a2e7181c SHA512 fbeae638e8cb0f75b3ced8c2db813d47dd8701665861f6c0ec3c25f21de842f8978a2dccf54531b8f446dd6b4bb39f2e6c90d72f52ffedbc0404ae7c45432569
-AUX poppler026.patch 5169 BLAKE2B 43bba25d42867eee6f80cbd1bb4a7c7339195b2f07ffc23a38c4e83cbc22eedafe77a88083abc3f2db793093e6a2fe0a0aecffc27a7351a7770229bb20682ae8 SHA512 427a6fe39dfd79dcc9ee726b0eb7a70633815d17d6ab336e8ec564676c357f32c679866f4088043d6fd5bcae61763509995a255b65accd3de73fb38c5ecd362c
-AUX remove-zlib-version-check.patch 938 BLAKE2B 47a949d5907bb59ea4b39af9442ebfe00adbeffa9b937e5a00161970ad205c410675ea74f485784ef4e057f9a31df03ee313cf4afe417d099a91b3f5c273acb0 SHA512 1d19fb396af846a2ffa9ab7ffcf20d363956921cec92d6b03e499e26bac3802a8ca874b982c25ef99a560af48f0d85b0a36ac5786f7c3129abba3b8d9e38c780
+AUX poppler022.patch 12562 BLAKE2B 732619ac23742e60552646b9fc3eaff5202a2c3e6a80227d4be07bb7621923e861c9a55299ae6557b10227c42a1672237176d141e9bbc9b5af40fa993d1b9d44 SHA512 6cfda5fa48bc16b41379928c1ce83979ceafa177d30a95b7494048fba1bbd6d15333aad30d00fa282e050e4d432e6431b2ce30972b24dff3387d75ad90f14757
+AUX poppler026-backport.patch 3776 BLAKE2B 60f8b05c76ec6542d8e41cc75e48cb53f1825bcb545da38c0ec96392aa34050c5f723fc2b1680e811aa60d0d1365053ad9bbc17c76efae754a6e9459c12ad50a SHA512 818f779b29ffad6a0e72113c40c6eaeee0c8b4ae96d5c9fce915cc0641ccc388cf40acaa84d2297ae5e823e8d60e573a69840cfbf9ddc217897ab0df2238d0a9
+AUX poppler026.patch 5063 BLAKE2B 8b3481671b9002fdc293b48dc9b7e9b64f85ca46bcb2a9510d2793d30de6207f288a8d0abab2bc498829dde22328adf46f33b078e8282a2a60361e67d2133119 SHA512 774198495da7d3425c7b7005b69fdb8051ad0748eec2e97d80be1ea5dd7aa24fe1299ab7e2ca3bddf93c1ace994e2543327dec3beac1bdc72efea475a1b86725
+AUX remove-zlib-version-check.patch 885 BLAKE2B 6893d1f0df9e0ce9b18ba8de42af0a52bc8d64d06435e3f63d0d244be864fc5af80da0fa76a8ac0c0cd3f4536c6829c6761e58e5a202e8dcdacaf42c85bbb900 SHA512 e40ac82ba9dfbd8c6b693a357cb2a08a66744b9476d4efd55477b03478fd27584f1c564d80c892d10e26ac1acd416392e86b69c3073e396ecc4730389ce66d1c
DIST luatex-beta-0.70.1-doc.tar.bz2 1048489 BLAKE2B 199419361348fcb4ff5c591e00adde11787153094ccc4990bdf102a6ddc5a72bca34f87e6391ea3156c43d34f5fb20e5fc7fc26a79351d36bca7bf11bf67dac0 SHA512 eb4de91a80a6afccf5cca5cb05d5c1378a60ec35763e5ef5e9dbadaa2a276758a446e01d66e76a78e91442274778c10c73458b513af903e7221d90beb644afa9
DIST luatex-beta-0.70.1.tar.bz2 8181155 BLAKE2B ef053914eb2a5c25324bcc406df48b82ff92e8dc88fee929ba760489fadfa9896bd2cb98fd0c7f3092e7efc000a16a10d95aa5d41ca78d0f9bc18af8f19b6f50 SHA512 e04a9b96f349bf9036ef4c01746dee96ebf245cd4da6b719f546223e05cb98fb844e20878a64f80f42c77e220fac01ee2d97ad56939c1fb3af44faab53c603cb
DIST luatex-beta-0.76.0-doc.tar.bz2 995143 BLAKE2B b3819dc821e637c24bfd5add91466b15e46f4752422b7801cb1bde0bb92a6976ba2219c95b24df7f28cf1cad93ddceb4d30c3ffa513367dfca69379b68caea34 SHA512 cd64e1fea3f631c7c6e268d01285f96966325fd16971d8840eef178ccc11b001b40ae5cfcc6c7c3bb026a3f04c04a16b90813f0b6818383bb80686a89ea48596
DIST luatex-beta-0.76.0-source.tar.bz2 11748576 BLAKE2B 5ff71ee5a2357d1c48b745b55892bb6b8e96917b8dc778d334f80843d8e2ee829cdb9a7a57b3abd5c99202fec5278b680874e72975d774b7134eaf15b9617de6 SHA512 71ea789a95d419bf177f7f9f8d24d00a9d5639665feadac93cc30c86531e4942d29d848ef39ca3698de3efb1b8da9eb19890b1a06b45664641c7e47a79dd80b0
-EBUILD luatex-0.70.1-r2.ebuild 3822 BLAKE2B 9cb34eb5068054c0216f6e33e8a2723736b8a729fc61f9e576ff6c842a5f561503327eeec2fa095641911f20858cd8911c9a3638b164d91eae06e6852caa3db9 SHA512 181a596e8a321f17e0c6274b8b72d7ee8b77d1ab8549c20effdbef7059f93c2cbc5dfa5cad97c58620d3e3ea5af0f3c89c9727213b3df130aea40ec02ac3789e
-EBUILD luatex-0.76.0.ebuild 3124 BLAKE2B 07af401e9dbe5f66cb8545e81f0c6b2fa53db7264e22c63bdb4562343a4a41024b6a2316d6fe1474144abc07b4d1d6bc69d7012b4e421a0b71b6542d88e414ee SHA512 a29aa5287555e7110f6d3d9ad95fa3d266cd17853a3667e8e188b642e7614ed83ad21f27a4e27d1e84deaf02386e7f4bdbad81263757664d2aaa4aadcb6b51af
+EBUILD luatex-0.70.1-r3.ebuild 3772 BLAKE2B 6ddb0781d237fb054f06a6ac41eaf3fec0f624da8d680ac22bcadfa4c4f4b5e510442c87427221ae6bb2951b222847a689d9361e8bd278a796ba0b76c6c793a1 SHA512 e19e4b18856d6ab022ac1e3c8fddfa7e3177280d86bb9a9e3949e1a38b36ab827c61b220f4fdfd24676287263c613c72f87996098fdc28d5352168010454fb4c
+EBUILD luatex-0.76.0-r1.ebuild 3171 BLAKE2B 2afe559102b25a7182cfa89882f23b8f08731a53238c22d1c1384a1cef9b3c05cbdcdf64a0fff6ad4a1150a8dbd7f85eac88652f3fb4bff940c2504667670817 SHA512 b20228a8f1b068452f066f209ab5d4c67917f0eec8291282bdc062a5d304ded23ee87fed512dcd39466f827c413f74587d2de2cccfacaa01500ad29b07b76e7d
MISC metadata.xml 425 BLAKE2B e7887c2453db4e82d38b824cc946629dfee23c440f2b6d9982fd1b58cd43d601ff62f2ee0513078bf2f979a06c511576de1ac6c2d620c6dcfd6ef2dd125fb732 SHA512 9442b997ff504c7aef4e129b3c3fbc5212e6b7838b53059cfd16764bff66b025d39e6c9565f932295118393b8b648a489066d85e6bdb5e09380ec02a384addd9
diff --git a/dev-tex/luatex/files/poppler018.patch b/dev-tex/luatex/files/poppler018.patch
index d21253853db7..0fd55a296711 100644
--- a/dev-tex/luatex/files/poppler018.patch
+++ b/dev-tex/luatex/files/poppler018.patch
@@ -2,8 +2,8 @@ by Martin von Gagern
https://bugs.gentoo.org/show_bug.cgi?id=384875
http://thread.gmane.org/gmane.comp.tex.luatex/2630
---- luatex-beta-0.70.1/source/texk/web2c/luatexdir/lua/lepdflib.cc
-+++ luatex-beta-0.70.1/source/texk/web2c/luatexdir/lua/lepdflib.cc
+--- a/texk/web2c/luatexdir/lua/lepdflib.cc
++++ b/texk/web2c/luatexdir/lua/lepdflib.cc
@@ -89,7 +89,6 @@ new_poppler_userdata(AnnotBorder);
new_poppler_userdata(Annots);
new_poppler_userdata(Array);
diff --git a/dev-tex/luatex/files/poppler022.patch b/dev-tex/luatex/files/poppler022.patch
index 223cbcb27456..75d07b751893 100644
--- a/dev-tex/luatex/files/poppler022.patch
+++ b/dev-tex/luatex/files/poppler022.patch
@@ -5,8 +5,8 @@ poppler-0.18.patch and poppler-0.20.patch. Here to solve bug 449538.
diff -ruN luatex-beta-0.70.1.gentoo/source/texk/web2c/luatexdir/lua/lepdflib.cc
luatex-beta-0.70.1/source/texk/web2c/luatexdir/lua/lepdflib.cc
---- luatex-beta-0.70.1.gentoo/source/texk/web2c/luatexdir/lua/lepdflib.cc 2013-03-10 13:31:22.000000000 +0100
-+++ luatex-beta-0.70.1/source/texk/web2c/luatexdir/lua/lepdflib.cc 2013-03-10 13:47:24.000000000 +0100
+--- a/texk/web2c/luatexdir/lua/lepdflib.cc 2013-03-10 13:31:22.000000000 +0100
++++ b/texk/web2c/luatexdir/lua/lepdflib.cc 2013-03-10 13:47:24.000000000 +0100
@@ -1,7 +1,7 @@
/* lepdflib.cc
diff --git a/dev-tex/luatex/files/poppler026-backport.patch b/dev-tex/luatex/files/poppler026-backport.patch
index ee151a30b47f..a32d3e961204 100644
--- a/dev-tex/luatex/files/poppler026-backport.patch
+++ b/dev-tex/luatex/files/poppler026-backport.patch
@@ -1,6 +1,6 @@
diff -ruN luatex-beta-0.70.1.patched.orig/source/texk/web2c/luatexdir/image/epdf.h luatex-beta-0.70.1.patched/source/texk/web2c/luatexdir/image/epdf.h
---- luatex-beta-0.70.1.patched.orig/source/texk/web2c/luatexdir/image/epdf.h 2011-05-19 07:38:37.000000000 +0200
-+++ luatex-beta-0.70.1.patched/source/texk/web2c/luatexdir/image/epdf.h 2014-10-11 12:17:00.028331243 +0200
+--- a/texk/web2c/luatexdir/image/epdf.h 2011-05-19 07:38:37.000000000 +0200
++++ b/texk/web2c/luatexdir/image/epdf.h 2014-10-11 12:17:00.028331243 +0200
@@ -33,6 +33,7 @@
# include <sys/stat.h>
# include <dirent.h>
@@ -10,8 +10,8 @@ diff -ruN luatex-beta-0.70.1.patched.orig/source/texk/web2c/luatexdir/image/epdf
# include <goo/gmem.h>
# include <goo/gfile.h>
diff -ruN luatex-beta-0.70.1.patched.orig/source/texk/web2c/luatexdir/lua/lepdflib.cc luatex-beta-0.70.1.patched/source/texk/web2c/luatexdir/lua/lepdflib.cc
---- luatex-beta-0.70.1.patched.orig/source/texk/web2c/luatexdir/lua/lepdflib.cc 2014-10-11 12:24:52.509357663 +0200
-+++ luatex-beta-0.70.1.patched/source/texk/web2c/luatexdir/lua/lepdflib.cc 2014-10-11 12:42:03.665415321 +0200
+--- a/texk/web2c/luatexdir/lua/lepdflib.cc 2014-10-11 12:24:52.509357663 +0200
++++ b/texk/web2c/luatexdir/lua/lepdflib.cc 2014-10-11 12:42:03.665415321 +0200
@@ -48,23 +48,24 @@
//**********************************************************************
diff --git a/dev-tex/luatex/files/poppler026.patch b/dev-tex/luatex/files/poppler026.patch
index f7b5ba35b488..c09ff05e1092 100644
--- a/dev-tex/luatex/files/poppler026.patch
+++ b/dev-tex/luatex/files/poppler026.patch
@@ -4,8 +4,8 @@ http://cvsweb.de.netbsd.org/cgi-bin/cvsweb.cgi/pkgsrc/print/luatex/patches/
diff -ruN luatex-beta-0.76.0.orig/source/texk/web2c/luatexdir/image/epdf.h luatex-beta-0.76.0/source/texk/web2c/luatexdir/image/epdf.h
---- luatex-beta-0.76.0.orig/source/texk/web2c/luatexdir/image/epdf.h 2013-04-05 12:58:37.000000000 +0200
-+++ luatex-beta-0.76.0/source/texk/web2c/luatexdir/image/epdf.h 2014-05-01 01:39:39.838462783 +0200
+--- a/texk/web2c/luatexdir/image/epdf.h 2013-04-05 12:58:37.000000000 +0200
++++ b/texk/web2c/luatexdir/image/epdf.h 2014-05-01 01:39:39.838462783 +0200
@@ -37,6 +37,7 @@
# include <sys/stat.h>
# include <dirent.h>
@@ -15,8 +15,8 @@ diff -ruN luatex-beta-0.76.0.orig/source/texk/web2c/luatexdir/image/epdf.h luate
# include <goo/gmem.h>
# include <goo/gfile.h>
diff -ruN luatex-beta-0.76.0.orig/source/texk/web2c/luatexdir/lua/lepdflib.cc luatex-beta-0.76.0/source/texk/web2c/luatexdir/lua/lepdflib.cc
---- luatex-beta-0.76.0.orig/source/texk/web2c/luatexdir/lua/lepdflib.cc 2013-04-05 12:58:37.000000000 +0200
-+++ luatex-beta-0.76.0/source/texk/web2c/luatexdir/lua/lepdflib.cc 2014-05-01 01:40:15.698461067 +0200
+--- a/texk/web2c/luatexdir/lua/lepdflib.cc 2013-04-05 12:58:37.000000000 +0200
++++ b/texk/web2c/luatexdir/lua/lepdflib.cc 2014-05-01 01:40:15.698461067 +0200
@@ -48,25 +48,26 @@
//**********************************************************************
diff --git a/dev-tex/luatex/files/remove-zlib-version-check.patch b/dev-tex/luatex/files/remove-zlib-version-check.patch
index 985085012511..f3f21a595a09 100644
--- a/dev-tex/luatex/files/remove-zlib-version-check.patch
+++ b/dev-tex/luatex/files/remove-zlib-version-check.patch
@@ -4,8 +4,8 @@ needless rebuilds after every zlib update. By Ulrich Müller.
https://bugs.gentoo.org/show_bug.cgi?id=310487
http://www.ntg.nl/pipermail/dev-luatex/2012-July/004534.html
---- luatex-beta-0.70.1-orig/source/texk/web2c/luatexdir/luazlib/lzlib.c
-+++ luatex-beta-0.70.1/source/texk/web2c/luatexdir/luazlib/lzlib.c
+--- a/texk/web2c/luatexdir/luazlib/lzlib.c
++++ b/texk/web2c/luatexdir/luazlib/lzlib.c
@@ -549,14 +549,6 @@
/* ====================================================================== */
diff --git a/dev-tex/luatex/luatex-0.70.1-r2.ebuild b/dev-tex/luatex/luatex-0.70.1-r3.ebuild
index 18bf55c9d0b4..b06166bb98e8 100644
--- a/dev-tex/luatex/luatex-0.70.1-r2.ebuild
+++ b/dev-tex/luatex/luatex-0.70.1-r3.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
-inherit libtool eutils flag-o-matic texlive-common
+inherit flag-o-matic libtool texlive-common
DESCRIPTION="An extended version of pdfTeX using Lua as an embedded scripting language"
HOMEPAGE="http://www.luatex.org/"
@@ -18,10 +18,12 @@ IUSE="doc"
RDEPEND="dev-libs/zziplib
>=media-libs/libpng-1.4
app-text/poppler:=[xpdf-headers(+)]
- sys-libs/zlib
+ sys-libs/zlib:*
>=dev-libs/kpathsea-6.0.1_p20110627"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
+
+DEPEND="${RDEPEND}"
+
+BDEPEND="virtual/pkgconfig"
S="${WORKDIR}/${PN}-beta-${PV}/source"
PRELIBS="libs/obsdcompat"
@@ -29,12 +31,13 @@ PRELIBS="libs/obsdcompat"
#kpathsea_extraconf="--disable-shared --disable-largefile"
src_prepare() {
- has_version '>=app-text/poppler-0.18.0:0' && epatch "${FILESDIR}/poppler018.patch"
- has_version '>=app-text/poppler-0.20.0:0' && epatch "${FILESDIR}/poppler020.patch"
- has_version '>=app-text/poppler-0.22.0:0' && epatch "${FILESDIR}/poppler022.patch"
- has_version '>=app-text/poppler-0.26.0:0' && epatch "${FILESDIR}/poppler026-backport.patch"
+ default
+ has_version '>=app-text/poppler-0.18.0:0' && eapply "${FILESDIR}/poppler018.patch"
+ has_version '>=app-text/poppler-0.20.0:0' && eapply "${FILESDIR}/poppler020.patch"
+ has_version '>=app-text/poppler-0.22.0:0' && eapply "${FILESDIR}/poppler022.patch"
+ has_version '>=app-text/poppler-0.26.0:0' && eapply "${FILESDIR}/poppler026-backport.patch"
has_version '>=app-text/poppler-0.57.0:0' && append-cxxflags -std=c++11 # bug 627538
- epatch "${FILESDIR}/kpathsea2012.patch" \
+ eapply "${FILESDIR}/kpathsea2012.patch" \
"${FILESDIR}/remove-zlib-version-check.patch"
S="${S}/build-aux" elibtoolize --shallow
}
@@ -49,7 +52,7 @@ src_configure() {
myconf=""
#has_version '>=app-text/texlive-core-2009' && myconf="--with-system-kpathsea"
- cd "${S}/texk/web2c"
+ cd "${S}/texk/web2c" || die
econf \
--disable-cxx-runtime-hack \
--disable-all-pkgs \
@@ -81,7 +84,7 @@ src_configure() {
local j=$(basename $i)_extraconf
local myconf
eval myconf=\${$j}
- cd "${S}/${i}"
+ cd "${S}/${i}" || die
econf ${myconf}
done
}
@@ -89,23 +92,23 @@ src_configure() {
src_compile() {
texk/web2c/luatexdir/getluatexsvnversion.sh || die
for i in ${PRELIBS} ; do
- cd "${S}/${i}"
- emake || die "failed to build ${i}"
+ cd "${S}/${i}" || die
+ emake
done
- cd "${WORKDIR}/${PN}-beta-${PV}/source/texk/web2c"
- emake luatex || die "failed to build luatex"
+ cd "${WORKDIR}/${PN}-beta-${PV}/source/texk/web2c" || die
+ emake luatex
}
src_install() {
- cd "${WORKDIR}/${PN}-beta-${PV}/source/texk/web2c"
+ cd "${WORKDIR}/${PN}-beta-${PV}/source/texk/web2c" || die
emake DESTDIR="${D}" bin_PROGRAMS="luatex" SUBDIRS="" nodist_man_MANS="" \
- install-exec-am || die
+ install-exec-am
- dodoc "${WORKDIR}/${PN}-beta-${PV}/README" || die
- doman "${WORKDIR}/texmf/doc/man/man1/"*.1 || die
+ dodoc "${WORKDIR}/${PN}-beta-${PV}/README"
+ doman "${WORKDIR}/texmf/doc/man/man1/"*.1
if use doc ; then
- dodoc "${WORKDIR}/${PN}-beta-${PV}/manual/"*.pdf || die
- dodoc "${WORKDIR}/texmf/doc/man/man1/"*.pdf || die
+ dodoc "${WORKDIR}/${PN}-beta-${PV}/manual/"*.pdf
+ dodoc "${WORKDIR}/texmf/doc/man/man1/"*.pdf
fi
}
diff --git a/dev-tex/luatex/luatex-0.76.0.ebuild b/dev-tex/luatex/luatex-0.76.0-r1.ebuild
index 3b6d960b74c5..cb38d3df2dea 100644
--- a/dev-tex/luatex/luatex-0.76.0.ebuild
+++ b/dev-tex/luatex/luatex-0.76.0-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
-inherit libtool eutils flag-o-matic texlive-common
+inherit libtool flag-o-matic texlive-common
MY_P=${PN}-beta-${PV}
DESCRIPTION="An extended version of pdfTeX using Lua as an embedded scripting language"
@@ -22,17 +22,20 @@ RDEPEND="dev-libs/zziplib
>=x11-libs/cairo-1.12
>x11-libs/pixman-0.18
app-text/poppler:=[xpdf-headers(+)]
- sys-libs/zlib
+ sys-libs/zlib:*
>=dev-libs/kpathsea-6.1.0_p20120701"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
+
+DEPEND="${RDEPEND}"
+
+BDEPEND="virtual/pkgconfig"
S="${WORKDIR}/${MY_P}/source"
src_prepare() {
- has_version '>=app-text/poppler-0.26.0:0' && epatch "${FILESDIR}/poppler026.patch"
+ default
+ has_version '>=app-text/poppler-0.26.0:0' && eapply "${FILESDIR}/poppler026.patch"
has_version '>=app-text/poppler-0.57.0:0' && append-cxxflags -std=c++11 # bug 627538
- epatch "${FILESDIR}/remove-zlib-version-check.patch" \
+ eapply "${FILESDIR}/remove-zlib-version-check.patch" \
"${FILESDIR}/includes.patch"
S="${S}/build-aux" elibtoolize --shallow
}
@@ -43,7 +46,7 @@ src_configure() {
# So we set LC_ALL to C in order to avoid problems.
export LC_ALL=C
- cd "${S}/texk/web2c"
+ cd "${S}/texk/web2c" || die
econf \
--disable-cxx-runtime-hack \
--disable-all-pkgs \
@@ -76,18 +79,18 @@ src_configure() {
src_compile() {
texk/web2c/luatexdir/getluatexsvnversion.sh || die
- cd "${WORKDIR}/${MY_P}/source/texk/web2c"
+ cd "${WORKDIR}/${MY_P}/source/texk/web2c" || die
emake luatex
}
src_install() {
- cd "${WORKDIR}/${MY_P}/source/texk/web2c"
+ cd "${WORKDIR}/${MY_P}/source/texk/web2c" || die
emake DESTDIR="${D}" bin_PROGRAMS="luatex" SUBDIRS="" nodist_man_MANS="" \
install-exec-am
dodoc "${WORKDIR}/${MY_P}/README" luatexdir/NEWS
- cp source/texk/web2c/man
- cp man/luatex.man "${T}/luatex.1"
+ cp source/texk/web2c/man || die
+ cp man/luatex.man "${T}/luatex.1" || die
doman "${T}/luatex.1"
use doc && dodoc "${WORKDIR}/${MY_P}/manual/"*.pdf
}