diff options
author | dinoex <dinoex@FreeBSD.org> | 2004-12-22 15:06:06 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2004-12-22 15:06:06 +0800 |
commit | ed5b50841e761cb103eb7eb7c1e60f02ddb5bbcc (patch) | |
tree | df6c16d04c1b6e973c9dcf4633b22b693e6ecaf7 /graphics/tiff | |
parent | cc5ea9ce1c5da821ee8b4b3ea1109cb1a76bc11d (diff) | |
download | freebsd-ports-gnome-ed5b50841e761cb103eb7eb7c1e60f02ddb5bbcc.tar.gz freebsd-ports-gnome-ed5b50841e761cb103eb7eb7c1e60f02ddb5bbcc.tar.zst freebsd-ports-gnome-ed5b50841e761cb103eb7eb7c1e60f02ddb5bbcc.zip |
- update to 3.7.1
Diffstat (limited to 'graphics/tiff')
-rw-r--r-- | graphics/tiff/Makefile | 150 | ||||
-rw-r--r-- | graphics/tiff/distinfo | 4 | ||||
-rw-r--r-- | graphics/tiff/files/patch-Makefile.in | 16 | ||||
-rw-r--r-- | graphics/tiff/files/patch-tif_color.c | 43 | ||||
-rw-r--r-- | graphics/tiff/files/patch-tiff2ps.c | 17 | ||||
-rw-r--r-- | graphics/tiff/pkg-plist | 3 |
6 files changed, 98 insertions, 135 deletions
diff --git a/graphics/tiff/Makefile b/graphics/tiff/Makefile index 64ba8ad8fef1..4f4f762b3550 100644 --- a/graphics/tiff/Makefile +++ b/graphics/tiff/Makefile @@ -8,8 +8,7 @@ # PORTNAME= tiff -PORTVERSION= 3.7.0 -PORTREVISION= 2 +PORTVERSION= 3.7.1 CATEGORIES= graphics MASTER_SITES= ftp://ftp.remotesensing.org/pub/libtiff/ \ http://dl1.maptools.org/dl/libtiff/ @@ -37,80 +36,85 @@ MAN1= bmp2tiff.1 tiff2pdf.1 fax2ps.1 fax2tiff.1 gif2tiff.1 pal2rgb.1 \ ppm2tiff.1 ras2tiff.1 raw2tiff.1 rgb2ycbcr.1 sgi2tiff.1 \ thumbnail.1 tiff2bw.1 tiff2ps.1 tiff2rgba.1 tiffcmp.1 tiffcp.1 \ tiffdither.1 tiffdump.1 tiffgt.1 tiffinfo.1 tiffmedian.1 \ - tiffsplit.1 tiffsv.1 -MAN3= TIFFClose.3t TIFFDataWidth.3t TIFFError.3t TIFFFlush.3t \ - TIFFGetField.3t TIFFOpen.3t TIFFPrintDirectory.3t TIFFRGBAImage.3t \ - TIFFReadDirectory.3t TIFFReadEncodedStrip.3t TIFFReadEncodedTile.3t \ - TIFFReadRGBAImage.3t TIFFReadRGBAStrip.3t TIFFReadRGBATile.3t \ - TIFFReadRawStrip.3t TIFFReadRawTile.3t TIFFReadScanline.3t \ - TIFFReadTile.3t TIFFSetDirectory.3t TIFFSetField.3t TIFFWarning.3t \ - TIFFWriteDirectory.3t TIFFWriteEncodedStrip.3t \ - TIFFWriteEncodedTile.3t TIFFWriteRawStrip.3t TIFFWriteRawTile.3t \ - TIFFWriteScanline.3t TIFFWriteTile.3t TIFFbuffer.3t TIFFcodec.3t \ - TIFFcolor.3t TIFFmemory.3t TIFFquery.3t TIFFsize.3t TIFFstrip.3t \ - TIFFswab.3t TIFFtile.3t libtiff.3t -MLINKS= TIFFError.3t TIFFSetErrorHandler.3t \ - TIFFFlush.3t TIFFFlushData.3t \ - TIFFGetField.3t TIFFGetFieldDefaulted.3t \ - TIFFGetField.3t TIFFVGetField.3t \ - TIFFGetField.3t TIFFVGetFieldDefaulted.3t \ - TIFFOpen.3t TIFFFdOpen.3t \ - TIFFOpen.3t TIFFClientOpen.3t \ - TIFFRGBAImage.3t TIFFRGBAImageOK.3t \ - TIFFRGBAImage.3t TIFFRGBAImageBegin.3t \ - TIFFRGBAImage.3t TIFFRGBAImageGet.3t \ - TIFFRGBAImage.3t TIFFRGBAImageEnd.3t \ - TIFFRGBAImage.3t TIFFReadRGBAImageOriented.3t \ - TIFFSetDirectory.3t TIFFSetSubDirectory.3t \ - TIFFSetField.3t TIFFVSetField.3t \ - TIFFWarning.3t TIFFSetWarningHandler.3t \ - TIFFWriteDirectory.3t TIFFRewriteDirectory.3t \ - TIFFbuffer.3t TIFFReadBufferSetup.3t \ - TIFFbuffer.3t TIFFWriteBufferSetup.3t \ - TIFFcodec.3t TIFFFindCODEC.3t \ - TIFFcodec.3t TIFFRegisterCODEC.3t \ - TIFFcodec.3t TIFFUnRegisterCODEC.3t \ - TIFFmemory.3t TIFFfree.3t \ - TIFFmemory.3t TIFFmalloc.3t \ - TIFFmemory.3t TIFFmemcmp.3t \ - TIFFmemory.3t TIFFmemcpy.3t \ - TIFFmemory.3t TIFFmemset.3t \ - TIFFmemory.3t TIFFrealloc.3t \ - TIFFquery.3t TIFFCurrentDirectory.3t \ - TIFFquery.3t TIFFCurrentRow.3t \ - TIFFquery.3t TIFFCurrentStrip.3t \ - TIFFquery.3t TIFFCurrentTile.3t \ - TIFFquery.3t TIFFFileName.3t \ - TIFFquery.3t TIFFFileno.3t \ - TIFFquery.3t TIFFGetMode.3t \ - TIFFquery.3t TIFFIsTiled.3t \ - TIFFquery.3t TIFFIsByteSwapped.3t \ - TIFFquery.3t TIFFIsUpSampled.3t \ - TIFFquery.3t TIFFIsMSB2LSB.3t \ - TIFFquery.3t TIFFLastDirectory.3t \ - TIFFsize.3t TIFFScanlineSize.3t \ - TIFFstrip.3t TIFFComputeStrip.3t \ - TIFFstrip.3t TIFFDefaultStripSize.3t \ - TIFFstrip.3t TIFFNumberOfStrips.3t \ - TIFFstrip.3t TIFFStripSize.3t \ - TIFFstrip.3t TIFFVStripSize.3t \ - TIFFswab.3t TIFFReverseBits.3t \ - TIFFswab.3t TIFFSwabArrayOfLong.3t \ - TIFFswab.3t TIFFSwabArrayOfShort.3t \ - TIFFswab.3t TIFFSwabLong.3t \ - TIFFswab.3t TIFFSwabShort.3t \ - TIFFtile.3t TIFFCheckTile.3t \ - TIFFtile.3t TIFFComputeTile.3t \ - TIFFtile.3t TIFFDefaultTileSize.3t \ - TIFFtile.3t TIFFNumberOfTiles.3t \ - TIFFtile.3t TIFFTileSize.3t \ - TIFFtile.3t TIFFTileRowSize.3t \ - TIFFtile.3t TIFFVTileSize.3t + tiffset.1 tiffsplit.1 tiffsv.1 +MAN3= TIFFClose.3tiff TIFFDataWidth.3tiff TIFFError.3tiff TIFFFlush.3tiff \ + TIFFGetField.3tiff TIFFOpen.3tiff TIFFPrintDirectory.3tiff \ + TIFFRGBAImage.3tiff TIFFReadDirectory.3tiff \ + TIFFReadEncodedStrip.3tiff TIFFReadEncodedTile.3tiff \ + TIFFReadRGBAImage.3tiff TIFFReadRGBAStrip.3tiff \ + TIFFReadRGBATile.3tiff TIFFReadRawStrip.3tiff TIFFReadRawTile.3tiff \ + TIFFReadScanline.3tiff TIFFReadTile.3tiff TIFFSetDirectory.3tiff \ + TIFFSetField.3tiff TIFFWarning.3tiff TIFFWriteDirectory.3tiff \ + TIFFWriteEncodedStrip.3tiff TIFFWriteEncodedTile.3tiff \ + TIFFWriteRawStrip.3tiff TIFFWriteRawTile.3tiff \ + TIFFWriteScanline.3tiff TIFFWriteTile.3tiff TIFFbuffer.3tiff \ + TIFFcodec.3tiff TIFFcolor.3tiff TIFFmemory.3tiff TIFFquery.3tiff \ + TIFFsize.3tiff TIFFstrip.3tiff TIFFswab.3tiff TIFFtile.3tiff \ + libtiff.3tiff +MLINKS= TIFFError.3tiff TIFFSetErrorHandler.3tiff \ + TIFFFlush.3tiff TIFFFlushData.3tiff \ + TIFFGetField.3tiff TIFFGetFieldDefaulted.3tiff \ + TIFFGetField.3tiff TIFFVGetField.3tiff \ + TIFFGetField.3tiff TIFFVGetFieldDefaulted.3tiff \ + TIFFOpen.3tiff TIFFFdOpen.3tiff \ + TIFFOpen.3tiff TIFFClientOpen.3tiff \ + TIFFRGBAImage.3tiff TIFFRGBAImageOK.3tiff \ + TIFFRGBAImage.3tiff TIFFRGBAImageBegin.3tiff \ + TIFFRGBAImage.3tiff TIFFRGBAImageGet.3tiff \ + TIFFRGBAImage.3tiff TIFFRGBAImageEnd.3tiff \ + TIFFRGBAImage.3tiff TIFFReadRGBAImageOriented.3tiff \ + TIFFSetDirectory.3tiff TIFFSetSubDirectory.3tiff \ + TIFFSetField.3tiff TIFFVSetField.3tiff \ + TIFFWarning.3tiff TIFFSetWarningHandler.3tiff \ + TIFFWriteDirectory.3tiff TIFFRewriteDirectory.3tiff \ + TIFFbuffer.3tiff TIFFReadBufferSetup.3tiff \ + TIFFbuffer.3tiff TIFFWriteBufferSetup.3tiff \ + TIFFcodec.3tiff TIFFFindCODEC.3tiff \ + TIFFcodec.3tiff TIFFRegisterCODEC.3tiff \ + TIFFcodec.3tiff TIFFUnRegisterCODEC.3tiff \ + TIFFmemory.3tiff TIFFfree.3tiff \ + TIFFmemory.3tiff TIFFmalloc.3tiff \ + TIFFmemory.3tiff TIFFmemcmp.3tiff \ + TIFFmemory.3tiff TIFFmemcpy.3tiff \ + TIFFmemory.3tiff TIFFmemset.3tiff \ + TIFFmemory.3tiff TIFFrealloc.3tiff \ + TIFFquery.3tiff TIFFCurrentDirectory.3tiff \ + TIFFquery.3tiff TIFFCurrentRow.3tiff \ + TIFFquery.3tiff TIFFCurrentStrip.3tiff \ + TIFFquery.3tiff TIFFCurrentTile.3tiff \ + TIFFquery.3tiff TIFFFileName.3tiff \ + TIFFquery.3tiff TIFFFileno.3tiff \ + TIFFquery.3tiff TIFFGetMode.3tiff \ + TIFFquery.3tiff TIFFIsTiled.3tiff \ + TIFFquery.3tiff TIFFIsByteSwapped.3tiff \ + TIFFquery.3tiff TIFFIsUpSampled.3tiff \ + TIFFquery.3tiff TIFFIsMSB2LSB.3tiff \ + TIFFquery.3tiff TIFFLastDirectory.3tiff \ + TIFFsize.3tiff TIFFScanlineSize.3tiff \ + TIFFstrip.3tiff TIFFComputeStrip.3tiff \ + TIFFstrip.3tiff TIFFDefaultStripSize.3tiff \ + TIFFstrip.3tiff TIFFNumberOfStrips.3tiff \ + TIFFstrip.3tiff TIFFStripSize.3tiff \ + TIFFstrip.3tiff TIFFVStripSize.3tiff \ + TIFFswab.3tiff TIFFReverseBits.3tiff \ + TIFFswab.3tiff TIFFSwabArrayOfLong.3tiff \ + TIFFswab.3tiff TIFFSwabArrayOfShort.3tiff \ + TIFFswab.3tiff TIFFSwabLong.3tiff \ + TIFFswab.3tiff TIFFSwabShort.3tiff \ + TIFFtile.3tiff TIFFCheckTile.3tiff \ + TIFFtile.3tiff TIFFComputeTile.3tiff \ + TIFFtile.3tiff TIFFDefaultTileSize.3tiff \ + TIFFtile.3tiff TIFFNumberOfTiles.3tiff \ + TIFFtile.3tiff TIFFTileSize.3tiff \ + TIFFtile.3tiff TIFFTileRowSize.3tiff \ + TIFFtile.3tiff TIFFVTileSize.3tiff -post-patch: +pre-configure: ${REINPLACE_CMD} \ - -e 's=-version-number .*$$=-version-number 4:0:0=' \ + -e 's|-version-number .*$$|-version-number 4:0:0|' \ ${WRKSRC}/libtiff/Makefile.in + ${REINPLACE_CMD} -e 's|^docfiles|no-docfiles|' \ + -e 's|man html|man|' ${WRKSRC}/Makefile.in .if !defined(NOPORTDOCS) post-install: diff --git a/graphics/tiff/distinfo b/graphics/tiff/distinfo index f13f1d4fe06b..86d6e392a486 100644 --- a/graphics/tiff/distinfo +++ b/graphics/tiff/distinfo @@ -1,2 +1,2 @@ -MD5 (tiff-3.7.0.tar.gz) = 305af467c94d988c17ca6528d8936f27 -SIZE (tiff-3.7.0.tar.gz) = 1244737 +MD5 (tiff-3.7.1.tar.gz) = 37d222df12eb23691614cd40b7b1f215 +SIZE (tiff-3.7.1.tar.gz) = 1253810 diff --git a/graphics/tiff/files/patch-Makefile.in b/graphics/tiff/files/patch-Makefile.in new file mode 100644 index 000000000000..5234a63a9a73 --- /dev/null +++ b/graphics/tiff/files/patch-Makefile.in @@ -0,0 +1,16 @@ +--- Makefile.in.orig Mon Dec 20 20:41:46 2004 ++++ Makefile.in Wed Dec 22 08:02:37 2004 +@@ -302,13 +302,6 @@ + uninstall-info-am: + install-dist_docDATA: $(dist_doc_DATA) + @$(NORMAL_INSTALL) +- test -z "$(docdir)" || $(mkdir_p) "$(DESTDIR)$(docdir)" +- @list='$(dist_doc_DATA)'; for p in $$list; do \ +- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ +- f=$(am__strip_dir) \ +- echo " $(dist_docDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(docdir)/$$f'"; \ +- $(dist_docDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(docdir)/$$f"; \ +- done + + uninstall-dist_docDATA: + @$(NORMAL_UNINSTALL) diff --git a/graphics/tiff/files/patch-tif_color.c b/graphics/tiff/files/patch-tif_color.c deleted file mode 100644 index 9288d85ff565..000000000000 --- a/graphics/tiff/files/patch-tif_color.c +++ /dev/null @@ -1,43 +0,0 @@ -*** libtiff/tif_color.c.ref Fri Nov 5 18:01:44 2004 ---- libtiff/tif_color.c Fri Nov 5 18:26:46 2004 -*************** -*** 170,176 **** - #define SHIFT 16 - #define FIX(x) ((int32)((x) * (1L<<SHIFT) + 0.5)) - #define ONE_HALF ((int32)(1<<(SHIFT-1))) -! #define Code2V(c, RB, RW, CR) ((((c)-(int32)(RB))*(float)(CR))/(float)((RW)-(RB))) - #define CLAMP(f,min,max) ((f)<(min)?(min):(f)>(max)?(max):(f)) - - void ---- 170,176 ---- - #define SHIFT 16 - #define FIX(x) ((int32)((x) * (1L<<SHIFT) + 0.5)) - #define ONE_HALF ((int32)(1<<(SHIFT-1))) -! #define Code2V(c, RB, RW, CR) ((((c)-(int32)(RB))*(float)(CR))/(float)(((RW)-(RB)) ? ((RW)-(RB)) : 1)) - #define CLAMP(f,min,max) ((f)<(min)?(min):(f)>(max)?(max):(f)) - - void -*************** -*** 243,252 **** - * constructing tables indexed by the raw pixel data. - */ - for (i = 0, x = -128; i < 256; i++, x++) { -! int32 Cr = (int32)Code2V(x, refBlackWhite[4] - 128.0F, -! refBlackWhite[5] - 128.0F, 127); -! int32 Cb = (int32)Code2V(x, refBlackWhite[2] - 128.0F, -! refBlackWhite[3] - 128.0F, 127); - - ycbcr->Cr_r_tab[i] = (int32)((D1*Cr + ONE_HALF)>>SHIFT); - ycbcr->Cb_b_tab[i] = (int32)((D3*Cb + ONE_HALF)>>SHIFT); ---- 243,252 ---- - * constructing tables indexed by the raw pixel data. - */ - for (i = 0, x = -128; i < 256; i++, x++) { -! int32 Cr = ((int32)Code2V(x, refBlackWhite[4] - 128.0F, -! refBlackWhite[5] - 128.0F, 255)) - 128; -! int32 Cb = ((int32)Code2V(x, refBlackWhite[2] - 128.0F, -! refBlackWhite[3] - 128.0F, 255)) - 128; - - ycbcr->Cr_r_tab[i] = (int32)((D1*Cr + ONE_HALF)>>SHIFT); - ycbcr->Cb_b_tab[i] = (int32)((D3*Cb + ONE_HALF)>>SHIFT); - diff --git a/graphics/tiff/files/patch-tiff2ps.c b/graphics/tiff/files/patch-tiff2ps.c deleted file mode 100644 index 5178a026aa35..000000000000 --- a/graphics/tiff/files/patch-tiff2ps.c +++ /dev/null @@ -1,17 +0,0 @@ ---- tools/tiff2ps.c Thu Oct 14 13:53:28 2004 -+++ tools/tiff2ps.c Mon Nov 15 10:05:30 2004 -@@ -412,5 +412,5 @@ - setupPageState(TIFF* tif, uint32* pw, uint32* ph, double* pprw, double* pprh) - { -- double xres = 0.0, yres = 0.0; -+ float xres = 0.0, yres = 0.0; - - TIFFGetField(tif, TIFFTAG_IMAGEWIDTH, pw); -@@ -543,5 +543,6 @@ - { - uint32 w, h; -- double ox, oy, prw, prh; -+ float ox, oy; -+ double prw, prh; - double scale = 1.0; - double left_offset = lm * PS_UNIT_SIZE; diff --git a/graphics/tiff/pkg-plist b/graphics/tiff/pkg-plist index 813df9cdffef..110bcbe4a7c7 100644 --- a/graphics/tiff/pkg-plist +++ b/graphics/tiff/pkg-plist @@ -23,6 +23,7 @@ bin/tiffsplit include/tiff.h include/tiffconf.h include/tiffio.h +include/tiffio.hxx include/tiffvers.h lib/libtiff.a lib/libtiff.so @@ -114,6 +115,7 @@ lib/libtiff.so.4 %%PORTDOCS%%%%DOCSDIR%%/man/tiffgt.1.html %%PORTDOCS%%%%DOCSDIR%%/man/tiffinfo.1.html %%PORTDOCS%%%%DOCSDIR%%/man/tiffmedian.1.html +%%PORTDOCS%%%%DOCSDIR%%/man/tiffset.1.html %%PORTDOCS%%%%DOCSDIR%%/man/tiffsplit.1.html %%PORTDOCS%%%%DOCSDIR%%/man/tiffsv.1.html %%PORTDOCS%%%%DOCSDIR%%/misc.html @@ -144,6 +146,7 @@ lib/libtiff.so.4 %%PORTDOCS%%%%DOCSDIR%%/v3.7.0alpha.html %%PORTDOCS%%%%DOCSDIR%%/v3.7.0beta.html %%PORTDOCS%%%%DOCSDIR%%/v3.7.0beta2.html +%%PORTDOCS%%%%DOCSDIR%%/v3.7.1.html %%PORTDOCS%%@dirrm %%DOCSDIR%%/man %%PORTDOCS%%@dirrm %%DOCSDIR%%/images %%PORTDOCS%%@dirrm %%DOCSDIR%% |