summaryrefslogtreecommitdiff
path: root/graphics/tiff
AgeCommit message (Collapse)AuthorFilesLines
2006-02-22The "--with-default-strip-size" did just help because it workeddrochner3-9/+15
around a problem caused by a bash'ism in the configure script. Fix the script instead. No functional change.
2006-02-20Include stddef.h instead of defining NULL manually. This fixesjoerg3-2/+30
the inclusion of tiffio.h from C++ as seen in digikam. Bump revision.
2005-12-31Update to 3.8.0:wiz2-6/+9
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
2005-10-15Update to 3.7.4:wiz10-209/+13
MAJOR CHANGES: * Fixed important bug in custom tags handling code.. ------------------------------------------------ CHANGES IN THE SOFTWARE CONFIGURATION: * Applied patch from Patrick Welche (all scripts moved in the 'config' and 'm4' directories). * SConstruct, libtiff/SConstruct: Added the first very preliminary support for SCons software building tool (http://www.scons.org/). This is experimental infrastructure and it will exist along with the autotools stuff. * port/lfind.c: Added lfind() replacement module. ------------------------------------------------ CHANGES IN LIBTIFF: * tif_dir.c: When prefreeing tv->value in TIFFSetFieldV also set it to NULL to avoid double free when re-setting custom string fields as per: http://bugzilla.remotesensing.org/show_bug.cgi?id=922 * tif_dir.c: Fixed up support for swapping "double complex" values (128 bits as 2 64 bits doubles). GDAL gcore tests now pass on bigendian (macosx) system. * libtiff/{tif_dirread.c, tif_dirinfo.c}: Do not upcast BYTEs to SHORTs in the TIFFFetchByteArray(). Remove TIFFFetchExtraSamples() function, use TIFFFetchNormalTag() instead as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=831 Remove TIFFFetchExtraSamples() function, use TIFFFetchNormalTag() instead. * tif_print.c: Fixed printing of the BYTE and SBYTE arrays. * tif_write.c: Do not check the PlanarConfiguration field in the TIFFWriteCheck() function in case of single band images (as per TIFF spec). * libtiff/{tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_print.c}: Make FieldOfViewCotangent, MatrixWorldToScreen, MatrixWorldToCamera, ImageFullWidth, ImageFullLength and PrimaryChromaticities tags custom. ------------------------------------------------ CHANGES IN THE TOOLS: * tiffcp.c: Fixed WhitePoint tag copying. ------------------------------------------------ CHANGES IN THE CONTRIB AREA: * tiffdump.c: Added support for TIFF_IFD datatype. * addtiffo/{tif_overview.c, tif_ovrcache.c, tif_ovrcache.h}: Make overviews working for contiguous images.
2005-07-14Add lfind replacement function. From libtiff CVS.wiz7-1/+308
2005-07-14Update to 3.7.3:wiz6-140/+15
Many bugfixes and several new features. The runtime endianness check has been replaced with the compile time one. Support has been added for the new predictor type (floating point predictor) defined at the TIFF Technical Note 3, for custom tags passed by value, and for all DNG tags.
2005-07-14remove sunpro c++ runtime library hack, as this is handled in thegrant1-7/+1
sunpro-cxx wrapper now.
2005-06-22libtiffxx needs to be linked against the C++ runtime libraries libCrungrant1-1/+7
and libCstd when building with sunpro. ok'd by jlam@
2005-05-31Packages have no business modifying PKG_DEFAULT_OPTIONS -- it's adillo1-2/+3
user settable variable. Set PKG_SUGGESTED_OPTIONS instead. Also, make use of PKG_OPTIONS_LEGACY_VARS. Reviewed by wiz.
2005-05-12Security fix:salo4-4/+70
"A vulnerability in libTIFF was found, it can be potentially exploited by malicious people to compromise a vulnerable system." http://secunia.com/advisories/15320/ http://bugzilla.remotesensing.org/show_bug.cgi?id=843 Bump PKGREVISION, patch from libtiff cvs repository.
2005-05-07Fix for NetBSD LP64 arches by checking if _LP64 is defined. These archestoshii2-1/+15
don't define __LP64__. This is basically same as patch-ab rev. 1.13, which was probably removed by mistake.
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2005-03-24Pull in libtiff/Makefile.in rev. 1.54 and 1.55 without the rpath changesrecht2-1/+60
from libtiff CVS to fix the build on Darwin.
2005-03-23Update to 3.7.2.wiz12-185/+70
Package changes: Put options in options.mk, and retire support for USE_GIF; turn on the lzw option by default (since USE_GIF was on by default). C++ library's name changed, to be in sync with tiff distribution's name for it (libtiffcxx -> libtiffxx). Changes in 3.7.2: Maintainance [sic] release. Many bugfixes in the build environment and compatibility improvements.
2005-02-24Add RMD160 digestsagc1-1/+2
2005-01-17Add patch-ah that is adapted from http://bugzilla.remotesensing.org/jlam2-1/+15
that fixes a bug where docked TIFF icons in WindowMaker have a black background rather than a transparent background. Ride the previous PKGREVISION bump to 3. This fixes PR pkg/28989.
2005-01-17Link the tiff library, which has no C++ functions, with $(CC) insteadjlam3-10/+12
of $(CXX) so that applications needing libtiff don't also need to be linked against $(CXX). Bump the PKGREVISION to 3. This should fix PR pkg/28961.
2005-01-13Fix error in patch to build libtiffcxx.la that tried to create librariesjlam3-6/+6
with no objects. libtiffcxx.la now correctly builds using tif_stream.lo. Bump the PKGREVISION to 2.
2005-01-11Create a separate libtiffcxx.so library for use by C++ applications.jlam6-5/+50
It's meant to be used directly in place of libtiff.so, i.e. instead of linking against -ltiff, you link against -ltiffcxx. It also leaves libtiff.so as a plain C-linkage library again, as it was in tiff-3.6.x, and avoids needing to patch tiff-using packages to link using the C++ compiler. Bump the PKGREVISION to 1.
2005-01-09--enable-c++ isn't a valid option name because of stupidity on the tiffjlam1-2/+1
configure script. Remove this from CONFIGURE_ARGS.
2005-01-09Note that this package requires C++. Also, convert to use thejlam1-6/+18
bsd.options.mk framework. The USE_GIF option is now called "lzw" and is enabled by default.
2004-12-28Upgrade tiff to 3.7.1.reed30-1725/+218
Remove OpenWindows workaround in pkgsrc for this. Too many changes to include here. See http://www.remotesensing.org/libtiff/v3.7.1.html and http://www.remotesensing.org/libtiff/v3.7.0.html and previous change files for changes information. tiff-3.7.1 now includes the lzw compression code again. It also uses autoconf and libtool now. A new tool is bmp2tiff. Docs are placed under share/doc/tiff/html instead of share/doc/html/tiff. Many manpage symlinks are now missing. (This was reported to tiff list.)
2004-12-22patch-ag and patch-ao already had security fixes for CESA-2004-006.reed5-11/+11
But now these are improved in response to iDEFENSE Security Advisory 12.21.04 www.idefense.com/application/poi/display?id=173&type=vulnerabilities libtiff STRIPOFFSETS Integer Overflow Vulnerability December 21, 2004 This fix (in two files) was from that advisory and also seen in tiff 3.7.1. PKGREVISION is bumped to 6 and BUILDLINK_RECOMMENDED is adjusted for this possible security issue. Other packages depending on this are not bumped.
2004-11-26Bump revisions of tiff and qt1 after changing the default USE_GIF valuejmmv1-2/+2
to 'yes'. (In behalf of jlam@, who can't commit this ATM.)
2004-10-18Add various bug fixes taken from Debian's unstable distribution whichtron19-18/+1238
include fixes for CESA-2004-006. Bump package revision.
2004-10-18Add mirror on "ftp.fu-berlin.de" to master site list.tron1-2/+3
2004-10-18Derive "PKGNAME" from "DISTNAME" instead of defining it manually.tron1-2/+2
2004-10-16Remove second master site because it doesn't return the tarball.reed1-3/+2
Add /old/ to end of master site URL. This was reported by Georg Schwarz on tech-pkg and also by Ian Harding via PR #27278. Note that this is insecure version of tiff!
2004-10-03Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10tv2-3/+4
in the process. (More information on tech-pkg.) Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and installing .la files. Bump PKGREVISION (only) of all packages depending directly on the above via a buildlink3 include.
2004-09-22Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.jlam1-5/+1
All library names listed by *.la files no longer need to be listed in the PLIST, e.g., instead of: lib/libfoo.a lib/libfoo.la lib/libfoo.so lib/libfoo.so.0 lib/libfoo.so.0.1 one simply needs: lib/libfoo.la and bsd.pkg.mk will automatically ensure that the additional library names are listed in the installed package +CONTENTS file. Also make LIBTOOLIZE_PLIST default to "yes".
2004-09-05When ``relativize''-ing CFLAGS, don't substitute anything that beginsjschauma2-4/+5
with a '-' as '../-', as this is basically guaranteed to be wrong. Examples: -n32 or -64 for IRIX ABI would be substituted as '../-64', which of course breaks the package. Other possible CFLAGS would have the same result.
2004-07-02Unused.wiz1-25/+0
2004-04-27Use INSTALL_LIB instead of INSTALL_SCRIPT.tv2-4/+4
2004-04-27nb2: Obey PKGDIRMODE, and install shlibs as executable.tv6-27/+70
2004-04-24Don't put plain comments in make commands. These can result in a nonzerotv1-6/+3
shell exit code, and thus a failure. Move comments out of the list of commands. (Alternately ${DO_NADA} could have been used.)
2004-04-12don't ``relativize'' -rpath - fixes build on Irix.jschauma2-9/+10
2004-03-22regen.wiz1-2/+2
2004-03-22Add back previous patch to libtiff/tif_fax3.c lost in last commit.abs1-2/+11
Flagged by wizd :) - many thanks. Note to self: Running patch on a file twice does tend to make the .orig file less than useful for comparing to the original state...
2004-03-22Update tiff to tiff-3.6.1nb1:abs3-14/+25
Add a patch to fix fax3 tiff handling. Without this hylafax generates completely garbled tiff images unless error correction was disabled: http://bugs.hylafax.org/bugzilla/show_bug.cgi?id=500
2004-03-18Fix serious bug where BUILDLINK_PACKAGES wasn't being ordered properlyjlam1-3/+2
by moving the inclusion of buildlink3.mk files outside of the protected region. This bug would be seen by users that have set PREFER_PKGSRC or PREFER_NATIVE to non-default values. BUILDLINK_PACKAGES should be ordered so that for any package in the list, that package doesn't depend on any packages to the left of it in the list. This ordering property is used to check for builtin packages in the correct order. The problem was that including a buildlink3.mk file for <pkg> correctly ensured that <pkg> was removed from BUILDLINK_PACKAGES and appended to the end. However, since the inclusion of any other buildlink3.mk files within that buildlink3.mk was in a region that was protected against multiple inclusion, those dependencies weren't also moved to the end of BUILDLINK_PACKAGES.
2004-03-05Reorder location and setting of BUILDLINK_PACKAGES to match templatejlam1-4/+7
buildlink3.mk file in revision 1.101 of bsd.buildlink3.mk.
2004-02-10The BUILDLINK_DEPENDS.<pkg> lines should match between the buildlink3.mkjlam1-2/+2
and any pre-existing buildlink2.mk files.
2004-01-24Append to BUILDLINK_DEPENDS.<pkg> instead of setting a default value. Injlam1-2/+2
the normal case when BUILDLINK_DEPENDS.<pkg> isn't specified, it receives a value only once due to the multiple inclusion protection in the bulldlink3.mk files. In the case where a package includes several buildlink3.mk files that each want a slightly different version of another dependency, having BUILDLINK_DEPENDS.<pkg> be a list allows for the strictest <pkg> dependency to be matched.
2004-01-05bl3ifyjlam1-4/+8
2004-01-05Use S/+$// instead of C/\+$// to save a backslash. Very highlyjlam1-2/+2
recommended by seb :)
2004-01-04Re-arrange to match example buildlink3.mk file in bsd.buildlink3.mk.jlam1-9/+6
2004-01-03Initial sprinkling of work-in-progress buildlink3.mk files for using thejlam1-0/+22
buildlink3 framework.
2004-01-03Update to tiff-3.6.1. This is many changes and fixes.reed10-91/+112
The main changes include: new utility tiff2pdf for converting a TIFF image to a PDF document new utility raw2tiff for converting raw rasters into TIFF files new tiff2ps options new fax2tiff options bug fixes for LZW, JPEG and OJPEG compression. more documentation and upgrade to libtiff.so.3.6 other changes at http://www.libtiff.org/v3.6.0.html Removed patch-ab because html/Makefile.in: added missing images per bug 92 Removed patch-ag because http://bugzilla.remotesensing.org/show_bug.cgi?id=315 Other changes: HOMEPAGE changed due to libtiff.org has been hijacked INSTALL.OpenWindows updated (thank you to dieter) tiff is backward compatible with older version, but buildlink2.mk version is increased because libtiff was broken for amd64 support.
2003-10-03Fix manpages installation.salo1-3/+3
From Ben Collver via PR pkg/23047.
2003-08-30Make these INSTALL scripts safe for when pkgviews is merged.jlam2-24/+10