1 [% PROCESS 'config/archive_layout.tmpl' %]
2 [% PROCESS 'config/mirrors.tmpl' %]
3 [%- known_vcs = [ [ 'cvs', 'CVS', 'cvs' ],
4 [ 'svn', 'Subversion', 'subversion' ],
5 [ 'bzr', 'bzr', 'bzr' ],
6 [ 'darcs', 'Darcs', 'darcs' ],
7 [ 'arch', 'arch', 'tla' ],
8 [ 'git', 'Git', 'git-core' ],
9 [ 'hg', 'Hg', 'mercurial' ], ];
10 vcs_link = page.get_newest("vcs-browser");
12 [%- nav_arr = [ { prefix=>'Distribution:', title=>'Overview over this suite', url=>make_url('/','','source',''), name=>suite }, ];
13 nav_arr.push( { title => 'Source packages', url=>make_url('/'), name=>'Source' } ) IF is_source;
14 nav_arr.push( { prefix=>'Section:', title=>'All packages in this section', url=>make_url("$subsection/"), name=>subsection } );
15 nav_arr.push( { prefix=>'Package:', name=>pkg } ); -%]
17 SET desclang = lang IF desc.$lang.long %]
18 [%- PROCESS 'html/head.tmpl'
19 title_tag = ( is_source ? "Details of source package $pkg in $suite"
20 : "Details of package $pkg in $suite" )
21 description = desc.$desclang.short
22 keywords = "$suite, $archive, $section, $subsection, $version"
23 print_search_field = 'packages'
24 search_field_values = {
25 searchon => is_source ? 'sourcenames' : 'names',
30 [% PROCESS 'html/menu.inc' %]
31 [% FOREACH s IN suites %]
32 [% '<div id="pothers">' IF loop.first %]
34 [% PROCESS menuitem name=s url='' %]
36 [% PROCESS menuitem name=s url=make_url(pkg,'','suite',s) %]
38 [%- '</div>' IF loop.last -%]
43 [% PROCESS menuitem prefix='Source:' title='Source package building this package' url=make_url(src.pkg,'','source','source') name=src.pkg %]
47 [%- PROCESS 'html/messages.tmpl' -%]
50 <h1>Virtual Package: [% pkg %]
52 <h1>Source Package: [% pkg %] ([% version %])
54 <h1>Package: [% pkg %] ([% versions.short %])
56 [%- PROCESS marker text=archive IF archive && archive != main_archive %]
57 [%- PROCESS marker text=section IF section && section != main_section %]
58 [%- PROCESS marker text='essential' IF page.get_newest('essential') == 'yes' %]</h1>
60 [% UNLESS is_virtual %]
62 <h2>Links for [% pkg %]</h2>
63 <h3>Debian Resources:</h3>
65 <li><a href="[% (is_source ? src_bugs_url : bugs_url) _ pkg | uri %]">Bug Reports</a></li>
68 <li><a href="[% pts_url _ src.pkg | uri %]">Developer Information (PTS)</a></li>
70 <li><a href="[% pts_url _ pkg | uri %]">Developer Information (PTS)</a></li>
73 [% IF files && (!archive or archive == main_archive or archive == 'security') %]
74 <li><a href="[% changelogs_url _ files.changelog.path %]">Debian Changelog</a></li>
75 <li><a href="[% changelogs_url _ files.copyright.path %]">Copyright File</a></li>
79 <li><a href="[% vcs_link %]" class="pvcslink">Debian Source Repository</a>
80 [%- FOREACH vcs IN known_vcs;
81 vcs_id = vcs.0; vcs_name = vcs.1; vcs_pkg = vcs.2;
82 vcs_info = page.get_newest("vcs-$vcs_id");
83 SET vcs_info = page.get_newest("x-vcs-$vcs_id") UNLESS vcs_info;
85 (<a href="[% vcs_info %]" class="pvcslink">[% vcs_name %]</a>)
93 <p>Download Source Package <a href="[% src.url %]">[% src.pkg %]</a>:
94 [% FOREACH src.downloads %]
95 [% '<ul>' IF loop.first %]
96 <li><a href="[% server _ path %]">[[% name %]]</a></li>
97 [% '</ul>' IF loop.last %]
99 [% IF src.downloads.size == 0 %]
104 [% IF maintainers.size == 1 -%]
107 <h3>Maintainers:</h3>
109 [%- FOREACH maintainers -%]
110 [%- '<ul>' IF loop.first -%]
111 <li><a href="mailto:[% mail %]">[% name | html %]</a>
112 (<a href="[% ddpo_url _ mail %]" title="An overview over the maintainer's packages and uploads">QA Page</a>)
114 [%- '</ul>' IF loop.last -%]
117 [% url = page.get_newest('url');
118 SET url = page.get_newest('homepage') IF page.get_newest('homepage');
120 <h3>External Resources:</h3>
122 <li><a href="[% url | uri %]">Homepage</a> [[% extract_host(url) %]]</li>
126 [% FOREACH sim IN similar %]
128 <h3>Similar packages:</h3>
131 <li><a href="/[% sim %]">[% sim %]</a></li>
132 [% '</ul>' IF loop.last %]
135 </div> <!-- end pmoreinfo -->
138 [% IF suite == "experimental" || subsection == "debian-installer" %]
139 <div class="pconstantnag">
140 [% IF suite == "experimental" %]
141 [% changelog_link = 'changelog';
142 changelog_link = "<a href='$changelogs_url$files.changelog.path'>changelog</a>" %]
143 <h2>Experimental package</h2>
144 <p>Warning: This package is from the <strong>experimental</strong> distribution.
145 That means it is likely unstable or buggy, and it may even cause data loss.
146 Please be sure to consult the [% changelog_link %] and other possible documentation before
149 [% IF subsection == "debian-installer" %]
150 <h2>debian-installer udeb package</h2>
151 <p>Warning: This package is intended for the use in building
152 <a href="http://www.debian.org/devel/debian-installer">debian-installer</a> images only.
153 Do not install it on a normal Debian system.</p>
164 [% UNLESS is_virtual %]
165 [% IF desc.$desclang.short %]
166 <h2>[% desc.$desclang.short %]</h2>
167 <p>[% desc.$desclang.long %]
170 <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>
172 </div> <!-- end pdesc -->
174 [% FOREACH tag IN tags %]
177 <a href="[% tags_url %]edit.html?pkg=[% pkg | uri %]">Tags</a>:
180 facet_name = debtags_voc.$facet;
181 tag_id = "$tag.0::$tag.1";
182 tag_name = debtags_voc.$tag_id;
184 [% facet_name _ ': ' UNLESS old_facet && facet == old_facet %]
186 <a href="/about/debtags#[% string2id(tag_id) %]">[% tag_name %]</a>[% ', ' UNLESS loop.last %]
188 [% tag_id %][% ', ' UNLESS loop.last %]
190 [% old_facet = facet %]
193 </div> <!-- end ptags -->
197 [% FOREACH providers %]
198 [% IF loop.first %]<div id="pdeps"><h2>Packages providing [% pkg %]</h2><dl>[% END %]
199 <dt>[% IF available %]<a href="[% make_url(name,'','source','') %]">[% name %]</a>[% ELSE %][% name %][% END %]</dt>
201 [% '</dl></div>' IF loop.last %]
203 </div> <!-- pdesctab -->
206 [% FOREACH binaries %]
207 [% IF loop.first %]<div id="pbinaries">The following binary packages are built from this source package:<dl>[% END %]
208 <dt>[% IF available %]<a href="[% make_url(name,'','source','') %]">[% name %]</a>[% ELSE %][% name %][% END %]</dt>
210 [% '</dl></div>' IF loop.last %]
213 [% FOREACH relations %]
216 <h2>Other Packages Related to [% pkg %]</h2>
218 <table id="pdeplegend" summary="legend"><tr>
220 <td><img src="/Pics/adep.gif" alt="[adep]" width="16" height="16">= build-depends</td>
221 <td><img src="/Pics/idep.gif" alt="[idep]" width="16" height="16">= build-depends-indep</td>
223 <td><img src="/Pics/dep.gif" alt="[dep]" width="16" height="16">= depends</td>
224 <td><img src="/Pics/rec.gif" alt="[rec]" width="16" height="16">= recommends</td>
225 <td><img src="/Pics/sug.gif" alt="[sug]" width="16" height="16">= suggests</td>
230 <ul class="ul[% id %]">
232 [% '<li>' UNLESS is_old_pkgs %]
233 [% FOREACH alternatives %]
234 [% '<dl>' IF loop.first %]
235 <dt>[% IF loop.first %]<img class="hidecss" src="/Pics/[% id %].gif" alt="[[% id %]]">[% ELSE %]or [% END %]
236 [% IF suite %]<a href="[% make_url(name,'','suite',suite,'source','') %]">[% name %]</a>[% ELSE %][% name %][% END %]
237 [% ' (' _ version _ ')' IF version %]
238 [% ' [' _ arch_str _ ']' IF arch_str %]</dt>
239 [%- IF !is_old_pkgs -%]
241 [%- IF providers.pkgs.size > 0 -%]
242 [% '<br>also a ' IF providers.also %]virtual package provided by
244 <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>
245 [% IF providers.pkgs.size > 10 %]
246 <script type="text/javascript">init_toggle_elem("[% js_id %]","[% providers.pkgs.size %] providing packages")</script>
251 [% '</dl>' IF loop.last %]
257 </div> <!-- end pdeps -->
261 [% FOREACH d IN downloads %]
264 <h2>Download [% pkg %]</h2>
266 <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.">
267 <caption class="hidecss">Download for all available architectures</caption>
268 <tr><th>Architecture</th>[% '<th>Version</th>' IF versions.multiple %]<th>Package Size</th><th>Installed Size</th><th>Files</th></tr>
272 [% download_url = pkg _ '/' _ d.arch _ '/download'
273 filelist_url = pkg _ '/' _ d.arch _ '/filelist' %]
274 <th><a href="[% make_url(download_url) | uri %]">[% d.arch %]</a>
275 [%- SET a = d.archive; IF mirrors.$a.unofficial_port %] <strong>(unofficial port)</strong>[% END %]</th>
276 [% vnorm = d.version.replace( '\+b\d+$', '' ); vlatest = version.replace( '\+b\d+$', '' );
277 vup = vnorm.replace( '-[^-]+$', '' ); vuplatest = vlatest.replace( '-[^-]+$', '' );
279 version_class = 'vcurrent';
280 ELSIF vup == vuplatest;
281 version_class = 'volder';
283 version_class = 'vold';
285 [% "<td class='$version_class'>$d.version</td>" IF versions.multiple %]
286 <td class="size">[% d.pkgsize %] kB</td><td class="size">[% d.instsize %] kB</td>
288 [% IF d.contents_avail %]
289 [<a href="[% make_url(filelist_url) | uri %]">list of files</a>]
291 no current information
299 </div> <!-- end pdownload -->
303 [% FOREACH srcfiles %]
306 <h2>Download [% pkg %]</h2>
308 <table summary="Download information for the files of this source package">
309 <tr><th>File</th><th>Size (in kB)</th><th>md5sum</th></tr>
313 <td><a href="[% server _ path %]">[% filename %]</a></td>
315 <td class="md5sum">[% md5sum %]</td>
321 [% FOREACH vcs IN known_vcs;
322 vcs_id = vcs.0; vcs_name = vcs.1; vcs_pkg = vcs.2;
323 vcs_info = page.get_newest("vcs-$vcs_id");
324 SET vcs_info = page.get_newest("x-vcs-$vcs_id") UNLESS vcs_info;
327 <dt>Debian Package Source Repository (<acronym title="Version Control System">VCS</acronym>: <a href="[% make_url(vcs_pkg,'','source','') %]">[% vcs_name %]</a>)</dt>
328 <dd><a href="[% vcs_info %]" class="pvcslink">[% vcs_info %]</a></dd>
330 <dt>Debian Package Source Repository (Browsable)</dt><dd><a href="[% vcs_link %]" class="pvcslink">[% vcs_link %]</a></dd>
335 </div> <!-- end pdownload -->
339 [%# <script type="text/javascript">init_tab_list("ptablist")</script> %]
341 [%- PROCESS 'html/foot.tmpl' -%]