From 5de7fe6f4890885953300dce833820ea0e1e4261 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Wed, 18 Jul 2012 15:03:36 +0200 Subject: [PATCH 1/1] 7368 Adjustments for Perl dependencies HTML::FormatText is used by Template::Plugin::HtmlToText which is called in the template for opac-sendbasket.pl. This is not a core Perl 5.10 module. I had to install it additionally on a test server. So I am adding it to PerlDependencies. I just picked an old version 1.23 that I still could find as min_ver. Changed the version information for Test::Strict too (not required, only for tests). Signed-off-by: Jonathan Druart --- C4/Installer/PerlDependencies.pm | 13 ++++++++++--- 1 files changed, 10 insertions(+), 3 deletions(-) diff --git a/C4/Installer/PerlDependencies.pm b/C4/Installer/PerlDependencies.pm index d5e9326..a9c68a8 100644 --- a/C4/Installer/PerlDependencies.pm +++ b/C4/Installer/PerlDependencies.pm @@ -576,13 +576,20 @@ our $PERL_DEPS = { }, 'Test::Strict' => { 'usage' => 'Core', - 'required' => '0.14', + 'required' => '0', + 'min_ver' => '0.14', + }, 'Text::Unaccent' => { 'usage' => 'Core', 'required' => '1', 'min_ver' => '1.08', - } + }, + 'HTML::FormatText' => { + 'usage' => 'Core', + 'required' => '1', + 'min_ver' => '1.23', + }, }; 1; @@ -605,7 +612,7 @@ end of the outer hash and follow the key/value pattern used in the other depende =head2 Debian If you change the list of dependencies, and you use Debian, please also -run the debian/update-control script and commit the modifed version of +run the debian/update-control script and commit the modified version of debian/control into git as well. If you're not running Debian, don't worry about it. -- 1.7.7.3