aboutsummaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2006-07-25 13:18:27 +0000
committermkanat%bugzilla.org <>2006-07-25 13:18:27 +0000
commitf191286713b620120a0642b7d1757a0f762a4bd6 (patch)
treeddf8c477ad6079d698350918dc2fe8c845a0623b /Bugzilla
parent01939a3d9ba7d3947e3637ef4a7808c4d841164e (diff)
downloadbugs-f191286713b620120a0642b7d1757a0f762a4bd6.tar
bugs-f191286713b620120a0642b7d1757a0f762a4bd6.tar.gz
bugs-f191286713b620120a0642b7d1757a0f762a4bd6.tar.bz2
bugs-f191286713b620120a0642b7d1757a0f762a4bd6.tar.xz
bugs-f191286713b620120a0642b7d1757a0f762a4bd6.zip
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')
-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);