]> git.imager.perl.org - imager.git/commitdiff
Added mng to the TOOD, and added a warning to the Makefile.PL if gif/ungif
authorArnar Mar Hrafnkelsson <addi@cpan.org>
Fri, 18 May 2001 07:31:57 +0000 (07:31 +0000)
committerArnar Mar Hrafnkelsson <addi@cpan.org>
Fri, 18 May 2001 07:31:57 +0000 (07:31 +0000)
is enabled.

Makefile.PL
TODO

index 796185fc63f67d67f687b26942f8c838680ae11e..cd932d0605e266990ea110185217acf575ed246c 100644 (file)
@@ -135,10 +135,29 @@ sub automatic {
 
 
 sub gifcheck {
 
 
 sub gifcheck {
-  if ($formats{'gif'} and $formats{'ungif'}) { 
+  if ($formats{'gif'} and $formats{'ungif'}) {
     print "ungif and gif can not coexist - removing ungif support\n";
     delete $formats{'ungif'};
   }
     print "ungif and gif can not coexist - removing ungif support\n";
     delete $formats{'ungif'};
   }
+
+ RETR:
+  if ($formats{'gif'} or $formats{'ungif'}) {
+    print <<EOFF;
+
+You have libgif or libungif installed.  They are both known to have
+bugs.  Imager can crash or display other strange behaviour after
+reading or writing gif images.  Some of the gif tests can even fail
+since they stress some parts of the buggy code.
+
+Do you want to remove gif support? [Y/n]
+EOFF
+    my $resp = <STDIN>;
+    chomp($resp);
+    if ($resp ne "n") {
+      delete $formats{'gif'};
+      delete $formats{'ungif'};
+    }
+  }
   my @dirs;
   for my $frm (grep $formats{$_}, qw(gif ungif)) {
     push(@dirs, @{$formats{$frm}{incdir}}) if $formats{$frm}{incdir};
   my @dirs;
   for my $frm (grep $formats{$_}, qw(gif ungif)) {
     push(@dirs, @{$formats{$frm}{incdir}}) if $formats{$frm}{incdir};
diff --git a/TODO b/TODO
index 551a908fd72772e2408d276a10ebb62f0da4eff6..4062f749bfbd640fbfcf9eeb60eb85758f3a064f 100644 (file)
--- a/TODO
+++ b/TODO
@@ -27,6 +27,8 @@ MultiImage & metadata support:
   interface design that takes these factors into account.
 
 New Features:
   interface design that takes these factors into account.
 
 New Features:
+- Add mng support.
+
 - Transforms, interpolated multidimensional lookup tables.
   Usefull for CMYK <-> RGB table lookup.
 
 - Transforms, interpolated multidimensional lookup tables.
   Usefull for CMYK <-> RGB table lookup.
 
@@ -35,7 +37,7 @@ New Features:
 
 Clean up:
 - Make sure everything is doable with the OO interface
 
 Clean up:
 - Make sure everything is doable with the OO interface
-  i_flood_fill() f. example.
+  i_flood_fill() for example.
 - Split the other classes into seperate files
   Imager::Font::TT, Imager::Font::T1, currently 
   an if statement is used to choose what code to
 - Split the other classes into seperate files
   Imager::Font::TT, Imager::Font::T1, currently 
   an if statement is used to choose what code to