pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/tiff Update to tiff-3.6.1. This is many chang...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ff4c011b60eb
branches:  trunk
changeset: 465631:ff4c011b60eb
user:      reed <reed%pkgsrc.org@localhost>
date:      Sat Jan 03 18:33:24 2004 +0000

description:
Update to tiff-3.6.1. This is many changes and fixes.
The main changes include:
new utility tiff2pdf for converting a TIFF image to a PDF document
new utility raw2tiff for converting raw rasters into TIFF files
new tiff2ps options
new fax2tiff options
bug fixes for LZW, JPEG and OJPEG compression.
more documentation
and upgrade to libtiff.so.3.6
other changes at http://www.libtiff.org/v3.6.0.html

Removed patch-ab because
html/Makefile.in: added missing images per bug 92
Removed patch-ag because
http://bugzilla.remotesensing.org/show_bug.cgi?id=315

Other changes:
HOMEPAGE changed due to libtiff.org has been hijacked
INSTALL.OpenWindows updated (thank you to dieter)

tiff is backward compatible with older version,
but buildlink2.mk version is increased because libtiff
was broken for amd64 support.

diffstat:

 graphics/tiff/INSTALL.OpenWindows |   6 +++---
 graphics/tiff/Makefile            |  33 +++++++++++++++++++++++----------
 graphics/tiff/PLIST               |  20 ++++++++++++++++++--
 graphics/tiff/buildlink2.mk       |   4 ++--
 graphics/tiff/distinfo            |  21 ++++++++++++---------
 graphics/tiff/patches/patch-ab    |  33 ++++++++++++---------------------
 graphics/tiff/patches/patch-ae    |  18 +++++++++---------
 graphics/tiff/patches/patch-af    |  17 ++++++++---------
 graphics/tiff/patches/patch-ag    |  38 ++++++++++++--------------------------
 graphics/tiff/patches/patch-ah    |  13 +++++++++++++
 10 files changed, 112 insertions(+), 91 deletions(-)

diffs (truncated from 401 to 300 lines):

diff -r c1e883086d6e -r ff4c011b60eb graphics/tiff/INSTALL.OpenWindows
--- a/graphics/tiff/INSTALL.OpenWindows Sat Jan 03 18:04:38 2004 +0000
+++ b/graphics/tiff/INSTALL.OpenWindows Sat Jan 03 18:33:24 2004 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: INSTALL.OpenWindows,v 1.3 2003/08/30 23:01:31 jlam Exp $
+# $NetBSD: INSTALL.OpenWindows,v 1.4 2004/01/03 18:33:24 reed Exp $
 
-LIBTIFF="libtiff.so libtiff.so.3"
+LIBTIFF="libtiff.so.3 libtiff.so"
 
 case ${STAGE} in
-PRE-INSTALL)
+POST-INSTALL)
        for lib in ${LIBTIFF}; do
                src="${PKG_PREFIX}/lib/${lib}"
                dest="${X11BASE}/lib/${lib}"
diff -r c1e883086d6e -r ff4c011b60eb graphics/tiff/Makefile
--- a/graphics/tiff/Makefile    Sat Jan 03 18:04:38 2004 +0000
+++ b/graphics/tiff/Makefile    Sat Jan 03 18:33:24 2004 +0000
@@ -1,18 +1,28 @@
-# $NetBSD: Makefile,v 1.48 2003/10/03 15:38:46 salo Exp $
+# $NetBSD: Makefile,v 1.49 2004/01/03 18:33:24 reed Exp $
 
-DISTNAME=      tiff-v3.5.7
-PKGNAME=       tiff-3.5.7
-PKGREVISION=   1
+DISTNAME=      tiff-v3.6.1
+PKGNAME=       tiff-3.6.1
 CATEGORIES=    graphics
-MASTER_SITES=  ftp://ftp.remotesensing.org/pub/libtiff/
+MASTER_SITES=  ftp://ftp.remotesensing.org/pub/libtiff/ \
+               http://libtiff.maptools.org/dl/
 DISTFILES=     ${DISTNAME}${EXTRACT_SUFX}
 # need DISTFILES above for adding lzw-files to it if USE_GIF is defined
 # in mk.conf
+DISTFILES+=    TIFFTechNote2.html
+# It is in CVS for Release-v3-6-1, but accidently excluded from distribution.
+SITES_TIFFTechNote2.html=      ${MASTER_SITE_LOCAL:=tiff/}
 
 MAINTAINER=    tech-pkg%NetBSD.org@localhost
-HOMEPAGE=      http://www.libtiff.org/
+HOMEPAGE=      http://www.remotesensing.org/libtiff/
 COMMENT=       Library and tools for reading and writing TIFF data files
 
+EXTRACT_ONLY=  ${DISTNAME}${EXTRACT_SUFX}
+
+# use DIST_SUBDIR because TIFFTechNote2.html could be changed later
+DIST_SUBDIR=   ${PKGNAME_NOREV}
+
+BUILD_DEFS+=   USE_GIF
+
 USE_BUILDLINK2=        yes
 USE_LIBTOOL=   yes
 HAS_CONFIGURE= yes
@@ -26,12 +36,15 @@
 INSTALL_EXTRA_TMPL+=   ${.CURDIR}/INSTALL.OpenWindows
 .endif
 
+post-extract:
+       ${CP} ${DISTDIR}/${DIST_SUBDIR}/TIFFTechNote2.html ${WRKSRC}/html/
+
 .if defined(USE_GIF)
-LZW_VERSION=   1.3
+LZW_VERSION=   1.5
 DISTFILES+=    libtiff-lzw-compression-kit-${LZW_VERSION}.tar.gz
+EXTRACT_ONLY+= libtiff-lzw-compression-kit-${LZW_VERSION}.tar.gz
 LZWWRKDIR=     ${WRKDIR}/libtiff-lzw-compression-kit-${LZW_VERSION}
-
-post-patch:
+pre-patch:
        ${CP} ${LZWWRKDIR}/tif_lzw.c ${WRKSRC}/libtiff
 .endif
 
@@ -39,7 +52,7 @@
 CONFIGURE_ENV+=        PREFIX="${PREFIX}"
 CONFIGURE_ENV+=        ENVOPTS="${CFLAGS} ${CPPFLAGS}"
 
-pre-patch:
+post-patch:
        # reference correct relative man page when using .so
        #
        ${MV} ${WRKSRC}/man/Makefile.in ${WRKSRC}/man/Makefile.in.in
diff -r c1e883086d6e -r ff4c011b60eb graphics/tiff/PLIST
--- a/graphics/tiff/PLIST       Sat Jan 03 18:04:38 2004 +0000
+++ b/graphics/tiff/PLIST       Sat Jan 03 18:33:24 2004 +0000
@@ -1,13 +1,15 @@
-@comment $NetBSD: PLIST,v 1.2 2002/03/05 10:33:35 martti Exp $
+@comment $NetBSD: PLIST,v 1.3 2004/01/03 18:33:24 reed Exp $
 bin/fax2ps
 bin/fax2tiff
 bin/gif2tiff
 bin/pal2rgb
 bin/ppm2tiff
 bin/ras2tiff
+bin/raw2tiff
 bin/rgb2ycbcr
 bin/thumbnail
 bin/tiff2bw
+bin/tiff2pdf
 bin/tiff2ps
 bin/tiff2rgba
 bin/tiffcmp
@@ -26,17 +28,19 @@
 lib/libtiff.la
 lib/libtiff.so
 lib/libtiff.so.3
-lib/libtiff.so.3.5
+lib/libtiff.so.3.6
 man/man1/fax2ps.1
 man/man1/fax2tiff.1
 man/man1/gif2tiff.1
 man/man1/pal2rgb.1
 man/man1/ppm2tiff.1
 man/man1/ras2tiff.1
+man/man1/raw2tiff.1
 man/man1/rgb2ycbcr.1
 man/man1/sgi2tiff.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
@@ -57,6 +61,7 @@
 man/man3/TIFFCurrentRow.3
 man/man3/TIFFCurrentStrip.3
 man/man3/TIFFCurrentTile.3
+man/man3/TIFFDataWidth.3
 man/man3/TIFFDefaultStripSize.3
 man/man3/TIFFDefaultTileSize.3
 man/man3/TIFFError.3
@@ -67,6 +72,7 @@
 man/man3/TIFFFlush.3
 man/man3/TIFFFlushData.3
 man/man3/TIFFGetField.3
+man/man3/TIFFGetFieldDefaulted.3
 man/man3/TIFFGetMode.3
 man/man3/TIFFIsByteSwapped.3
 man/man3/TIFFIsMSB2LSB.3
@@ -87,6 +93,7 @@
 man/man3/TIFFReadEncodedStrip.3
 man/man3/TIFFReadEncodedTile.3
 man/man3/TIFFReadRGBAImage.3
+man/man3/TIFFReadRGBAImageOriented.3
 man/man3/TIFFReadRGBAStrip.3
 man/man3/TIFFReadRGBATile.3
 man/man3/TIFFReadRawStrip.3
@@ -111,6 +118,7 @@
 man/man3/TIFFTileSize.3
 man/man3/TIFFUnRegisterCODEC.3
 man/man3/TIFFVGetField.3
+man/man3/TIFFVGetFieldDefaulted.3
 man/man3/TIFFVSetField.3
 man/man3/TIFFVStripSize.3
 man/man3/TIFFVTileSize.3
@@ -125,6 +133,7 @@
 man/man3/TIFFWriteTile.3
 man/man3/TIFFbuffer.3
 man/man3/TIFFcodec.3
+man/man3/TIFFcolor.3
 man/man3/TIFFfree.3
 man/man3/TIFFmalloc.3
 man/man3/TIFFmemcmp.3
@@ -138,6 +147,7 @@
 man/man3/TIFFswab.3
 man/man3/TIFFtile.3
 man/man3/libtiff.3
+share/doc/html/tiff/TIFFTechNote2.html
 share/doc/html/tiff/bugs.html
 share/doc/html/tiff/build.html
 share/doc/html/tiff/contrib.html
@@ -181,5 +191,11 @@
 share/doc/html/tiff/v3.5.1.html
 share/doc/html/tiff/v3.5.2.html
 share/doc/html/tiff/v3.5.3.html
+share/doc/html/tiff/v3.5.4.html
+share/doc/html/tiff/v3.5.5.html
+share/doc/html/tiff/v3.5.6-beta.html
+share/doc/html/tiff/v3.5.7.html
+share/doc/html/tiff/v3.6.0.html
+share/doc/html/tiff/v${PKGVERSION}.html
 @dirrm share/doc/html/tiff/images
 @dirrm share/doc/html/tiff
diff -r c1e883086d6e -r ff4c011b60eb graphics/tiff/buildlink2.mk
--- a/graphics/tiff/buildlink2.mk       Sat Jan 03 18:04:38 2004 +0000
+++ b/graphics/tiff/buildlink2.mk       Sat Jan 03 18:33:24 2004 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 18:39:23 jlam Exp $
+# $NetBSD: buildlink2.mk,v 1.3 2004/01/03 18:33:24 reed Exp $
 
 .if !defined(TIFF_BUILDLINK2_MK)
 TIFF_BUILDLINK2_MK=    # defined
 
 BUILDLINK_PACKAGES+=           tiff
-BUILDLINK_DEPENDS.tiff?=       tiff>=3.5.4
+BUILDLINK_DEPENDS.tiff?=       tiff>=3.6.1
 BUILDLINK_PKGSRCDIR.tiff?=     ../../graphics/tiff
 
 EVAL_PREFIX+=  BUILDLINK_PREFIX.tiff=tiff
diff -r c1e883086d6e -r ff4c011b60eb graphics/tiff/distinfo
--- a/graphics/tiff/distinfo    Sat Jan 03 18:04:38 2004 +0000
+++ b/graphics/tiff/distinfo    Sat Jan 03 18:33:24 2004 +0000
@@ -1,13 +1,16 @@
-$NetBSD: distinfo,v 1.10 2003/05/23 09:26:58 wiz Exp $
+$NetBSD: distinfo,v 1.11 2004/01/03 18:33:24 reed Exp $
 
-SHA1 (tiff-v3.5.7.tar.gz) = a4c3e27b6625ee9daec7c7c35ec3dedf59c14ca7
-Size (tiff-v3.5.7.tar.gz) = 951139 bytes
-SHA1 (libtiff-lzw-compression-kit-1.3.tar.gz) = 88809c8950e168a4d374b9f39d01a07282070717
-Size (libtiff-lzw-compression-kit-1.3.tar.gz) = 8847 bytes
+SHA1 (tiff-3.6.1/tiff-v3.6.1.tar.gz) = f7817145d8756152cc341804df6477f37ef93c38
+Size (tiff-3.6.1/tiff-v3.6.1.tar.gz) = 1072165 bytes
+SHA1 (tiff-3.6.1/TIFFTechNote2.html) = bf202e0ded764f0f6b9cda673245dea4ebfaf73f
+Size (tiff-3.6.1/TIFFTechNote2.html) = 35698 bytes
+SHA1 (tiff-3.6.1/libtiff-lzw-compression-kit-1.5.tar.gz) = 97d103ca8595cf6759fc6c52f4199be4b02b95b0
+Size (tiff-3.6.1/libtiff-lzw-compression-kit-1.5.tar.gz) = 9646 bytes
 SHA1 (patch-aa) = 228fa627d820bce8f1767387e5b4dbdd8148fd52
-SHA1 (patch-ab) = 60a01fd74f271e512a7262964f5c7540164ac301
+SHA1 (patch-ab) = 186b597cb44768570d844d55a4f4358a89974633
 SHA1 (patch-ac) = 754a02bb0561f8944fa1c870ab8dd6c1d6bf0c49
 SHA1 (patch-ad) = 9c8c96d1f57902222541ba9b5f439c94d575d9eb
-SHA1 (patch-ae) = 146a27e003ec0d194f31b021b961699f3ffe9f94
-SHA1 (patch-af) = e168502fbdc7f94439aa71a5f67d85ce41d1a68e
-SHA1 (patch-ag) = 32ff74fe27c0fd00948c50db97a2ee71f34560ef
+SHA1 (patch-ae) = d82547ecce837e667ce8f821e0cf8c8a25af2187
+SHA1 (patch-af) = 51cbd54bff7999af84d6f4d49972f5ee519dd2e0
+SHA1 (patch-ag) = fb51f031121e6d290de59b08595bdbf7bc29f602
+SHA1 (patch-ah) = b824c4aaf1f97787afe1937ec471823164d03685
diff -r c1e883086d6e -r ff4c011b60eb graphics/tiff/patches/patch-ab
--- a/graphics/tiff/patches/patch-ab    Sat Jan 03 18:04:38 2004 +0000
+++ b/graphics/tiff/patches/patch-ab    Sat Jan 03 18:33:24 2004 +0000
@@ -1,22 +1,13 @@
-$NetBSD: patch-ab,v 1.12 2002/03/05 10:33:36 martti Exp $
+$NetBSD: patch-ab,v 1.13 2004/01/03 18:33:24 reed Exp $
 
---- html/Makefile.in.orig      Tue Jul 17 15:13:37 2001
-+++ html/Makefile.in   Mon Mar  4 16:02:59 2002
-@@ -77,8 +77,6 @@
-       v3.5.1.html             \
-       v3.5.2.html             \
-       v3.5.3.html             \
--      v3.5.4.html             \
--      v3.5.5.html             \
-       ${NULL}
- IMAGES=\
-       images/back.gif         \
-@@ -86,6 +84,8 @@
-       images/cat.gif          \
-       images/cover.jpg        \
-       images/cramps.gif       \
-+      images/dave.gif         \
-+      images/info.gif         \
-       images/jello.jpg        \
-       images/jim.gif          \
-       images/note.gif         \
+--- libtiff/tiff.h.orig        Mon Oct  7 11:50:46 2002
++++ libtiff/tiff.h
+@@ -79,7 +79,7 @@ typedef      char int8;
+ typedef       unsigned char uint8;
+ typedef       short int16;
+ typedef       unsigned short uint16;  /* sizeof (uint16) must == 2 */
+-#if defined(__alpha) || (defined(_MIPS_SZLONG) && _MIPS_SZLONG == 64) || defined(__LP64__) || defined(__arch64__)
++#if defined(__alpha) || (defined(_MIPS_SZLONG) && _MIPS_SZLONG == 64) || defined(__LP64__) || defined(__arch64__) || defined(_LP64)
+ typedef       int int32;
+ typedef       unsigned int uint32;    /* sizeof (uint32) must == 4 */
+ #else
diff -r c1e883086d6e -r ff4c011b60eb graphics/tiff/patches/patch-ae
--- a/graphics/tiff/patches/patch-ae    Sat Jan 03 18:04:38 2004 +0000
+++ b/graphics/tiff/patches/patch-ae    Sat Jan 03 18:33:24 2004 +0000
@@ -1,26 +1,26 @@
-$NetBSD: patch-ae,v 1.6 2002/03/05 10:33:36 martti Exp $
+$NetBSD: patch-ae,v 1.7 2004/01/03 18:33:24 reed Exp $
 
---- man/Makefile.in.orig       Wed Sep 26 19:32:24 2001
-+++ man/Makefile.in    Mon Mar  4 16:07:34 2002
-@@ -343,9 +343,7 @@
+--- man/Makefile.in.orig       Fri Nov 21 19:28:59 2003
++++ man/Makefile.in
+@@ -354,9 +354,7 @@ apps/Makefile:
         ${ECHO} 'install:';                                            \
         for i in *.1; do                                               \
            f=${MANAPPNAME};                                            \
 -          ${ECHO} '   cd ..; ${INSTALL} -m 444                        \
--              -F ${DESTDIR}${MAN}/${MANAPPS}                          \
+-              -F $${DESTDIR}${MAN}/${MANAPPS}                         \
 -              -idb tiff.man.tools -src' apps/"$$i" '-O' "$$f";        \
-+          ${ECHO} '   ${BSD_INSTALL_DATA}' $$i ${MAN}/${MANAPPS}/$$f; \
++          ${ECHO} '   ${BSD_INSTALL_DATA}' $$i ${MAN}/${MANAPPS}/$$f; \
         done                                                           \
        )>apps/Makefile
  lib/Makefile:
-@@ -356,9 +354,7 @@
+@@ -367,9 +365,7 @@ lib/Makefile:
         ${ECHO} 'install:';                                            \
         for i in *.3t; do                                              \
            f=${MANLIBNAME};                                            \
 -          ${ECHO} '   cd ..; ${INSTALL} -m 444                        \
--              -F ${DESTDIR}${MAN}/${MANLIB}                           \
+-              -F $${DESTDIR}${MAN}/${MANLIB}                          \
 -              -idb tiff.man.dev -src' lib/"$$i" '-O' "$$f";           \



Home | Main Index | Thread Index | Old Index