$Id: README 23195 2011-07-21 09:09:09Z peter $
Public domain.  Originally written 2005 by Karl Berry.

Extra utilities we (optionally) compile for TeX Live.
See comments in ../texk/README.

asymptote 2.13 - checked 19jun11
  update to TL from CTAN, to include prebuilt doc.
  see http://tug.org/texlive/build.html#asymptote
  and tlpkg/bin/tl-update-asy

chktex 1.6.4 - checked 25apr11
  http://baruch.ev-en.org/proj/chktex/chktex-1.6.4.tar.gz

dialog 1.1-20110707 - checked 21jul11
  ftp://invisible-island.net/dialog/dialog.tar.gz

ps2eps 1.68 - checked 25apr11
  http://tm.uka.de/~bless/ps2eps

psutils p17 - checked 25apr11
  http://www.tardis.ed.ac.uk/~ajcd/psutils/index.html
  -> http://mirror.ctan.org/support/psutils/
  https://savannah.nongnu.org/bugs/?30782
  -> http://www.connochaetos.org/misc/psutils-libre-1.17.tar.gz
  (Fabrice made small modifications for Windows, it seems)

t1utils 1.37 - checked 21jul11
  http://www.lcdf.org/type/

tpic2pdftex 1.97 - checked 25apr11
  http://mirror.ctan.org/graphics/tpic2pdftex/

vlna 1.5 - checked 25apr11
  ftp://math.feld.cvut.cz/pub/olsak/vlna/

xindy - see just below

xpdfopen 0.82 - checked 31may11
  http://mirror.ctan.org/support/xpdfopen/
  http://cs.acadiau.ca/~jdiamond/xpdfopen/


xindy 2.4 - checked 13may10
  (with adaptations for TL)
  http://www.ctan.org/indexing/xindy/

After building clisp as described below, run the TL
  Build --enable-xindy CLISP=$clisp_builddir/clisp
to include xindy in the build.  It is disabled by default.

Before clisp 2.48, do not use nohup when building clisp; this may cause
weird build problems.  Regular redirections of stdout/stderr are ok.
Fixed in 2.48: http://sourceforge.net/tracker/?func=detail&aid=2805778&group_id=1355&atid=101355

mkdir clisp; cd clisp
clisp_basedir=`pwd`
clisp_toolsdir=$clisp_basedir/clisp-tools
clisp_builddir=$clisp_basedir/clisp-build
mkdir $clisp_toolsdir

wget=wget  # or "curl -O" or whatever

cd $clisp_basedir
$wget http://ftp.gnu.org/gnu/libsigsegv/libsigsegv-2.10.tar.gz
gzip -dc libsigsegv-2.10.tar.gz | tar xf -
cd libsigsegv-2.10
./configure --prefix=$clisp_toolsdir && make && make check && make install

# you may need this hack on 64-bit systems
# if clisp's configure will not find libsigsegv.
ln -s lib $clisp_toolsdir/lib64

# on the mac, get libiconv and ensure link statically.
# not needed on other platforms?
cd $clisp_basedir
$wget http://ftp.gnu.org/gnu/libiconv/libiconv-1.13.1.tar.gz
gzip -dc libiconv-1.13.1.tar.gz | tar xf -
cd libiconv-1.13.1
./configure --enable-static --prefix=$clisp_toolsdir \
&& make && make check && make install
#
cd $clisp_basedir/clisp-tools/lib
rm *.dylib
rm *.la

cd $clisp_basedir
$wget http://ftp.gnu.org/gnu/clisp/release/2.49/clisp-2.49.tar.gz
gzip -dc clisp-2.49.tar.gz | tar xf -
cd clisp-2.49

# On Cygwin:
# mv modules/syscalls/configure modules/syscalls/configure.orig
# sed -e '{s%-luuid%-L/usr/lib/w32api -luuid%}' \
#  modules/syscalls/configure.orig > modules/syscalls/configure
#
# On FreeBSD/amd64: add --disable-mmap.
#
./configure --with-libsigsegv-prefix=$clisp_toolsdir --without-readline \
  --disable-nls \
  $clisp_builddir \
&& cd $clisp_builddir \
&& make
