summaryrefslogtreecommitdiff
path: root/Master/tlpkg/TeXLive
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-05-16 18:22:05 +0000
committerKarl Berry <karl@freefriends.org>2021-05-16 18:22:05 +0000
commit248607bb023f6076034784addb5070ed1f6ef843 (patch)
tree1726b0fa89c9e3e6e7fdb759d62e62011c9edc61 /Master/tlpkg/TeXLive
parentef42b50b6cb2e5aa8bc7cb5e75c3199b781cd105 (diff)
podisms, list missing functions
git-svn-id: svn://tug.org/texlive/trunk@59226 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/TeXLive')
-rw-r--r--Master/tlpkg/TeXLive/TLConfFile.pm3
-rw-r--r--Master/tlpkg/TeXLive/TLPOBJ.pm4
-rw-r--r--Master/tlpkg/TeXLive/TLPSRC.pm6
-rw-r--r--Master/tlpkg/TeXLive/TLTREE.pm23
-rw-r--r--Master/tlpkg/TeXLive/TeXCatalogue.pm28
5 files changed, 54 insertions, 10 deletions
diff --git a/Master/tlpkg/TeXLive/TLConfFile.pm b/Master/tlpkg/TeXLive/TLConfFile.pm
index ae3f01360bd..4327eba00eb 100644
--- a/Master/tlpkg/TeXLive/TLConfFile.pm
+++ b/Master/tlpkg/TeXLive/TLConfFile.pm
@@ -565,7 +565,8 @@ C<TeXLive::TLConfFile> -- TeX Live generic configuration files
use TeXLive::TLConfFile;
- $conffile = TeXLive::TLConfFile->new($file_name, $comment_char, $separator, $type);
+ my $conffile = TeXLive::TLConfFile->new($file_name, $comment_char,
+ $separator, $type);
$conffile->file;
$conffile->cc;
$conffile->sep;
diff --git a/Master/tlpkg/TeXLive/TLPOBJ.pm b/Master/tlpkg/TeXLive/TLPOBJ.pm
index 28f71ad125a..cb16745516f 100644
--- a/Master/tlpkg/TeXLive/TLPOBJ.pm
+++ b/Master/tlpkg/TeXLive/TLPOBJ.pm
@@ -1478,12 +1478,12 @@ C<TeXLive::TLPOBJ> -- TeX Live Package Object (C<.tlpobj>) module
use TeXLive::TLPOBJ;
- my $tlpobj=TeXLive::TLPOBJ->new(name => "foobar");
+ my $tlpobj = TeXLive::TLPOBJ->new(name => "foobar");
=head1 DESCRIPTION
The L<TeXLive::TLPOBJ> module provide access to TeX Live Package Object
-files describing a self-contained package.
+(C<.tlpobj>) files, which describe a self-contained TL package.
=head1 FILE SPECIFICATION
diff --git a/Master/tlpkg/TeXLive/TLPSRC.pm b/Master/tlpkg/TeXLive/TLPSRC.pm
index 948792281fa..1305261ee5b 100644
--- a/Master/tlpkg/TeXLive/TLPSRC.pm
+++ b/Master/tlpkg/TeXLive/TLPSRC.pm
@@ -1256,12 +1256,12 @@ The constructor C<new> returns a new C<TLPSRC> object. The arguments
to the C<new> constructor can be in the usual hash representation for
the different keys above:
- $tlpsrc = TLPSRC->new (name => "foobar",
- shortdesc => "The foobar package");
+ $tlpsrc = TLPSRC->new(name => "foobar",
+ shortdesc => "The foobar package");
=item C<from_file("filename")>
-reads a C<tlpsrc> file from disk. C<filename> can either be a full path
+Reads a C<tlpsrc> file from disk. C<filename> can either be a full path
(if it's readable, it's used), or just a package identifier such as
C<plain>. In the latter case, the directory searched is the C<tlpsrc>
sibling of the C<TeXLive> package directory where C<TLPSRC.pm> was found.
diff --git a/Master/tlpkg/TeXLive/TLTREE.pm b/Master/tlpkg/TeXLive/TLTREE.pm
index 92b4914faa5..89054437014 100644
--- a/Master/tlpkg/TeXLive/TLTREE.pm
+++ b/Master/tlpkg/TeXLive/TLTREE.pm
@@ -19,8 +19,25 @@ C<TeXLive::TLTREE> -- TeX Live tree of all files
=head1 SYNOPSIS
use TeXLive::TLTREE;
- TeXLive::TLTREE->new ();
- ...
+ my $tltree = TeXLive::TLTREE->new();
+
+ $tltree->init_from_svn();
+ $tltree->init_from_statusfile();
+ $tltree->init_from_files();
+ $tltree->init_from_git();
+ $tltree->init_from_gitsvn();
+ $tltree->print();
+ $tltree->find_alldirs();
+ $tltree->print_node();
+ $tltree->walk_tree();
+ $tltree->add_path_to_tree();
+ $tltree->file_svn_lastrevision();
+ $tltree->size_of();
+ $tltree->get_matching_files();
+ $tltree->files_under_path();
+ $tltree->svnroot();
+ $tltree->revision();
+ $tltree->architectures();
=head1 DESCRIPTION
@@ -549,8 +566,8 @@ sub architectures {
return defined $self->{'archs'} ? @{ $self->{'archs'} } : ();
}
-
1;
+__END__
=head1 SEE ALSO
diff --git a/Master/tlpkg/TeXLive/TeXCatalogue.pm b/Master/tlpkg/TeXLive/TeXCatalogue.pm
index 014ab02da03..e7a753a63ad 100644
--- a/Master/tlpkg/TeXLive/TeXCatalogue.pm
+++ b/Master/tlpkg/TeXLive/TeXCatalogue.pm
@@ -23,6 +23,33 @@ sub module_revision { return $_modulerevision; }
C<TeXLive::TeXCatalogue> - TeX Live access to the TeX Catalogue from CTAN
+=head1 SYNOPSIS
+
+ use TeXLive::TeXCatalogue;
+ my $texcat = TeXLive::TLTREE->new();
+
+ $texcat->initialize();
+ $texcat->beautify();
+ $texcat->name();
+ $texcat->license();
+ $texcat->version();
+ $texcat->caption();
+ $texcat->description();
+ $texcat->ctan();
+ $texcat->texlive();
+ $texcat->miktex();
+ $texcat->docs();
+ $texcat->entry();
+ $texcat->alias();
+ $texcat->also();
+ $texcat->topics();
+ $texcat->contact();
+ $texcat->new();
+ $texcat->initialize();
+ $texcat->quest4texlive();
+ $texcat->location();
+ $texcat->entries();
+
=head1 DESCRIPTION
The L<TeXLive::TeXCatalogue> module provides access to the data stored
@@ -340,7 +367,6 @@ sub entries {
1;
__END__
-
=head1 SEE ALSO