Adding side stream changes to Maemian. Working to integrate full upstream libraries...
[maemian] / nokia-lintian / reporting / templates / packages.tmpl
1 { head("Lintian Package Index: $section") }
2   <h1>Package Index: {$section}</h1>
3
4   <p>
5     This is a list of all source or binary packages that have at least one
6     lintian tag.  This includes all tags, even experimental and info tags
7     and tags that were overridden.  The list is huge, so it's broken into
8     four separate pages.  This page covers package names starting with
9     {$section}.
10   </p>
11
12   <p>
13       <a href="packages_1.html">0-9, A-F</a>
14     | <a href="packages_2.html">G-L</a>
15     | <a href="packages_3.html">M-R</a>
16     | <a href="packages_4.html">S-Z</a>
17   </p>
18
19 {
20     # Put headings before each new initial letter.
21     my $letter = '';
22     for my $package (@list) {
23         my $first = uc substr($package, 0, 1);
24         if ($first ne $letter) {
25             $OUT .= "  </p>\n\n" if $letter;
26             $OUT .= qq(  <h2>$first</h2>\n\n  <p>\n);
27             $letter = $first;
28         }
29         $OUT .= qq(    <a href="full/$packages{$package}">$package</a>\n);
30     }
31 }  </p>
32 { foot() }