graphics/tiff: Update to 4.6.0
Following upstream guidance, tools that are no longer supported are not built by the package. As raised on tech-pkg on October 2, with no objections or even comments. Upstream NEWS content: This version removes a big number of utilities that have suffered from lack of maintenance over the years and were the source of various reported security issues. See "Removed functionality" below for the list of removed utilities. Starting with libtiff v4.6.0, the source code for most TIFF tools (except tiffinfo, tiffdump, tiffcp and tiffset) was discontinued, due to the lack of contributors able to address reported security issues. tiff2ps and tiff2pdf source code has been moved in a unsupported category, no longer built by default, but are still part of the the source distribution. Other retired utilities are in a archive/ directory, only available in the libtiff git repository. Issues related to unsupported and archived tools will no longer be accepted in the libtiff bug tracker. The usual bugfixes.
This commit is contained in:
parent
5e17ab67a3
commit
88375c154e
4 changed files with 11 additions and 105 deletions
|
@ -1,7 +1,7 @@
|
|||
# $NetBSD: Makefile,v 1.160 2023/09/13 11:13:42 gdt Exp $
|
||||
# $NetBSD: Makefile,v 1.161 2023/10/16 15:38:19 gdt Exp $
|
||||
|
||||
# Please do not update to 4.6.0 before the branch; it withdraws a lot!
|
||||
VERSION_BASE= 4.5.1
|
||||
VERSION_BASE= 4.6.0
|
||||
# Accomodate testing unreleased versions.
|
||||
#VERSION_RC= rc3
|
||||
DISTNAME= tiff-${VERSION_BASE}${VERSION_RC}
|
||||
|
@ -19,8 +19,10 @@ WRKSRC= ${WRKDIR}/tiff-${VERSION_BASE}
|
|||
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
||||
|
||||
USE_LANGUAGES= c99 c++
|
||||
USE_TOOLS= gmake # Not documented by upstream
|
||||
USE_LIBTOOL= yes
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
CONFIGURE_ARGS+= --enable-rpath
|
||||
CONFIGURE_ARGS+= --enable-cxx
|
||||
CONFIGURE_ARGS+= --with-docdir=${PREFIX}/share/doc/tiff
|
||||
|
@ -33,17 +35,11 @@ PKGCONFIG_OVERRIDE= libtiff-4.pc.in
|
|||
|
||||
TEST_TARGET= check
|
||||
|
||||
post-extract:
|
||||
cd ${WRKSRC} && \
|
||||
${MV} -f VERSION VERSION.txt
|
||||
|
||||
post-install:
|
||||
cd ${DESTDIR}/${PREFIX}/${PKGMANDIR}/man3 && for file in *.3tiff; do\
|
||||
target=`${ECHO} $$file | sed "s/3tiff/3/"`; \
|
||||
${MV} $$file $$target; \
|
||||
done
|
||||
cd ${DESTDIR}/${PREFIX}/share/doc/${PKGBASE} && \
|
||||
${MV} -f VERSION.txt VERSION
|
||||
|
||||
.include "options.mk"
|
||||
|
||||
|
|
|
@ -1,20 +1,7 @@
|
|||
@comment $NetBSD: PLIST,v 1.32 2023/06/14 13:03:31 gdt Exp $
|
||||
bin/fax2ps
|
||||
bin/fax2tiff
|
||||
bin/pal2rgb
|
||||
bin/ppm2tiff
|
||||
bin/raw2tiff
|
||||
bin/tiff2bw
|
||||
bin/tiff2pdf
|
||||
bin/tiff2ps
|
||||
bin/tiff2rgba
|
||||
bin/tiffcmp
|
||||
@comment $NetBSD: PLIST,v 1.33 2023/10/16 15:38:19 gdt Exp $
|
||||
bin/tiffcp
|
||||
bin/tiffcrop
|
||||
bin/tiffdither
|
||||
bin/tiffdump
|
||||
bin/tiffinfo
|
||||
bin/tiffmedian
|
||||
bin/tiffset
|
||||
bin/tiffsplit
|
||||
include/tiff.h
|
||||
|
@ -25,25 +12,9 @@ include/tiffvers.h
|
|||
lib/libtiff.la
|
||||
lib/libtiffxx.la
|
||||
lib/pkgconfig/libtiff-4.pc
|
||||
man/man1/fax2ps.1
|
||||
man/man1/fax2tiff.1
|
||||
man/man1/pal2rgb.1
|
||||
man/man1/ppm2tiff.1
|
||||
man/man1/raw2tiff.1
|
||||
man/man1/rgb2ycbcr.1
|
||||
man/man1/thumbnail.1
|
||||
man/man1/tiff2bw.1
|
||||
man/man1/tiff2pdf.1
|
||||
man/man1/tiff2ps.1
|
||||
man/man1/tiff2rgba.1
|
||||
man/man1/tiffcmp.1
|
||||
man/man1/tiffcp.1
|
||||
man/man1/tiffcrop.1
|
||||
man/man1/tiffdither.1
|
||||
man/man1/tiffdump.1
|
||||
man/man1/tiffgt.1
|
||||
man/man1/tiffinfo.1
|
||||
man/man1/tiffmedian.1
|
||||
man/man1/tiffset.1
|
||||
man/man1/tiffsplit.1
|
||||
man/man3/TIFFAccessTagMethods.3
|
||||
|
@ -257,6 +228,7 @@ share/doc/tiff/manual/_sources/releases/v4.3.0.rst.txt
|
|||
share/doc/tiff/manual/_sources/releases/v4.4.0.rst.txt
|
||||
share/doc/tiff/manual/_sources/releases/v4.5.0.rst.txt
|
||||
share/doc/tiff/manual/_sources/releases/v4.5.1.rst.txt
|
||||
share/doc/tiff/manual/_sources/releases/v${PKGVERSION}.rst.txt
|
||||
share/doc/tiff/manual/_sources/specification/bigtiff.rst.txt
|
||||
share/doc/tiff/manual/_sources/specification/coverage-bigtiff.rst.txt
|
||||
share/doc/tiff/manual/_sources/specification/coverage.rst.txt
|
||||
|
@ -264,25 +236,9 @@ share/doc/tiff/manual/_sources/specification/index.rst.txt
|
|||
share/doc/tiff/manual/_sources/specification/technote2.rst.txt
|
||||
share/doc/tiff/manual/_sources/terms.rst.txt
|
||||
share/doc/tiff/manual/_sources/tools.rst.txt
|
||||
share/doc/tiff/manual/_sources/tools/fax2ps.rst.txt
|
||||
share/doc/tiff/manual/_sources/tools/fax2tiff.rst.txt
|
||||
share/doc/tiff/manual/_sources/tools/pal2rgb.rst.txt
|
||||
share/doc/tiff/manual/_sources/tools/ppm2tiff.rst.txt
|
||||
share/doc/tiff/manual/_sources/tools/raw2tiff.rst.txt
|
||||
share/doc/tiff/manual/_sources/tools/rgb2ycbcr.rst.txt
|
||||
share/doc/tiff/manual/_sources/tools/thumbnail.rst.txt
|
||||
share/doc/tiff/manual/_sources/tools/tiff2bw.rst.txt
|
||||
share/doc/tiff/manual/_sources/tools/tiff2pdf.rst.txt
|
||||
share/doc/tiff/manual/_sources/tools/tiff2ps.rst.txt
|
||||
share/doc/tiff/manual/_sources/tools/tiff2rgba.rst.txt
|
||||
share/doc/tiff/manual/_sources/tools/tiffcmp.rst.txt
|
||||
share/doc/tiff/manual/_sources/tools/tiffcp.rst.txt
|
||||
share/doc/tiff/manual/_sources/tools/tiffcrop.rst.txt
|
||||
share/doc/tiff/manual/_sources/tools/tiffdither.rst.txt
|
||||
share/doc/tiff/manual/_sources/tools/tiffdump.rst.txt
|
||||
share/doc/tiff/manual/_sources/tools/tiffgt.rst.txt
|
||||
share/doc/tiff/manual/_sources/tools/tiffinfo.rst.txt
|
||||
share/doc/tiff/manual/_sources/tools/tiffmedian.rst.txt
|
||||
share/doc/tiff/manual/_sources/tools/tiffset.rst.txt
|
||||
share/doc/tiff/manual/_sources/tools/tiffsplit.rst.txt
|
||||
share/doc/tiff/manual/_static/basic.css
|
||||
|
@ -432,6 +388,7 @@ share/doc/tiff/manual/releases/v4.3.0.html
|
|||
share/doc/tiff/manual/releases/v4.4.0.html
|
||||
share/doc/tiff/manual/releases/v4.5.0.html
|
||||
share/doc/tiff/manual/releases/v4.5.1.html
|
||||
share/doc/tiff/manual/releases/v${PKGVERSION}.html
|
||||
share/doc/tiff/manual/search.html
|
||||
share/doc/tiff/manual/searchindex.js
|
||||
share/doc/tiff/manual/specification/bigtiff.html
|
||||
|
@ -441,24 +398,8 @@ share/doc/tiff/manual/specification/index.html
|
|||
share/doc/tiff/manual/specification/technote2.html
|
||||
share/doc/tiff/manual/terms.html
|
||||
share/doc/tiff/manual/tools.html
|
||||
share/doc/tiff/manual/tools/fax2ps.html
|
||||
share/doc/tiff/manual/tools/fax2tiff.html
|
||||
share/doc/tiff/manual/tools/pal2rgb.html
|
||||
share/doc/tiff/manual/tools/ppm2tiff.html
|
||||
share/doc/tiff/manual/tools/raw2tiff.html
|
||||
share/doc/tiff/manual/tools/rgb2ycbcr.html
|
||||
share/doc/tiff/manual/tools/thumbnail.html
|
||||
share/doc/tiff/manual/tools/tiff2bw.html
|
||||
share/doc/tiff/manual/tools/tiff2pdf.html
|
||||
share/doc/tiff/manual/tools/tiff2ps.html
|
||||
share/doc/tiff/manual/tools/tiff2rgba.html
|
||||
share/doc/tiff/manual/tools/tiffcmp.html
|
||||
share/doc/tiff/manual/tools/tiffcp.html
|
||||
share/doc/tiff/manual/tools/tiffcrop.html
|
||||
share/doc/tiff/manual/tools/tiffdither.html
|
||||
share/doc/tiff/manual/tools/tiffdump.html
|
||||
share/doc/tiff/manual/tools/tiffgt.html
|
||||
share/doc/tiff/manual/tools/tiffinfo.html
|
||||
share/doc/tiff/manual/tools/tiffmedian.html
|
||||
share/doc/tiff/manual/tools/tiffset.html
|
||||
share/doc/tiff/manual/tools/tiffsplit.html
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
$NetBSD: distinfo,v 1.106 2023/08/17 10:20:39 nia Exp $
|
||||
$NetBSD: distinfo,v 1.107 2023/10/16 15:38:19 gdt Exp $
|
||||
|
||||
BLAKE2s (tiff-4.5.1.tar.gz) = dab23619781a7f2ea39727f7bb80d6e97406644b3f9478bed64ab1f37ca06cce
|
||||
SHA512 (tiff-4.5.1.tar.gz) = 64ad2ae84f3cc67b9774d10cdeed41ab66cde9b50276dd4134318c963d26bea60de8c0b0297e77f47963bae163e0d28ed482fa8e809b1e0fb7b7c8a7f5a1cb9a
|
||||
Size (tiff-4.5.1.tar.gz) = 3785721 bytes
|
||||
SHA1 (patch-Makefile.in) = 7c3a6214da2d631df064893bba8809c357d856cf
|
||||
BLAKE2s (tiff-4.6.0.tar.gz) = 6bbdc12df52352509c6e5982c0afe737715443d42f1efc8990411deb7d3afe5f
|
||||
SHA512 (tiff-4.6.0.tar.gz) = 80a117780fe5e2519b5c6661efa90a8a1e4591eb6300068b611ff9887285641c0782d9835482f589d6d109c3be6ffab8831c3561bb40e2456258deb1e896f08e
|
||||
Size (tiff-4.6.0.tar.gz) = 3584534 bytes
|
||||
SHA1 (patch-configure) = 48c3f6103e35049e0bd4a5f32a508cd9439c1f3f
|
||||
|
|
|
@ -1,30 +0,0 @@
|
|||
$NetBSD: patch-Makefile.in,v 1.3 2023/01/03 16:38:50 wiz Exp $
|
||||
|
||||
From MacPorts:
|
||||
Rename VERSION to VERSION.txt so that it does not collide with the C++
|
||||
version header on case-insensitive filesystems.
|
||||
|
||||
https://gitlab.com/libtiff/libtiff/-/issues/252
|
||||
\todo Upstream has resolved the problem a different way and we should
|
||||
likely drop this patch.
|
||||
|
||||
--- Makefile.in.orig 2022-12-13 14:18:29.000000000 +0000
|
||||
+++ Makefile.in
|
||||
@@ -434,7 +434,7 @@ docfiles = \
|
||||
README.md \
|
||||
RELEASE-DATE \
|
||||
TODO \
|
||||
- VERSION
|
||||
+ VERSION.txt
|
||||
|
||||
EXTRA_DIST = \
|
||||
placeholder.h \
|
||||
@@ -1001,7 +1001,7 @@ distcheck-hook:
|
||||
|
||||
release:
|
||||
(rm -f $(top_srcdir)/RELEASE-DATE && echo $(LIBTIFF_RELEASE_DATE) > $(top_srcdir)/RELEASE-DATE)
|
||||
- (rm -f $(top_srcdir)/VERSION && echo $(LIBTIFF_VERSION) > $(top_srcdir)/VERSION)
|
||||
+ (rm -f $(top_srcdir)/VERSION.txt && echo $(LIBTIFF_VERSION) > $(top_srcdir)/VERSION.txt)
|
||||
(rm -f $(top_srcdir)/libtiff/tiffvers.h && sed 's,LIBTIFF_VERSION,$(LIBTIFF_VERSION),;s,LIBTIFF_RELEASE_DATE,$(LIBTIFF_RELEASE_DATE),;s,LIBTIFF_MAJOR_VERSION,$(LIBTIFF_MAJOR_VERSION),;s,LIBTIFF_MINOR_VERSION,$(LIBTIFF_MINOR_VERSION),;s,LIBTIFF_MICRO_VERSION,$(LIBTIFF_MICRO_VERSION),' $(top_srcdir)/libtiff/tiffvers.h.in > $(top_srcdir)/libtiff/tiffvers.h)
|
||||
coverity:
|
||||
$(MAKE) clean
|
Loading…
Reference in a new issue