[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#265743: debian-reference: FTBFS: tetex-bin changes?



From: Hilmar Preusse <hille42@web.de>
Subject: Re: Bug#265743: debian-reference: FTBFS: tetex-bin changes?
Date: Mon, 16 Aug 2004 09:26:45 +0200

> On 15.08.04 Osamu Aoki (osamu@debian.org) wrote:
> 
> > If anyone insists this to be RC, I will reassign this to TeX/LateX
> > but people there seems handful with similar reports and such an big
> > example file like this package is tough one to track the bugs.
> > 
> > So, I am making this a "wishlist" for now and I will close this one if
> > latest unstable environment build OK.
> > 
> I'll have a look at the bugs to see, what you're really speaking
> about.

I've had a quick look at the bug but the package is really
big and hard to investigate.

What I can't understand is why scripts would try to generate
*.fmt and/or *.efmt, and I have a feeling that scripts
could be refined to some extent.  Anyway please try the patch
attached.

Regards,			2004.8.16(Mon)

-- 
 Debian Developer & Debian JP Developer - much more I18N of Debian
 Atsuhito Kohda <kohda@debian.org>
 Department of Math., Univ. of Tokushima
diff -ur debian-reference-old/Makefile debian-reference-1.07/Makefile
--- debian-reference-old/Makefile	2004-08-16 14:28:15.000000000 +0900
+++ debian-reference-1.07/Makefile	2004-08-16 14:31:15.000000000 +0900
@@ -228,16 +228,35 @@
 
 latex.fmt: texmf/language.dat
 	TEXINPUTS=$$(pwd)/texmf/:$$(kpsetool -n tex -p tex) \
-	fmtutil --byfmt latex --fmtdir .
+	tex -ini latex.ini > /dev/null
+#	fmtutil --byfmt latex --fmtdir .
 
 pdflatex.fmt: texmf/language.dat
 	TEXINPUTS=$$(pwd)/texmf/:$$(kpsetool -n pdftex -p tex) \
-	fmtutil --byfmt pdflatex --fmtdir .
+	pdftex -ini pdflatex.ini > /dev/null
+#	fmtutil --byfmt pdflatex --fmtdir .
 
 # required by thumbpdf (called from debiandoc2latexpdf)
 pdftex.fmt: texmf/language.dat
 	TEXINPUTS=$$(pwd)/texmf/:$$(kpsetool -n pdftex -p tex) \
-	fmtutil --byfmt pdftex --fmtdir .
+	pdftex -ini pdftex.ini > /dev/null
+#	fmtutil --byfmt pdftex --fmtdir .
+
+latex.efmt: texmf/language.dat
+	TEXINPUTS=$$(pwd)/texmf/:$$(kpsetool -n tex -p tex) \
+	etex -ini latex.ini > /dev/null
+#	fmtutil --byfmt latex --fmtdir .
+
+pdflatex.efmt: texmf/language.dat
+	TEXINPUTS=$$(pwd)/texmf/; \
+	pdfetex -ini pdflatex.ini > /dev/null
+#	fmtutil --byfmt pdflatex --fmtdir .
+
+# required by thumbpdf (called from debiandoc2latexpdf)
+pdftex.efmt: texmf/language.dat
+	TEXINPUTS=$$(pwd)/texmf/; \
+	pdfetex -ini pdftex.ini > /dev/null
+#	fmtutil --byfmt pdftex --fmtdir .
 
 # DVI
 
@@ -251,24 +270,24 @@
 
 # PS
 
-$(MANUAL1).%.ps: $(MANUAL1).%.sgml $(MANUAL1).%.ent $(SGMLSRCS) latex.fmt
+$(MANUAL1).%.ps: $(MANUAL1).%.sgml $(MANUAL1).%.ent $(SGMLSRCS) latex.fmt latex.efmt
 	ln -sf fix.latex.ent fix.ent
 	bin/debiandoc2latexps $(BUILD_OPT) -l  $$(echo $* | bin/getlocale) $<
 
-$(MANUAL2).%.ps: $(MANUAL2).%.sgml $(MANUAL2).%.ent $(SGMLSRCS) latex.fmt
+$(MANUAL2).%.ps: $(MANUAL2).%.sgml $(MANUAL2).%.ent $(SGMLSRCS) latex.fmt latex.efmt
 	ln -sf fix.latex.ent fix.ent
 	bin/debiandoc2latexps $(BUILD_OPT) -l  $$(echo $* | bin/getlocale) $<
 
 # PDF
 
 $(MANUAL1).%.pdf: $(MANUAL1).%.sgml $(MANUAL1).%.ent $(SGMLSRCS) \
-                  pdflatex.fmt pdftex.fmt %/hyperref-full.cfg
+                  pdflatex.fmt pdftex.fmt pdflatex.efmt pdftex.efmt %/hyperref-full.cfg
 	ln -sf fix.latex.ent fix.ent
 	ln -sf $*/hyperref-full.cfg hyperref.cfg
 	bin/debiandoc2latexpdf $(BUILD_OPT) -l $$(echo $* | bin/getlocale) $<
 
 $(MANUAL2).%.pdf: $(MANUAL2).%.sgml $(MANUAL2).%.ent $(SGMLSRCS) \
-                  pdflatex.fmt pdftex.fmt %/hyperref-quick.cfg
+                  pdflatex.fmt pdftex.fmt pdflatex.efmt pdftex.efmt %/hyperref-quick.cfg
 	ln -sf fix.latex.ent fix.ent
 	ln -sf $*/hyperref-quick.cfg hyperref.cfg
 	bin/debiandoc2latexpdf $(BUILD_OPT) -l $$(echo $* | bin/getlocale) $<
@@ -556,7 +575,7 @@
 manual.html.stamp: manual.sgml
 	debiandoc2html manual.sgml
 	touch manual.html.stamp
-	
+
 #====[ cleaning up ]===========================================================
 distclean: clean
 	make "PUBLISHDIR=~/public_html/" publish-clean
@@ -574,7 +593,7 @@
 	rm -f $(addprefix $(MANUAL1).*.,$(clean_SUFFIXES))
 	rm -f $(addprefix $(MANUAL2).*.,$(clean_SUFFIXES))
 	rm -f *~ prior.aux pprior.aux *.log typescript README README.html
-	rm -f latex.fmt pdflatex.fmt pdftex.fmt latex.efmt pdflatex.efmt
+	rm -f latex.fmt pdflatex.fmt pdftex.fmt latex.efmt pdflatex.efmt pdftex.efmt
 	rm -f latex.log pdflatex.log pdftex.log
 	rm -f *.tex[01]pdf *.tex[01]ps
 	rm -f $(MANUAL0).tar.gz fix.ent hyperref.cfg

Reply to: