diff options
author | rakuco <rakuco@FreeBSD.org> | 2016-03-04 18:54:06 +0800 |
---|---|---|
committer | rakuco <rakuco@FreeBSD.org> | 2016-03-04 18:54:06 +0800 |
commit | 17b08d3adec216e0ea103237a09e3ca8bb3c393d (patch) | |
tree | ab726c6781b4f330974215a5ef9f588185003284 /textproc | |
parent | 7b20856cb7cdc038f98aab0ae404b647a3dcb228 (diff) | |
download | freebsd-ports-gnome-17b08d3adec216e0ea103237a09e3ca8bb3c393d.tar.gz freebsd-ports-gnome-17b08d3adec216e0ea103237a09e3ca8bb3c393d.tar.zst freebsd-ports-gnome-17b08d3adec216e0ea103237a09e3ca8bb3c393d.zip |
Make print/tex-dvipsk a runtime dependency.
Two reasons for this:
1. Document builds can fail without it even when using pdftex.
From dblatex -d -D:
Build uwm-pc-user-guide.pdf
pdflatex failed
Unexpected error occured
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/dbtexmf/core/dbtex.py", line 332, in compile
donefiles = self._compile()
File "/usr/local/lib/python2.7/site-packages/dbtexmf/core/dbtex.py", line 400, in _compile
self.make_bin()
File "/usr/local/lib/python2.7/site-packages/dbtexmf/core/dbtex.py", line 317, in make_bin
batch=self.texbatch)
File "/usr/local/lib/python2.7/site-packages/dbtexmf/dblatex/runtex.py", line 113, in compile
self.texer.compile(texfile)
File "/usr/local/lib/python2.7/site-packages/dbtexmf/dblatex/grubber/texbuilder.py", line 73, in compile
raise OSError("%s compilation failed" % self.tex.program)
OSError: pdflatex compilation failed
/tmp/tmpe0bJK0 not removed
From tail -n 11 /tmp/tmpe0bJK0/uwm-pc-user-guide.log:
Here is how much of TeX's memory you used:
22571 strings out of 493117
331796 string characters out of 6138550
659827 words of memory out of 5000000
19593 multiletter control sequences out of 15000+600000
89643 words of font info for 150 fonts, out of 8000000 for 9000
1141 hyphenation exceptions out of 8191
48i,21n,51p,484b,2429s stack positions out of 5000i,2500n,10000p,300000b,80000s
!pdfTeX error: pdflatex (file 8r.enc): cannot open encoding file for reading
==> Fatal error occurred, no output PDF file produced!
2. dvips is a valid backend to specify with dblatex -b.
PR: 201592
Submitted by: Jason Bacon <bacon4000@gmail.com>
MFH: 2016Q1
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/dblatex/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/textproc/dblatex/Makefile b/textproc/dblatex/Makefile index 12acbc07fa11..06c0084750a9 100644 --- a/textproc/dblatex/Makefile +++ b/textproc/dblatex/Makefile @@ -3,6 +3,7 @@ PORTNAME= dblatex PORTVERSION= 0.3.7 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} @@ -15,7 +16,7 @@ RUN_DEPENDS= xsltproc:${PORTSDIR}/textproc/libxslt \ USES= tar:bzip2 python:2 USE_PYTHON= distutils autoplist -USE_TEX= tex +USE_TEX= dvipsk:run tex NO_ARCH= yes PYDISTUTILS_INSTALLARGS+= --catalogs=${LOCALBASE}/share/xml/catalog.ports \ |