diff --git a/Makefile.PL b/Makefile.PL
index 005ab81a56..aa4591171b 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -556,9 +556,9 @@ WriteMakefile(
'Digest::SHA' => 5.43,
'Email::Date' => 1.103,
'File::Temp' => 0.16,
- 'GD' => 2.39, #optional
+ 'GD' => 2.39, #optional, used for patron image feature
'GD::Barcode::UPCE' => 1.1,
- 'Graphics::Magick' => 1.37
+ 'Graphics::Magick' => 1.3.7, #optional, used for patron cards creator
'Getopt::Long' => 2.35,
'Getopt::Std' => 1.05,
'HTML::Template::Pro' => 0.69,
diff --git a/installer/install.pl b/installer/install.pl
index 9d2196207a..4142d06417 100755
--- a/installer/install.pl
+++ b/installer/install.pl
@@ -131,6 +131,18 @@ if ( $step && $step == 1 ) {
{ name => "GD::Barcode", usagebarcode => 1, usagespine => 1 };
}
}
+ unless ( eval { require GD } ) {
+ if ( $#missing >= 0 ) { # only when $#missing >= 0 so this isn't fatal
+ push @missing,
+ { name => "GD", usagepatronimages => 1 };
+ }
+ }
+ unless ( eval { require Graphics::Magick } ) {
+ if ( $#missing >= 0 ) { # only when $#missing >= 0 so this isn't fatal
+ push @missing,
+ { name => "Graphics::Magick", usagepatroncards => 1 };
+ }
+ }
unless ( eval { require Data::Random } ) {
if ( $#missing >= 0 ) { # only when $#missing >= 0 so this isn't fatal
push @missing, { name => "Data::Random", usagebarcode => 1 };
@@ -230,7 +242,7 @@ elsif ( $step && $step == 2 ) {
}
$template->param( "checkgrantaccess" => $grantaccess );
} # End mysql connect check...
-
+
elsif ( $info{dbms} eq "Pg" ) {
# Check if database has been created...
my $rv = $dbh->do( "SELECT * FROM pg_catalog.pg_database WHERE datname = \'$info{dbname}\';" );
@@ -257,7 +269,7 @@ elsif ( $step && $step == 3 ) {
#
# STEP 3 : database setup
#
-#
+#
my $op = $query->param('op');
if ( $op && $op eq 'finished' ) {
#
@@ -298,7 +310,7 @@ elsif ( $step && $step == 3 ) {
#
#
# (note that the term "selectframeworks is not correct. The user can select various files, not only frameworks)
-
+
#Framework Selection
#sql data for import are supposed to be located in installer/data/