From 7062d8632ec7d062d8f94ed590771e4ece15bb04 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 21 Jan 2020 18:33:23 +0000 Subject: texmf-dist/scripts/texlive-extra: new directory, for miscellanous scripts maintained as part of TeX Live, but not important for infrastructure or installation. allcm.sh, allneeded.sh: move there (from scripts/texlive). texlive-extra.tlpsrc: new package. tetex.tlpsrc: remove all*.sh and man pages from here. collection-binextra.tlpsrc: add texlive-extra here. bin/*/all*: adjust symlinks. Build/.../texlive/linked_scripts/texlive-extra: new slave directory. Adjust Makefile.am, including creating allec symlink here. Build/.../texlive/tl_scripts: remove allcm.sh, allneeded.sh here. Adjust Makefile.am. Many more to move ... git-svn-id: svn://tug.org/texlive/trunk@53480 c570f23f-e606-0410-a88d-b1316a301751 --- Master/bin/aarch64-linux/allcm | 2 +- Master/bin/aarch64-linux/allneeded | 2 +- Master/bin/amd64-freebsd/allcm | 2 +- Master/bin/amd64-freebsd/allneeded | 2 +- Master/bin/amd64-netbsd/allcm | 2 +- Master/bin/amd64-netbsd/allneeded | 2 +- Master/bin/armhf-linux/allcm | 2 +- Master/bin/armhf-linux/allneeded | 2 +- Master/bin/i386-cygwin/allcm | 2 +- Master/bin/i386-cygwin/allneeded | 2 +- Master/bin/i386-freebsd/allcm | 2 +- Master/bin/i386-freebsd/allneeded | 2 +- Master/bin/i386-linux/allcm | 2 +- Master/bin/i386-linux/allneeded | 2 +- Master/bin/i386-netbsd/allcm | 2 +- Master/bin/i386-netbsd/allneeded | 2 +- Master/bin/i386-solaris/allcm | 2 +- Master/bin/i386-solaris/allneeded | 2 +- Master/bin/x86_64-cygwin/allcm | 2 +- Master/bin/x86_64-cygwin/allneeded | 2 +- Master/bin/x86_64-darwin/allcm | 2 +- Master/bin/x86_64-darwin/allneeded | 2 +- Master/bin/x86_64-darwinlegacy/allcm | 2 +- Master/bin/x86_64-darwinlegacy/allneeded | 2 +- Master/bin/x86_64-linux/allcm | 2 +- Master/bin/x86_64-linux/allneeded | 2 +- Master/bin/x86_64-linuxmusl/allcm | 2 +- Master/bin/x86_64-linuxmusl/allneeded | 2 +- Master/bin/x86_64-solaris/allcm | 2 +- Master/bin/x86_64-solaris/allneeded | 2 +- Master/texmf-dist/scripts/texlive-extra/README | 18 ++++ Master/texmf-dist/scripts/texlive-extra/allcm.sh | 118 +++++++++++++++++++++ .../texmf-dist/scripts/texlive-extra/allneeded.sh | 46 ++++++++ Master/texmf-dist/scripts/texlive/README | 24 +++-- Master/texmf-dist/scripts/texlive/allcm.sh | 118 --------------------- Master/texmf-dist/scripts/texlive/allneeded.sh | 46 -------- Master/tlpkg/tlpsrc/collection-binextra.tlpsrc | 1 + Master/tlpkg/tlpsrc/tetex.tlpsrc | 8 -- Master/tlpkg/tlpsrc/texlive-scripts-extra.tlpsrc | 19 ++++ Master/tlpkg/tlpsrc/texlive-scripts.tlpsrc | 2 + 40 files changed, 247 insertions(+), 213 deletions(-) create mode 100644 Master/texmf-dist/scripts/texlive-extra/README create mode 100755 Master/texmf-dist/scripts/texlive-extra/allcm.sh create mode 100755 Master/texmf-dist/scripts/texlive-extra/allneeded.sh delete mode 100755 Master/texmf-dist/scripts/texlive/allcm.sh delete mode 100755 Master/texmf-dist/scripts/texlive/allneeded.sh create mode 100644 Master/tlpkg/tlpsrc/texlive-scripts-extra.tlpsrc (limited to 'Master') diff --git a/Master/bin/aarch64-linux/allcm b/Master/bin/aarch64-linux/allcm index b035cb3a997..4ab2927df5c 120000 --- a/Master/bin/aarch64-linux/allcm +++ b/Master/bin/aarch64-linux/allcm @@ -1 +1 @@ -../../texmf-dist/scripts/texlive/allcm.sh \ No newline at end of file +../../texmf-dist/scripts/texlive-extra/allcm.sh \ No newline at end of file diff --git a/Master/bin/aarch64-linux/allneeded b/Master/bin/aarch64-linux/allneeded index b77c69203d8..afd738370f5 120000 --- a/Master/bin/aarch64-linux/allneeded +++ b/Master/bin/aarch64-linux/allneeded @@ -1 +1 @@ -../../texmf-dist/scripts/texlive/allneeded.sh \ No newline at end of file +../../texmf-dist/scripts/texlive-extra/allneeded.sh \ No newline at end of file diff --git a/Master/bin/amd64-freebsd/allcm b/Master/bin/amd64-freebsd/allcm index b035cb3a997..4ab2927df5c 120000 --- a/Master/bin/amd64-freebsd/allcm +++ b/Master/bin/amd64-freebsd/allcm @@ -1 +1 @@ -../../texmf-dist/scripts/texlive/allcm.sh \ No newline at end of file +../../texmf-dist/scripts/texlive-extra/allcm.sh \ No newline at end of file diff --git a/Master/bin/amd64-freebsd/allneeded b/Master/bin/amd64-freebsd/allneeded index b77c69203d8..afd738370f5 120000 --- a/Master/bin/amd64-freebsd/allneeded +++ b/Master/bin/amd64-freebsd/allneeded @@ -1 +1 @@ -../../texmf-dist/scripts/texlive/allneeded.sh \ No newline at end of file +../../texmf-dist/scripts/texlive-extra/allneeded.sh \ No newline at end of file diff --git a/Master/bin/amd64-netbsd/allcm b/Master/bin/amd64-netbsd/allcm index b035cb3a997..4ab2927df5c 120000 --- a/Master/bin/amd64-netbsd/allcm +++ b/Master/bin/amd64-netbsd/allcm @@ -1 +1 @@ -../../texmf-dist/scripts/texlive/allcm.sh \ No newline at end of file +../../texmf-dist/scripts/texlive-extra/allcm.sh \ No newline at end of file diff --git a/Master/bin/amd64-netbsd/allneeded b/Master/bin/amd64-netbsd/allneeded index b77c69203d8..afd738370f5 120000 --- a/Master/bin/amd64-netbsd/allneeded +++ b/Master/bin/amd64-netbsd/allneeded @@ -1 +1 @@ -../../texmf-dist/scripts/texlive/allneeded.sh \ No newline at end of file +../../texmf-dist/scripts/texlive-extra/allneeded.sh \ No newline at end of file diff --git a/Master/bin/armhf-linux/allcm b/Master/bin/armhf-linux/allcm index b035cb3a997..4ab2927df5c 120000 --- a/Master/bin/armhf-linux/allcm +++ b/Master/bin/armhf-linux/allcm @@ -1 +1 @@ -../../texmf-dist/scripts/texlive/allcm.sh \ No newline at end of file +../../texmf-dist/scripts/texlive-extra/allcm.sh \ No newline at end of file diff --git a/Master/bin/armhf-linux/allneeded b/Master/bin/armhf-linux/allneeded index b77c69203d8..afd738370f5 120000 --- a/Master/bin/armhf-linux/allneeded +++ b/Master/bin/armhf-linux/allneeded @@ -1 +1 @@ -../../texmf-dist/scripts/texlive/allneeded.sh \ No newline at end of file +../../texmf-dist/scripts/texlive-extra/allneeded.sh \ No newline at end of file diff --git a/Master/bin/i386-cygwin/allcm b/Master/bin/i386-cygwin/allcm index b035cb3a997..4ab2927df5c 120000 --- a/Master/bin/i386-cygwin/allcm +++ b/Master/bin/i386-cygwin/allcm @@ -1 +1 @@ -../../texmf-dist/scripts/texlive/allcm.sh \ No newline at end of file +../../texmf-dist/scripts/texlive-extra/allcm.sh \ No newline at end of file diff --git a/Master/bin/i386-cygwin/allneeded b/Master/bin/i386-cygwin/allneeded index b77c69203d8..afd738370f5 120000 --- a/Master/bin/i386-cygwin/allneeded +++ b/Master/bin/i386-cygwin/allneeded @@ -1 +1 @@ -../../texmf-dist/scripts/texlive/allneeded.sh \ No newline at end of file +../../texmf-dist/scripts/texlive-extra/allneeded.sh \ No newline at end of file diff --git a/Master/bin/i386-freebsd/allcm b/Master/bin/i386-freebsd/allcm index b035cb3a997..4ab2927df5c 120000 --- a/Master/bin/i386-freebsd/allcm +++ b/Master/bin/i386-freebsd/allcm @@ -1 +1 @@ -../../texmf-dist/scripts/texlive/allcm.sh \ No newline at end of file +../../texmf-dist/scripts/texlive-extra/allcm.sh \ No newline at end of file diff --git a/Master/bin/i386-freebsd/allneeded b/Master/bin/i386-freebsd/allneeded index b77c69203d8..afd738370f5 120000 --- a/Master/bin/i386-freebsd/allneeded +++ b/Master/bin/i386-freebsd/allneeded @@ -1 +1 @@ -../../texmf-dist/scripts/texlive/allneeded.sh \ No newline at end of file +../../texmf-dist/scripts/texlive-extra/allneeded.sh \ No newline at end of file diff --git a/Master/bin/i386-linux/allcm b/Master/bin/i386-linux/allcm index b035cb3a997..4ab2927df5c 120000 --- a/Master/bin/i386-linux/allcm +++ b/Master/bin/i386-linux/allcm @@ -1 +1 @@ -../../texmf-dist/scripts/texlive/allcm.sh \ No newline at end of file +../../texmf-dist/scripts/texlive-extra/allcm.sh \ No newline at end of file diff --git a/Master/bin/i386-linux/allneeded b/Master/bin/i386-linux/allneeded index b77c69203d8..afd738370f5 120000 --- a/Master/bin/i386-linux/allneeded +++ b/Master/bin/i386-linux/allneeded @@ -1 +1 @@ -../../texmf-dist/scripts/texlive/allneeded.sh \ No newline at end of file +../../texmf-dist/scripts/texlive-extra/allneeded.sh \ No newline at end of file diff --git a/Master/bin/i386-netbsd/allcm b/Master/bin/i386-netbsd/allcm index b035cb3a997..4ab2927df5c 120000 --- a/Master/bin/i386-netbsd/allcm +++ b/Master/bin/i386-netbsd/allcm @@ -1 +1 @@ -../../texmf-dist/scripts/texlive/allcm.sh \ No newline at end of file +../../texmf-dist/scripts/texlive-extra/allcm.sh \ No newline at end of file diff --git a/Master/bin/i386-netbsd/allneeded b/Master/bin/i386-netbsd/allneeded index b77c69203d8..afd738370f5 120000 --- a/Master/bin/i386-netbsd/allneeded +++ b/Master/bin/i386-netbsd/allneeded @@ -1 +1 @@ -../../texmf-dist/scripts/texlive/allneeded.sh \ No newline at end of file +../../texmf-dist/scripts/texlive-extra/allneeded.sh \ No newline at end of file diff --git a/Master/bin/i386-solaris/allcm b/Master/bin/i386-solaris/allcm index b035cb3a997..4ab2927df5c 120000 --- a/Master/bin/i386-solaris/allcm +++ b/Master/bin/i386-solaris/allcm @@ -1 +1 @@ -../../texmf-dist/scripts/texlive/allcm.sh \ No newline at end of file +../../texmf-dist/scripts/texlive-extra/allcm.sh \ No newline at end of file diff --git a/Master/bin/i386-solaris/allneeded b/Master/bin/i386-solaris/allneeded index b77c69203d8..afd738370f5 120000 --- a/Master/bin/i386-solaris/allneeded +++ b/Master/bin/i386-solaris/allneeded @@ -1 +1 @@ -../../texmf-dist/scripts/texlive/allneeded.sh \ No newline at end of file +../../texmf-dist/scripts/texlive-extra/allneeded.sh \ No newline at end of file diff --git a/Master/bin/x86_64-cygwin/allcm b/Master/bin/x86_64-cygwin/allcm index b035cb3a997..4ab2927df5c 120000 --- a/Master/bin/x86_64-cygwin/allcm +++ b/Master/bin/x86_64-cygwin/allcm @@ -1 +1 @@ -../../texmf-dist/scripts/texlive/allcm.sh \ No newline at end of file +../../texmf-dist/scripts/texlive-extra/allcm.sh \ No newline at end of file diff --git a/Master/bin/x86_64-cygwin/allneeded b/Master/bin/x86_64-cygwin/allneeded index b77c69203d8..afd738370f5 120000 --- a/Master/bin/x86_64-cygwin/allneeded +++ b/Master/bin/x86_64-cygwin/allneeded @@ -1 +1 @@ -../../texmf-dist/scripts/texlive/allneeded.sh \ No newline at end of file +../../texmf-dist/scripts/texlive-extra/allneeded.sh \ No newline at end of file diff --git a/Master/bin/x86_64-darwin/allcm b/Master/bin/x86_64-darwin/allcm index b035cb3a997..4ab2927df5c 120000 --- a/Master/bin/x86_64-darwin/allcm +++ b/Master/bin/x86_64-darwin/allcm @@ -1 +1 @@ -../../texmf-dist/scripts/texlive/allcm.sh \ No newline at end of file +../../texmf-dist/scripts/texlive-extra/allcm.sh \ No newline at end of file diff --git a/Master/bin/x86_64-darwin/allneeded b/Master/bin/x86_64-darwin/allneeded index b77c69203d8..afd738370f5 120000 --- a/Master/bin/x86_64-darwin/allneeded +++ b/Master/bin/x86_64-darwin/allneeded @@ -1 +1 @@ -../../texmf-dist/scripts/texlive/allneeded.sh \ No newline at end of file +../../texmf-dist/scripts/texlive-extra/allneeded.sh \ No newline at end of file diff --git a/Master/bin/x86_64-darwinlegacy/allcm b/Master/bin/x86_64-darwinlegacy/allcm index b035cb3a997..4ab2927df5c 120000 --- a/Master/bin/x86_64-darwinlegacy/allcm +++ b/Master/bin/x86_64-darwinlegacy/allcm @@ -1 +1 @@ -../../texmf-dist/scripts/texlive/allcm.sh \ No newline at end of file +../../texmf-dist/scripts/texlive-extra/allcm.sh \ No newline at end of file diff --git a/Master/bin/x86_64-darwinlegacy/allneeded b/Master/bin/x86_64-darwinlegacy/allneeded index b77c69203d8..afd738370f5 120000 --- a/Master/bin/x86_64-darwinlegacy/allneeded +++ b/Master/bin/x86_64-darwinlegacy/allneeded @@ -1 +1 @@ -../../texmf-dist/scripts/texlive/allneeded.sh \ No newline at end of file +../../texmf-dist/scripts/texlive-extra/allneeded.sh \ No newline at end of file diff --git a/Master/bin/x86_64-linux/allcm b/Master/bin/x86_64-linux/allcm index b035cb3a997..4ab2927df5c 120000 --- a/Master/bin/x86_64-linux/allcm +++ b/Master/bin/x86_64-linux/allcm @@ -1 +1 @@ -../../texmf-dist/scripts/texlive/allcm.sh \ No newline at end of file +../../texmf-dist/scripts/texlive-extra/allcm.sh \ No newline at end of file diff --git a/Master/bin/x86_64-linux/allneeded b/Master/bin/x86_64-linux/allneeded index b77c69203d8..afd738370f5 120000 --- a/Master/bin/x86_64-linux/allneeded +++ b/Master/bin/x86_64-linux/allneeded @@ -1 +1 @@ -../../texmf-dist/scripts/texlive/allneeded.sh \ No newline at end of file +../../texmf-dist/scripts/texlive-extra/allneeded.sh \ No newline at end of file diff --git a/Master/bin/x86_64-linuxmusl/allcm b/Master/bin/x86_64-linuxmusl/allcm index b035cb3a997..4ab2927df5c 120000 --- a/Master/bin/x86_64-linuxmusl/allcm +++ b/Master/bin/x86_64-linuxmusl/allcm @@ -1 +1 @@ -../../texmf-dist/scripts/texlive/allcm.sh \ No newline at end of file +../../texmf-dist/scripts/texlive-extra/allcm.sh \ No newline at end of file diff --git a/Master/bin/x86_64-linuxmusl/allneeded b/Master/bin/x86_64-linuxmusl/allneeded index b77c69203d8..afd738370f5 120000 --- a/Master/bin/x86_64-linuxmusl/allneeded +++ b/Master/bin/x86_64-linuxmusl/allneeded @@ -1 +1 @@ -../../texmf-dist/scripts/texlive/allneeded.sh \ No newline at end of file +../../texmf-dist/scripts/texlive-extra/allneeded.sh \ No newline at end of file diff --git a/Master/bin/x86_64-solaris/allcm b/Master/bin/x86_64-solaris/allcm index b035cb3a997..4ab2927df5c 120000 --- a/Master/bin/x86_64-solaris/allcm +++ b/Master/bin/x86_64-solaris/allcm @@ -1 +1 @@ -../../texmf-dist/scripts/texlive/allcm.sh \ No newline at end of file +../../texmf-dist/scripts/texlive-extra/allcm.sh \ No newline at end of file diff --git a/Master/bin/x86_64-solaris/allneeded b/Master/bin/x86_64-solaris/allneeded index b77c69203d8..afd738370f5 120000 --- a/Master/bin/x86_64-solaris/allneeded +++ b/Master/bin/x86_64-solaris/allneeded @@ -1 +1 @@ -../../texmf-dist/scripts/texlive/allneeded.sh \ No newline at end of file +../../texmf-dist/scripts/texlive-extra/allneeded.sh \ No newline at end of file diff --git a/Master/texmf-dist/scripts/texlive-extra/README b/Master/texmf-dist/scripts/texlive-extra/README new file mode 100644 index 00000000000..53854c6f407 --- /dev/null +++ b/Master/texmf-dist/scripts/texlive-extra/README @@ -0,0 +1,18 @@ +$Id$ +Master/texmf-dist/scripts/texlive-extra +(This file is public domain.) + +This directory contains scripts maintained as part of TeX Live. Unlike +everything else under Master/texmf-dist/scripts, except scripts/texlive, +these scripts are actually maintained here, and not under Build. + +These scripts are not important for the infrastructure or installation +of TeX Live. They just happen to be maintained by us; many were +inherited from teTeX. + +See texmf-dist/scripts/texlive/README (i.e., ../texlive/README) for more +info. + +The principal mailing list is http://lists.tug.org/tex-live. + +All of these scripts are free software, mostly public domain. diff --git a/Master/texmf-dist/scripts/texlive-extra/allcm.sh b/Master/texmf-dist/scripts/texlive-extra/allcm.sh new file mode 100755 index 00000000000..945c7c88457 --- /dev/null +++ b/Master/texmf-dist/scripts/texlive-extra/allcm.sh @@ -0,0 +1,118 @@ +#!/bin/sh + +test -f /bin/sh5 && test -z "$RUNNING_SH5" \ + && { UNAMES=`uname -s`; test "x$UNAMES" = xULTRIX; } 2>/dev/null \ + && { RUNNING_SH5=true; export RUNNING_SH5; exec /bin/sh5 $0 ${1+"$@"}; } +unset RUNNING_SH5 + +test -f /bin/bsh && test -z "$RUNNING_BSH" \ + && { UNAMES=`uname -s`; test "x$UNAMES" = xAIX; } 2>/dev/null \ + && { RUNNING_BSH=true; export RUNNING_BSH; exec /bin/bsh $0 ${1+"$@"}; } +unset RUNNING_BSH + +# hack around a bug in zsh: +test -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'='"$@"' + +progname=`basename $0` +tmpdir=${TMPDIR-${TEMP-${TMP-/tmp}}}/$progname.$$ + +case "$progname" in + allec) + encoding=T1;; + *) + encoding=OT1;; +esac + +case "$1" in + -r) + DVIPS=dvired + shift + ;; + *) + DVIPS=dvips + ;; +esac + +body() +{ + cat <<-'eof' + \pagestyle{empty} + \parindent0in + \hfuzz=\maxdimen + \hbadness=10000 + \textheight9.5in + \textwidth6.5in + \newcommand{\myformula}{\sum a_{b_{c_d}} = c} + \newcommand{\mytext}{text $\mathcal{\myformula}\mathrm{\myformula} + \mathbf{\myformula}\mathsf{\myformula}\mathtt{\myformula} + \mathnormal{\myformula}\mathit{\myformula}$} + + \newcommand{\TestSizes}{{% + \tiny \mytext\scriptsize \mytext\footnotesize \mytext\small \mytext + \normalsize \mytext + \large \mytext\Large \mytext\LARGE \mytext\huge \mytext\Huge \mytext}} + \newcommand{\TestRM}{rm-family: {\rmfamily\TestSizes}\newline} + \newcommand{\TestSF}{sf-family: {\sffamily\TestSizes}\newline} + \newcommand{\TestTT}{tt-family: {\ttfamily\TestSizes}\newline} + \newcommand{\TestFamilies}{\TestRM\TestSF\TestTT\newline} + \newcommand{\TestMD}{md-series: {\mdseries\TestFamilies}} + \newcommand{\TestBF}{bf-series: {\bfseries\TestFamilies}} + \newcommand{\TestSeries}{\TestBF\TestMD\par} + \newcommand{\TestUP}{up-shape: {\upshape\TestSeries}\par} + \newcommand{\TestIT}{it-shape: {\itshape\TestSeries}\par} + \newcommand{\TestSL}{sl-shape: {\slshape\TestSeries}\par} + \newcommand{\TestSC}{sc-shape: {\scshape\TestSeries}\par} + \newcommand{\TestShapes}{\TestUP\TestIT\TestSL\TestSC} + \begin{document} + \TestShapes + \end{document} +eof +} + +head() +{ + echo '\documentclass['$1'pt]{article}' + echo '\usepackage['$encoding']{fontenc}' +} + +# before we create the tmpdir, set trap for cleanup +trap ' + rm -rf $tmpdir + exit 1 +' 1 2 3 7 13 15 + +(umask 077; mkdir "$tmpdir") || { + echo "$progname: failed to create temp directory." >&2 + exit 1 +} + +cd $tmpdir || exit 1 +echo >&2 +echo "---------------------------------------------------------------------" >&2 +echo ">>>>>>>>>>> Generating testfiles for 10pt, 11pt and 12pt. <<<<<<<<<<" >&2 +echo "---------------------------------------------------------------------" >&2 +head 10 > allcm10.tex +head 11 > allcm11.tex +head 12 > allcm12.tex +body >> allcm10.tex +body >> allcm11.tex +body >> allcm12.tex + +echo >&2 +echo "---------------------------------------------------------------------" >&2 +echo ">>>>>>>>>>> Calling latex... <<<<<<<<<<" >&2 +echo "---------------------------------------------------------------------" >&2 +latex allcm10 >/dev/null +latex allcm11 >/dev/null +latex allcm12 >/dev/null + +echo >&2 +echo "---------------------------------------------------------------------" >&2 +echo ">>>>>>>>>>> Now, calling $DVIPS to make missing fonts... <<<<<<<<<<" >&2 +echo "---------------------------------------------------------------------" >&2 +$DVIPS ${1+"$@"} -V -f allcm10 > /dev/null +$DVIPS ${1+"$@"} -V -f allcm11 > /dev/null +$DVIPS ${1+"$@"} -V -f allcm12 > /dev/null + +cd / +rm -rf $tmpdir diff --git a/Master/texmf-dist/scripts/texlive-extra/allneeded.sh b/Master/texmf-dist/scripts/texlive-extra/allneeded.sh new file mode 100755 index 00000000000..15c62c84adb --- /dev/null +++ b/Master/texmf-dist/scripts/texlive-extra/allneeded.sh @@ -0,0 +1,46 @@ +#!/bin/sh + +test -f /bin/sh5 && test -z "$RUNNING_SH5" \ + && { UNAMES=`uname -s`; test "x$UNAMES" = xULTRIX; } 2>/dev/null \ + && { RUNNING_SH5=true; export RUNNING_SH5; exec /bin/sh5 $0 ${1+"$@"}; } +unset RUNNING_SH5 + +test -f /bin/bsh && test -z "$RUNNING_BSH" \ + && { UNAMES=`uname -s`; test "x$UNAMES" = xAIX; } 2>/dev/null \ + && { RUNNING_BSH=true; export RUNNING_BSH; exec /bin/bsh $0 ${1+"$@"}; } +unset RUNNING_BSH + +progname=`basename $0` +dvired=false + +case $1 in +-r) DVIPS="dvips -x707" + shift;; +*) DVIPS=dvips;; +esac + +case $# in +0) echo "Usage: $progname [-r] files ..." >&2 + exit ;; +esac + +findopt= +dvipsopt= + +for i +do + if [ -f $i ] || [ -d $i ]; then + findopt="$findopt $i" + else + dvipsopt="$dvipsopt $i" + fi +done + +find $findopt -name \*.dvi -type f -print | + while true; do + read i + test -z "$i" && exit + echo "processing file '$i' ..." + $DVIPS $dvipsopt -f "$i" >/dev/null + echo + done diff --git a/Master/texmf-dist/scripts/texlive/README b/Master/texmf-dist/scripts/texlive/README index cee1d0fe37f..3076f63941e 100644 --- a/Master/texmf-dist/scripts/texlive/README +++ b/Master/texmf-dist/scripts/texlive/README @@ -3,25 +3,27 @@ Master/texmf-dist/scripts/texlive (This file is public domain.) This directory contains scripts for TeX Live. Unlike everything else -under Master/texmf-dist/scripts (and most of the rest of Master), most -of these scripts are actually maintained here, and not under Build. +under Master/texmf-dist/scripts, except scripts/texlive-extra, most of +these scripts are actually maintained here, and not under Build. There are slave copies of these Master-maintained scripts in Build/source/texk/texlive/linked_scripts, just as for the multitude of scripts updated from CTAN. -(Perhaps at some point we will move things around to make this true for -all the scripts here, instead of just most. The remainder now are in -Build/source/texk/texlive/tl_scripts.) +The man pages for the programs here, though, are still maintained in +Build/, since that is almost 100% true in TL, and it seems better not to +break that. -One reason for doing this is so we can have $Id$ expansion, so +Additional scripts maintained as part of TeX Live, but not important for +infrastructure or installation, are in ../texlive-extra. + +One reason for doing this is so we can have $Id expansion, so svn:keywords is set for the scripts maintained here. When they were maintained in Build, the --version option and doc of the copies in bin/ -would become a literal "$Id$", because svn->git mirror process does not -preserve $Id$ strings. (Note from Karl: Although many people and -processes hate keyword expansion, I'm afraid that I find it quite -useful, so I don't want to give it up as long as I am working here. Feel -free to change it when I'm gone. :) +svn->git mirror process does not preserve $Id strings. (Note from Karl: +Although many people and processes hate keyword expansion, I'm afraid +that I find it quite useful, so I don't want to give it up as long as I +am working here. Feel free to change it after I'm gone. :) Another reason is that almost all scripts in the bin/*/ directories are now symlinks into texmf-dist/scripts/, so it's nice for these to follow diff --git a/Master/texmf-dist/scripts/texlive/allcm.sh b/Master/texmf-dist/scripts/texlive/allcm.sh deleted file mode 100755 index 945c7c88457..00000000000 --- a/Master/texmf-dist/scripts/texlive/allcm.sh +++ /dev/null @@ -1,118 +0,0 @@ -#!/bin/sh - -test -f /bin/sh5 && test -z "$RUNNING_SH5" \ - && { UNAMES=`uname -s`; test "x$UNAMES" = xULTRIX; } 2>/dev/null \ - && { RUNNING_SH5=true; export RUNNING_SH5; exec /bin/sh5 $0 ${1+"$@"}; } -unset RUNNING_SH5 - -test -f /bin/bsh && test -z "$RUNNING_BSH" \ - && { UNAMES=`uname -s`; test "x$UNAMES" = xAIX; } 2>/dev/null \ - && { RUNNING_BSH=true; export RUNNING_BSH; exec /bin/bsh $0 ${1+"$@"}; } -unset RUNNING_BSH - -# hack around a bug in zsh: -test -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'='"$@"' - -progname=`basename $0` -tmpdir=${TMPDIR-${TEMP-${TMP-/tmp}}}/$progname.$$ - -case "$progname" in - allec) - encoding=T1;; - *) - encoding=OT1;; -esac - -case "$1" in - -r) - DVIPS=dvired - shift - ;; - *) - DVIPS=dvips - ;; -esac - -body() -{ - cat <<-'eof' - \pagestyle{empty} - \parindent0in - \hfuzz=\maxdimen - \hbadness=10000 - \textheight9.5in - \textwidth6.5in - \newcommand{\myformula}{\sum a_{b_{c_d}} = c} - \newcommand{\mytext}{text $\mathcal{\myformula}\mathrm{\myformula} - \mathbf{\myformula}\mathsf{\myformula}\mathtt{\myformula} - \mathnormal{\myformula}\mathit{\myformula}$} - - \newcommand{\TestSizes}{{% - \tiny \mytext\scriptsize \mytext\footnotesize \mytext\small \mytext - \normalsize \mytext - \large \mytext\Large \mytext\LARGE \mytext\huge \mytext\Huge \mytext}} - \newcommand{\TestRM}{rm-family: {\rmfamily\TestSizes}\newline} - \newcommand{\TestSF}{sf-family: {\sffamily\TestSizes}\newline} - \newcommand{\TestTT}{tt-family: {\ttfamily\TestSizes}\newline} - \newcommand{\TestFamilies}{\TestRM\TestSF\TestTT\newline} - \newcommand{\TestMD}{md-series: {\mdseries\TestFamilies}} - \newcommand{\TestBF}{bf-series: {\bfseries\TestFamilies}} - \newcommand{\TestSeries}{\TestBF\TestMD\par} - \newcommand{\TestUP}{up-shape: {\upshape\TestSeries}\par} - \newcommand{\TestIT}{it-shape: {\itshape\TestSeries}\par} - \newcommand{\TestSL}{sl-shape: {\slshape\TestSeries}\par} - \newcommand{\TestSC}{sc-shape: {\scshape\TestSeries}\par} - \newcommand{\TestShapes}{\TestUP\TestIT\TestSL\TestSC} - \begin{document} - \TestShapes - \end{document} -eof -} - -head() -{ - echo '\documentclass['$1'pt]{article}' - echo '\usepackage['$encoding']{fontenc}' -} - -# before we create the tmpdir, set trap for cleanup -trap ' - rm -rf $tmpdir - exit 1 -' 1 2 3 7 13 15 - -(umask 077; mkdir "$tmpdir") || { - echo "$progname: failed to create temp directory." >&2 - exit 1 -} - -cd $tmpdir || exit 1 -echo >&2 -echo "---------------------------------------------------------------------" >&2 -echo ">>>>>>>>>>> Generating testfiles for 10pt, 11pt and 12pt. <<<<<<<<<<" >&2 -echo "---------------------------------------------------------------------" >&2 -head 10 > allcm10.tex -head 11 > allcm11.tex -head 12 > allcm12.tex -body >> allcm10.tex -body >> allcm11.tex -body >> allcm12.tex - -echo >&2 -echo "---------------------------------------------------------------------" >&2 -echo ">>>>>>>>>>> Calling latex... <<<<<<<<<<" >&2 -echo "---------------------------------------------------------------------" >&2 -latex allcm10 >/dev/null -latex allcm11 >/dev/null -latex allcm12 >/dev/null - -echo >&2 -echo "---------------------------------------------------------------------" >&2 -echo ">>>>>>>>>>> Now, calling $DVIPS to make missing fonts... <<<<<<<<<<" >&2 -echo "---------------------------------------------------------------------" >&2 -$DVIPS ${1+"$@"} -V -f allcm10 > /dev/null -$DVIPS ${1+"$@"} -V -f allcm11 > /dev/null -$DVIPS ${1+"$@"} -V -f allcm12 > /dev/null - -cd / -rm -rf $tmpdir diff --git a/Master/texmf-dist/scripts/texlive/allneeded.sh b/Master/texmf-dist/scripts/texlive/allneeded.sh deleted file mode 100755 index 15c62c84adb..00000000000 --- a/Master/texmf-dist/scripts/texlive/allneeded.sh +++ /dev/null @@ -1,46 +0,0 @@ -#!/bin/sh - -test -f /bin/sh5 && test -z "$RUNNING_SH5" \ - && { UNAMES=`uname -s`; test "x$UNAMES" = xULTRIX; } 2>/dev/null \ - && { RUNNING_SH5=true; export RUNNING_SH5; exec /bin/sh5 $0 ${1+"$@"}; } -unset RUNNING_SH5 - -test -f /bin/bsh && test -z "$RUNNING_BSH" \ - && { UNAMES=`uname -s`; test "x$UNAMES" = xAIX; } 2>/dev/null \ - && { RUNNING_BSH=true; export RUNNING_BSH; exec /bin/bsh $0 ${1+"$@"}; } -unset RUNNING_BSH - -progname=`basename $0` -dvired=false - -case $1 in --r) DVIPS="dvips -x707" - shift;; -*) DVIPS=dvips;; -esac - -case $# in -0) echo "Usage: $progname [-r] files ..." >&2 - exit ;; -esac - -findopt= -dvipsopt= - -for i -do - if [ -f $i ] || [ -d $i ]; then - findopt="$findopt $i" - else - dvipsopt="$dvipsopt $i" - fi -done - -find $findopt -name \*.dvi -type f -print | - while true; do - read i - test -z "$i" && exit - echo "processing file '$i' ..." - $DVIPS $dvipsopt -f "$i" >/dev/null - echo - done diff --git a/Master/tlpkg/tlpsrc/collection-binextra.tlpsrc b/Master/tlpkg/tlpsrc/collection-binextra.tlpsrc index 346b0c498a2..df5ff071c18 100644 --- a/Master/tlpkg/tlpsrc/collection-binextra.tlpsrc +++ b/Master/tlpkg/tlpsrc/collection-binextra.tlpsrc @@ -87,6 +87,7 @@ depend texdirflatten depend texdoc depend texdoctk depend texfot +depend texlive-extra depend texliveonfly depend texloganalyser depend texosquery diff --git a/Master/tlpkg/tlpsrc/tetex.tlpsrc b/Master/tlpkg/tlpsrc/tetex.tlpsrc index a0a7c7ea4b4..beb946933db 100644 --- a/Master/tlpkg/tlpsrc/tetex.tlpsrc +++ b/Master/tlpkg/tlpsrc/tetex.tlpsrc @@ -20,8 +20,6 @@ runpattern f texmf-dist/texconfig/g/* runpattern f texmf-dist/texconfig/v/* runpattern f texmf-dist/texconfig/x/* # -runpattern f texmf-dist/scripts/texlive/allcm.sh -runpattern f texmf-dist/scripts/texlive/allneeded.sh runpattern f texmf-dist/scripts/texlive/dvi2fax.sh runpattern f texmf-dist/scripts/texlive/dvired.sh runpattern f texmf-dist/scripts/texlive/e2pall.pl @@ -39,9 +37,6 @@ runpattern f texmf-dist/scripts/texlive/updmap-sys.sh runpattern f texmf-dist/scripts/texlive/updmap-user.sh runpattern f texmf-dist/scripts/texlive/updmap.pl -docpattern f texmf-dist/doc/man/man1/allcm.* -docpattern f texmf-dist/doc/man/man1/allec.* -docpattern f texmf-dist/doc/man/man1/allneeded.* docpattern f texmf-dist/doc/man/man1/dvi2fax.* docpattern f texmf-dist/doc/man/man1/dvired.* docpattern f texmf-dist/doc/man/man1/e2pall.* @@ -57,9 +52,6 @@ docpattern f texmf-dist/doc/man/man5/fmtutil.cnf.* docpattern f texmf-dist/doc/man/man5/updmap.* docpattern d texmf-dist/doc/tetex -binpattern f bin/${ARCH}/allcm -binpattern f bin/${ARCH}/allec -binpattern f bin/${ARCH}/allneeded binpattern f bin/${ARCH}/dvi2fax binpattern f bin/${ARCH}/dvired binpattern f bin/${ARCH}/e2pall diff --git a/Master/tlpkg/tlpsrc/texlive-scripts-extra.tlpsrc b/Master/tlpkg/tlpsrc/texlive-scripts-extra.tlpsrc new file mode 100644 index 00000000000..02b32903b53 --- /dev/null +++ b/Master/tlpkg/tlpsrc/texlive-scripts-extra.tlpsrc @@ -0,0 +1,19 @@ +category TLCore +shortdesc TeX Live scripts +longdesc Miscellaneous scripts maintained as part of TeX Live, but +longdesc not important for the infrastructure. Thus, this is not part of +longdesc scheme-infraonly or tlcritical, just a normal package. + +docpattern f texmf-dist/scripts/texlive-extra/README + +runpattern f texmf-dist/scripts/texlive-extra/allcm.sh +docpattern f texmf-dist/doc/man/man1/allcm.* +binpattern f bin/${ARCH}/allcm +# +# symlink to allcm.sh. +docpattern f texmf-dist/doc/man/man1/allec.* +binpattern f bin/${ARCH}/allec +# +runpattern f texmf-dist/scripts/texlive-extra/allneeded.sh +docpattern f texmf-dist/doc/man/man1/allneeded.* +binpattern f bin/${ARCH}/allneeded diff --git a/Master/tlpkg/tlpsrc/texlive-scripts.tlpsrc b/Master/tlpkg/tlpsrc/texlive-scripts.tlpsrc index 4c1411c1610..648de8ebdef 100644 --- a/Master/tlpkg/tlpsrc/texlive-scripts.tlpsrc +++ b/Master/tlpkg/tlpsrc/texlive-scripts.tlpsrc @@ -5,6 +5,8 @@ longdesc tlmgr to run but still ours. Not included in tlcritical. # depend texlive.infra # +docpattern f texmf-dist/scripts/texlive/README +# runpattern f texmf-dist/scripts/texlive/mktexmf runpattern f texmf-dist/scripts/texlive/mktexpk runpattern f texmf-dist/scripts/texlive/mktextfm -- cgit v1.2.3