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

gregor herrmann gregoa at debian.org
Sun Jul 17 11:01:24 BST 2022


On Mon, 11 Jul 2022 23:05:32 +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.

Out of curiosity, I tried again today to build the package _without_
this patch. -- And: all tests pass.

That's with libgd3_2.3.3-6 and libgd-perl_2.76-3.


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/20220717/23b4ca7d/attachment.sig>


More information about the pkg-perl-maintainers mailing list