r62251 - in /trunk/libcgi-application-extra-plugin-bundle-perl/debian/patches: CGI-Application-Plugin-AnyTemplate/pod.patch series
periapt-guest at users.alioth.debian.org
periapt-guest at users.alioth.debian.org
Tue Aug 31 17:53:51 UTC 2010
Author: periapt-guest
Date: Tue Aug 31 17:53:23 2010
New Revision: 62251
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=62251
Log:
checking AnyTemplate patch
Modified:
trunk/libcgi-application-extra-plugin-bundle-perl/debian/patches/CGI-Application-Plugin-AnyTemplate/pod.patch
trunk/libcgi-application-extra-plugin-bundle-perl/debian/patches/series
Modified: trunk/libcgi-application-extra-plugin-bundle-perl/debian/patches/CGI-Application-Plugin-AnyTemplate/pod.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-application-extra-plugin-bundle-perl/debian/patches/CGI-Application-Plugin-AnyTemplate/pod.patch?rev=62251&op=diff
==============================================================================
--- trunk/libcgi-application-extra-plugin-bundle-perl/debian/patches/CGI-Application-Plugin-AnyTemplate/pod.patch (original)
+++ trunk/libcgi-application-extra-plugin-bundle-perl/debian/patches/CGI-Application-Plugin-AnyTemplate/pod.patch Tue Aug 31 17:53:23 2010
@@ -1,8 +1,10 @@
Subject: Pod errors
* 'parameter' consistently mispelt as 'paramter'
* 'overridden' mispelt as 'overriden'
+ * Modified code examples so that they are breakable in man pages.
Author: Nicholas Bamber <nicholas at periapt.co.uk>
Last-Update: 2010-08-30
+Bug: http://rt.cpan.org/Ticket/Display.html?id=60914
--- CGI-Application-Plugin-AnyTemplate-0.18.orig/lib/CGI/Application/Plugin/AnyTemplate.pm
+++ CGI-Application-Plugin-AnyTemplate-0.18/lib/CGI/Application/Plugin/AnyTemplate.pm
@@ -398,7 +398,7 @@
@@ -43,7 +45,30 @@
--- CGI-Application-Plugin-AnyTemplate-0.18.orig/lib/CGI/Application/Plugin/AnyTemplate/Base.pm
+++ CGI-Application-Plugin-AnyTemplate-0.18/lib/CGI/Application/Plugin/AnyTemplate/Base.pm
-@@ -287,7 +287,7 @@
+@@ -154,7 +154,10 @@
+ called before each template is processed. Register a
+ C<template_pre_process> callback as follows:
+
+- $self->add_callback('template_pre_process', \&my_tmpl_pre_process);
++ $self->add_callback(
++ 'template_pre_process',
++ \&my_tmpl_pre_process
++ );
+
+ Pre-process callbacks will be passed a reference to the C<$template>
+ object, and can can modify the parameters passed into the template by
+@@ -179,7 +182,9 @@
+ After the template output is generated, the C<template_post_process> hook is called.
+ You can register a C<template_post_process> callback as follows:
+
+- $self->add_callback('template_post_process', \&my_tmpl_post_process);
++ $self->add_callback('template_post_process',
++ \&my_tmpl_post_process
++ );
+
+ Any callbacks that you register to this hook will be called after each
+ template is processed, and will be passed both a reference to the
+@@ -287,14 +292,16 @@
This is a virtual method and must be defined in the subclass.
@@ -52,7 +77,18 @@
driver's C<$self> object:
'driver_config' => ... # hashref of driver-specific config
-@@ -370,7 +370,7 @@
+- 'native_config' => ... # hashref of native template system specific config
++ 'native_config' => ... # hashref of native template system
++ # specific config
+ 'include_paths' => ... # listref of template include paths
+ 'filename' => ... # template filename
+- 'webapp' => ... # reference to the current CGI::Application $self
++ 'webapp' => ... # reference to the current
++ # CGI::Application $self
+
+ =cut
+
+@@ -370,7 +377,7 @@
=item render_template
@@ -72,3 +108,36 @@
This can be overridden by the following configuration variables:
+--- CGI-Application-Plugin-AnyTemplate-0.18.orig/lib/CGI/Application/Plugin/AnyTemplate/Driver/HTMLTemplatePluggable.pm
++++ CGI-Application-Plugin-AnyTemplate-0.18/lib/CGI/Application/Plugin/AnyTemplate/Driver/HTMLTemplatePluggable.pm
+@@ -26,7 +26,11 @@
+
+ The L<HTML::Template::Pluggable> syntax for embedding components is:
+
+- <TMPL_VAR NAME="cgiapp.embed('some_run_mode', param1, param2, 'literal string3')">
++ <TMPL_VAR NAME="cgiapp.embed('some_run_mode',
++ param1,
++ param2,
++ 'literal string3')"
++ >
+
+ This can be overridden by the following configuration variables:
+
+@@ -57,7 +61,7 @@
+
+ =head1 CONFIGURATION
+
+-The L<CGI::Application::Plugin::AnyTemplate::Driver::HTMLTemplatePluggable> driver
++The L<HTMLTemplatePluggable|CGI::Application::Plugin::AnyTemplate::Driver::HTMLTemplatePluggable> driver
+ accepts the following config parameters:
+
+ =over 4
+@@ -79,7 +83,7 @@
+ B<This feature is now deprecated and will be removed in a future release.>
+
+ If this config parameter is true, then
+-L<CGI::Application::Plugin::AnyTemplate::Driver::HTMLTemplatePluggable> will
++L<HTMLTemplatePluggable|CGI::Application::Plugin::AnyTemplate::Driver::HTMLTemplatePluggable> will
+ copy all of the webapp's query params into the template using
+ L<HTML::Template>'s C<associate> mechanism:
+
Modified: trunk/libcgi-application-extra-plugin-bundle-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-application-extra-plugin-bundle-perl/debian/patches/series?rev=62251&op=diff
==============================================================================
--- trunk/libcgi-application-extra-plugin-bundle-perl/debian/patches/series (original)
+++ trunk/libcgi-application-extra-plugin-bundle-perl/debian/patches/series Tue Aug 31 17:53:23 2010
@@ -1,0 +1,4 @@
+# This series file is just to keep lintian happy.
+# To actually manage quilt patches you need to be
+# in the appropriate build-area subdirectory with the
+# correct options
More information about the Pkg-perl-cvs-commits
mailing list