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

Robin Sheat robin at catalyst.net.nz
Mon May 9 01:12:57 CEST 2011


However, the version now in the koha debian repositories should work
(it's at 1.04.)

Francois Marier schreef op zo 08-05-2011 om 11:20 [+1200]:
> 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>
> ---
>  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;

-- 
Robin Sheat
Catalyst IT Ltd.
✆ +64 4 803 2204
GPG: 5957 6D23 8B16 EFAB FEF8  7175 14D3 6485 A99C EB6D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: </pipermail/koha-devel/attachments/20110509/769d2a7e/attachment.pgp>


More information about the Koha-devel mailing list