1 [% PROCESS 'config/archive_layout.tmpl' %]
2 [%- PROCESS 'html/head.tmpl'
3 title_tag = ( is_source ? "Details of source package $pkg in $suite"
4 : "Details of package $pkg in $suite" )
6 keywords = "$suite, $archive, $section, $subsection, $version"
7 print_search_field = 'packages'
8 search_field_values = {
9 searchon => is_source ? 'sourcenames' : 'names',
11 navigation = [ { prefix=>'Distribution:', title=>'Overview over this suite', url=>make_url('/'), name=>suite },
12 { prefix=>'Section:', title=>'All packages in this section', url=>make_url("$subsection/"), name=>subsection },
13 { prefix=>'Package:', name=>pkg } ]
16 [% PROCESS 'html/menu.inc' %]
17 [% FOREACH s IN suites %]
18 [% '<div id="pothers">' IF loop.first %]
20 [% PROCESS menuitem name=s url='' %]
22 [% PROCESS menuitem name=s url=make_url(pkg,'','suite',s) %]
24 [%- '</div>' IF loop.last -%]
29 [% PROCESS menuitem prefix='Source:' title='Source package building this package' url=make_url(src.pkg,'','source','source') name=src.pkg %]
33 [%- PROCESS 'html/messages.tmpl' -%]
36 <h1>Virtual Package: [% pkg %]
38 <h1>Source Package: [% pkg %] ([% version %])
40 <h1>Package: [% pkg %] ([% versions.short %])
42 [%- PROCESS marker text=archive IF archive && archive != main_archive %]
43 [%- PROCESS marker text=subsection IF subsection == 'non-US' and archive != 'non-US' %]
44 [%- PROCESS marker text=section IF section && section != main_section %]
45 [%- PROCESS marker text='essential' IF page.get_newest('essential') == 'yes' %]</h1>
47 [% IF suite == "experimental" || subsection == "debian-installer" %]
48 <div class="pconstantnag">
49 [% IF suite == "experimental" %]
50 <h2>Experimental package</h2>
51 <p>Warning: This package is from the <strong>experimental</strong> distribution.
52 That means it is likely unstable or buggy, and it may even cause data loss.
53 Please be sure to consult the changelog and other possible documentation before
56 [% IF subsection == "debian-installer" %]
57 <h2>debian-installer udeb package</h2>
58 <p>Warning: This package is intended for the use in building
59 <a href="http://www.debian.org/devel/debian-installer">debian-installer</a> images only.
60 Do not install it on a normal Debian system.</p>
65 [% UNLESS is_virtual %]
68 <h2>[% desc.short %]</h2>
71 </div> <!-- end pdesc -->
74 [% FOREACH tag IN tags %]
77 <a href="[% tags_url %]edit.html?pkg=[% pkg | uri %]">Tags</a>:
79 [% tag %][% ', ' UNLESS loop.last %]
82 </div> <!-- end ptags -->
86 [% FOREACH providers %]
87 [% IF loop.first %]<div id="pdeps"><h2>Packages providing [% pkg %]</h2><dl>[% END %]
88 <dt>[% IF available %]<a href="[% make_url(name,'','source','') %]">[% name %]</a>[% ELSE %][% name %][% END %]</dt>
90 [% '</dl></div>' IF loop.last %]
93 [% FOREACH binaries %]
94 [% IF loop.first %]<div class="pdesc">The following binary packages are built from this source package:<dl>[% END %]
95 <dt>[% IF available %]<a href="[% make_url(name,'','source','') %]">[% name %]</a>[% ELSE %][% name %][% END %]</dt>
97 [% '</dl></div>' IF loop.last %]
100 [% FOREACH relations %]
103 <h2>Other Packages Related to [% pkg %]</h2>
105 <table id="pdeplegend" summary="legend"><tr>
107 <td><img src="/Pics/adep.gif" alt="[adep]" width="16" height="16">= build-depends</td>
108 <td><img src="/Pics/idep.gif" alt="[idep]" width="16" height="16">= build-depends-indep</td>
110 <td><img src="/Pics/dep.gif" alt="[dep]" width="16" height="16">= depends</td>
111 <td><img src="/Pics/rec.gif" alt="[rec]" width="16" height="16">= recommends</td>
112 <td><img src="/Pics/sug.gif" alt="[sug]" width="16" height="16">= suggests</td>
117 <ul class="ul[% id %]">
119 [% '<li>' UNLESS is_old_pkgs %]
120 [% FOREACH alternatives %]
121 [% '<dl>' IF loop.first %]
122 <dt>[% IF loop.first %]<img class="hidecss" src="/Pics/[% id %].gif" alt="[[% id %]]">[% ELSE %]or [% END %]
123 [% IF suite %]<a href="[% make_url(name,'','suite',suite,'source','') %]">[% name %]</a>[% ELSE %][% name %][% END %]
124 [% ' (' _ version _ ')' IF version %]
125 [% ' [' _ arch_str _ ']' IF arch_str %]</dt>
126 [%- IF !is_old_pkgs -%]
128 [%- IF providers.pkgs.size > 0 -%]
129 [% '<br>also a ' IF providers.also %]virtual package provided by
131 <span id="js_[% js_id %]" class="p_js_elem"></span> <span id="html_[% js_id %]">[% FOREACH provider IN providers.pkgs %]<a href="[% make_url(provider,'','suite',suite,'source','') %]">[% provider %]</a>[% ', ' UNLESS loop.last %][% END %]</span>
132 [% IF providers.pkgs.size > 10 %]
133 <script type="text/javascript">init_toggle_elem("[% js_id %]","[% providers.pkgs.size %] providing packages")</script>
138 [% '</dl>' IF loop.last %]
144 </div> <!-- end pdeps -->
148 [% FOREACH downloads %]
151 <h2>Download [% pkg %]</h2>
153 <table summary="The download table links to the download of the package and a file overview. In addition it gives information about the package size and the installed size.">
154 <caption class="hidecss">Download for all available architectures</caption>
155 <tr><th>Architecture</th>[% '<th>Version</th>' IF versions.multiple %]<th>Package Size</th><th>Installed Size</th><th>Files</th></tr>
159 [% download_url = pkg _ '/' _ arch _ '/download'
160 filelist_url = pkg _ '/' _ arch _ '/filelist' %]
161 <th><a href="[% make_url(download_url) | uri %]">[% arch %]</a></th>
162 [% '<td>' _ version _ '</td>' IF versions.multiple %]
163 <td class="size">[% pkgsize %] kB</td><td class="size">[% instsize %] kB</td>
165 [% IF contents_avail %]
166 [<a href="[% make_url(filelist_url) | uri %]">list of files</a>]
168 no current information
176 </div> <!-- end pdownload -->
180 [% FOREACH srcfiles %]
183 <h2>Download [% pkg %]</h2>
185 <table summary="Download information for the files of this source package">
186 <tr><th>File</th><th>Size (in kB)</th><th>md5sum</th></tr>
190 <td><a href="[% server _ path %]">[% filename %]</a></td>
192 <td class="md5sum">[% md5sum %]</td>
198 </div> <!-- end pdownload -->
203 [% UNLESS is_virtual %]
205 <h2>More Information on [% pkg %]</h2><p>
206 Check for <a href="[% (is_source ? src_bugs_url : bugs_url) _ pkg | uri %]">Bug Reports</a> about [% pkg %].<br>
208 Source Package: <a href="[% src.url %]">[% src.pkg %]</a>, Download:
209 [% FOREACH src.downloads %]
210 <a href="[% server _ path %]">[[% name %]]</a>
212 [% IF src.downloads.size == 0 %]
218 <br>View the <a href="[% changelogs_url _ files.changelog.path %]">Debian changelog</a><br>
219 View the <a href="[% changelogs_url _ files.copyright.path %]">copyright file</a></p>
222 [% IF maintainers.size == 1 -%]
223 [%- FOREACH maintainers -%]
224 <a href="mailto:[% mail %]">[% name | html %]</a> is responsible for this Debian package.
227 [%- FOREACH maintainers -%]
228 [%- IF loop.first -%]
229 <a href="mailto:[% mail %]">[% name | html %]</a>
230 [%- ELSIF loop.last -%]
231 and <a href="mailto:[% mail %]">[% name | html %]</a> are responsible for this Debian package.
233 , <a href="mailto:[% mail %]">[% name | html %]</a>
238 See the <a href="[% pts_url _ src.pkg | uri %]">developer information for [% pkg %]</a>.
239 [% ELSIF is_source %]
240 See the <a href="[% pts_url _ pkg | uri %]">developer information for [% pkg %]</a>.
242 [% # use url only for source packages
243 # otherwise we have too often two home page links
244 url = page.get_newest('url');
245 IF is_source && url %]
246 <p>Homepage: <a href="[% url | uri %]">[% url | html %]</a></p>
248 [% #FIXME: should this only be used for the PTS?
249 known_vcs = [ [ 'cvs', 'CVS' ],
250 [ 'svn', 'Subversion' ],
253 [ 'arch', 'arch' ] ];
254 FOREACH vcs IN known_vcs;
255 vcs_id = vcs.0; vcs_name = vcs.1;
256 vcs_info = page.get_newest("vcs-$vcs_id");
257 SET vcs_info = page.get_newest("x-vcs-$vcs_id") UNLESS vcs_info;
259 <p>Repository for Debian package: <a href="[% vcs_info %]" class="pvcslink">[% vcs_info %]</a> (<acronym title="Version Control System">VCS</acronym>: [% vcs_name %])</p>
263 <p>Search for <a href="[% (is_source ? src_search_url : search_url) _ pkg | uri %]">other versions of [% pkg %]</a></p>
264 </div> <!-- end pmoreinfo -->