Move most TIFF tools to archive and keep some as unsupported (see #580).

This commit is contained in:
Su Laus
2023-08-16 13:01:04 +00:00
committed by Even Rouault
parent 3225f137a9
commit eab89a627f
174 changed files with 275 additions and 1122 deletions

View File

@@ -54,6 +54,7 @@ else()
endif()
option(tiff-tools "build TIFF tools" ON)
option(tiff-tools-unsupported "build unsupported TIFF tools" OFF)
option(tiff-tests "build TIFF tests" ON)
option(tiff-contrib "build TIFF contrib" ON)
option(tiff-docs "build TIFF documentation" ON)
@@ -127,9 +128,6 @@ include(WebPCodec)
# Option for C++ libtiffxx library
include(CXXLibrary)
# Checks for OpenGL support
include(OpenGLChecks)
# Windows support
include(WindowsSupport)
@@ -149,6 +147,9 @@ add_subdirectory(libtiff)
if(tiff-tools)
add_subdirectory(tools)
endif()
if(tiff-tools-unsupported)
add_subdirectory(tools/unsupported)
endif()
if(tiff-tests)
add_subdirectory(test)
endif()
@@ -172,6 +173,7 @@ message(STATUS " C compiler: ${CMAKE_C_COMPILER}")
message(STATUS " C++ compiler: ${CMAKE_CXX_COMPILER}")
message(STATUS " Build shared libraries: ${BUILD_SHARED_LIBS}")
message(STATUS " Build tools: ${tiff-tools}")
message(STATUS " Build tools-unsupported: ${tiff-tools-unsupported}")
message(STATUS " Build tests: ${tiff-tests}")
message(STATUS " Build contrib: ${tiff-contrib}")
message(STATUS " Build docs: ${tiff-docs}")
@@ -222,7 +224,5 @@ message(STATUS " ZSTD support: Requested:${zstd} Availabi
message(STATUS " WEBP support: Requested:${webp} Availability:${WebP_FOUND} Support:${WEBP_SUPPORT}")
message(STATUS "")
message(STATUS " C++ support: ${cxx} (requested) ${CXX_SUPPORT} (availability)")
message(STATUS "")
# message(STATUS " X Athena Widgets support: ${HAVE_XAW}")
message(STATUS " OpenGL support: Requested:${tiff-opengl} Availability:${HAVE_OPENGL} Support:${OPENGL_SUPPORT}")
message(STATUS "")

View File

@@ -60,7 +60,7 @@ distcheck-hook:
rm -rf $(distdir)/_build/cmake
rm -rf $(distdir)/_inst/cmake
SUBDIRS = port libtiff tools build contrib test doc
SUBDIRS = port libtiff tools build contrib test doc tools/unsupported
release:
(rm -f $(top_srcdir)/RELEASE-DATE && echo $(LIBTIFF_RELEASE_DATE) > $(top_srcdir)/RELEASE-DATE)

0
test/fax2tiff.sh → archive/test/fax2tiff.sh Executable file → Normal file
View File

0
test/ppm2tiff_pbm.sh → archive/test/ppm2tiff_pbm.sh Executable file → Normal file
View File

0
test/ppm2tiff_pgm.sh → archive/test/ppm2tiff_pgm.sh Executable file → Normal file
View File

0
test/ppm2tiff_ppm.sh → archive/test/ppm2tiff_ppm.sh Executable file → Normal file
View File

View File

View File

0
test/tiff2pdf.sh → archive/test/tiff2pdf.sh Executable file → Normal file
View File

0
test/tiff2ps-EPS1.sh → archive/test/tiff2ps-EPS1.sh Executable file → Normal file
View File

0
test/tiff2ps-PS1.sh → archive/test/tiff2ps-PS1.sh Executable file → Normal file
View File

0
test/tiff2ps-PS2.sh → archive/test/tiff2ps-PS2.sh Executable file → Normal file
View File

0
test/tiff2ps-PS3.sh → archive/test/tiff2ps-PS3.sh Executable file → Normal file
View File

View File

View File

View File

@@ -0,0 +1,7 @@
#!/bin/sh
#
# Basic sanity check for tiffcp with G3 compression, 1 dimensional
# encoding, and zero-filled boundaries.
#
. ${srcdir:-.}/common.sh
f_test_convert "${TIFFCP} -c g3:1d:fill" "${IMG_MINISWHITE_1C_1B}" "o-tiffcp-g3-1d-fill.tiff"

View File

@@ -0,0 +1,6 @@
#!/bin/sh
#
# Basic sanity check for tiffcp with G3 compression and 1 dimensional encoding.
#
. ${srcdir:-.}/common.sh
f_test_convert "${TIFFCP} -c g3:1d" "${IMG_MINISWHITE_1C_1B}" "o-tiffcp-g3-1d.tiff"

View File

@@ -0,0 +1,7 @@
#!/bin/sh
#
# Basic sanity check for tiffcp with G3 compression, 2 dimensional
# encoding, and zero-filled boundaries.
#
. ${srcdir:-.}/common.sh
f_test_convert "${TIFFCP} -c g3:2d:fill" "${IMG_MINISWHITE_1C_1B}" "o-tiffcp-g3-2d-fill.tiff"

View File

@@ -0,0 +1,6 @@
#!/bin/sh
#
# Basic sanity check for tiffcp with G3 compression and 2 dimensional encoding.
#
. ${srcdir:-.}/common.sh
f_test_convert "${TIFFCP} -c g3:2d" "${IMG_MINISWHITE_1C_1B}" "o-tiffcp-g3-2d.tiff"

View File

@@ -0,0 +1,6 @@
#!/bin/sh
#
# Basic sanity check for tiffcp with G3 compression
#
. ${srcdir:-.}/common.sh
f_test_convert "${TIFFCP} -c g3" "${IMG_MINISWHITE_1C_1B}" "o-tiffcp-g3.tiff"

View File

@@ -0,0 +1,6 @@
#!/bin/sh
#
# Basic sanity check for tiffcp with G4 compression
#
. ${srcdir:-.}/common.sh
f_test_convert "${TIFFCP} -c g4" "${IMG_MINISWHITE_1C_1B}" "o-tiffcp-g4.tiff"

View File

@@ -0,0 +1,7 @@
#!/bin/sh
#
# Basic sanity check for tiffcp with logluv compression
#
. ${srcdir:-.}/common.sh
f_test_convert "${TIFFCP} -c none" "${srcdir}/images/logluv-3c-16b.tiff" "o-tiffcp-logluv-raw.tiff"
f_test_convert "${TIFFCP} -c sgilog" "o-tiffcp-logluv-raw.tiff" "o-tiffcp-logluv-sgilog.tiff"

View File

@@ -0,0 +1,6 @@
#!/bin/sh
#
# Basic sanity check for tiffcp with LZW Old-LZW decompression
#
. ${srcdir:-.}/common.sh
f_test_convert "${TIFFCP} -c none" "${IMG_QUAD_LZW_COMPAT}" "o-tiffcp-lzw-compat.tiff"

View File

@@ -0,0 +1,6 @@
#!/bin/sh
#
# Basic sanity check for tiffcp with LZW decompression
#
. ${srcdir:-.}/common.sh
f_test_convert "${TIFFCP} -c none -r 1" "${IMG_LZW_SINGLE_STROP}" "o-tiffcp-lzw-scanline-decode.tiff"

View File

@@ -0,0 +1,16 @@
#!/bin/sh
#
# Basic sanity check for tiffcp + tiffsplit + tiffcp
#
# First we use tiffcp to join our test files into a multi-frame TIFF
# then we use tiffsplit to split them out again, and then we use
# tiffcp to recombine again.
. ${srcdir:-.}/common.sh
conjoined=o-tiffcp-split-join-conjoined.tif
reconjoined=o-tiffcp-split-join-reconjoined.tif
splitfile=o-tiffcp-split-join-split-
f_test_convert "${TIFFCP}" "${IMG_UNCOMPRESSED}" "${conjoined}"
f_test_convert "${TIFFSPLIT}" "${conjoined}" "${splitfile}"
f_test_convert "${TIFFCP}" "${splitfile}*" "${reconjoined}"

View File

@@ -0,0 +1,13 @@
#!/bin/sh
#
# Basic sanity check for tiffcp + tiffsplit
#
# First we use tiffcp to join our test files into a multi-frame TIFF
# and then we use tiffsplit to split them out again.
#
. ${srcdir:-.}/common.sh
conjoined=o-tiffcp-split-conjoined.tif
splitfile=o-tiffcp-split-split-
f_test_convert "${TIFFCP}" "${IMG_UNCOMPRESSED}" "${conjoined}"
f_test_convert "${TIFFSPLIT}" "${conjoined}" "${splitfile}"

View File

Some files were not shown because too many files have changed in this diff Show More