[Koha-patches] [PATCH 5/5] [SIGNED-OFF] Bug 6298 : Add optional dependency on Gravatar::URL 1.03

Nicole C. Engard nengard at bywatersolutions.com
Fri May 6 16:01:18 CEST 2011


From: Francois Marier <francois at debian.org>

This CPAN module is needed for the ShowReviewerPhoto functionality.

Unfortunately the version in Squeeze (1.02) is not sufficient so it
has to be installed from CPAN:

  sudo apt-get install libnet-dns-perl libtest-warn-perl
  sudo cpan Gravatar::URL

Signed-off-by: Francois Marier <francois at debian.org>
Signed-off-by: Nicole C. Engard <nengard at bywatersolutions.com>
---
 C4/Installer/PerlDependencies.pm |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/C4/Installer/PerlDependencies.pm b/C4/Installer/PerlDependencies.pm
index 576dde4..63d14a6 100644
--- a/C4/Installer/PerlDependencies.pm
+++ b/C4/Installer/PerlDependencies.pm
@@ -479,6 +479,11 @@ our $PERL_DEPS = {
 	'required' => '1',
 	'min_ver'  => '2.22',
     },
+    'Gravatar::URL' => {
+        'usage'    => 'Photos in OPAC reviews',
+        'required' => '0',
+        'min_ver'  => '1.03',
+    },
 };
 
 1;
-- 
1.7.2.3



More information about the Koha-patches mailing list