[Lunar-commits] <moonbase-other> texlive: fix evil etex-bug

v4hn me at v4hn.de
Sat Apr 6 21:54:44 CEST 2013


commit 04ae2980644c0c1dac11dee35b8190c898698d01
Author: v4hn <me at v4hn.de>
Date: Sat, 06 Apr 2013 12:54:26 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/04ae2980644c0c1dac11dee35b8190c898698d01

texlive: fix evil etex-bug

etex is _not_ pdftex in our installation.
This resulted in obscure local config generates
which still failed to work.
---
  doc-tools/texlive-texmf/BUILD | +3/-0     
  doc-tools/texlive/BUILD       | +3/-0     
  2 files changed, 6 insertions(+)

--- a/doc-tools/texlive-texmf/BUILD
+++ b/doc-tools/texlive-texmf/BUILD
@@ -20,6 +20,9 @@
   # adjust TeX root path
   sedit "s:\(TEXMFROOT =\) .*$:\1 \$SELFAUTODIR/share:" texmf/web2c/texmf.cnf &&
 
+  # the etex binary is _not_ compatible with pdftex
+  sedit "s:^etex pdftex:etex etex:" texmf/web2c/fmtutil.cnf &&
+
   # this is the big cp (which would copy the man pages we removed before again)
   mkdir -p /usr/share                 &&
   cp -R texmf texmf-dist /usr/share/  &&
--- a/doc-tools/texlive/BUILD
+++ b/doc-tools/texlive/BUILD
@@ -39,6 +39,9 @@
   # luatex and psutils are individual modules.
   OPTS+=" --datadir=/usr/share --disable-multiplatform --disable-native-texlive-build --with-gs=gs --disable-xindy --enable-etex --disable-luatex --disable-psutils --enable-xetex --enable-ipc --enable-shared --disable-static --with-system-zlib --with-system-zziplib --with-system-libpng --with-system-gd --with-system-t1lib --with-system-teckit --with-teckit-includes=/usr/include/teckit --with-system-freetype2 --disable-t1utils --disable-lcdf-typetools" &&
 
+  # the etex binary is _not_ compatible with pdftex
+  sedit "s:^etex pdftex:etex etex:" texk/tetex/fmtutil.cnf &&
+
 # They warn an in source build is a very bad idea, so
   mkdir tex-build &&
   cd tex-build    &&




More information about the Lunar-commits mailing list