- updated download locations for the various libraries that Imager
authorTony Cook <tony@develop=help.com>
Thu, 11 Nov 2004 01:30:48 +0000 (01:30 +0000)
committerTony Cook <tony@develop=help.com>
Thu, 11 Nov 2004 01:30:48 +0000 (01:30 +0000)
  depends on.  Added some advice for cygwin.

Changes
README
testimg/os2rle.bmp [new file with mode: 0755]
testimg/winrgb4.bmp [new file with mode: 0755]
testimg/winrle.bmp [new file with mode: 0755]

diff --git a/Changes b/Changes
index 78308216c0f07bbe7676a5dc2a42c256c60b5f08..3eea27e0d00aefc1d698a67a2eb7ab52fde6c9f9 100644 (file)
--- a/Changes
+++ b/Changes
@@ -881,6 +881,8 @@ Revision history for Perl extension Imager.
 0.43_03
 
 - change the "double-include" protection macro that imio.h uses.
+- updated download locations for the various libraries that Imager 
+  depends on.  Added some advice for cygwin.
 
 =================================================================
 
diff --git a/README b/README
index 812ac69df68a781a8b161e4d54b442b67d5003f7..d25d91859418bd0608377c908477d2bc46dc76d2 100644 (file)
--- a/README
+++ b/README
@@ -126,35 +126,40 @@ If it worked just continue with the installation as normally
 Some hints about getting the Imager module to find the libraries it
 needs for specific features.  The libraries it uses are:
 
- jpeg: ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6b.tar.gz
+ jpeg: http://www.ijg.org/files/
+       ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6b.tar.gz
+
+ftp.uu.net is still linked from many places, including the Independent
+JPEG Groups's home page, but it is non-functional.
+
+  png: http://www.libpng.org/pub/png/libpng.html
 
-  png: ftp://swrinde.nde.swri.edu/pub/png/
   you also need zlib to use png:  http://www.gzip.org/zlib/
-  We have encountered problems with libpng 1.0.1, which were fixed in 1.0.5
-  Note: you should probably be using zlib 1.1.4, since 1.1.3 has a 
-  potential security problem.
+We have encountered problems with libpng 1.0.1, which were fixed in 1.0.5
+Note: you should probably be using zlib 1.1.4, since 1.1.3 has a 
+potential security problem.
 
-  gif: http://www.arrakeen.demon.co.uk/giflib/  
-or at: http://prtr-13.ucsc.edu/~badger/software/libungif/index.shtml
+  gif: http://sourceforge.net/projects/libungif
 
-The default giflib is buggy in rarely used code, you can find a patch
-to fix the worst of the problems at:
+giflib/libungif has come a long way since the buggy versions around
+when Imager's gif support code was written.  Preferably you should get
+at least version 4.1.2.  If you have a recent Linux distribution you
+should be safe with whatever giflib it provides, but if you're
+building from source, please try to use the latest version.
 
- http://www.develop-help.com/imager/giflib.patch
+At the time of writing you will need to manually select to install the
+4.1.2-1 of cygwin's libungif package.
 
  tiff: http://www.libtiff.org/
 
-   t1: ftp://ftp.neuroinformatik.ruhr-uni-bochum.de/pub/software/t1lib/
-or at: ftp://sunsite.unc.edu/pub/Linux/libs/graphics/
+   t1: http://www.ibiblio.org/pub/Linux/libs/graphics/
 
    tt: http://www.freetype.org/
 
-
 Precompiled versions of some of the libraries might be found at:
 
 AIX:
-   http://www.bull.de/
-   ftp://ftp.rge.com/pub/systems/aix/bull/
+   http://www.bullfreeware.com/
 
 
 
@@ -190,6 +195,20 @@ directly by supplying the 'face' parameter to Imager::Font->new(...).
 
 I've tested with both MSVC++ 6.0 and cygwin (perl 5.6.1).
 
+If you see an error under cygwin during testing along the lines of:
+
+  C:\cygwin\bin\perl.exe: *** unable to remap C:\cygwin\...some dll to the 
+    same address as parent (0x...) != 0x....
+
+you will need to install the cygwin rebase package and run:
+
+  $ rebaseall -v
+
+Under cygwin you will need at least libungif 4.1.2 installed to
+prevent lockups in the gif test scripts.  At the time of writing you
+need to select libungif-4.1.2-1 manually in the setup.exe installation
+tool.
+
 If you have any problems with the Win32 support, please email
 tony@develop-help.com (don't forget to use nmake instead of make).
 
@@ -199,7 +218,7 @@ tony@develop-help.com (don't forget to use nmake instead of make).
 
 The Imager module homepage is currently at:
 
- http://imager.perl.org/~addi/perl/Imager/
+ http://imager.perl.org/
 
 The current docs are rather bad as I've been busy adding features
 but hopefully they will be updated soon.  Until then you'll just
diff --git a/testimg/os2rle.bmp b/testimg/os2rle.bmp
new file mode 100755 (executable)
index 0000000..726f8e3
Binary files /dev/null and b/testimg/os2rle.bmp differ
diff --git a/testimg/winrgb4.bmp b/testimg/winrgb4.bmp
new file mode 100755 (executable)
index 0000000..4435909
Binary files /dev/null and b/testimg/winrgb4.bmp differ
diff --git a/testimg/winrle.bmp b/testimg/winrle.bmp
new file mode 100755 (executable)
index 0000000..213ffef
Binary files /dev/null and b/testimg/winrle.bmp differ