9c4306c0d7
MAJOR CHANGES: * Read-only support for custom directories (e.g. EXIF directory). * Preliminary support for MS MDI format. ---------------------------------------------------------------------------------------- CHANGES IN THE SOFTWARE CONFIGURATION: * Make the default strip size configurable via the --with-default-strip-size and STRIP_SIZE_DEFAULT options. ---------------------------------------------------------------------------------------- CHANGES IN LIBTIFF: * tiffio.h: Added VC_EXTRALEAN definition before including windows.h, to reduce the compile time. * tif_jpeg.c: Improve compilation under MinGW. * {tif_aux.c, tif_dir.c, tif_dir.h, tif_dirwrite.c, tif_print.c, tif_getimage.c}: Make InkSet, NumberOfInks, DotRange and StoNits tags custom. * {tif_aux.c, tif_dir.c, tif_dir.h, tif_print.c}: Make WhitePoint tag custom. * tiffio.h: fixed typo that potentially resulted in redefininition of USE_WIN32_FILEIO * {tif_dir.c, tif_dir.h, tif_print.c}: Make RichTIFFIPTC, Photoshop and ICCProfile tags custom. * libtiff/*, contrib/*: Added 'dual-mode' error handling, enabling newer code to get context indicator in error handler and still remain compatible with older code: Done TIFFError calls everywhere except in tools. * tiffinfo.c: Print EXIF directory contents if exist. * {tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c}: Custom directory read-only support. * {tif_aux.c, tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c, tif_print.c}: Make YCbCrCoefficients and ReferenceBlackWhite tags custom. * tif_dirread.c: One more workaround for broken StripByteCounts tag. Handle the case when StripByteCounts array filled with completely wrong values. * tif_dirinfo.c: Release file descriptor in case of failure in the TIFFOpenW() function as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1003 * tif_dirinfo.c: Correctly yse bsearch() and lfind() functions as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1008 * tif_open.c, tiff.h, tiffdump.c: Incorporate preliminary support for MS MDI format. http://bugzilla.remotesensing.org/show_bug.cgi?id=1002 * libtiff.def, tiffiop.h, tiffio.h: Made TIFFFreeDirectory public. * /tif_dirinfo.c: Make XResolution, YResolution and ResolutionUnit tags modifiable during write process. As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=977 * if_dirread.c: Don't try and split single strips into "0" strips in ChopUpSingleUncompressedStrip. This happens in some degenerate cases (like 1x1 files with stripbytecounts==0 (gtsmall.jp2 embed tiff) * tif_fax3.c: changed 'at scanline ...' style warning/errors with incorrect use of tif_row, to 'at line ... of strip/tile ...' style. CHANGES IN THE TOOLS: * tiffcp.c: Added many error reporting messages; fixed integer overflow as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=789 * tiffcp.c: Return non-zero status when reading fails. * fax2tiff.c: Properly calculate sizes of temporary arrays as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=943 * fax2tiff.c: Added option '-r' to set RowsPerStrip parameter as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=944 * tiffdump.c: Fixed typeshift and typemask arrays initialization problem as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=946 * bmp2tiff.c: Fixed possible integer overflow error as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=965 * tiffsplit.c: Copy fax related fields over splitted parts as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=983 * tiffdump.c: Fixed crash when reading malformed tags. * tiff2pdf.c: Added missed 'break' statement as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=932
31 lines
878 B
Makefile
31 lines
878 B
Makefile
# $NetBSD: Makefile,v 1.74 2005/12/31 00:07:36 wiz Exp $
|
|
|
|
DISTNAME= tiff-3.8.0
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ftp://ftp.remotesensing.org/pub/libtiff/ \
|
|
http://libtiff.maptools.org/dl/
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
HOMEPAGE= http://www.remotesensing.org/libtiff/
|
|
COMMENT= Library and tools for reading and writing TIFF data files
|
|
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
USE_LANGUAGES= c c++
|
|
USE_LIBTOOL= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --enable-rpath
|
|
CONFIGURE_ARGS+= --enable-cxx
|
|
# next line shouldn't be necessary, but 3.8.0 doesn't
|
|
# compile correctly without it
|
|
CONFIGURE_ARGS+= --with-default-strip-size=8192
|
|
CONFIGURE_ARGS+= --with-docdir=${PREFIX}/share/doc/tiff
|
|
|
|
.include "options.mk"
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../graphics/jpeg/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|