Skip to contentSkip to conversation

tiff: add utility commands and library options

PATCH New Frank Hunleth 2 participants 2 messages Jan 12, 2012

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 tiff: add utility commands and library options

Added support for compiling tiffcp and tiff2pdf.

Added options for compiling out various libtiff features. By default, all libtiff features are built so that the result is the same as before this change.

---
 package/tiff/Config.in |   71 ++++++++++++++++++++++++++++++++++++++++++++++-
 package/tiff/tiff.mk   |   66 +++++++++++++++++++++++++++++++++++++++++++-
 2 files changed, 134 insertions(+), 3 deletions(-)
package/tiff/Config.in +69 -2
index c6336e2..7850965 100644
@@ -1,8 +1,75 @@
 config BR2_PACKAGE_TIFF
 	bool "tiff"
-	select BR2_PACKAGE_ZLIB
-	select BR2_PACKAGE_JPEG
 	help
 	  Library for handling TIFF (Tag Image File Format) images.
 
 	  http://www.libtiff.org/
+
+if BR2_PACKAGE_TIFF
+menu "tiff Options"
+
+config BR2_PACKAGE_TIFF_CCITT
+	bool "CCITT Group 3 & 4 support"
+	default y
+
+config BR2_PACKAGE_TIFF_PACKBITS
+	bool "Macintosh PackBits algorithm"
+	default y
+
+config BR2_PACKAGE_TIFF_LZW
+	bool "LZW algorithm"
+	default y
+
+config BR2_PACKAGE_TIFF_THUNDER
+	bool "ThunderScan 4-bit RLE algorithm"
+	default y
+
+config BR2_PACKAGE_TIFF_NEXT
+	bool "NeXT 2-bit RLE algorithm"
+	default y
+
+config BR2_PACKAGE_TIFF_LOGLUV
+	bool "LogLuv high dynamic range encoding"
+	default y
+
+config BR2_PACKAGE_TIFF_MDI
+	bool "Microsoft Document Imaging"
+	default y
+
+config BR2_PACKAGE_TIFF_ZLIB
+	bool "Zlib usage (required for Deflate compression)"
+	select BR2_PACKAGE_ZLIB
+	default y
+
+config BR2_PACKAGE_TIFF_PIXARLOG
+	bool "Pixar log-format algorithm (requires Zlib)"
+	select BR2_PACKAGE_TIFF_ZLIB
+	default y
+
+config BR2_PACKAGE_TIFF_JPEG
+	bool "JPEG compression"
+	select BR2_PACKAGE_JPEG
+	default y
+
+config BR2_PACKAGE_TIFF_OLD_JPEG
+	bool "Old JPEG decompression"
+	default y
+
+config BR2_PACKAGE_TIFF_JBIG
+	bool "JBIG compression"
+	default y
+endmenu
+
+endif
+
+config BR2_PACKAGE_TIFF_TIFF2PDF
+	bool "tiff2pdf"
+	depends on BR2_PACKAGE_TIFF
+	help
+	  tiff2pdf utility
+
+config BR2_PACKAGE_TIFF_TIFFCP
+	bool "tiffcp"
+	depends on BR2_PACKAGE_TIFF
+	help
+	  tiffcp utility
package/tiff/tiff.mk +65 -1

75 lines not on this page · raw message

Signature · 1 line
1.7.0.4
#1 lore raw

PATCH v2 1/1 tiff: add utility commands and library options

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Frank" == Frank Hunleth <[email protected]> writes:

Frank> Added support for compiling tiffcp and tiff2pdf.
Frank> Added options for compiling out various libtiff features. By default, Frank> all libtiff features are built so that the result is the same as before Frank> this change.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard