summaryrefslogtreecommitdiff
path: root/Master/tlpkg
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg')
-rwxr-xr-xMaster/tlpkg/bin/tlpkg-ctan-check2
-rwxr-xr-xMaster/tlpkg/bin/tlpkginfo4
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds33
-rw-r--r--Master/tlpkg/tlpsrc/collection-binextra.tlpsrc1
-rw-r--r--Master/tlpkg/tlpsrc/collection-psutils.tlpsrc1
-rw-r--r--Master/tlpkg/tlpsrc/purifyeps.tlpsrc3
6 files changed, 32 insertions, 12 deletions
diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check
index 05989ee8c4b..2424fc6633a 100755
--- a/Master/tlpkg/bin/tlpkg-ctan-check
+++ b/Master/tlpkg/bin/tlpkg-ctan-check
@@ -191,7 +191,7 @@ my @WorkingTLP = qw(
pst-sigsys pst-solides3d pst-soroban pst-spectra
pst-slpe pst-stru pst-support pst-text pst-tree pst-uml pst-vue3d
pst2pdf pstool pstricks pstricks-add
- psu-thesis ptptex pxfonts
+ psu-thesis ptptex purifyeps pxfonts
qcm qobitree qstest qtree quotmark
r_und_s randbild rccol rcs rcsinfo recipe recipecard
refman refstyle regcount register resumemac robustcommand
diff --git a/Master/tlpkg/bin/tlpkginfo b/Master/tlpkg/bin/tlpkginfo
index faeabdc3838..ab37221ca84 100755
--- a/Master/tlpkg/bin/tlpkginfo
+++ b/Master/tlpkg/bin/tlpkginfo
@@ -16,9 +16,9 @@ sub main
|| die "$0: TEX_CATALOGUE ($CATALOGUE) must point to entries/ subdir"
. " of a TeX Catalogue checkout.\n";
- # erroneous tds files (warn Robin about them)
+ # erroneous tds files (warn Robin about them) or problematic (purifyeps).
# list format: pkg1|pkg2|etc
- $erroneous_tds = "elsarticle|xetexref";
+ $erroneous_tds = "elsarticle|purifyeps|xetexref";
# special packages from latex-tds project (used by prepare())
$corelatex_tds_pkgs = "babel|cyrillic|graphics|latex|psnfss|tools";
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index a38a7b2b1dd..ea20e7532b3 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -1037,6 +1037,7 @@ $standardtex='\.(cfg|sty|clo|ldf|cls|def|fd|cmap|4ht)$';
'plnfss', 'plain',
'psfrag-italian', 'italian',
'pst-cox', 'generic',
+ 'purifyeps', 'support',
'pxfonts', 'fonts',
'rsfs', 'fonts',
'shapepar', 'generic',
@@ -1411,16 +1412,16 @@ $standardxmt='\.xmt';
'perltex' => '\.pl$',
'pkfix' => '\.pl$',
'pst2pdf' => '\.pl$',
+ 'purifyeps' => 'purifyeps$',
'texcount' => '\.pl$',
'texloganalyser' => 'texloganalyser',
'vpe' => '\.pl$',
);
-# too painful to install in multiple trees just now.
-## packages which have man pages to install. Assume section 1 for now.
-#%specialmans = (
-# 'mkjobtexmf' => 'mkjobtexmf.man',
-#);
+# packages which have man pages to install. Assume section 1 for now.
+%specialmans = (
+ 'purifyeps' => 'purifyeps.1',
+);
# which suffixes to remove after building. Checked after runins and at
@@ -1444,6 +1445,7 @@ $standardclean = '\.head|\.tmp|\.dvi|\.log|\.out|\.aux|\.toc|\.lof|\.lot'
'lshort-spanish'=>'lshort-a5book.pdf', # a4 is enough
'mathexam' => 'sample.tex~',
'notes2bib' => "$standardclean|jawltxdoc.sty", # temp file for doc
+ 'purifyeps' => 'purifyeps.pdf',
'rsc' => $standardclean . '|jawltxdoc.sty', # temp file for doc
'wsuipa' => $standardclean . '|.*pk$', # premade pk files
);
@@ -1745,6 +1747,7 @@ sub donormal
&dosource;
&dotype1;
&doscripts;
+ &domans;
# remove empty directories that we never used.
&SYSTEM ("rmdir $DEST/*/$whichformat/$package 2>/dev/null");
@@ -1905,10 +1908,11 @@ sub dotype1{
&install("$DEST/fonts/truetype/public/$package", $ttfpatt);
}
-# scripts. Build/source/tex/texlive/Makefile.in installs symlinks
-# in the bin directories where appropriate. Just for simplicitly, let's
-# try keeping DEST as texmf when symlinks get installed; otherwise
-# (if it gets called as a subprogram) texmf-dist is ok.
+# scripts. Make them executable even if it isn't always necessary.
+# Build/source/tex/texlive/Makefile.in installs symlinks in the bin
+# directories where needed. That Makefile.in is independently
+# maintained, needs to updated by hand when new user-visible scripts are
+# added.
#
sub doscripts
{
@@ -1918,6 +1922,17 @@ sub doscripts
&SYSTEM ("chmod a+x $DEST/scripts/$package/*");
}
+# man pages. We also put these in texmf/doc/man/man1.
+# Having a man dir in texmf-dist also would imply lots of changes in the
+# installer.
+#
+sub domans
+{
+ my $manpatt = $specialmans{$package};
+ return unless $manpatt;
+ &install ("$TOPDEST/texmf/doc/man/man1/", $manpatt);
+}
+
# xmltex files
sub doxmt{
my $xmtpatt = $specialxmt{$package} || $standardxmt;
diff --git a/Master/tlpkg/tlpsrc/collection-binextra.tlpsrc b/Master/tlpkg/tlpsrc/collection-binextra.tlpsrc
index 4e7d47b69b5..e6aa5df81dc 100644
--- a/Master/tlpkg/tlpsrc/collection-binextra.tlpsrc
+++ b/Master/tlpkg/tlpsrc/collection-binextra.tlpsrc
@@ -33,6 +33,7 @@ depend latexmk
depend mkind-english
depend mkjobtexmf
depend pdfcrop
+depend purifyeps
depend synctex
depend texcount
depend texloganalyser
diff --git a/Master/tlpkg/tlpsrc/collection-psutils.tlpsrc b/Master/tlpkg/tlpsrc/collection-psutils.tlpsrc
index 16735335a71..a073250f0a5 100644
--- a/Master/tlpkg/tlpsrc/collection-psutils.tlpsrc
+++ b/Master/tlpkg/tlpsrc/collection-psutils.tlpsrc
@@ -8,3 +8,4 @@ depend bin-lcdftypetools
depend bin-pstools
depend bin-psutils
depend bin-t1utils
+depend purifyeps
diff --git a/Master/tlpkg/tlpsrc/purifyeps.tlpsrc b/Master/tlpkg/tlpsrc/purifyeps.tlpsrc
new file mode 100644
index 00000000000..735f62214e8
--- /dev/null
+++ b/Master/tlpkg/tlpsrc/purifyeps.tlpsrc
@@ -0,0 +1,3 @@
+name purifyeps
+category Package
+docpattern f texmf/doc/man/man1/a2ping.*