[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [28908] trunk/lib/darwin-8.x.i386: OSX 10. 4/i386 : add static libs for liftiff (3.9.2)
Damien Plisson
damien.plisson at yahoo.fr
Fri May 21 19:03:43 CEST 2010
Revision: 28908
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=28908
Author: damien78
Date: 2010-05-21 19:03:43 +0200 (Fri, 21 May 2010)
Log Message:
-----------
OSX 10.4/i386 : add static libs for liftiff (3.9.2)
Modified Paths:
--------------
trunk/lib/darwin-8.x.i386/README
trunk/lib/darwin-8.x.i386/tiff/include/tiff.h
trunk/lib/darwin-8.x.i386/tiff/include/tiffconf.h
trunk/lib/darwin-8.x.i386/tiff/include/tiffio.h
trunk/lib/darwin-8.x.i386/tiff/include/tiffvers.h
Added Paths:
-----------
trunk/lib/darwin-8.x.i386/tiff/lib/
trunk/lib/darwin-8.x.i386/tiff/lib/libtiff.a
trunk/lib/darwin-8.x.i386/tiff/lib/libtiffxx.a
Modified: trunk/lib/darwin-8.x.i386/README
===================================================================
--- trunk/lib/darwin-8.x.i386/README 2010-05-21 17:02:46 UTC (rev 28907)
+++ trunk/lib/darwin-8.x.i386/README 2010-05-21 17:03:43 UTC (rev 28908)
@@ -1,3 +1,4 @@
+tiff (version 3.9.2)
ffmpeg (version 0.5)
ogg (version 1.1.4)
vorbis (version 1.2.3)
@@ -11,6 +12,9 @@
The following configuration parameters were used to build the libs:
+TIFF:
+./configure --disable-shared --with-jpeg-include-dir=/Users/damien/Documents/Dev/blender2.5/svnroot/lib/darwin-9.x.universal/jpeg/include --with-jpeg-lib-dir=/Users/damien/Documents/Dev/blender2.5/svnroot/lib/darwin-9.x.universal/jpeg/lib --with-apple-opengl-framework --build=i386-apple-darwin9.8.0 CC="gcc-4.0" CXX="g++-4.0" CFLAGS="-arch i386 -mfpmath=sse -march=prescott -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4" CXXFLAGS="-arch i386 -mfpmath=sse -march=prescott -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4" LDFLAGS="-arch i386 -mfpmath=sse -march=prescott -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4"
+
LAME:
./configure --host=i386-apple-darwin8.11.0 CC="gcc-4.0" CFLAGS="-arch i386 -march=prescott -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4" CXXFLAGS="-arch i386 -march=prescott -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4" LDFLAGS="-arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4"
Modified: trunk/lib/darwin-8.x.i386/tiff/include/tiff.h
===================================================================
--- trunk/lib/darwin-8.x.i386/tiff/include/tiff.h 2010-05-21 17:02:46 UTC (rev 28907)
+++ trunk/lib/darwin-8.x.i386/tiff/include/tiff.h 2010-05-21 17:03:43 UTC (rev 28908)
@@ -26,6 +26,9 @@
#ifndef _TIFF_
#define _TIFF_
+
+#include "tiffconf.h"
+
/*
* Tag Image File Format (TIFF)
*
@@ -40,33 +43,16 @@
* (http://partners.adobe.com/asn/developer/PDFS/TN/TIFF6.pdf)
*
* For Big TIFF design notes see the following link
- * http://gdal.maptools.org/twiki/bin/view/libtiff/BigTIFFDesign
+ * http://www.remotesensing.org/libtiff/bigtiffdesign.html
*/
#define TIFF_VERSION 42
#define TIFF_BIGTIFF_VERSION 43
#define TIFF_BIGENDIAN 0x4d4d
#define TIFF_LITTLEENDIAN 0x4949
-
+#define MDI_LITTLEENDIAN 0x5045
+#define MDI_BIGENDIAN 0x4550
/*
- * The so called TIFF types conflict with definitions from inttypes.h
- * included from sys/types.h on AIX (at least using VisualAge compiler).
- * We try to work around this by detecting this case. Defining
- * _TIFF_DATA_TYPEDEFS_ short circuits the later definitions in tiff.h, and
- * we will in the holes not provided for by inttypes.h.
- *
- * See http://bugzilla.remotesensing.org/show_bug.cgi?id=39
- */
-#if defined(_H_INTTYPES) && defined(_ALL_SOURCE) && defined(USING_VISUALAGE)
-
-#define _TIFF_DATA_TYPEDEFS_
-typedef unsigned char uint8;
-typedef unsigned short uint16;
-typedef unsigned int uint32;
-
-#endif
-
-/*
* Intrinsic data types required by the file format:
*
* 8-bit quantities int8/uint8
@@ -74,23 +60,27 @@
* 32-bit quantities int32/uint32
* strings unsigned char*
*/
-#ifndef _TIFF_DATA_TYPEDEFS_
-#define _TIFF_DATA_TYPEDEFS_
+#ifndef HAVE_INT8
typedef signed char int8; /* NB: non-ANSI compilers may not grok */
+#endif
typedef unsigned char uint8;
+#ifndef HAVE_INT16
typedef short int16;
+#endif
typedef unsigned short uint16; /* sizeof (uint16) must == 2 */
-#if defined(__alpha) || (defined(_MIPS_SZLONG) && _MIPS_SZLONG == 64) || defined(__LP64__) || defined(__arch64__) || defined(__sparcv9)
+#if SIZEOF_INT == 4
+#ifndef HAVE_INT32
typedef int int32;
+#endif
typedef unsigned int uint32; /* sizeof (uint32) must == 4 */
-#else
+#elif SIZEOF_LONG == 4
+#ifndef HAVE_INT32
typedef long int32;
+#endif
typedef unsigned long uint32; /* sizeof (uint32) must == 4 */
#endif
-#endif /* _TIFF_DATA_TYPEDEFS_ */
-
/* For TIFFReassignTagToIgnore */
enum TIFFIgnoreSense /* IGNORE tag table */
{
@@ -586,6 +576,72 @@
#define TIFFTAG_SGILOGENCODE 65561 /* SGILog data encoding control*/
#define SGILOGENCODE_NODITHER 0 /* do not dither encoded values*/
#define SGILOGENCODE_RANDITHER 1 /* randomly dither encd values */
+
+/*
+ * EXIF tags
+ */
+#define EXIFTAG_EXPOSURETIME 33434 /* Exposure time */
+#define EXIFTAG_FNUMBER 33437 /* F number */
+#define EXIFTAG_EXPOSUREPROGRAM 34850 /* Exposure program */
+#define EXIFTAG_SPECTRALSENSITIVITY 34852 /* Spectral sensitivity */
+#define EXIFTAG_ISOSPEEDRATINGS 34855 /* ISO speed rating */
+#define EXIFTAG_OECF 34856 /* Optoelectric conversion
+ factor */
+#define EXIFTAG_EXIFVERSION 36864 /* Exif version */
+#define EXIFTAG_DATETIMEORIGINAL 36867 /* Date and time of original
+ data generation */
+#define EXIFTAG_DATETIMEDIGITIZED 36868 /* Date and time of digital
+ data generation */
+#define EXIFTAG_COMPONENTSCONFIGURATION 37121 /* Meaning of each component */
+#define EXIFTAG_COMPRESSEDBITSPERPIXEL 37122 /* Image compression mode */
+#define EXIFTAG_SHUTTERSPEEDVALUE 37377 /* Shutter speed */
+#define EXIFTAG_APERTUREVALUE 37378 /* Aperture */
+#define EXIFTAG_BRIGHTNESSVALUE 37379 /* Brightness */
+#define EXIFTAG_EXPOSUREBIASVALUE 37380 /* Exposure bias */
+#define EXIFTAG_MAXAPERTUREVALUE 37381 /* Maximum lens aperture */
+#define EXIFTAG_SUBJECTDISTANCE 37382 /* Subject distance */
+#define EXIFTAG_METERINGMODE 37383 /* Metering mode */
+#define EXIFTAG_LIGHTSOURCE 37384 /* Light source */
+#define EXIFTAG_FLASH 37385 /* Flash */
+#define EXIFTAG_FOCALLENGTH 37386 /* Lens focal length */
+#define EXIFTAG_SUBJECTAREA 37396 /* Subject area */
+#define EXIFTAG_MAKERNOTE 37500 /* Manufacturer notes */
+#define EXIFTAG_USERCOMMENT 37510 /* User comments */
+#define EXIFTAG_SUBSECTIME 37520 /* DateTime subseconds */
+#define EXIFTAG_SUBSECTIMEORIGINAL 37521 /* DateTimeOriginal subseconds */
+#define EXIFTAG_SUBSECTIMEDIGITIZED 37522 /* DateTimeDigitized subseconds */
+#define EXIFTAG_FLASHPIXVERSION 40960 /* Supported Flashpix version */
+#define EXIFTAG_COLORSPACE 40961 /* Color space information */
+#define EXIFTAG_PIXELXDIMENSION 40962 /* Valid image width */
+#define EXIFTAG_PIXELYDIMENSION 40963 /* Valid image height */
+#define EXIFTAG_RELATEDSOUNDFILE 40964 /* Related audio file */
+#define EXIFTAG_FLASHENERGY 41483 /* Flash energy */
+#define EXIFTAG_SPATIALFREQUENCYRESPONSE 41484 /* Spatial frequency response */
+#define EXIFTAG_FOCALPLANEXRESOLUTION 41486 /* Focal plane X resolution */
+#define EXIFTAG_FOCALPLANEYRESOLUTION 41487 /* Focal plane Y resolution */
+#define EXIFTAG_FOCALPLANERESOLUTIONUNIT 41488 /* Focal plane resolution unit */
+#define EXIFTAG_SUBJECTLOCATION 41492 /* Subject location */
+#define EXIFTAG_EXPOSUREINDEX 41493 /* Exposure index */
+#define EXIFTAG_SENSINGMETHOD 41495 /* Sensing method */
+#define EXIFTAG_FILESOURCE 41728 /* File source */
+#define EXIFTAG_SCENETYPE 41729 /* Scene type */
+#define EXIFTAG_CFAPATTERN 41730 /* CFA pattern */
+#define EXIFTAG_CUSTOMRENDERED 41985 /* Custom image processing */
+#define EXIFTAG_EXPOSUREMODE 41986 /* Exposure mode */
+#define EXIFTAG_WHITEBALANCE 41987 /* White balance */
+#define EXIFTAG_DIGITALZOOMRATIO 41988 /* Digital zoom ratio */
+#define EXIFTAG_FOCALLENGTHIN35MMFILM 41989 /* Focal length in 35 mm film */
+#define EXIFTAG_SCENECAPTURETYPE 41990 /* Scene capture type */
+#define EXIFTAG_GAINCONTROL 41991 /* Gain control */
+#define EXIFTAG_CONTRAST 41992 /* Contrast */
+#define EXIFTAG_SATURATION 41993 /* Saturation */
+#define EXIFTAG_SHARPNESS 41994 /* Sharpness */
+#define EXIFTAG_DEVICESETTINGDESCRIPTION 41995 /* Device settings description */
+#define EXIFTAG_SUBJECTDISTANCERANGE 41996 /* Subject distance range */
+#define EXIFTAG_GAINCONTROL 41991 /* Gain control */
+#define EXIFTAG_GAINCONTROL 41991 /* Gain control */
+#define EXIFTAG_IMAGEUNIQUEID 42016 /* Unique image ID */
+
#endif /* _TIFF_ */
/* vim: set ts=8 sts=8 sw=8 noet: */
Modified: trunk/lib/darwin-8.x.i386/tiff/include/tiffconf.h
===================================================================
--- trunk/lib/darwin-8.x.i386/tiff/include/tiffconf.h 2010-05-21 17:02:46 UTC (rev 28907)
+++ trunk/lib/darwin-8.x.i386/tiff/include/tiffconf.h 2010-05-21 17:03:43 UTC (rev 28908)
@@ -1,12 +1,30 @@
-/* libtiff/tiffconf.h. Generated by configure. */
+/* libtiff/tiffconf.h. Generated from tiffconf.h.in by configure. */
/*
Configuration defines for installed libtiff.
- Editing this file no longer has any effect on the libtiff build!
+ This file maintained for backward compatibility. Do not use definitions
+ from this file in your programs.
*/
#ifndef _TIFFCONF_
#define _TIFFCONF_
+/* Define to 1 if the system has the type `int16'. */
+/* #undef HAVE_INT16 */
+
+/* Define to 1 if the system has the type `int32'. */
+/* #undef HAVE_INT32 */
+
+/* Define to 1 if the system has the type `int8'. */
+/* #undef HAVE_INT8 */
+
+/* The size of a `int', as computed by sizeof. */
+#define SIZEOF_INT 4
+
+/* The size of a `long', as computed by sizeof. */
+#define SIZEOF_LONG 4
+
+/* Compatibility stuff. */
+
/* Define as 0 or 1 according to the floating point format suported by the
machine */
#define HAVE_IEEEFP 1
@@ -24,6 +42,9 @@
/* Support JPEG compression (requires IJG JPEG library) */
#define JPEG_SUPPORT 1
+/* Support JBIG compression (requires JBIG-KIT library) */
+/* #undef JBIG_SUPPORT */
+
/* Support LogLuv high dynamic range encoding */
#define LOGLUV_SUPPORT 1
@@ -35,7 +56,7 @@
/* Support Old JPEG compresson (read contrib/ojpeg/README first! Compilation
fails with unpatched IJG JPEG library) */
-/* #undef OJPEG_SUPPORT */
+#define OJPEG_SUPPORT 1
/* Support Macintosh PackBits algorithm */
#define PACKBITS_SUPPORT 1
@@ -65,6 +86,9 @@
lacking the tag (default enabled). */
#define CHECK_JPEG_YCBCR_SUBSAMPLING 1
+/* Support MS MDI magic number files as TIFF */
+#define MDI_SUPPORT 1
+
/*
* Feature support definitions.
* XXX: These macros are obsoleted. Don't use them in your apps!
Modified: trunk/lib/darwin-8.x.i386/tiff/include/tiffio.h
===================================================================
--- trunk/lib/darwin-8.x.i386/tiff/include/tiffio.h 2010-05-21 17:02:46 UTC (rev 28907)
@@ Diff output truncated at 10240 characters. @@
More information about the Bf-blender-cvs
mailing list