From 124ab7cdf76cf58d8f5d772f51a2a142bb59d5ed Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Tue, 17 Oct 2006 12:58:40 +0000 Subject: Bug 192451: Checksetup should prioritize missing module whines Patch By Max Kanat-Alexander (module owner) a=myk --- docs/makedocs.pl | 20 ++++++-------------- docs/xml/installation.xml | 16 ++++++++-------- 2 files changed, 14 insertions(+), 22 deletions(-) (limited to 'docs') diff --git a/docs/makedocs.pl b/docs/makedocs.pl index ac0b0baf7..949a4e95f 100644 --- a/docs/makedocs.pl +++ b/docs/makedocs.pl @@ -48,7 +48,7 @@ if (eval { require Pod::Simple }) { }; use Bugzilla::Install::Requirements - qw(REQUIRED_MODULES OPTIONAL_MODULES MOD_PERL_MODULES); + qw(REQUIRED_MODULES OPTIONAL_MODULES); use Bugzilla::Constants qw(DB_MODULE BUGZILLA_VERSION); ############################################################################### @@ -57,14 +57,13 @@ use Bugzilla::Constants qw(DB_MODULE BUGZILLA_VERSION); my $modules = REQUIRED_MODULES; my $opt_modules = OPTIONAL_MODULES; -my $mod_perl_modules = MOD_PERL_MODULES; open(ENTITIES, '>', 'xml/bugzilla.ent') or die('Could not open xml/bugzilla.ent: ' . $!); print ENTITIES '' ."\n\n"; print ENTITIES '' . "\n"; foreach my $module (@$modules, @$opt_modules) { - my $name = $module->{'name'}; + my $name = $module->{'module'}; $name =~ s/::/-/g; $name = lc($name); #This needs to be a string comparison, due to the modules having @@ -73,17 +72,10 @@ foreach my $module (@$modules, @$opt_modules) print ENTITIES '' . "\n"; } -print ENTITIES "\n \n"; -foreach my $module (@$mod_perl_modules) -{ - my $name = $module->{'name'}; - $name =~ s/::/-/g; - $name = lc($name); - #This needs to be a string comparison, due to the modules having - #version numbers like 0.9.4 - my $version = $module->{'version'} eq 0 ? 'any' : $module->{'version'}; - print ENTITIES '' . "\n"; -} +# CGI is a special case, because it has an optional version *and* a required +# version. +my ($cgi_opt) = grep($_->{package} eq 'CGI', @$opt_modules); +print ENTITIES '{version} . '">' . "\n"; print ENTITIES "\n \n"; diff --git a/docs/xml/installation.xml b/docs/xml/installation.xml index 4461140d8..598089286 100644 --- a/docs/xml/installation.xml +++ b/docs/xml/installation.xml @@ -1,5 +1,5 @@ - + Installing Bugzilla @@ -373,8 +373,8 @@ - GD::Text::Align - (&min-gd-text-align-ver;) for bug charting + GD::Text + (&min-gd-text-ver;) for bug charting @@ -477,10 +477,10 @@ -
- GD::Text::Align (&min-gd-text-align-ver;) +
+ GD::Text (&min-gd-text-ver;) - The GD::Text::Align module is only required if you want graphical + The GD::Text module is only required if you want graphical reports.
@@ -575,14 +575,14 @@ Bugzilla requires mod_perl to be installed, which can be obtained from - Bugzilla requires - version &min-mp-mod_perl2-ver; (AKA 2.0.0-RC5) to be installed. + version &min-mod_perl2-ver; (AKA 2.0.0-RC5) to be installed. Bugzilla also requires a more up-to-date version of the CGI perl module to be installed, version &min-mp-cgi-ver; as opposed to &min-cgi-ver; Finally, Bugzilla also requires Apache::DBI - (&min-mp-apache-dbi-ver;) to be installed as well. + (&min-apache-dbi-ver;) to be installed as well.
-- cgit v1.2.1