| 1 |
#use wml::templ::template title="Man page" author="Martin Michlmayr"
|
| 2 |
|
| 3 |
<P>As per Debian's Policy, every executable file in Debian has to
|
| 4 |
supply a man page. However, many packages don't follow this
|
| 5 |
requirement yet. Below is a listing of all executables for which no
|
| 6 |
corresponding man page is available yet. If you use any of these
|
| 7 |
packages listed below, please consider writing a man page for its
|
| 8 |
executable files and submit it to the
|
| 9 |
<A HREF = "http://bugs.debian.org">Bug Tracking System</A> (BTS).
|
| 10 |
|
| 11 |
<P>Writing man pages is not very difficult. You can simply look at
|
| 12 |
some man pages in /usr/share/man and follow their structure (also see the
|
| 13 |
file /usr/share/doc/man-db/examples/manpage.example). Furthermore, some
|
| 14 |
information about the format of man pages is available
|
| 15 |
in the man page of
|
| 16 |
<A HREF = "http://Linux.com.hk/man/showman.cgi?url=http://linux.com.hk/man/man7/man.7.inc">man</A>
|
| 17 |
(man 7 man) and
|
| 18 |
<A HREF = "http://www.perl.com/pub/doc/manual/html/utils/pod2man.html">pod2man</A>
|
| 19 |
(man 1 pod2man). Finally, you can also install the package help2man (man
|
| 20 |
help2man) which is an automatic manpage generator.
|
| 21 |
|
| 22 |
<P>When you decide to help out, please write the man pages for a whole
|
| 23 |
package. Send e-mail to man-pages@qa.debian.org and tell us which
|
| 24 |
package you are working on. We can then add you to this web site so other
|
| 25 |
people know that someone is working on that particular package already.
|
| 26 |
|
| 27 |
<P>When you have written a man page, please let us know at
|
| 28 |
man-pages@qa.debian.org and submit the man page to the BTS.
|
| 29 |
If you have written a man page for the executable file <I>foobar</I>
|
| 30 |
in the package <I>bar</I>, you would send a bug report like this:
|
| 31 |
|
| 32 |
<PRE>
|
| 33 |
To: submit@bugs.debian.org
|
| 34 |
Subject: man page for foobar
|
| 35 |
|
| 36 |
Package: bar
|
| 37 |
Tags: patch
|
| 38 |
|
| 39 |
<attach foobar.1 here>
|
| 40 |
</PRE>
|
| 41 |
|
| 42 |
<:
|
| 43 |
|
| 44 |
$missing = 0;
|
| 45 |
open(LINTIAN, "/org/qa.debian.org/data/lintian.txt") || die "Cannot open lintian report";
|
| 46 |
while(<LINTIAN>) {
|
| 47 |
(undef, $package, $error) = split(/: /);
|
| 48 |
|
| 49 |
if ($error =~ /^(link-to-undocumented-manpage|binary-without-manpage)/) {
|
| 50 |
(undef, $file) = split(/ /, $error);
|
| 51 |
push(@{$man{$package}}, $file);
|
| 52 |
$missing++;
|
| 53 |
}
|
| 54 |
}
|
| 55 |
close(LINTIAN);
|
| 56 |
|
| 57 |
$in_work = 0;
|
| 58 |
open(HELPERS, "/org/qa.debian.org/data/man-page-help.txt") || die "Cannot open helpers file";
|
| 59 |
while($package = <HELPERS>) {
|
| 60 |
chomp($package);
|
| 61 |
$who = <HELPERS>;
|
| 62 |
$who =~ s/\<.+\>//;
|
| 63 |
chomp($who);
|
| 64 |
$who =~ s/\s+$//;
|
| 65 |
<HELPERS>; # ignore starting date
|
| 66 |
$worked_on{$package} = $who;
|
| 67 |
$in_work += $#{$man{$package}} + 1;
|
| 68 |
}
|
| 69 |
close(HELPERS);
|
| 70 |
|
| 71 |
printf "<P>In total $missing man pages are missing at the moment. ";
|
| 72 |
printf scalar(keys %worked_on);
|
| 73 |
printf " packages ($in_work man pages) are being worked on.</P>\n";
|
| 74 |
|
| 75 |
foreach $package (sort keys %man) {
|
| 76 |
printf "<H2><A HREF = \"http://packages.debian.org/cgi-bin/search_packages.pl?keywords=$package&searchon=names&version=unstable&release=all\">$package</A></H2>";
|
| 77 |
if (exists($worked_on{$package})) {
|
| 78 |
printf "<PRE>\n";
|
| 79 |
printf ($worked_on{$package} . " is working on this package\n");
|
| 80 |
printf "</PRE>\n";
|
| 81 |
}
|
| 82 |
printf " <UL>\n";
|
| 83 |
foreach (@{$man{$package}}) {
|
| 84 |
s/\.gz$//;
|
| 85 |
s#.*/##;
|
| 86 |
printf " <LI>$_\n";
|
| 87 |
}
|
| 88 |
printf " </UL>\n";
|
| 89 |
}
|
| 90 |
|
| 91 |
:>
|
| 92 |
|