summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-03-14 23:29:38 +0000
committerKarl Berry <karl@freefriends.org>2012-03-14 23:29:38 +0000
commitb4d6b4f429dad72094b9f33bb304f39dbfa5f459 (patch)
tree21d361a77c584ae096767fa57742831ebee9ef74
parentf34ded62c53531e6741e0bc2c2fb4706bd6735fd (diff)
new script typeoutfileinfo (14mar12)
git-svn-id: svn://tug.org/texlive/trunk@25648 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/texk/texlive/linked_scripts/Makefile.am3
-rw-r--r--Build/source/texk/texlive/linked_scripts/Makefile.in3
-rwxr-xr-xBuild/source/texk/texlive/linked_scripts/typeoutfileinfo/typeoutfileinfo.sh33
l---------Master/bin/alpha-linux/typeoutfileinfo1
l---------Master/bin/amd64-freebsd/typeoutfileinfo1
l---------Master/bin/amd64-kfreebsd/typeoutfileinfo1
l---------Master/bin/i386-cygwin/typeoutfileinfo1
l---------Master/bin/i386-freebsd/typeoutfileinfo1
l---------Master/bin/i386-kfreebsd/typeoutfileinfo1
l---------Master/bin/i386-linux/typeoutfileinfo1
l---------Master/bin/i386-netbsd/typeoutfileinfo1
l---------Master/bin/i386-solaris/typeoutfileinfo1
l---------Master/bin/mips-irix/typeoutfileinfo1
l---------Master/bin/powerpc-aix/typeoutfileinfo1
l---------Master/bin/powerpc-linux/typeoutfileinfo1
l---------Master/bin/sparc-linux/typeoutfileinfo1
l---------Master/bin/sparc-solaris/typeoutfileinfo1
l---------Master/bin/universal-darwin/typeoutfileinfo1
l---------Master/bin/x86_64-darwin/typeoutfileinfo1
l---------Master/bin/x86_64-linux/typeoutfileinfo1
l---------Master/bin/x86_64-solaris/typeoutfileinfo1
-rw-r--r--Master/texmf-dist/doc/support/typeoutfileinfo/README25
-rwxr-xr-xMaster/texmf-dist/scripts/typeoutfileinfo/typeoutfileinfo.sh33
-rwxr-xr-xMaster/tlpkg/bin/tlpkg-ctan-check2
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds1
-rw-r--r--Master/tlpkg/tlpsrc/collection-binextra.tlpsrc1
-rw-r--r--Master/tlpkg/tlpsrc/typeoutfileinfo.tlpsrc1
27 files changed, 117 insertions, 3 deletions
diff --git a/Build/source/texk/texlive/linked_scripts/Makefile.am b/Build/source/texk/texlive/linked_scripts/Makefile.am
index f0836bef389..f7d04cce287 100644
--- a/Build/source/texk/texlive/linked_scripts/Makefile.am
+++ b/Build/source/texk/texlive/linked_scripts/Makefile.am
@@ -68,7 +68,8 @@ texmf_dist_shell_scripts = \
pdfjam/pdfjoin \
pdfjam/pdfnup \
pdfjam/pdfpun \
- pst-pdf/ps4pdf
+ pst-pdf/ps4pdf \
+ typeoutfileinfo/typeoutfileinfo.sh
texmf_dist_other_scripts = \
accfonts/mkt1font \
accfonts/vpl2ovp \
diff --git a/Build/source/texk/texlive/linked_scripts/Makefile.in b/Build/source/texk/texlive/linked_scripts/Makefile.in
index 3867577bbc6..eaed5972b79 100644
--- a/Build/source/texk/texlive/linked_scripts/Makefile.in
+++ b/Build/source/texk/texlive/linked_scripts/Makefile.in
@@ -227,7 +227,8 @@ texmf_dist_shell_scripts = \
pdfjam/pdfjoin \
pdfjam/pdfnup \
pdfjam/pdfpun \
- pst-pdf/ps4pdf
+ pst-pdf/ps4pdf \
+ typeoutfileinfo/typeoutfileinfo.sh
texmf_dist_other_scripts = \
accfonts/mkt1font \
diff --git a/Build/source/texk/texlive/linked_scripts/typeoutfileinfo/typeoutfileinfo.sh b/Build/source/texk/texlive/linked_scripts/typeoutfileinfo/typeoutfileinfo.sh
new file mode 100755
index 00000000000..e40765ac088
--- /dev/null
+++ b/Build/source/texk/texlive/linked_scripts/typeoutfileinfo/typeoutfileinfo.sh
@@ -0,0 +1,33 @@
+%!/usr/bin/env bash
+##
+## This is `typeoutfileinfo.sh', a minimalistic shell script for Unices.
+##
+## ./typeoutfileinfo.sh [FILENAME].[EXT]
+##
+## runs latex with the readprov package
+##
+## http://ctan.org/pkg/readprov
+##
+## in order to display [FILENAME].[TXT]'s file info (\listfile entry)
+## using \typeout. This requires that [FILENAME].[TXT] contains a
+## \ProvidesFile, \ProvidesPackage, or \ProvidesClass command.
+(
+cat << EOM
+\\RequirePackage{readprov} \\ReadFileInfos{$1}
+\\typeout{^^J^^J *$1 info*: \\space \\csname ver@$1\\endcsname^^J^^J}\\stop
+EOM
+) | latex
+##
+## Copyright (C) 2012 Uwe Lueck, http://contact-ednotes.sty.de.vu/
+##
+## This program may be distributed and/or modified under the
+## conditions of the LaTeX Project Public License, either version 1.2
+## of this license or (at your option) any later version.
+## The latest version of this license is in
+## http://www.latex-project.org/lppl.txt
+## and version 1.2 or later is part of all distributions of LaTeX
+## version 1999/12/01 or later.
+##
+## There is NO WARRANTY.
+##
+## v0.1 as of 2012-03-13
diff --git a/Master/bin/alpha-linux/typeoutfileinfo b/Master/bin/alpha-linux/typeoutfileinfo
new file mode 120000
index 00000000000..f89819e24c8
--- /dev/null
+++ b/Master/bin/alpha-linux/typeoutfileinfo
@@ -0,0 +1 @@
+../../texmf-dist/scripts/typeoutfileinfo/typeoutfileinfo.sh \ No newline at end of file
diff --git a/Master/bin/amd64-freebsd/typeoutfileinfo b/Master/bin/amd64-freebsd/typeoutfileinfo
new file mode 120000
index 00000000000..f89819e24c8
--- /dev/null
+++ b/Master/bin/amd64-freebsd/typeoutfileinfo
@@ -0,0 +1 @@
+../../texmf-dist/scripts/typeoutfileinfo/typeoutfileinfo.sh \ No newline at end of file
diff --git a/Master/bin/amd64-kfreebsd/typeoutfileinfo b/Master/bin/amd64-kfreebsd/typeoutfileinfo
new file mode 120000
index 00000000000..f89819e24c8
--- /dev/null
+++ b/Master/bin/amd64-kfreebsd/typeoutfileinfo
@@ -0,0 +1 @@
+../../texmf-dist/scripts/typeoutfileinfo/typeoutfileinfo.sh \ No newline at end of file
diff --git a/Master/bin/i386-cygwin/typeoutfileinfo b/Master/bin/i386-cygwin/typeoutfileinfo
new file mode 120000
index 00000000000..f89819e24c8
--- /dev/null
+++ b/Master/bin/i386-cygwin/typeoutfileinfo
@@ -0,0 +1 @@
+../../texmf-dist/scripts/typeoutfileinfo/typeoutfileinfo.sh \ No newline at end of file
diff --git a/Master/bin/i386-freebsd/typeoutfileinfo b/Master/bin/i386-freebsd/typeoutfileinfo
new file mode 120000
index 00000000000..f89819e24c8
--- /dev/null
+++ b/Master/bin/i386-freebsd/typeoutfileinfo
@@ -0,0 +1 @@
+../../texmf-dist/scripts/typeoutfileinfo/typeoutfileinfo.sh \ No newline at end of file
diff --git a/Master/bin/i386-kfreebsd/typeoutfileinfo b/Master/bin/i386-kfreebsd/typeoutfileinfo
new file mode 120000
index 00000000000..f89819e24c8
--- /dev/null
+++ b/Master/bin/i386-kfreebsd/typeoutfileinfo
@@ -0,0 +1 @@
+../../texmf-dist/scripts/typeoutfileinfo/typeoutfileinfo.sh \ No newline at end of file
diff --git a/Master/bin/i386-linux/typeoutfileinfo b/Master/bin/i386-linux/typeoutfileinfo
new file mode 120000
index 00000000000..f89819e24c8
--- /dev/null
+++ b/Master/bin/i386-linux/typeoutfileinfo
@@ -0,0 +1 @@
+../../texmf-dist/scripts/typeoutfileinfo/typeoutfileinfo.sh \ No newline at end of file
diff --git a/Master/bin/i386-netbsd/typeoutfileinfo b/Master/bin/i386-netbsd/typeoutfileinfo
new file mode 120000
index 00000000000..f89819e24c8
--- /dev/null
+++ b/Master/bin/i386-netbsd/typeoutfileinfo
@@ -0,0 +1 @@
+../../texmf-dist/scripts/typeoutfileinfo/typeoutfileinfo.sh \ No newline at end of file
diff --git a/Master/bin/i386-solaris/typeoutfileinfo b/Master/bin/i386-solaris/typeoutfileinfo
new file mode 120000
index 00000000000..f89819e24c8
--- /dev/null
+++ b/Master/bin/i386-solaris/typeoutfileinfo
@@ -0,0 +1 @@
+../../texmf-dist/scripts/typeoutfileinfo/typeoutfileinfo.sh \ No newline at end of file
diff --git a/Master/bin/mips-irix/typeoutfileinfo b/Master/bin/mips-irix/typeoutfileinfo
new file mode 120000
index 00000000000..f89819e24c8
--- /dev/null
+++ b/Master/bin/mips-irix/typeoutfileinfo
@@ -0,0 +1 @@
+../../texmf-dist/scripts/typeoutfileinfo/typeoutfileinfo.sh \ No newline at end of file
diff --git a/Master/bin/powerpc-aix/typeoutfileinfo b/Master/bin/powerpc-aix/typeoutfileinfo
new file mode 120000
index 00000000000..f89819e24c8
--- /dev/null
+++ b/Master/bin/powerpc-aix/typeoutfileinfo
@@ -0,0 +1 @@
+../../texmf-dist/scripts/typeoutfileinfo/typeoutfileinfo.sh \ No newline at end of file
diff --git a/Master/bin/powerpc-linux/typeoutfileinfo b/Master/bin/powerpc-linux/typeoutfileinfo
new file mode 120000
index 00000000000..f89819e24c8
--- /dev/null
+++ b/Master/bin/powerpc-linux/typeoutfileinfo
@@ -0,0 +1 @@
+../../texmf-dist/scripts/typeoutfileinfo/typeoutfileinfo.sh \ No newline at end of file
diff --git a/Master/bin/sparc-linux/typeoutfileinfo b/Master/bin/sparc-linux/typeoutfileinfo
new file mode 120000
index 00000000000..f89819e24c8
--- /dev/null
+++ b/Master/bin/sparc-linux/typeoutfileinfo
@@ -0,0 +1 @@
+../../texmf-dist/scripts/typeoutfileinfo/typeoutfileinfo.sh \ No newline at end of file
diff --git a/Master/bin/sparc-solaris/typeoutfileinfo b/Master/bin/sparc-solaris/typeoutfileinfo
new file mode 120000
index 00000000000..f89819e24c8
--- /dev/null
+++ b/Master/bin/sparc-solaris/typeoutfileinfo
@@ -0,0 +1 @@
+../../texmf-dist/scripts/typeoutfileinfo/typeoutfileinfo.sh \ No newline at end of file
diff --git a/Master/bin/universal-darwin/typeoutfileinfo b/Master/bin/universal-darwin/typeoutfileinfo
new file mode 120000
index 00000000000..f89819e24c8
--- /dev/null
+++ b/Master/bin/universal-darwin/typeoutfileinfo
@@ -0,0 +1 @@
+../../texmf-dist/scripts/typeoutfileinfo/typeoutfileinfo.sh \ No newline at end of file
diff --git a/Master/bin/x86_64-darwin/typeoutfileinfo b/Master/bin/x86_64-darwin/typeoutfileinfo
new file mode 120000
index 00000000000..f89819e24c8
--- /dev/null
+++ b/Master/bin/x86_64-darwin/typeoutfileinfo
@@ -0,0 +1 @@
+../../texmf-dist/scripts/typeoutfileinfo/typeoutfileinfo.sh \ No newline at end of file
diff --git a/Master/bin/x86_64-linux/typeoutfileinfo b/Master/bin/x86_64-linux/typeoutfileinfo
new file mode 120000
index 00000000000..f89819e24c8
--- /dev/null
+++ b/Master/bin/x86_64-linux/typeoutfileinfo
@@ -0,0 +1 @@
+../../texmf-dist/scripts/typeoutfileinfo/typeoutfileinfo.sh \ No newline at end of file
diff --git a/Master/bin/x86_64-solaris/typeoutfileinfo b/Master/bin/x86_64-solaris/typeoutfileinfo
new file mode 120000
index 00000000000..f89819e24c8
--- /dev/null
+++ b/Master/bin/x86_64-solaris/typeoutfileinfo
@@ -0,0 +1 @@
+../../texmf-dist/scripts/typeoutfileinfo/typeoutfileinfo.sh \ No newline at end of file
diff --git a/Master/texmf-dist/doc/support/typeoutfileinfo/README b/Master/texmf-dist/doc/support/typeoutfileinfo/README
new file mode 100644
index 00000000000..4af4ee895d9
--- /dev/null
+++ b/Master/texmf-dist/doc/support/typeoutfileinfo/README
@@ -0,0 +1,25 @@
+ README for the `typeoutfileinfo' package
+ (C) Uwe Lueck 2012/03/13
+
+
+`typeoutfileinfo.sh' is a minimalistic shell script for Unices
+for displaying the info content in the \ProvidesFile,
+\ProvidesPackage, or \ProvidesClass command of a LaTeX source
+file on screen. This requires the `readprov' package.
+See the file `typeoutfileinfo.sh' for details.
+
+LICENSE: LPPL v1.3 or later, author-maintained.
+
+The latest public version of the package is available at
+
+ http://mirror.ctan.org/support/typeoutfileinfo/
+
+A TDS version of the package is available as
+
+ http://mirror.ctan.org/install/support/typeoutfileinfo.tds.zip
+
+Please report bugs, problems, and suggestions via
+
+ http://www.contact-ednotes.sty.de.vu
+
+SEE ALSO scripts `latexfileversion' and `ltxfileinfo'.
diff --git a/Master/texmf-dist/scripts/typeoutfileinfo/typeoutfileinfo.sh b/Master/texmf-dist/scripts/typeoutfileinfo/typeoutfileinfo.sh
new file mode 100755
index 00000000000..e40765ac088
--- /dev/null
+++ b/Master/texmf-dist/scripts/typeoutfileinfo/typeoutfileinfo.sh
@@ -0,0 +1,33 @@
+%!/usr/bin/env bash
+##
+## This is `typeoutfileinfo.sh', a minimalistic shell script for Unices.
+##
+## ./typeoutfileinfo.sh [FILENAME].[EXT]
+##
+## runs latex with the readprov package
+##
+## http://ctan.org/pkg/readprov
+##
+## in order to display [FILENAME].[TXT]'s file info (\listfile entry)
+## using \typeout. This requires that [FILENAME].[TXT] contains a
+## \ProvidesFile, \ProvidesPackage, or \ProvidesClass command.
+(
+cat << EOM
+\\RequirePackage{readprov} \\ReadFileInfos{$1}
+\\typeout{^^J^^J *$1 info*: \\space \\csname ver@$1\\endcsname^^J^^J}\\stop
+EOM
+) | latex
+##
+## Copyright (C) 2012 Uwe Lueck, http://contact-ednotes.sty.de.vu/
+##
+## This program may be distributed and/or modified under the
+## conditions of the LaTeX Project Public License, either version 1.2
+## of this license or (at your option) any later version.
+## The latest version of this license is in
+## http://www.latex-project.org/lppl.txt
+## and version 1.2 or later is part of all distributions of LaTeX
+## version 1999/12/01 or later.
+##
+## There is NO WARRANTY.
+##
+## v0.1 as of 2012-03-13
diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check
index 95b73e3ab93..8aa22377282 100755
--- a/Master/tlpkg/bin/tlpkg-ctan-check
+++ b/Master/tlpkg/bin/tlpkg-ctan-check
@@ -409,7 +409,7 @@ my @TLP_working = qw(
tsemlines
tucv tufte-latex tugboat tugboat-plain tui turkmen turnstile turnthepage
twoinone twoup
- txfonts txfontsb txgreeks type1cm typehtml typogrid
+ txfonts txfontsb txgreeks type1cm typehtml typeoutfileinfo typogrid
uaclasses uafthesis ucdavisthesis ucs
ucthesis uebungsblatt uiucthesis
ulem ulqda
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index b8c0499f3d8..bb4d70d89da 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -2125,6 +2125,7 @@ $standardxmt='\.xmt';
'texdirflatten' => 'texdirflatten$',
'texliveonfly' => '\.py$',
'texloganalyser' => 'texloganalyser',
+ 'typeoutfileinfo' => '\.sh$',
'thumbpdf' => '\.pl$',
'ulqda' => '\.pl$',
'urlbst' => 'urlbst$',
diff --git a/Master/tlpkg/tlpsrc/collection-binextra.tlpsrc b/Master/tlpkg/tlpsrc/collection-binextra.tlpsrc
index 0b845170798..7a325831e3b 100644
--- a/Master/tlpkg/tlpsrc/collection-binextra.tlpsrc
+++ b/Master/tlpkg/tlpsrc/collection-binextra.tlpsrc
@@ -58,5 +58,6 @@ depend texloganalyser
depend texware
depend tie
depend tpic2pdftex
+depend typeoutfileinfo
depend web
depend xindy
diff --git a/Master/tlpkg/tlpsrc/typeoutfileinfo.tlpsrc b/Master/tlpkg/tlpsrc/typeoutfileinfo.tlpsrc
new file mode 100644
index 00000000000..51b0573321b
--- /dev/null
+++ b/Master/tlpkg/tlpsrc/typeoutfileinfo.tlpsrc
@@ -0,0 +1 @@
+binpattern f bin/${ARCH}/typeoutfileinfo