pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/graphics/tiff



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Jan  4 18:05:03 UTC 2021

Modified Files:
        pkgsrc/graphics/tiff: Makefile PLIST distinfo

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.147 -r1.148 pkgsrc/graphics/tiff/Makefile
cvs rdiff -u -r1.27 -r1.28 pkgsrc/graphics/tiff/PLIST
cvs rdiff -u -r1.95 -r1.96 pkgsrc/graphics/tiff/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/tiff/Makefile
diff -u pkgsrc/graphics/tiff/Makefile:1.147 pkgsrc/graphics/tiff/Makefile:1.148
--- pkgsrc/graphics/tiff/Makefile:1.147 Tue Aug 18 00:42:27 2020
+++ pkgsrc/graphics/tiff/Makefile       Mon Jan  4 18:05:03 2021
@@ -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/
 

Index: pkgsrc/graphics/tiff/PLIST
diff -u pkgsrc/graphics/tiff/PLIST:1.27 pkgsrc/graphics/tiff/PLIST:1.28
--- pkgsrc/graphics/tiff/PLIST:1.27     Mon Nov  4 01:11:38 2019
+++ pkgsrc/graphics/tiff/PLIST  Mon Jan  4 18:05:03 2021
@@ -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

Index: pkgsrc/graphics/tiff/distinfo
diff -u pkgsrc/graphics/tiff/distinfo:1.95 pkgsrc/graphics/tiff/distinfo:1.96
--- pkgsrc/graphics/tiff/distinfo:1.95  Mon Nov  4 01:11:38 2019
+++ pkgsrc/graphics/tiff/distinfo       Mon Jan  4 18:05:03 2021
@@ -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



Home | Main Index | Thread Index | Old Index