Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Nov 1999 10:23:46 -0800 (PST)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@freebsd.org
Subject:   ports/15078: Update port: graphics/tiff to 3.5.2
Message-ID:  <19991124182346.2ACAC152D4@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         15078
>Category:       ports
>Synopsis:       Update port: graphics/tiff to 3.5.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 24 10:30:00 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        3.3-RELEASE i386
>Organization:
>Environment:
>Description:
* Updated version 3.5.1 to 3.5.2
* Revised pkg/COMMENT

New file:
patches/patch-ae

Note:
This PR supersedes port/14124 (left alone for about 2 months).

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/graphics/tiff/Makefile graphics/tiff/Makefile
--- /usr/ports/graphics/tiff/Makefile	Tue Sep  7 19:37:55 1999
+++ graphics/tiff/Makefile	Wed Nov 24 07:32:29 1999
@@ -1,5 +1,5 @@
 # New ports collection makefile for:	tiff
-# Version required:	3.5.1
+# Version required:	3.5.2
 # Date created:		8 October 1996
 # Whom:			Richard Hwang <rhwang@bigpanda.com>
 #			Mikhail Teterin <mi@aldan.algebra.com>
@@ -8,32 +8,35 @@
 # $FreeBSD: ports/graphics/tiff/Makefile,v 1.20 1999/09/07 10:37:55 steve Exp $
 #
 
-DISTNAME=	tiff-v3.5.1
-PKGNAME=	tiff-3.5.1
+DISTNAME=	tiff-v3.5.2
+PKGNAME=	tiff-3.5.2
 CATEGORIES=	graphics
 MASTER_SITES=	ftp://ftp.onshore.com/pub/libtiff/ \
 		http://www.libtiff.org/
 
 MAINTAINER=	ports@FreeBSD.org
 
-LIB_DEPENDS=    jpeg.9:${PORTSDIR}/graphics/jpeg
+LIB_DEPENDS=	jpeg.9:${PORTSDIR}/graphics/jpeg
 
 HAS_CONFIGURE=	yes
-CONFIGURE_ARGS=	--with-ZIP --with-JPEG --with-DIR_BIN=${PREFIX}/bin \
+CONFIGURE_ARGS=	--with-ZIP --with-JPEG \
+		--with-DIR_BIN=${PREFIX}/bin \
 		--with-DIR_LIB=${PREFIX}/lib \
 		--with-DIR_INC=${PREFIX}/include \
 		--with-DIR_MAN=${PREFIX}/man \
 		--with-CC="${CC}" --with-GCOPTS="${CFLAGS}" \
-		--with-DIRS_LIBINC=${PREFIX}/include \
+		--with-DIRS_LIBINC=${LOCALBASE}/include \
 		--with-DIR_GZLIB=/usr/lib \
-		--with-DIR_JPEGLIB=${PREFIX}/lib \
+		--with-DIR_JPEGLIB=${LOCALBASE}/lib \
 		--with-LIBGL=no --with-LIBIMAGE=no \
 		--with-INSTALL="${SH} ${WRKSRC}/port/install.sh" \
 		--noninteractive
 
 .if defined(NOPORTDOCS)
-CONFIGURE_ARGS+=--with-HTML=no
-PLIST=${PKGDIR}/PLIST.nodocs
+CONFIGURE_ARGS+=	--with-HTML=no
+PLIST=			${PKGDIR}/PLIST.nodocs
+.else
+CONFIGURE_ARGS+=	--with-HTML --with-DIR_HTML=${PREFIX}/share/doc/tiff
 .endif
 
 MAN1=	fax2ps.1 fax2tiff.1 gif2tiff.1 pal2rgb.1 ppm2tiff.1 ras2tiff.1 \
@@ -51,37 +54,23 @@
 	TIFFRGBAImage.3t TIFFRGBAImageBegin.3t TIFFRGBAImageEnd.3t \
 	TIFFRGBAImageGet.3t TIFFRGBAImageOK.3t TIFFReadBufferSetup.3t \
 	TIFFReadDirectory.3t TIFFReadEncodedStrip.3t TIFFReadEncodedTile.3t \
-	TIFFReadRGBAImage.3t TIFFReadRawStrip.3t TIFFReadRawTile.3t \
-	TIFFReadScanline.3t TIFFReadTile.3t TIFFRegisterCODEC.3t \
-	TIFFReverseBits.3t TIFFScanlineSize.3t TIFFSetDirectory.3t \
-	TIFFSetErrorHandler.3t TIFFSetField.3t TIFFSetSubDirectory.3t \
-	TIFFSetWarningHandler.3t TIFFStripSize.3t TIFFSwabArrayOfLong.3t \
-	TIFFSwabArrayOfShort.3t TIFFSwabLong.3t TIFFSwabShort.3t \
-	TIFFTileRowSize.3t TIFFTileSize.3t TIFFUnRegisterCODEC.3t \
-	TIFFVGetField.3t TIFFVSetField.3t TIFFVStripSize.3t TIFFVTileSize.3t \
-	TIFFWarning.3t TIFFWriteBufferSetup.3t TIFFWriteDirectory.3t \
-	TIFFWriteEncodedStrip.3t TIFFWriteEncodedTile.3t TIFFWriteRawStrip.3t \
-	TIFFWriteRawTile.3t TIFFWriteScanline.3t TIFFbuffer.3t TIFFcodec.3t \
-	TIFFfree.3t TIFFmalloc.3t TIFFmemcmp.3t TIFFmemcpy.3t TIFFmemory.3t \
-	TIFFmemset.3t TIFFquery.3t TIFFrealloc.3t TIFFsize.3t TIFFstrip.3t \
-	TIFFswab.3t TIFFtile.3t libtiff.3t
-
-DOCDIR=	${PREFIX}/share/doc/tiff
-
-.include <bsd.port.pre.mk>
+	TIFFReadRGBAImage.3t TIFFReadRGBAStrip.3t TIFFReadRGBATile.3t \
+	TIFFReadRawStrip.3t TIFFReadRawTile.3t TIFFReadScanline.3t \
+	TIFFReadTile.3t TIFFRegisterCODEC.3t TIFFReverseBits.3t \
+	TIFFScanlineSize.3t TIFFSetDirectory.3t TIFFSetErrorHandler.3t \
+	TIFFSetField.3t TIFFSetSubDirectory.3t TIFFSetWarningHandler.3t \
+	TIFFStripSize.3t TIFFSwabArrayOfLong.3t TIFFSwabArrayOfShort.3t \
+	TIFFSwabLong.3t TIFFSwabShort.3t TIFFTileRowSize.3t TIFFTileSize.3t \
+	TIFFUnRegisterCODEC.3t TIFFVGetField.3t TIFFVSetField.3t \
+	TIFFVStripSize.3t TIFFVTileSize.3t TIFFWarning.3t \
+	TIFFWriteBufferSetup.3t TIFFWriteDirectory.3t TIFFWriteEncodedStrip.3t \
+	TIFFWriteEncodedTile.3t TIFFWriteRawStrip.3t TIFFWriteRawTile.3t \
+	TIFFWriteScanline.3t TIFFbuffer.3t TIFFcodec.3t TIFFfree.3t \
+	TIFFmalloc.3t TIFFmemcmp.3t TIFFmemcpy.3t TIFFmemory.3t TIFFmemset.3t \
+	TIFFquery.3t TIFFrealloc.3t TIFFsize.3t TIFFstrip.3t TIFFswab.3t \
+	TIFFtile.3t libtiff.3t
 
 post-install:
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCDIR}/images
-	${INSTALL_DATA} ${WRKSRC}/html/*.html ${DOCDIR}
-	${INSTALL_DATA} ${WRKSRC}/html/images/*.gif ${DOCDIR}/images
-	${INSTALL_DATA} ${WRKSRC}/html/images/*.jpg ${DOCDIR}/images
-.endif
-.if ${PORTOBJFORMAT} == "aout"
-	${LN} -sf libtiff.so.4.0 ${PREFIX}/lib/libtiff.so
-.else
-	${LN} -sf libtiff.so.4 ${PREFIX}/lib/libtiff.so
-.endif
 	${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -urN /usr/ports/graphics/tiff/files/md5 graphics/tiff/files/md5
--- /usr/ports/graphics/tiff/files/md5	Thu Sep  9 21:06:44 1999
+++ graphics/tiff/files/md5	Sat Oct 16 07:07:00 1999
@@ -1,2 +1 @@
-MD5 (tiff-v3.5.1.tar.gz) = d5827ede22a6c98facf37dd07e5e2a0a
-MD5 (tiff-v3.5.1.tar.gz) = dfcde380cff2c4538964de1634dd4d52
+MD5 (tiff-v3.5.2.tar.gz) = 2c498457556723485d488eb12c12fe95
diff -urN /usr/ports/graphics/tiff/patches/patch-aa graphics/tiff/patches/patch-aa
--- /usr/ports/graphics/tiff/patches/patch-aa	Sun Jun 20 02:53:49 1999
+++ graphics/tiff/patches/patch-aa	Thu Nov 25 02:30:11 1999
@@ -1,5 +1,5 @@
---- libtiff/Makefile.in.orig	Mon Apr 29 18:16:21 1996
-+++ libtiff/Makefile.in	Mon Nov 23 22:11:22 1998
+--- libtiff/Makefile.in.orig	Wed Sep  8 18:39:00 1999
++++ libtiff/Makefile.in	Wed Nov 24 07:31:09 1999
 @@ -62,7 +62,7 @@
  #
  CONF_LIBRARY=@CONF_JPEG@ @CONF_ZIP@
@@ -9,21 +9,43 @@
  CFLAGS	= @ENVOPTS@ @LIBCOPTS@ ${COPTS} ${OPTIMIZER} ${IPATH} ${CONF_LIBRARY}
  #
  SRCS	= \
-@@ -199,7 +199,16 @@
+@@ -197,8 +197,8 @@
+ 	${AR} ${AROPTS} libtiff.@DSOSUF@ shr.o
+ 	rm -f shr.o
+ 	touch $@
+-# NetBSD 1.1 or FreeBSD
+-NETBSDdso FREEBSDdso: ${OBJS}
++# NetBSD 1.1
++NETBSDdso: ${OBJS}
+ 	@rm -f libtiff_pic.a
+ 	@${AR} cq libtiff_pic.a `lorder ${OBJS} | tsort -q`
+ 	${RANLIB} libtiff_pic.a
+@@ -215,7 +215,18 @@
  # OSF/1 3.2 shared lib rule
  OSFdso: ${OBJS}
  	${LD} -o libtiff.@DSOSUF@ -shared -error_unresolved ${OBJS} @LIBJPEG@ @LIBGZ@ -lc -lm
 -
++# FreeBSD a.out shared lib rule
 +FREEBSD_AOUTdso: ${OBJS}
 +	${LD} -Bshareable -x ${LIBDIR}/c++rt0.o -o libtiff.@DSOSUF_VERSION@ \
 +		${OBJS} @LIBJPEG@ @LIBGZ@
-+	@LN@ -sf libtiff.@DSOSUF_VERSION@ libtiff.@DSOSUF@
++	@LN@ @LN_S@ libtiff.@DSOSUF_VERSION@ libtiff.@DSOSUF@
 +	touch $@
++# FreeBSD ELF shared lib rule
 +FREEBSD_ELFdso: ${OBJS}
 +	${CC} -shared -Wl,-soname,libtiff.@DSOSUF_VERSION@ -o libtiff.@DSOSUF_VERSION@ \
 +		${OBJS} @LIBJPEG@ @LIBGZ@
-+	@LN@ -sf libtiff.@DSOSUF_VERSION@ libtiff.@DSOSUF@
++	@LN@ @LN_S@ libtiff.@DSOSUF_VERSION@ libtiff.@DSOSUF@
 +	touch $@
  
  ${OBJS}: ${SRCDIR}/tiffio.h ${SRCDIR}/tiff.h ${SRCDIR}/tif_dir.h
  ${OBJS}: ${SRCDIR}/tiffcomp.h ${SRCDIR}/tiffiop.h ${SRCDIR}/tiffconf.h
+@@ -327,7 +338,7 @@
+ 	    ${INSTALL} -idb tiff.sw.tools -m 555 -F @DIR_LIB@		\
+ 		-O libtiff.@DSOSUF_VERSION@;				\
+ 	    ${INSTALL} -idb tiff.sw.tools -F @DIR_LIB@			\
+-		-ln libtiff.@DSOSUF_VERSION@ -O libtiff.@DSOSUF@;	\
++		-lns libtiff.@DSOSUF_VERSION@ -O libtiff.@DSOSUF@;	\
+ 	else								\
+ 	    ${INSTALL} -idb tiff.sw.tools -m 555 -F @DIR_LIB@		\
+ 		-O libtiff.@DSOSUF@;					\
diff -urN /usr/ports/graphics/tiff/patches/patch-ae graphics/tiff/patches/patch-ae
--- /usr/ports/graphics/tiff/patches/patch-ae	Thu Jan  1 09:00:00 1970
+++ graphics/tiff/patches/patch-ae	Wed Nov 24 06:20:42 1999
@@ -0,0 +1,11 @@
+--- html/Makefile.in.orig	Wed Jul 28 06:50:27 1999
++++ html/Makefile.in	Wed Nov 24 06:20:07 1999
+@@ -80,6 +80,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		\
diff -urN /usr/ports/graphics/tiff/pkg/COMMENT graphics/tiff/pkg/COMMENT
--- /usr/ports/graphics/tiff/pkg/COMMENT	Sun Jun 27 02:46:07 1999
+++ graphics/tiff/pkg/COMMENT	Thu Nov 25 02:42:55 1999
@@ -1 +1 @@
-Libtiff provides support for the Tag Image File Format (TIFF)
+Tools and library routines for working with TIFF images
diff -urN /usr/ports/graphics/tiff/pkg/PLIST graphics/tiff/pkg/PLIST
--- /usr/ports/graphics/tiff/pkg/PLIST	Mon Nov  1 21:15:28 1999
+++ graphics/tiff/pkg/PLIST	Wed Nov 24 06:21:45 1999
@@ -8,6 +8,7 @@
 bin/thumbnail
 bin/tiff2bw
 bin/tiff2ps
+bin/tiff2rgba
 bin/tiffcmp
 bin/tiffcp
 bin/tiffdither
@@ -26,7 +27,6 @@
 share/doc/tiff/build.html
 share/doc/tiff/contrib.html
 share/doc/tiff/document.html
-share/doc/tiff/images.html
 share/doc/tiff/images/back.gif
 share/doc/tiff/images/bali.jpg
 share/doc/tiff/images/cat.gif
@@ -43,6 +43,7 @@
 share/doc/tiff/images/smallliz.jpg
 share/doc/tiff/images/strike.gif
 share/doc/tiff/images/warning.gif
+share/doc/tiff/images.html
 share/doc/tiff/index.html
 share/doc/tiff/internals.html
 share/doc/tiff/intro.html
@@ -62,6 +63,5 @@
 share/doc/tiff/v3.4beta034.html
 share/doc/tiff/v3.4beta035.html
 share/doc/tiff/v3.4beta036.html
-share/doc/tiff/v3.5.1.html
 @dirrm share/doc/tiff/images
 @dirrm share/doc/tiff
diff -urN /usr/ports/graphics/tiff/pkg/PLIST.nodocs graphics/tiff/pkg/PLIST.nodocs
--- /usr/ports/graphics/tiff/pkg/PLIST.nodocs	Mon Nov  1 21:15:28 1999
+++ graphics/tiff/pkg/PLIST.nodocs	Wed Nov 24 04:21:59 1999
@@ -8,6 +8,7 @@
 bin/thumbnail
 bin/tiff2bw
 bin/tiff2ps
+bin/tiff2rgba
 bin/tiffcmp
 bin/tiffcp
 bin/tiffdither


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991124182346.2ACAC152D4>