Bug#1014741: libgd-perl: GD and GD2 image formats are disabled in libgd3 package

gregor herrmann gregoa at debian.org
Mon Jul 11 22:05:32 BST 2022


Control: tag -1 + patch

On Mon, 11 Jul 2022 17:55:29 +0200, gregor herrmann wrote:

> I also note that the tests (which use the samples (which call the export_format
> function (which has line 515 of Graph.pm))) also fail by now:
> 
> #   Failed test at t/samples.t line 21.
> # died: gdImageGdPtr error at /build/libgd-graph-perl-1.54~ds/blib/lib/GD/Graph.pm line 515.
> # Compilation failed in require at t/samples.t line 17.

With this change

#v+
% cat debian/patches/disable-old-formats.patch 
--- a/Graph.pm
+++ b/Graph.pm
@@ -514,7 +514,7 @@
                     $g->colorAllocate(0,0,0);
                     $g->$_() 
                    };
-            } qw(gif png jpeg xbm xpm gd gd2);
+            } qw(gif png jpeg xbm xpm);
     wantarray ? @f : $f[0];
 }
 
#v-

the tests indeed pass.
But I don't have enough knowledge about this stuff that I would feel
confident to blindly upload.


Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Digital Signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20220711/a553fd18/attachment.sig>


More information about the pkg-perl-maintainers mailing list