From 31c01e813db3129654072a2d49bd7d8ac6a3d4e0 Mon Sep 17 00:00:00 2001 From: Tony Cook Date: Thu, 11 Nov 2004 01:30:48 +0000 Subject: [PATCH] - updated download locations for the various libraries that Imager depends on. Added some advice for cygwin. --- Changes | 2 ++ README | 51 ++++++++++++++++++++++++++++++-------------- testimg/os2rle.bmp | Bin 0 -> 314 bytes testimg/winrgb4.bmp | Bin 0 -> 358 bytes testimg/winrle.bmp | Bin 0 -> 398 bytes 5 files changed, 37 insertions(+), 16 deletions(-) create mode 100755 testimg/os2rle.bmp create mode 100755 testimg/winrgb4.bmp create mode 100755 testimg/winrle.bmp diff --git a/Changes b/Changes index 78308216..3eea27e0 100644 --- 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 812ac69d..d25d9185 100644 --- 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 index 0000000000000000000000000000000000000000..726f8e35a8d7402fd12c3c67693a2833b7baad6c GIT binary patch literal 314 zcmZ?rwPIud11})S1H>Xg$jHFL;5;?haCt1>$rAOg>0vEy>E*UjEna>T{APH_^#p0| zROeb|FVPaE*%75%pKMr|Z@FsKs@*#}X5M@EpMhc3s@1zYI_JLo{}sdr3eUaw{(mTt z4HTYv_uc={Fd%#Pj!vNP*U&TuhTSmXbRZihTn=PIRHvmEFff43d;c{o4Jgb2wk8xT z%mB6qBrM3l0Ja7w%m`$Itw{k23o|f)ttn?<6f|aF0ND;SPf!@h2H6f42D1Ny%>xP> ZF))Cw0jf4qVqky?D*@SHYe2$4HUOQBc-#O0 literal 0 HcmV?d00001 diff --git a/testimg/winrgb4.bmp b/testimg/winrgb4.bmp new file mode 100755 index 0000000000000000000000000000000000000000..44359092a0d6b71790961649ebad308773dbb5ee GIT binary patch literal 358 zcmXwyu}Z^W6h=?LNkNQtaB}EUJ2gDWqY7e1mkcR5xCnOWs!(U4 zk|*#X>?5QundA50njh}Z;c&U<@GSPQ_n?1Uv++M3OXh#|udgg-P3-3A<$~V(C9B`} zbUqWp?3g6oC(2G4JP&w1+2ZNE%U5Taw}VZxs7oI0@OahZ?q-k4WKvA?(X6Zye-!y} zT-KFi>G5n{2V&{bPgw_{xR?&5t00D=(TTXxsd%v+C%544&8sk$#xj9vEaS8fmXY?v ombsR0fn`!We-~U`_xzUF)lG|QyC>ZT%V@jbhDNu=mT_AA2d^S}ng9R* literal 0 HcmV?d00001 diff --git a/testimg/winrle.bmp b/testimg/winrle.bmp new file mode 100755 index 0000000000000000000000000000000000000000..213ffefd33d677de0713f8e2edf7788437d592ec GIT binary patch literal 398 zcmXwzu}Z^G6o&sRP6}e$4xJpb)D8}&lU+>2g&EBvF$^SqCAhn2$wOL9A4)RYF>;l;lpu$%B$^UsYkON=U?V|enC&O~8?<+AZ$|o_b%7^&_ D@qBxJ literal 0 HcmV?d00001 -- 2.39.5