pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/TiffIO Use tiff from pkgsrc. Fixes Qt-STL fal...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9f61afd22a12
branches:  trunk
changeset: 508672:9f61afd22a12
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Feb 23 17:59:49 2006 +0000

description:
Use tiff from pkgsrc. Fixes Qt-STL fallout and a possible security
problem. Bump revision.

diffstat:

 graphics/TiffIO/Makefile         |   8 +--
 graphics/TiffIO/distinfo         |   3 +-
 graphics/TiffIO/patches/patch-aa |  89 ++++++++++++++++++++++++++++++++++++++++
 3 files changed, 94 insertions(+), 6 deletions(-)

diffs (130 lines):

diff -r 735ffa0900c3 -r 9f61afd22a12 graphics/TiffIO/Makefile
--- a/graphics/TiffIO/Makefile  Thu Feb 23 17:40:15 2006 +0000
+++ b/graphics/TiffIO/Makefile  Thu Feb 23 17:59:49 2006 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.4 2006/02/05 23:09:27 joerg Exp $
+# $NetBSD: Makefile,v 1.5 2006/02/23 17:59:49 joerg Exp $
 #
 
 DISTNAME=              TiffIO-110c
 PKGNAME=               TiffIO-1.1.0.3
-PKGREVISION=           2
+PKGREVISION=           3
 CATEGORIES=            graphics
 MASTER_SITES=          http://artis.imag.fr/Software/TiffIO/
 EXTRACT_SUFX=          .tgz
@@ -28,9 +28,7 @@
 
 BUILD_ENV+=            QTDIR="${QTDIR}"
 
-# XXX The package uses an included version of tiff.
-#.include "../../graphics/tiff/buildlink3.mk"
-
+.include "../../graphics/tiff/buildlink3.mk"
 .include "../../x11/qt3-libs/buildlink3.mk"
 .include "../../x11/qt3-tools/buildlink3.mk"
 
diff -r 735ffa0900c3 -r 9f61afd22a12 graphics/TiffIO/distinfo
--- a/graphics/TiffIO/distinfo  Thu Feb 23 17:40:15 2006 +0000
+++ b/graphics/TiffIO/distinfo  Thu Feb 23 17:59:49 2006 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2005/12/09 15:47:34 gdt Exp $
+$NetBSD: distinfo,v 1.2 2006/02/23 17:59:49 joerg Exp $
 
 SHA1 (TiffIO-110c.tgz) = 061b291c7b123b8936ba1d52989fd44c422dbd94
 RMD160 (TiffIO-110c.tgz) = d8f6c17f6669887bfea0cc8cf1dca1855298b41a
 Size (TiffIO-110c.tgz) = 826601 bytes
+SHA1 (patch-aa) = 09ebe7b537112f3782eb42c8bc88453ec65fae3e
diff -r 735ffa0900c3 -r 9f61afd22a12 graphics/TiffIO/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/TiffIO/patches/patch-aa  Thu Feb 23 17:59:49 2006 +0000
@@ -0,0 +1,89 @@
+$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...



Home | Main Index | Thread Index | Old Index