summaryrefslogtreecommitdiff
path: root/graphics/TiffIO/patches
diff options
context:
space:
mode:
authorminskim <minskim>2006-03-23 03:25:12 +0000
committerminskim <minskim>2006-03-23 03:25:12 +0000
commit38b413c91778971d313675df33918143aad6e517 (patch)
tree0126d406dc22c758e5a124fc2e22c99d1d1c8dbe /graphics/TiffIO/patches
parent5b33ffbdc43c211c3e331b5f345f00c7ccfd3a3c (diff)
downloadpkgsrc-38b413c91778971d313675df33918143aad6e517.tar.gz
Update TiffIO to 1.2.0e.
Changes: - Use libtiff>3.8. - bit order is different from byte order. So don't messup endianness with LSBfirst in bitmaps. - Added support for Lab up to 3x16bits and RGB/RGBA up to 4x32bits.
Diffstat (limited to 'graphics/TiffIO/patches')
-rw-r--r--graphics/TiffIO/patches/patch-aa89
-rw-r--r--graphics/TiffIO/patches/patch-ab13
2 files changed, 13 insertions, 89 deletions
diff --git a/graphics/TiffIO/patches/patch-aa b/graphics/TiffIO/patches/patch-aa
deleted file mode 100644
index affe90a215c..00000000000
--- a/graphics/TiffIO/patches/patch-aa
+++ /dev/null
@@ -1,89 +0,0 @@
-$NetBSD: patch-aa,v 1.1 2006/02/23 17:59:50 joerg Exp $
-
---- TiffIO.pri.orig 2006-02-23 02:30:46.000000000 +0100
-+++ TiffIO.pri
-@@ -23,11 +23,7 @@
- CONFIG -= debug_and_release debug_and_release_target
- CONFIG += qt
-
--isEmpty(TIFF): TIFF=$$(TIFF)
--isEmpty(TIFF): TIFF=libtiff-3.7.2
--message( +++++ Using TIFF $${TIFF} )
--!exists( $$TIFF/tiffio.h ) : error( Unable to find libtiff )
--INCLUDEPATH = $$TIFF $$INCLUDEPATH
-+INCLUDEPATH = $${PREFIX}/include $$INCLUDEPATH
- INCLUDEPATH -= /usr/include
-
- #Note: All *_SUPPORT flags are set inside tif_config.h
-@@ -40,70 +36,10 @@ win32: !jpeg: CONFIG += no-jpeg
- # (that generates link error on Qt4/nmake compiles).
- DEFINES += TIF_PLATFORM_CONSOLE=1
-
--HEADERS += \
-- $$TIFF/tiffio.h
--
- SOURCES += \
- TiffIO.cpp
-
--##############################################################################
--# Auto detect, for linux, if a tiff plateform was required
--
--linux: !exists( $$TIFF/tif_aux.c ) : CONFIG += libtiff
--!libtiff {
-- message( +++++ Using internal $$TIFF sources )
--
-- HEADERS += \
-- $$TIFF/tiff.h \
-- $$TIFF/tiffiop.h \
-- $$TIFF/tiffvers.h \
-- $$TIFF/tif_config.h
--
-- SOURCES += \
-- $$TIFF/tif_aux.c \
-- $$TIFF/tif_close.c \
-- $$TIFF/tif_codec.c \
-- $$TIFF/tif_color.c \
-- $$TIFF/tif_compress.c \
-- $$TIFF/tif_dir.c \
-- $$TIFF/tif_dirinfo.c \
-- $$TIFF/tif_dirread.c \
-- $$TIFF/tif_dirwrite.c \
-- $$TIFF/tif_dumpmode.c \
-- $$TIFF/tif_error.c \
-- $$TIFF/tif_extension.c \
-- $$TIFF/tif_fax3.c \
-- $$TIFF/tif_fax3sm.c \
-- $$TIFF/tif_flush.c \
-- $$TIFF/tif_getimage.c \
-- $$TIFF/tif_luv.c \
-- $$TIFF/tif_next.c \
-- $$TIFF/tif_open.c \
-- $$TIFF/tif_packbits.c \
-- $$TIFF/tif_predict.c \
-- $$TIFF/tif_print.c \
-- $$TIFF/tif_read.c \
-- $$TIFF/tif_strip.c \
-- $$TIFF/tif_swab.c \
-- $$TIFF/tif_thunder.c \
-- $$TIFF/tif_tile.c \
-- $$TIFF/tif_version.c \
-- $$TIFF/tif_warning.c \
-- $$TIFF/tif_write.c
--
-- !no-zlib: SOURCES += $$TIFF/tif_zip.c $$TIFF/tif_pixarlog.c
-- no-zlib: DEFINES += NO_ZLIB=1
-- !no-lzw: SOURCES += $$TIFF/tif_lzw.c
-- no-lzw: DEFINES += NO_LZW=1
-- !no-jpeg: SOURCES += $$TIFF/tif_jpeg.c
-- no-jpeg: DEFINES += NO_JPEG=1
--
-- win32: SOURCES += $$TIFF/tif_win32.c
-- unix : SOURCES += $$TIFF/tif_unix.c
--} else {
-- message( Using system Tiff )
-- LIBS *= -ltiff
--}
-+LIBS *= -ltiff
-
- ##############################################################################
- # Auto-detect Qt3 or Qt4 support mode...
diff --git a/graphics/TiffIO/patches/patch-ab b/graphics/TiffIO/patches/patch-ab
new file mode 100644
index 00000000000..5157dfa259d
--- /dev/null
+++ b/graphics/TiffIO/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2006/03/23 03:25:12 minskim Exp $
+
+--- TiffIO.pro.orig 2006-01-12 01:57:40.000000000 +0000
++++ TiffIO.pro
+@@ -15,7 +15,7 @@ TARGET = TiffIO
+ # NOTE: Install features have been removed from Qt 4.0 (and 4.1) doc,
+ # *but* they are still working...
+ #
+-linux {
++unix {
+ target.path = $$(RPM_BUILD_ROOT)$$(QTDIR)/plugins/imageformats/
+ INSTALLS += target
+ }