From: Chris Nighswonger chris.nighswon...@gmail.com
This patch moves the dependency list to C4::Installer and adds
a script to check Perl modules.
---
C4/Installer.pm | 91 +++
Makefile.PL | 93 ++---
koha_perl_deps.pl | 86 +
3 files changed, 180 insertions(+), 90 deletions(-)
create mode 100755 koha_perl_deps.pl
diff --git a/C4/Installer.pm b/C4/Installer.pm
index 442ea73..64e2cd1 100644
--- a/C4/Installer.pm
+++ b/C4/Installer.pm
@@ -22,6 +22,97 @@ use strict;
our $VERSION = 3.00;
use C4::Context;
+our $PREREQ_PM = {
+'Algorithm::CheckDigits' = 0.50,
+'Authen::CAS::Client' = 0.05,
+'Biblio::EndnoteStyle' = 0.05,
+'CGI' = 3.15,
+'CGI::Carp'= 1.29,
+'CGI::Session' = 4.20,
+'CGI::Session::Serialize::yaml'= 4.20,
+'Class::Factory::Util' = 1.6,
+'Class::Accessor' = 0.30,
+'DBD::mysql' = 4.004,
+'DBD::SQLite2' = 0.33, # optional,
used for offline circulation
+'DBI' = 1.53,
+'Data::Dumper' = 2.121,
+'Data::ICal' = 0.13,
+'Date::Calc' = 5.4,
+'Date::ICal' = 1.72,
+'Date::Manip' = 5.44,
+'Digest::MD5' = 2.36,
+'Digest::SHA' = 5.43,
+'Email::Date' = 1.103,
+'File::Temp' = 0.16,
+'GD' = 2.39,#optional,
used for patron image feature
+'GD::Barcode::UPCE'= 1.1,
+'Graphics::Magick' = '1.3.7',
#optional, used for patron cards creator
+'Getopt::Long' = 2.35,
+'Getopt::Std' = 1.05,
+'HTML::Template::Pro' = 0.69,
+'HTML::Scrubber' = 0.08,
+'HTTP::Cookies'= 1.39,
+'HTTP::OAI'= 3.20,
+'HTTP::Request::Common'= 1.26,
+'IPC::Cmd' = 0.46,
+'JSON' = 2.07, # Needed by
admin/item_circulation_alerts.pl
+'LWP::Simple' = 1.41,
+'LWP::UserAgent' = 2.033,
+'Lingua::Stem' = 0.82,
+'Lingua::Stem::Snowball' = 0.952,
+'List::Util' = 1.18,
+'List::MoreUtils' = 0.21,
+'Locale::Currency::Format' = 1.28,
+'Locale::Language' = 2.07,
+'Locale::PO' = 0.17,
+'MARC::Charset'= 0.98,
+'MARC::Crosswalk::DublinCore' = 0.02,
+'MARC::File::XML' = 0.88,
+'MARC::Record' = 2.00,
+'MIME::Base64' = 3.07,
+'MIME::Lite' = 3.00,
+'MIME::QuotedPrint'= 3.07,
+'Mail::Sendmail' = 0.79,
+'Memoize::Memcached' = 0.03, # optional
+'Net::LDAP'= 0.33, # optional
+'Net::LDAP::Filter'= 0.14, # optional
+'Net::Z3950::ZOOM' = 1.16,
+'Number::Format' = 1.52,
+'PDF::API2'= 2.000,
+'PDF::API2::Page' = 2.000,
+'PDF::API2::Util' = 2.000,
+'PDF::API2::Simple'= 1.000,
+'PDF::Table' = '0.9.3',
+'PDF::Reuse' = 0.33,
+'PDF::Reuse::Barcode' = 0.05,
+'POE' = 0.,
+'POSIX'