summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Install
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2006-07-25 15:18:27 +0200
committermkanat%bugzilla.org <>2006-07-25 15:18:27 +0200
commitf191286713b620120a0642b7d1757a0f762a4bd6 (patch)
treeddf8c477ad6079d698350918dc2fe8c845a0623b /Bugzilla/Install
parent01939a3d9ba7d3947e3637ef4a7808c4d841164e (diff)
downloadbugzilla-f191286713b620120a0642b7d1757a0f762a4bd6.tar.gz
bugzilla-f191286713b620120a0642b7d1757a0f762a4bd6.tar.xz
Bug 345389: Template-Toolkit 2.15 moved Template::Plugin::GD into a separate package
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=myk
Diffstat (limited to 'Bugzilla/Install')
-rw-r--r--Bugzilla/Install/Requirements.pm11
1 files changed, 10 insertions, 1 deletions
diff --git a/Bugzilla/Install/Requirements.pm b/Bugzilla/Install/Requirements.pm
index bf2398a3f..f38af2a09 100644
--- a/Bugzilla/Install/Requirements.pm
+++ b/Bugzilla/Install/Requirements.pm
@@ -98,6 +98,12 @@ use constant OPTIONAL_MODULES => [
version => '1.20'
},
{
+ # This module tells us whether or not Template-GD is installed
+ # on Template-Toolkits after 2.14, and still works with 2.14 and lower.
+ name => 'Template::Plugin::GD::Image',
+ version => 0
+ },
+ {
name => 'Chart::Base',
version => '1.0'
},
@@ -162,10 +168,13 @@ use constant WIN32_MODULE_NAMES => {
'GD::Graph' => 'GDGraph',
'GD::Text::Align' => 'GDTextUtil',
'Mail::Mailer' => 'MailTools',
+ # We provide Template 2.14 or lower for Win32, so it still includes
+ # the GD plugin.
+ 'Template::Plugin::GD' => 'Template',
};
# This was originally clipped from the libnet Makefile.PL, adapted here to
-# use the above vers_cmp routine for accurate version checking.
+# use the below vers_cmp routine for accurate version checking.
sub have_vers {
my ($pkg, $wanted, $silent) = @_;
my ($msg, $vnum, $vstr);