Bug 24693: Move GD from recommends to requires in cpanfile
authorJulian Maurice <julian.maurice@biblibre.com>
Thu, 20 Feb 2020 07:29:37 +0000 (08:29 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 24 Feb 2020 13:18:08 +0000 (13:18 +0000)
Without it, catalogue/detail.pl dies (and probably other scripts too)

Test plan:
1. Uninstall GD, reload starman
2. Go to catalogue/detail.pl. Confirm that it dies
3. Reinstall GD, reload starman
4. Go to catalogue/detail.pl. Confirm that it work normally

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

cpanfile

index 4837e7b..b123f57 100644 (file)
--- a/cpanfile
+++ b/cpanfile
@@ -41,6 +41,7 @@ requires 'Email::Valid', '0.190';
 requires 'Exception::Class', '1.38';
 requires 'File::Slurp', '9999.13';
 requires 'Font::TTF', '0.45';
+requires 'GD', '2.39';
 requires 'GD::Barcode::UPCE', '1.1';
 requires 'Getopt::Long', '2.35';
 requires 'Getopt::Std', '1.05';
@@ -138,7 +139,6 @@ recommends 'Devel::Cover', '0.89';
 recommends 'File::Copy', '2.08';
 recommends 'File::Path', '2.07';
 recommends 'File::Temp', '0.22';
-recommends 'GD', '2.39';
 recommends 'Graphics::Magick', 'v1.3.5';
 recommends 'Gravatar::URL', '1.03';
 recommends 'HTTPD::Bench::ApacheBench', '0.73';