Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Mar 2016 11:48:35 +0000 (UTC)
From:      Raphael Kubo da Costa <rakuco@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r410170 - branches/2016Q1/textproc/dblatex
Message-ID:  <201603051148.u25BmZZK092013@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rakuco
Date: Sat Mar  5 11:48:35 2016
New Revision: 410170
URL: https://svnweb.freebsd.org/changeset/ports/410170

Log:
  MFH: r410097
  
  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>
  
  Approved by:	portmgr (miwi)

Modified:
  branches/2016Q1/textproc/dblatex/Makefile
Directory Properties:
  branches/2016Q1/   (props changed)

Modified: branches/2016Q1/textproc/dblatex/Makefile
==============================================================================
--- branches/2016Q1/textproc/dblatex/Makefile	Sat Mar  5 11:00:28 2016	(r410169)
+++ branches/2016Q1/textproc/dblatex/Makefile	Sat Mar  5 11:48:35 2016	(r410170)
@@ -3,6 +3,7 @@
 
 PORTNAME=	dblatex
 PORTVERSION=	0.3.6
+PORTREVISION=	1
 CATEGORIES=	textproc
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
 
@@ -15,7 +16,7 @@ RUN_DEPENDS=	xsltproc:${PORTSDIR}/textpr
 
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603051148.u25BmZZK092013>