2003.12.30 05:38 "[Tiff] official webpage and mailing list, html/TIFFTechNote2.html, patches", by Jeremy C. Reed

2003.12.30 05:38 "[Tiff] official webpage and mailing list, html/TIFFTechNote2.html, patches", by Jeremy C. Reed

Hello,

I am a pkgsrc developer. pkgsrc is a portable framework and specifications for configuring, building, and installing thousands of third-party applications. It is maintained and used by the NetBSD project, but is also useful for Linux, BSD/OS, AIX, Solaris and various other operating systems. (It also provides binary packages and package admin tools.)

I am working on upgrading our pkgsrc/graphics/tiff package.

I see 3.6.1 is out.

What is the official webpage? Should I use http://www.remotesensing.org/libtiff/ or http://www.libtiff.org/?

The www.libtiff.org webpage has instructions for non-existent mailing list and has old version.

Also, where is html/TIFFTechNote2.html? It is not included in source tarball for 3.6.0 and 3.6.1 although the Makefile.in references it (and make install tries to install it). What is the copyright and license for the /TIFFTechNote2.html file locate at the libtiff website?

Also, please have a look at these patches:

http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/pkgsrc/graphics/tiff/patches/patch-aa?rev=1.12&content-type=text/plain

http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/pkgsrc/graphics/tiff/patches/patch-ad?rev=1.9&content-type=text/plain

And for AMD64 support, please consider the following:

--- 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

--- libtiff/tif_fax3.c.orig        Mon Sep 29 23:13:07 2003
+++ libtiff/tif_fax3.c
@@ -311,7 +311,7 @@ Fax3Decode2D(TIFF* tif, tidata_t buf, ts
  * this is <8 bytes.  We optimize the code here to reflect the
  * machine characteristics.
  */
-#if defined(__alpha) || _MIPS_SZLONG == 64 || defined(__LP64__) || defined(__arch64__)
+#if defined(__alpha) || _MIPS_SZLONG == 64 || defined(__LP64__) || defined(__arch64__) || defined(_LP64)
 #define FILL(n, cp)                                                       \
     switch (n) {                                                      \
     case 15:(cp)[14] = 0xff; case 14:(cp)[13] = 0xff; case 13: (cp)[12] = 0xff;\

And please use this patch:

--- Makefile.in.orig    Wed Oct  2 08:14:34 2002
+++ Makefile.in
@@ -86,6 +86,8 @@ HTMLFILES=\
    v3.5.5.html             \
       v3.5.6-beta.html        \
       v3.5.7.html             \
+      v3.6.0.html             \
+      v3.6.1.html             \
       ${NULL}
 IMAGES=\
        images/back.gif         \

(This is step 4 in HOWTO-RELEASE. Maybe that should be clarified.)

Thank you,

Jeremy C. Reed
http://bsd.reedmedia.net/