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 [% UNLESS is_virtual %]
49 <h2>Links for [% pkg %]</h2>
50 <h3>Debian Resources:</h3>
52 <li><a href="[% (is_source ? src_bugs_url : bugs_url) _ pkg | uri %]">Bug Reports</a></li>
55 <li><a href="[% pts_url _ src.pkg | uri %]">Developer Information (PTS)</a></li>
57 <li><a href="[% pts_url _ pkg | uri %]">Developer Information (PTS)</a></li>
61 <li><a href="[% changelogs_url _ files.changelog.path %]">Debian Changelog</a></li>
62 <li><a href="[% changelogs_url _ files.copyright.path %]">Copyright File</a></li>
66 [% vcs_link = page.get_newest("vcs-browser") %]
67 [% #FIXME: should this only be used for the PTS?
68 known_vcs = [ [ 'cvs', 'CVS', 'cvs' ],
69 [ 'svn', 'Subversion', 'subversion' ],
70 [ 'bzr', 'bzr', 'bzr' ],
71 [ 'darcs', 'Darcs', 'darcs' ],
72 [ 'arch', 'arch', 'tla' ],
73 [ 'git', 'Git', 'git-core' ],
74 [ 'hg', 'Hg', 'mercurial' ], ];
75 FOREACH vcs IN known_vcs;
76 vcs_id = vcs.0; vcs_name = vcs.1; vcs_pkg = vcs.2;
77 vcs_info = page.get_newest("vcs-$vcs_id");
78 SET vcs_info = page.get_newest("x-vcs-$vcs_id") UNLESS vcs_info;
80 <p>Debian Package Repository (<acronym title="Version Control System">VCS</acronym>:
81 <a href="[% make_url(vcs_pkg,'','source','') %]">[% vcs_name %]</a>):<br> <a href="[% vcs_info %]" class="pvcslink">[% vcs_info %]</a></p>
83 <p>Debian Package Repository (Browsable):<br> <a href="[% vcs_link %]" class="pvcslink">[% vcs_link %]</a></p>
87 <p>Download Source Package <a href="[% src.url %]">[% src.pkg %]</a>:
88 [% FOREACH src.downloads %]
89 [% '<ul>' IF loop.first %]
90 <li><a href="[% server _ path %]">[[% name %]]</a></li>
91 [% '</ul>' IF loop.last %]
93 [% IF src.downloads.size == 0 %]
98 [% IF maintainers.size == 1 -%]
100 [%- FOREACH maintainers -%]
101 <a href="mailto:[% mail %]">[% name | html %]</a>
102 (<a href="[% ddpo_url _ mail %]" title="An overview over the maintainter's packages and uploads">QA Page</a>)
105 <h3>Maintainers:</h3>
106 [%- FOREACH maintainers -%]
107 [%- '<ul>' IF loop.first -%]
108 <li><a href="mailto:[% mail %]">[% name | html %]</a>
109 (<a href="[% ddpo_url _ mail %]" title="An overview over the maintainter's packages and uploads">QA Page</a>)
111 [%- '</ul>' IF loop.last -%]
115 [% url = page.get_newest('url');
117 <h3>External Resources:</h3>
118 <p>Homepage: <a href="[% url | uri %]">[% url | html %]</a></p>
121 </div> <!-- end pmoreinfo -->
124 [% IF suite == "experimental" || subsection == "debian-installer" %]
125 <div class="pconstantnag">
126 [% IF suite == "experimental" %]
127 [% changelog_link = 'changelog';
128 changelog_link = "<a href='$changelogs_url$files.changelog.path'>changelog</a>" %]
129 <h2>Experimental package</h2>
130 <p>Warning: This package is from the <strong>experimental</strong> distribution.
131 That means it is likely unstable or buggy, and it may even cause data loss.
132 Please be sure to consult the [% changelog_link %] and other possible documentation before
135 [% IF subsection == "debian-installer" %]
136 <h2>debian-installer udeb package</h2>
137 <p>Warning: This package is intended for the use in building
138 <a href="http://www.debian.org/devel/debian-installer">debian-installer</a> images only.
139 Do not install it on a normal Debian system.</p>
145 [% UNLESS is_virtual %]
147 <h2>[% desc.short %]</h2>
151 <p>This is a <em>virtual package</em>. See the <a href="[% policy_url %]">Debian policy</a> for a <a href="[% policy_url %]ch-binary.html#s-virtual_pkg">definition of virtual packages</a>.</p>
153 </div> <!-- end pdesc -->
155 [% FOREACH tag IN tags %]
158 <a href="[% tags_url %]edit.html?pkg=[% pkg | uri %]">Tags</a>:
161 facet_name = debtags_voc.$facet;
162 tag_id = "$tag.0::$tag.1";
163 tag_name = debtags_voc.$tag_id;
165 [% facet_name _ ': ' UNLESS old_facet && facet == old_facet %]
167 <a href="/about/debtags#[% string2id(tag_id) %]">[% tag_name %]</a>[% ', ' UNLESS loop.last %]
169 [% tag_id %][% ', ' UNLESS loop.last %]
171 [% old_facet = facet %]
174 </div> <!-- end ptags -->
178 [% FOREACH providers %]
179 [% IF loop.first %]<div id="pdeps"><h2>Packages providing [% pkg %]</h2><dl>[% END %]
180 <dt>[% IF available %]<a href="[% make_url(name,'','source','') %]">[% name %]</a>[% ELSE %][% name %][% END %]</dt>
182 [% '</dl></div>' IF loop.last %]
185 [% FOREACH binaries %]
186 [% IF loop.first %]<div class="pdesc">The following binary packages are built from this source package:<dl>[% END %]
187 <dt>[% IF available %]<a href="[% make_url(name,'','source','') %]">[% name %]</a>[% ELSE %][% name %][% END %]</dt>
189 [% '</dl></div>' IF loop.last %]
192 [% FOREACH relations %]
195 <h2>Other Packages Related to [% pkg %]</h2>
197 <table id="pdeplegend" summary="legend"><tr>
199 <td><img src="/Pics/adep.gif" alt="[adep]" width="16" height="16">= build-depends</td>
200 <td><img src="/Pics/idep.gif" alt="[idep]" width="16" height="16">= build-depends-indep</td>
202 <td><img src="/Pics/dep.gif" alt="[dep]" width="16" height="16">= depends</td>
203 <td><img src="/Pics/rec.gif" alt="[rec]" width="16" height="16">= recommends</td>
204 <td><img src="/Pics/sug.gif" alt="[sug]" width="16" height="16">= suggests</td>
209 <ul class="ul[% id %]">
211 [% '<li>' UNLESS is_old_pkgs %]
212 [% FOREACH alternatives %]
213 [% '<dl>' IF loop.first %]
214 <dt>[% IF loop.first %]<img class="hidecss" src="/Pics/[% id %].gif" alt="[[% id %]]">[% ELSE %]or [% END %]
215 [% IF suite %]<a href="[% make_url(name,'','suite',suite,'source','') %]">[% name %]</a>[% ELSE %][% name %][% END %]
216 [% ' (' _ version _ ')' IF version %]
217 [% ' [' _ arch_str _ ']' IF arch_str %]</dt>
218 [%- IF !is_old_pkgs -%]
220 [%- IF providers.pkgs.size > 0 -%]
221 [% '<br>also a ' IF providers.also %]virtual package provided by
223 <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>
224 [% IF providers.pkgs.size > 10 %]
225 <script type="text/javascript">init_toggle_elem("[% js_id %]","[% providers.pkgs.size %] providing packages")</script>
230 [% '</dl>' IF loop.last %]
236 </div> <!-- end pdeps -->
240 [% FOREACH downloads %]
243 <h2>Download [% pkg %]</h2>
245 <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.">
246 <caption class="hidecss">Download for all available architectures</caption>
247 <tr><th>Architecture</th>[% '<th>Version</th>' IF versions.multiple %]<th>Package Size</th><th>Installed Size</th><th>Files</th></tr>
251 [% download_url = pkg _ '/' _ arch _ '/download'
252 filelist_url = pkg _ '/' _ arch _ '/filelist' %]
253 <th><a href="[% make_url(download_url) | uri %]">[% arch %]</a></th>
254 [% '<td>' _ version _ '</td>' IF versions.multiple %]
255 <td class="size">[% pkgsize %] kB</td><td class="size">[% instsize %] kB</td>
257 [% IF contents_avail %]
258 [<a href="[% make_url(filelist_url) | uri %]">list of files</a>]
260 no current information
268 </div> <!-- end pdownload -->
272 [% FOREACH srcfiles %]
275 <h2>Download [% pkg %]</h2>
277 <table summary="Download information for the files of this source package">
278 <tr><th>File</th><th>Size (in kB)</th><th>md5sum</th></tr>
282 <td><a href="[% server _ path %]">[% filename %]</a></td>
284 <td class="md5sum">[% md5sum %]</td>
290 </div> <!-- end pdownload -->