summaryrefslogtreecommitdiff
path: root/graphics/tiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2021-01-04 18:05:03 +0000
committerwiz <wiz@pkgsrc.org>2021-01-04 18:05:03 +0000
commit15980124800bb0dc07b5b54ab0f904f1a9d5d184 (patch)
treec95b10f4e70c969b93f72f75ff5948a992e36e6e /graphics/tiff
parentcf71b7359f56acbf8248cc50d97be6b40824eb3a (diff)
downloadpkgsrc-15980124800bb0dc07b5b54ab0f904f1a9d5d184.tar.gz
tiff: update to 4.2.0.
MAJOR CHANGES: Optional support for using libdeflate is added. Many of the tools now support a memory usage limit. CHANGES IN LIBTIFF: A great many issues discovered by fuzzers (via oss-fuzz and other reports) have been addressed. EXIF 2.32 and GPS tags and functionality have been upgraded: Existing EXIF field definition of tags are upgraded to EXIF version 2.3.2 EXIF-GPS structure, tags and access functions are added as special CustomDirectory (like it was done for EXIF). Reading error for FileSource and SceneType tags corrected. Make TIFFTAG_CFAPATTERN variable count. Cmake configuration fixes for big-endian targets. Added support for optional building against libdeflate for faster Zip/Deflate compression/decompression. We now have 2 kinds of builds with the Zip/Deflate codec: zlib only zlib + libdeflate Speed improvements in the 35%-50% range can be expected when libdeflate is used. Compression level up to 12 is now supported (capped to 9 when zlib is used). Still requires zlib for situations where libdeflate cannot be used (that is for scanline access, since libdeflate has no streaming mode) Pseudo-tag TIFFTAG_DEFLATE_SUBCODEC=DEFLATE_SUBCODEC_ZLIB/DEFLATE_SUBCODEC_LIBDEFLATE is added to control which subcodec (zlib or libdeflate) should be used (it defaults of course to libdeflate, when it is available). This is mostly aimed at being used on the writing side, to be able to reproduce output of previous libtiff versions at a binary level, in situations where this would be really needed. Or as a safety belt in case there would be unforeseen issues with using libdeflate. It can be used to know when libdeflate is available at runtime (DEFLATE_SUBCODEC_LIBDEFLATE will be the default value in that situation). Of course, deflate codestreams produced by libdeflate can be read by zlib, and vice-versa. CHANGES IN THE TOOLS: A great many issues discovered by fuzzers (via oss-fuzz and other reports) have been addressed. ppm2tiff: support any bps value from 1 to 16. tiff2ps, tiff2rgba: A default memory limit is now enforced (256MiB) and a '-M' option is added to allow the user to adjust the limit. tiff2pdf, tiffcp: A default memory limit is now enforced (256MiB) and a '-m' option is added to allow the user to adjust the limit. tiffcrop: A default memory limit is now enforced (256MiB) and a '-k' option is added to allow the user to adjust the limit. tiff2pdf: fix "raw" copy of Deflate streams. tiff2pdf.c: properly calculate datasize when saving to JPEG YCbCr tiffcp: disable strip chopping when trying to convert to JBIG compression
Diffstat (limited to 'graphics/tiff')
-rw-r--r--graphics/tiff/Makefile5
-rw-r--r--graphics/tiff/PLIST6
-rw-r--r--graphics/tiff/distinfo10
3 files changed, 10 insertions, 11 deletions
diff --git a/graphics/tiff/Makefile b/graphics/tiff/Makefile
index 48c009dfd96..181f70844b3 100644
--- a/graphics/tiff/Makefile
+++ b/graphics/tiff/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.147 2020/08/18 00:42:27 tnn Exp $
+# $NetBSD: Makefile,v 1.148 2021/01/04 18:05:03 wiz Exp $
-DISTNAME= tiff-4.1.0
-PKGREVISION= 1
+DISTNAME= tiff-4.2.0
CATEGORIES= graphics
MASTER_SITES= https://download.osgeo.org/libtiff/
diff --git a/graphics/tiff/PLIST b/graphics/tiff/PLIST
index dea09ed1b91..8c0a9406846 100644
--- a/graphics/tiff/PLIST
+++ b/graphics/tiff/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.27 2019/11/04 01:11:38 gdt Exp $
+@comment $NetBSD: PLIST,v 1.28 2021/01/04 18:05:03 wiz Exp $
bin/fax2ps
bin/fax2tiff
bin/pal2rgb
@@ -225,7 +225,7 @@ share/doc/tiff/html/v3.9.1.html
share/doc/tiff/html/v3.9.2.html
share/doc/tiff/html/v4.0.0.html
share/doc/tiff/html/v4.0.1.html
-share/doc/tiff/html/v${PKGVERSION}.html
+share/doc/tiff/html/v4.0.10.html
share/doc/tiff/html/v4.0.2.html
share/doc/tiff/html/v4.0.3.html
share/doc/tiff/html/v4.0.4.html
@@ -235,5 +235,5 @@ share/doc/tiff/html/v4.0.6.html
share/doc/tiff/html/v4.0.7.html
share/doc/tiff/html/v4.0.8.html
share/doc/tiff/html/v4.0.9.html
-share/doc/tiff/html/v4.0.10.html
share/doc/tiff/html/v4.1.0.html
+share/doc/tiff/html/v${PKGVERSION}.html
diff --git a/graphics/tiff/distinfo b/graphics/tiff/distinfo
index 8cebe487318..090f8491731 100644
--- a/graphics/tiff/distinfo
+++ b/graphics/tiff/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.95 2019/11/04 01:11:38 gdt Exp $
+$NetBSD: distinfo,v 1.96 2021/01/04 18:05:03 wiz Exp $
-SHA1 (tiff-4.1.0.tar.gz) = 7a882f8d55fd0620cbf89c47994d2d1d3b975452
-RMD160 (tiff-4.1.0.tar.gz) = 913703005630320efc075650d5d7776c73c065f9
-SHA512 (tiff-4.1.0.tar.gz) = fd541dcb11e3d5afaa1ec2f073c9497099727a52f626b338ef87dc93ca2e23ca5f47634015a4beac616d4e8f05acf7b7cd5797fb218758cc2ad31b390491c5a6
-Size (tiff-4.1.0.tar.gz) = 2421581 bytes
+SHA1 (tiff-4.2.0.tar.gz) = 400ff865beb34499633dd1095fe438995e6da707
+RMD160 (tiff-4.2.0.tar.gz) = ec0786653efa76fcd30c9c7274c1c246719821de
+SHA512 (tiff-4.2.0.tar.gz) = d7d42e6e6dbda9604c638f28e6cfa4705191a4e8ea276d18031d50dbab0931ac91141e57a2cf294124487f1a2e6dfcb9be62431c1b69de5acf4d0e632f3322e5
+Size (tiff-4.2.0.tar.gz) = 2809373 bytes
SHA1 (patch-configure) = a0032133f06b6ac92bbf52349fabe83f74ea14a6