debian/0000755000000000000000000000000012203736124007166 5ustar debian/control0000644000000000000000000000447711741063623010610 0ustar Source: libtemplate-perl Section: perl Priority: optional Maintainer: Benjamin Mako Hill Build-Depends: debhelper (>= 7.0.50~), perl (>= 5.8), libappconfig-perl (>= 1.56) Standards-Version: 3.9.3 Homepage: http://search.cpan.org/~abw/Template-Toolkit/ Package: libtemplate-perl Architecture: any Depends: ${perl:Depends}, ${shlibs:Depends}, ${misc:Depends}, libappconfig-perl (>= 1.56) Provides: templatetoolkit-perl Suggests: libtemplate-perl-doc, libtemplate-plugin-gd-perl, libtemplate-plugin-xml-perl Description: the "Template Toolkit" template processing system in perl The Template Toolkit is a fast, powerful, flexible, and easily extensible template processing system written in Perl. It is ideally suited for (but not limited) to the creation of static and dynamic web content. It includes support for all standard templating directives and many additional features including output filtering, exception handling, macro definition, support for plugin objects, definition of template metadata, embedded Perl code, and much more. . This package contains the 'tpage' and 'ttree' executables which serve as simple, powerful tools in the creation of static content without any prerequisite knowledge of Perl. It also contains an extensive set of Perl modules ideally suited to act as a templating system in the dynamic creation of web content. . Excellent offline batch processing makes it ideal for generating non-web-based content including POD, LaTeX, PostScript, and plain text from source templates. . This package includes the HTML and Postscript template libraries which provide a number of basic templates for use in building pages in these forms. . This package also includes Doug Steinwand's high-speed drop-in replacement for Template::Stash written in Perl XS. Package: libtemplate-perl-doc Architecture: all Section: doc Depends: ${misc:Depends} Enhances: libtemplate-perl Description: documentation for libtemplate-perl (template toolkit) This package provides the HTML documentation and examples for Andy Wardley's Template Toolkit (libtemplate-perl). This package contains the source, libraries, and styles needed to build the documentation with TT2 in addition to the pre-built HTML. . Manual pages, pod, and perldoc documentation is distributed in libtemplate-perl and libtemplate-stash-perl. debian/README.Debian0000644000000000000000000000066311372335103011232 0ustar libtemplate-perl for Debian --------------------------- Template Toolkit come with a large amount of documentation and examples written as TT2 libraries and source files and built into HTML. In the interest of conserving space for those that don't want this documentation, it has been moved into a separate package and is available in libtemplate-perl-doc. -- Benjamin Hill (Mako) , Sun, 4 Nov 2001 19:21:03 -0500 debian/patches/0000755000000000000000000000000012203736217010620 5ustar debian/patches/vmethods-fix-for-perl5.180000644000000000000000000000613012203736217015220 0ustar Description: apply fix from the upstream git to be compatible with Perl 5.18 Rewrite split handling to use qr// which is consistent before and after the Perl 5.18.0 changes. In perldelta 5.18.0 it reads: split's first argument is more consistently interpreted After some changes earlier in v5.17, split's behavior has been simplified: if the PATTERN argument evaluates to a string containing one space, it is treated the way that a literal string containing one space once was. Also apply a fix to be backward compatible. from https://github.com/abw/Template2/commit/0caac1347e2e3f2fc290f0a4ffc0281b5df68abb and https://github.com/abw/Template2/commit/5d732184712342cdb3750f52b03f8dcc3740b53d . libtemplate-perl (2.24-1.1) unstable; urgency=low . Author: CSILLAG Tamas Author: Andy Wardley Origin: upstream, https://github.com/abw/Template2/commit/0caac1347e2e3f2fc290f0a4ffc0281b5df68abb https://github.com/abw/Template2/commit/5d732184712342cdb3750f52b03f8dcc3740b53d Bug: https://rt.cpan.org/Public/Bug/Display.html?id=84778 Bug-Debian: http://bugs.debian.org/708025 Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=84778 Last-Update: 2013-08-17 --- libtemplate-perl-2.24.orig/lib/Template/VMethods.pm +++ libtemplate-perl-2.24/lib/Template/VMethods.pm @@ -254,21 +254,40 @@ sub text_split { my ($str, $split, $limit) = @_; $str = '' unless defined $str; - # we have to be very careful about spelling out each possible - # combination of arguments because split() is very sensitive - # to them, for example C behaves differently - # to C<$space=' '; split($space, ...)> + # For versions of Perl prior to 5.18 we have to be very careful about + # spelling out each possible combination of arguments because split() + # is very sensitive to them, for example C behaves + # differently to C<$space=' '; split($space, ...)>. Test 33 of + # vmethods/text.t depends on this behaviour. - if (defined $limit) { - return [ defined $split - ? split($split, $str, $limit) - : split(' ', $str, $limit) ]; + if ($] < 5.018) { + if (defined $limit) { + return [ defined $split + ? split($split, $str, $limit) + : split(' ', $str, $limit) ]; + } + else { + return [ defined $split + ? split($split, $str) + : split(' ', $str) ]; + } } - else { - return [ defined $split - ? split($split, $str) - : split(' ', $str) ]; + + # split's behavior changed in Perl 5.18.0 making this: + # C<$space=' '; split($space, ...)> + # behave the same as this: + # C + # qr// behaves the same, so use that for user-defined split. + + my $split_re; + if (defined $split) { + eval { + $split_re = qr/$split/; + }; } + $split_re = ' ' unless defined $split_re; + $limit ||= 0; + return [split($split_re, $str, $limit)]; } sub text_chunk { debian/patches/series0000644000000000000000000000003212203735456012034 0ustar vmethods-fix-for-perl5.18 debian/source/0000755000000000000000000000000011372335103010464 5ustar debian/source/format0000644000000000000000000000001411372335103011672 0ustar 3.0 (quilt) debian/libtemplate-perl-doc.doc-base0000644000000000000000000000073611372351014014575 0ustar Document: libtemplate-perl Title: Template::Toolkit documentation Author: Andy Wardley Abstract: This manual describes the Template::Toolkit perl module Section: Programming/Perl Format: HTML Index: /usr/share/doc/libtemplate-perl-doc/html/index.html Files: /usr/share/doc/libtemplate-perl-doc/html/manual/index.html /usr/share/doc/libtemplate-perl-doc/html/*/*.html /usr/share/doc/libtemplate-perl-doc/html/*/*/*.html /usr/share/doc/libtemplate-perl-doc/html/*/*/*/*.html debian/libtemplate-perl-doc.docs0000644000000000000000000000000611372350762014047 0ustar html/ debian/rules0000755000000000000000000000110011372342336010242 0ustar #!/usr/bin/make -f %: dh $@ build: dh build --before dh_auto_configure [ ! -f $(CURDIR)/lib/Template/Config.pm.orig ] && cp $(CURDIR)/lib/Template/Config.pm $(CURDIR)/lib/Template/Config.pm.orig dh build --remaining override_dh_installdocs: dh_installdocs -X.svn/ clean: dh clean --until dh_auto_clean rm -f $(CURDIR)/.defaults.cfg rm -f $(CURDIR)/t/test/src/divisionbyzero.ttc rm -rf $(CURDIR)/t/test/tmp/cache/* [ ! -f $(CURDIR)/lib/Template/Config.pm.orig ] || mv -f $(CURDIR)/lib/Template/Config.pm.orig $(CURDIR)/lib/Template/Config.pm dh clean --remaining debian/changelog0000644000000000000000000001071212203735456011050 0ustar libtemplate-perl (2.24-1.1) unstable; urgency=low * Non-maintainer upload. * apply fix from the upstream git to be compatible with Perl 5.18 (Closes: #708025) -- CSILLAG Tamas Sat, 17 Aug 2013 15:17:25 +0200 libtemplate-perl (2.24-1) unstable; urgency=low * New upstream release (Closes: #664561) * Bump Standards-Version to 3.9.3 * Changed to the short description to mention the term "Template Toolkit". (LP: #688836) -- Benjamin Mako Hill Sun, 08 Apr 2012 19:06:29 -0400 libtemplate-perl (2.22-0.1) unstable; urgency=low * Non-maintainer upload. * New upstream release (Closes: #545553) * debian/control: - Bump Standards-Version to 3.8.4 - Add Homepage field - Bump minimal debhelper version to 7 - Bump {build-}dependency version on libappconfig-perl - Add ${misc:Depends} dependencies - Remove Conflicts/Replaces: libtemplate-stash-perl * Use '3.0 (quilt)' source format * debian/rules: Use debhelper 7 magic * Add debian/watch file * Add debian/libtemplate-perl.docs to install README and other stuffs -- Laurent Bigonville Tue, 11 May 2010 23:46:27 +0200 libtemplate-perl (2.20-1) unstable; urgency=low * New upstream release. -- Benjamin Mako Hill Wed, 20 Aug 2008 15:21:40 -0400 libtemplate-perl (2.19-1.1) unstable; urgency=low * Non-maintainer upload * Add Suggests: libtemplate-plugin-xml-perl. Closes: #429031 -- Dominic Hargreaves Wed, 30 Jul 2008 21:41:16 +0100 libtemplate-perl (2.19-1) unstable; urgency=low * New upstream release. Closes: #422222 * XS::Stash fixed for tied values. Closes: #408179 -- Benjamin Mako Hill Sun, 13 May 2007 19:14:51 -0400 libtemplate-perl (2.15-1) unstable; urgency=low * Fixes FTBFS under sudo. Closes: #418348 * Remove dependency on libtemplate-plugin-gd-perl. Closes: #411044 -- Benjamin Mako Hill Tue, 10 Apr 2007 01:00:35 -0400 libtemplate-perl (2.15-0.0) unstable; urgency=low * Non-maintainer upload by arrangement with Mako * New upstream release. Closes: #393311 * Split out some plugin modules into separate packages. This means that libtemplate-plugin-gd-perl is now a dependency to allow transition to this scheme. See NEWS.Debian for more information. -- Dominic Hargreaves Wed, 17 Jan 2007 16:35:09 +0000 libtemplate-perl (2.14-1) unstable; urgency=low * New upstream release. Closes: #230417 * Adds suggests for several plugins. Closes: #226933 * Gives full paths for LaTeX and co. Closes: #246272 -- Benjamin Hill (Mako) Sat, 4 Dec 2004 20:56:28 -0500 libtemplate-perl (2.13-1) unstable; urgency=low * New upstream release. Closes: #230417 * Fix LaTeX and related path issues. Closes: #246272 -- Benjamin Hill (Mako) Sun, 16 May 2004 19:01:07 -0300 libtemplate-perl (2.10-1) unstable; urgency=low * New upstream release. Closes: #192053 -- Benjamin Hill (Mako) Sat, 9 Aug 2003 14:06:30 -0700 libtemplate-perl (2.08-1) unstable; urgency=low * New upstream release * Compiled for the new perl 5.8 pacakges. Closes: #158831 * Updated copyright file with pointer to perl's license. Closes: #157654 * Other minor changes. -- Benjamin Hill (Mako) Sat, 31 Aug 2002 03:37:18 -0400 libtemplate-perl (2.07-1) unstable; urgency=low * New upstream release. -- Benjamin Hill (Mako) Tue, 23 Apr 2002 16:31:00 -0400 libtemplate-perl (2.06-3) unstable; urgency=low * ttree won't run without libappconfig-perl. The problem is currently solved by adding a dependency on this package. Closes: #140035 -- Benjamin Hill (Mako) Wed, 3 Apr 2002 00:29:26 -0500 libtemplate-perl (2.06-2) unstable; urgency=low * libtemplate-stash-perl package merged into libtemplate-perl. Closes: #136734 * LaTeX executable paths set to Debian default. * Fixed mispellings in package descriptions. Closes: #125054, #125055 -- Benjamin Hill (Mako) Tue, 5 Mar 2002 18:22:55 -0500 libtemplate-perl (2.06-1) unstable; urgency=low * New upstream release. Closes: #128762 -- Benjamin Hill (Mako) Thu, 21 Feb 2002 01:05:58 +0000 libtemplate-perl (2.05-1) unstable; urgency=low * Initial Release. closes: #99211 -- Benjamin Hill (Mako) Sun, 4 Nov 2001 19:21:03 -0500 Local variables: mode: debian-changelog End: debian/libtemplate-perl.install0000644000000000000000000000004711372341536014026 0ustar usr/lib/perl5/ usr/share/man/ usr/bin/ debian/copyright0000644000000000000000000000146211372335103011122 0ustar This package was debianized by Benjamin Mako Hill on Sun, 4 Nov 2001 19:21:03 -0500. The sources used to make this package were obtained from, and are available at: http://www.template-toolkit.org/download/ Upstream Author: Andy Wardley Copyright: Copyright (C) 1996-2001 Andy Wardley. All Rights Reserved. Copyright (C) 1998-2001 Canon Research Centre Europe Ltd. This is free software; you can redistribute it and/or modify it under the same terms as Perl itself. On Debian GNU/Linux systems, Perl's licensing is described in this file: /usr/share/doc/perl/copyright You can find the Artistic License and the GNU GPL Version 2 (the two licenses that Perl and this package are distributed under here: /usr/share/common-licenses/Artistic /usr/share/common-licenses/GPL-2 debian/libtemplate-perl.docs0000644000000000000000000000002411372335103013274 0ustar README TODO HACKING debian/watch0000644000000000000000000000013211372335103010211 0ustar version=3 http://www.cpan.org/modules/by-module/Template/ABW/Template-Toolkit-(.*).tar.gz debian/compat0000644000000000000000000000000211372335103010362 0ustar 7 debian/NEWS.Debian0000644000000000000000000000156311372335103011051 0ustar libtemplate-perl (2.15-1) unstable; urgency=low * The dependency on libtemplate-plugin-gd-perl, which used to a part of this package, has since been removed. If you would like to use that plugin, please install it seperately. -- Benjamin Mako Hill Tue, 10 Apr 2007 01:00:35 -0400 libtemplate-perl (2.15-0.0) unstable; urgency=low * Since 2.15, upstream has removed a couple of plugins previously distributed in the main Template Toolkit distribution: namely the GD, XML and DBI plugins. Out of these, only the GD plugin was used by any other Debian package; so for the time being libtemplate-perl depends on libtemplate-plugin-gd-perl, for a smooth transition. Support for the other plugin modules has therefore been removed in Debian for the time being. -- Dominic Hargreaves Wed, 17 Jan 2007 16:35:22 +0000