media-libs/tiff

Homepage: http://www.libtiff.org
License:

Description

provides support for the Tag Image File Format (TIFF), a widely used format for storing image data.

Versions

version 3.8.2
revision 1 (scottmc) - last changed 2 years ago
version 3.9.1
revision 1 (scottmc) - last changed 11 months ago

media-libs/tiff

PortLog: media-libs/tiff

 http://www.libtiff.org/

version 4.0.0beta2

R5untested
BONEuntested
Haikubroken

After  Haiku ticket #2262 was fixed, it now fails in make:

~/tiff-4.0.0beta2> make
Making all in port
make[1]: Entering directory `/boot/home/tiff-4.0.0beta2/port'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/boot/home/tiff-4.0.0beta2/port'
Making all in libtiff
make[1]: Entering directory `/boot/home/tiff-4.0.0beta2/libtiff'
/bin/make  all-am
make[2]: Entering directory `/boot/home/tiff-4.0.0beta2/libtiff'
source='tif_stream.cxx' object='tif_stream.lo' libtool=yes \
        DEPDIR=.deps depmode=gcc /bin/sh ../config/depcomp \
        /bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.     -g -O2 -c -o tif_stream.lo tif_stream.cxx
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -g -O2 -c tif_stream.cxx -Wp,-MD,.deps/tif_stream.TPlo -o tif_stream.o/boot/home/tiff-4.0.0beta2/libtiff/tif_stream.cxx:101: syntax error before `;'
/boot/home/tiff-4.0.0beta2/libtiff/tif_stream.cxx:102: ANSI C++ forbids declaration `tiffis_data' with no type
/boot/home/tiff-4.0.0beta2/libtiff/tif_stream.cxx:107: syntax error before `;'
/boot/home/tiff-4.0.0beta2/libtiff/tif_stream.cxx:108: ANSI C++ forbids declaration `tiffos_data' with no type
/boot/home/tiff-4.0.0beta2/libtiff/tif_stream.cxx: In function `tmsize_t _tiffosWriteProc(void *, void *, long int)':
/boot/home/tiff-4.0.0beta2/libtiff/tif_stream.cxx:136: `pos_type' is not a member of type `ios'
/boot/home/tiff-4.0.0beta2/libtiff/tif_stream.cxx:136: parse error before `='
/boot/home/tiff-4.0.0beta2/libtiff/tif_stream.cxx:145: `pos' undeclared (first use this function)
/boot/home/tiff-4.0.0beta2/libtiff/tif_stream.cxx:145: (Each undeclared identifier is reported only once
/boot/home/tiff-4.0.0beta2/libtiff/tif_stream.cxx:145: for each function it appears in.)
/boot/home/tiff-4.0.0beta2/libtiff/tif_stream.cxx: In function `uint64 _tiffosSeekProc(void *, long long unsigned int, int)':
/boot/home/tiff-4.0.0beta2/libtiff/tif_stream.cxx:168: `struct tiffos_data' has no member named `start_pos'
/boot/home/tiff-4.0.0beta2/libtiff/tif_stream.cxx:171: `off_type' is not a member of type `ios'
/boot/home/tiff-4.0.0beta2/libtiff/tif_stream.cxx:171: parse error before `='
/boot/home/tiff-4.0.0beta2/libtiff/tif_stream.cxx:172: `offset' undeclared (first use this function)
/boot/home/tiff-4.0.0beta2/libtiff/tif_stream.cxx:181: `off_type' is not a member of type `ios'
/boot/home/tiff-4.0.0beta2/libtiff/tif_stream.cxx:181: parse error before `='
/boot/home/tiff-4.0.0beta2/libtiff/tif_stream.cxx:191: `off_type' is not a member of type `ios'
/boot/home/tiff-4.0.0beta2/libtiff/tif_stream.cxx:191: parse error before `='
/boot/home/tiff-4.0.0beta2/libtiff/tif_stream.cxx:210: `pos_type' is not a member of type `ios'
/boot/home/tiff-4.0.0beta2/libtiff/tif_stream.cxx:210: parse error before `;'
/boot/home/tiff-4.0.0beta2/libtiff/tif_stream.cxx:218: `origin' undeclared (first use this function)
/boot/home/tiff-4.0.0beta2/libtiff/tif_stream.cxx:218: `struct tiffos_data' has no member named `start_pos'
/boot/home/tiff-4.0.0beta2/libtiff/tif_stream.cxx:232: `struct tiffos_data' has no member named `start_pos'
/boot/home/tiff-4.0.0beta2/libtiff/tif_stream.cxx: In function `uint64 _tiffisSeekProc(void *, long long unsigned int, int)':
/boot/home/tiff-4.0.0beta2/libtiff/tif_stream.cxx:261: `struct tiffis_data' has no member named `start_pos'
/boot/home/tiff-4.0.0beta2/libtiff/tif_stream.cxx:264: `off_type' is not a member of type `ios'
/boot/home/tiff-4.0.0beta2/libtiff/tif_stream.cxx:264: parse error before `='
/boot/home/tiff-4.0.0beta2/libtiff/tif_stream.cxx:274: `off_type' is not a member of type `ios'
/boot/home/tiff-4.0.0beta2/libtiff/tif_stream.cxx:274: parse error before `='
/boot/home/tiff-4.0.0beta2/libtiff/tif_stream.cxx:284: `off_type' is not a member of type `ios'
/boot/home/tiff-4.0.0beta2/libtiff/tif_stream.cxx:284: parse error before `='
/boot/home/tiff-4.0.0beta2/libtiff/tif_stream.cxx:293: `struct tiffis_data' has no member named `start_pos'
/boot/home/tiff-4.0.0beta2/libtiff/tif_stream.cxx: In function `uint64 _tiffosSizeProc(void *)':
/boot/home/tiff-4.0.0beta2/libtiff/tif_stream.cxx:301: `pos_type' is not a member of type `ios'
/boot/home/tiff-4.0.0beta2/libtiff/tif_stream.cxx:301: parse error before `='
/boot/home/tiff-4.0.0beta2/libtiff/tif_stream.cxx:302: `pos_type' is not a member of type `ios'
/boot/home/tiff-4.0.0beta2/libtiff/tif_stream.cxx:302: parse error before `;'
/boot/home/tiff-4.0.0beta2/libtiff/tif_stream.cxx:305: `len' undeclared (first use this function)
/boot/home/tiff-4.0.0beta2/libtiff/tif_stream.cxx: In function `uint64 _tiffisSizeProc(void *)':
/boot/home/tiff-4.0.0beta2/libtiff/tif_stream.cxx:315: `pos_type' is not a member of type `ios'
/boot/home/tiff-4.0.0beta2/libtiff/tif_stream.cxx:315: parse error before `='
/boot/home/tiff-4.0.0beta2/libtiff/tif_stream.cxx:316: `pos_type' is not a member of type `ios'
/boot/home/tiff-4.0.0beta2/libtiff/tif_stream.cxx:316: parse error before `;'
/boot/home/tiff-4.0.0beta2/libtiff/tif_stream.cxx: In function `struct TIFF * _tiffStreamOpen(const char *, const char *, void *)':
/boot/home/tiff-4.0.0beta2/libtiff/tif_stream.cxx:363: `struct tiffos_data' has no member named `start_pos'
/boot/home/tiff-4.0.0beta2/libtiff/tif_stream.cxx:378: `struct tiffis_data' has no member named `start_pos'
make[2]: *** [tif_stream.lo] Error 1
make[2]: Leaving directory `/boot/home/tiff-4.0.0beta2/libtiff'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/boot/home/tiff-4.0.0beta2/libtiff'
make: *** [all-recursive] Error 1
~/tiff-4.0.0beta2>  

version 3.8.2

R5untested
BONEuntested
Haikubroken

revision 2

After Haiku ticket 2262 was fixed, this is the new make output:

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/boot/common/include -g -O2 -Wall -W -c tif_version.c -Wp,-MD,.deps/tif_version.TPlo -o tif_version.o
source='tif_warning.c' object='tif_warning.lo' libtool=yes \
        DEPDIR=.deps depmode=gcc /bin/sh ../config/depcomp \
        /bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.   -I/boot/common/include   -g -O2 -Wall -W -c -o tif_warning.lo tif_warning.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/boot/common/include -g -O2 -Wall -W -c tif_warning.c -Wp,-MD,.deps/tif_warning.TPlo -o tif_warning.o
source='tif_write.c' object='tif_write.lo' libtool=yes \
        DEPDIR=.deps depmode=gcc /bin/sh ../config/depcomp \
        /bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.   -I/boot/common/include   -g -O2 -Wall -W -c -o tif_write.lo tif_write.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/boot/common/include -g -O2 -Wall -W -c tif_write.c -Wp,-MD,.deps/tif_write.TPlo -o tif_write.o
source='tif_zip.c' object='tif_zip.lo' libtool=yes \
        DEPDIR=.deps depmode=gcc /bin/sh ../config/depcomp \
        /bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.   -I/boot/common/include   -g -O2 -Wall -W -c -o tif_zip.lo tif_zip.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/boot/common/include -g -O2 -Wall -W -c tif_zip.c -Wp,-MD,.deps/tif_zip.TPlo -o tif_zip.o
/bin/sh ../libtool --tag=CC   --mode=link gcc  -g -O2 -Wall -W -no-undefined -version-number 3:8:2  -L/boot/common/lib  -o libtiff.la -rpath /boot/home/lib tif_aux.lo tif_close.lo tif_codec.lo tif_color.lo tif_compress.lo tif_dir.lo tif_dirinfo.lo tif_dirread.lo tif_dirwrite.lo tif_dumpmode.lo tif_error.lo tif_extension.lo tif_fax3.lo tif_fax3sm.lo tif_flush.lo tif_getimage.lo tif_jpeg.lo tif_luv.lo tif_lzw.lo tif_next.lo tif_ojpeg.lo tif_open.lo tif_packbits.lo tif_pixarlog.lo tif_predict.lo tif_print.lo tif_read.lo tif_strip.lo tif_swab.lo tif_thunder.lo tif_tile.lo tif_unix.lo tif_version.lo tif_warning.lo tif_write.lo tif_zip.lo ../port/libport.la -lz 
libtool: link: CURRENT `' must be a nonnegative integer
libtool: link: `3:8:2' is not valid version information
make[2]: *** [libtiff.la] Error 1
make[2]: Leaving directory `/boot/home/tiff-3.8.2/libtiff'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/boot/home/tiff-3.8.2/libtiff'
make: *** [all-recursive] Error 1
~/tiff-3.8.2> libtool --version
ltmain.sh (GNU libtool 1.2248 2006/01/21 17:40:19) 2.1a
Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996

Copyright (C) 2006
Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
~/tiff-3.8.2>       

revision 1

Fails to build, related to  Haiku ticket #2262

./configure requires updated config.guess, then
Make fails:
~/tiff-3.8.2> makeMaking all in port
make[1]: Entering directory `/boot/home/tiff-3.8.2/port'
source='dummy.c' object='dummy.lo' libtool=yes \
        DEPDIR=.deps depmode=gcc /bin/sh ../config/depcomp \
        /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../libtiff -I../libtiff     -g -O2 -Wall -W -c -o dummy.lo dummy.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I../libtiff -I../libtiff -g -O2-Wall -W -c dummy.c -Wp,-MD,.deps/dummy.TPlo -o dummy.o
/boot/home/tiff-3.8.2/port/dummy.c:9: warning: `libport_dummy_function' definedbut not used
source='lfind.c' object='lfind.lo' libtool=yes \
        DEPDIR=.deps depmode=gcc /bin/sh ../config/depcomp \
        /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../libtiff -I../libtiff     -g -O2 -Wall -W -c -o lfind.lo lfind.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I../libtiff -I../libtiff -g -O2-Wall -W -c lfind.c -Wp,-MD,.deps/lfind.TPlo -o lfind.o
/bin/sh ../libtool --tag=CC --mode=link gcc  -g -O2 -Wall -W   -o libport.la   dummy.lo lfind.lo -lz 
libtool: link: ar cru .libs/libport.a  dummy.o lfind.o
libtool: link: ranlib .libs/libport.a
libtool: link: creating libport.la
libtool: link: ( cd ".libs" && rm -f "libport.la" && ln -s "../libport.la" "libport.la" )
make[1]: Leaving directory `/boot/home/tiff-3.8.2/port'
Making all in libtiff
make[1]: Entering directory `/boot/home/tiff-3.8.2/libtiff'
/bin/make  all-am
make[2]: Entering directory `/boot/home/tiff-3.8.2/libtiff'
source='tif_aux.c' object='tif_aux.lo' libtool=yes \
        DEPDIR=.deps depmode=gcc /bin/sh ../config/depcomp \
        /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I.     -g -O2 -Wall -W -c -o tif_aux.lo tif_aux.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -g -O2 -Wall -W -c tif_aux.c -Wp,-MD,.deps/tif_aux.TPlo -o tif_aux.o
In file included from /boot/home/tiff-3.8.2/libtiff/tiffiop.h:54,
                 from /boot/home/tiff-3.8.2/libtiff/tif_aux.c:32:
/boot/develop/headers/posix/search.h:35: conflicting types for `restrict'
/boot/develop/headers/posix/search.h:35: previous declaration of `restrict'
make[2]: *** [tif_aux.lo] Error 1
make[2]: Leaving directory `/boot/home/tiff-3.8.2/libtiff'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/boot/home/tiff-3.8.2/libtiff'
make: *** [all-recursive] Error 1
~/tiff-3.8.2>

version 3.6.1

R5untested
BONEuntested
Haikustable

Included with Haiku

Repository changes

[802] by augiedoggie on 05/13/10 20:17:12

Remove/Fix some STATUS_* fields in the beps. Change downloading technique in smpeg and smjpeg.

[550] by scottmc on 11/29/09 14:44:23

This patch adds the MD5 checksums to all of the .bep files.

[401] by scottmc on 10/17/09 23:36:05

Initial .bep file for tiff-3.9.1

[113] by scottmc on 07/30/08 10:48:27

Initial checkin of .bef file for tiff