[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [41579] trunk/lib/windows: OpenImageIO 0. 10.3 libraries for windows x32, built with Visual Studio 2008 Professional.

Thomas Dinges blender at dingto.org
Sun Nov 6 12:07:43 CET 2011


Revision: 41579
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=41579
Author:   dingto
Date:     2011-11-06 11:07:42 +0000 (Sun, 06 Nov 2011)
Log Message:
-----------
OpenImageIO 0.10.3 libraries for windows x32, built with Visual Studio 2008 Professional. 


Release 0.10.3 (November 5, 2011)

---------------------------------

* New ImageCache/TextureSystem option: "autoscanline", which, when autotile is turned on, causes the virtual tiles to be the full width of the image scanlines, rather than square.  This improves performance for some apps.
* Bug fix: PNG files with both associated alpha and gamma correction lost precision when converting.
* Bug fix: ICO and Targa did not properly force requested (but unsupported) UINT16 output to be UINT8.
* maketx (and Filter classes): fixes to sinc, blackman-harris filters.
* Minor Python binding bug fixes.
* Allow stream << of TypeDesc.
* Fix minor Timer::lap() bug.

Modified Paths:
--------------
    trunk/lib/windows/Readme.txt

Added Paths:
-----------
    trunk/lib/windows/openimageio/
    trunk/lib/windows/openimageio/LICENSE
    trunk/lib/windows/openimageio/bin/
    trunk/lib/windows/openimageio/bin/OpenImageIO.dll
    trunk/lib/windows/openimageio/build.bat
    trunk/lib/windows/openimageio/build.patch
    trunk/lib/windows/openimageio/include/
    trunk/lib/windows/openimageio/include/OpenImageIO/
    trunk/lib/windows/openimageio/include/OpenImageIO/argparse.h
    trunk/lib/windows/openimageio/include/OpenImageIO/colortransfer.h
    trunk/lib/windows/openimageio/include/OpenImageIO/dassert.h
    trunk/lib/windows/openimageio/include/OpenImageIO/errorhandler.h
    trunk/lib/windows/openimageio/include/OpenImageIO/export.h
    trunk/lib/windows/openimageio/include/OpenImageIO/filesystem.h
    trunk/lib/windows/openimageio/include/OpenImageIO/filter.h
    trunk/lib/windows/openimageio/include/OpenImageIO/fmath.h
    trunk/lib/windows/openimageio/include/OpenImageIO/hash.h
    trunk/lib/windows/openimageio/include/OpenImageIO/imagebuf.h
    trunk/lib/windows/openimageio/include/OpenImageIO/imagebufalgo.h
    trunk/lib/windows/openimageio/include/OpenImageIO/imagecache.h
    trunk/lib/windows/openimageio/include/OpenImageIO/imageio.h
    trunk/lib/windows/openimageio/include/OpenImageIO/osdep.h
    trunk/lib/windows/openimageio/include/OpenImageIO/paramlist.h
    trunk/lib/windows/openimageio/include/OpenImageIO/pugiconfig.hpp
    trunk/lib/windows/openimageio/include/OpenImageIO/pugixml.hpp
    trunk/lib/windows/openimageio/include/OpenImageIO/refcnt.h
    trunk/lib/windows/openimageio/include/OpenImageIO/strutil.h
    trunk/lib/windows/openimageio/include/OpenImageIO/sysutil.h
    trunk/lib/windows/openimageio/include/OpenImageIO/texture.h
    trunk/lib/windows/openimageio/include/OpenImageIO/thread.h
    trunk/lib/windows/openimageio/include/OpenImageIO/timer.h
    trunk/lib/windows/openimageio/include/OpenImageIO/typedesc.h
    trunk/lib/windows/openimageio/include/OpenImageIO/ustring.h
    trunk/lib/windows/openimageio/include/OpenImageIO/varyingref.h
    trunk/lib/windows/openimageio/include/OpenImageIO/version.h
    trunk/lib/windows/openimageio/lib/
    trunk/lib/windows/openimageio/lib/OpenImageIO.lib
    trunk/lib/windows/openimageio/readme.txt

Modified: trunk/lib/windows/Readme.txt
===================================================================
--- trunk/lib/windows/Readme.txt	2011-11-06 10:59:29 UTC (rev 41578)
+++ trunk/lib/windows/Readme.txt	2011-11-06 11:07:42 UTC (rev 41579)
@@ -6,3 +6,5 @@
 jpeglib 8b (16.05.2010)
 Python 3.1.2
 Freetype 2.4.4 ("LIB Release Multithreaded and LIB Debug Multithreaded")
+OpenImageIO 0.10.3
+Boost 1.47


Property changes on: trunk/lib/windows/openimageio
___________________________________________________________________
Added: bugtraq:number
   + true

Added: trunk/lib/windows/openimageio/LICENSE
===================================================================
--- trunk/lib/windows/openimageio/LICENSE	                        (rev 0)
+++ trunk/lib/windows/openimageio/LICENSE	2011-11-06 11:07:42 UTC (rev 41579)
@@ -0,0 +1,30 @@
+OpenImageIO and all code, documentation, and other materials contained
+therein are:
+
+Copyright 2008 Larry Gritz and the other authors and contributors.
+All Rights Reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+* Redistributions of source code must retain the above copyright
+  notice, this list of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the above copyright
+  notice, this list of conditions and the following disclaimer in the
+  documentation and/or other materials provided with the distribution.
+* Neither the name of the software's owners nor the names of its
+  contributors may be used to endorse or promote products derived from
+  this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+(This is the Modified BSD License)


Property changes on: trunk/lib/windows/openimageio/bin
___________________________________________________________________
Added: bugtraq:number
   + true

Added: trunk/lib/windows/openimageio/bin/OpenImageIO.dll
===================================================================
(Binary files differ)


Property changes on: trunk/lib/windows/openimageio/bin/OpenImageIO.dll
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/lib/windows/openimageio/build.bat
===================================================================
--- trunk/lib/windows/openimageio/build.bat	                        (rev 0)
+++ trunk/lib/windows/openimageio/build.bat	2011-11-06 11:07:42 UTC (rev 41579)
@@ -0,0 +1,88 @@
+ at Echo off
+
+set LIBDIR=%CD%\..\..
+
+:: hack to get compatible EXR headers
+set EXRINC=%LIBDIR%\openexr\include
+mkdir %LIBDIR%\openexr\include\OpenEXR
+xcopy /E /Y %EXRINC%\Iex %EXRINC%\OpenEXR\
+xcopy /E /Y %EXRINC%\IlmImf %EXRINC%\OpenEXR\
+xcopy /E /Y %EXRINC%\Imath %EXRINC%\OpenEXR\
+xcopy /E /Y %EXRINC%\IlmThread %EXRINC%\OpenEXR\
+xcopy /Y %EXRINC%\half.h %EXRINC%\OpenEXR\
+xcopy /Y %EXRINC%\halfFunction.h %EXRINC%\OpenEXR\
+xcopy /Y %EXRINC%\halfLimits.h %EXRINC%\OpenEXR\
+xcopy /Y %EXRINC%\IlmBaseConfig.h %EXRINC%\OpenEXR\
+
+:: create build directory
+mkdir build\windows
+cd build\windows
+
+cmake -G "NMake Makefiles" ..\..\src ^
+ -DCMAKE_INSTALL_PREFIX=%LIBDIR%\openimageio\release ^
+ -DILMBASE_INCLUDE_DIR=%LIBDIR%\openexr\include ^
+ -DILMBASE_HALF_LIBRARIES=%LIBDIR%\openexr\lib_vs2008\Half.lib ^
+ -DILMBASE_IMATH_LIBRARIES=%LIBDIR%\openexr\lib_vs2008\Imath.lib ^
+ -DILMBASE_ILMTHREAD_LIBRARIES=%LIBDIR%\openexr\lib_vs2008\IlmThread.lib ^
+ -DILMBASE_IEX_LIBRARIES=%LIBDIR%\openexr\lib_vs2008\Iex.lib ^
+ -DOPENEXR_INCLUDE_DIR=%LIBDIR%\openexr\include ^
+ -DOPENEXR_ILMIMF_LIBRARIES=%LIBDIR%\openexr\lib_vs2008\IlmImf.lib ^
+ -DLINKSTATIC=ON ^
+ -DBOOST_ROOT=%LIBDIR%\boost ^
+ -DBoost_USE_STATIC_RUNTIME=ON ^
+ -DZLIB_INCLUDE_DIR=%LIBDIR%\zlib\include ^
+ -DZLIB_LIBRARY=%LIBDIR%\zlib\lib\libz.lib ^
+ -DPNG_PNG_INCLUDE_DIR=%LIBDIR%\png\include ^
+ -DPNG_LIBRARY=%LIBDIR%\png\lib\libpng_st.lib ^
+ -DJPEG_INCLUDE_DIR=%LIBDIR%\jpeg\include ^
+ -DJPEG_LIBRARY=%LIBDIR%\jpeg\lib\libjpeg.lib ^
+ -DTIFF_INCLUDE_DIR=%LIBDIR%\tiff\include ^
+ -DTIFF_LIBRARY=%LIBDIR%\tiff\lib\libtiff.lib ^
+ -DUSE_OPENGL=OFF ^
+ -DUSE_TBB=OFF ^
+ -DUSE_FIELD3D=OFF ^
+ -DUSE_QT=OFF ^
+ -DUSE_PYTHON=OFF ^
+ -DCMAKE_BUILD_TYPE=Release
+
+nmake
+nmake install
+
+cd ..\..
+
+:: create build directory
+mkdir build\windows_debug
+cd build\windows_debug
+
+cmake -G "NMake Makefiles" ..\..\src ^
+ -DCMAKE_INSTALL_PREFIX=%LIBDIR%\openimageio\debug ^
+ -DILMBASE_INCLUDE_DIR=%LIBDIR%\openexr\include ^
+ -DILMBASE_HALF_LIBRARIES=%LIBDIR%\openexr\lib_vs2008\Half_d.lib ^
+ -DILMBASE_IMATH_LIBRARIES=%LIBDIR%\openexr\lib_vs2008\Imath_d.lib ^
+ -DILMBASE_ILMTHREAD_LIBRARIES=%LIBDIR%\openexr\lib_vs2008\IlmThread_d.lib ^
+ -DILMBASE_IEX_LIBRARIES=%LIBDIR%\openexr\lib_vs2008\Iex_d.lib ^
+ -DOPENEXR_INCLUDE_DIR=%LIBDIR%\openexr\include ^
+ -DOPENEXR_ILMIMF_LIBRARIES=%LIBDIR%\openexr\lib_vs2008\IlmImf_d.lib ^
+ -DLINKSTATIC=ON ^
+ -DBOOST_ROOT=%LIBDIR%\boost ^
+ -DBoost_USE_STATIC_RUNTIME=ON ^
+ -DZLIB_INCLUDE_DIR=%LIBDIR%\zlib\include ^
+ -DZLIB_LIBRARY=%LIBDIR%\zlib\lib\libz.lib ^
+ -DPNG_PNG_INCLUDE_DIR=%LIBDIR%\png\include ^
+ -DPNG_LIBRARY=%LIBDIR%\png\lib\libpng_st.lib ^
+ -DJPEG_INCLUDE_DIR=%LIBDIR%\jpeg\include ^
+ -DJPEG_LIBRARY=%LIBDIR%\jpeg\lib\libjpeg.lib ^
+ -DTIFF_INCLUDE_DIR=%LIBDIR%\tiff\include ^
+ -DTIFF_LIBRARY=%LIBDIR%\tiff\lib\libtiff.lib ^
+ -DUSE_OPENGL=OFF ^
+ -DUSE_TBB=OFF ^
+ -DUSE_FIELD3D=OFF ^
+ -DUSE_QT=OFF ^
+ -DUSE_PYTHON=OFF ^
+ -DCMAKE_BUILD_TYPE=Debug
+
+nmake
+nmake install
+
+cd ..\..
+

Added: trunk/lib/windows/openimageio/build.patch
===================================================================
--- trunk/lib/windows/openimageio/build.patch	                        (rev 0)
+++ trunk/lib/windows/openimageio/build.patch	2011-11-06 11:07:42 UTC (rev 41579)
@@ -0,0 +1,192 @@
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index f322e83..fdc1f70 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -116,20 +116,30 @@ if (MSVC)
+     if (BUILDSTATIC)
+          add_definitions(-DOIIO_STATIC_BUILD=1)
+     endif ()
++
++    set(CMAKE_C_FLAGS_DEBUG "/D_DEBUG /MTd /Zi /Ob0 /Od /RTC1")
++    set(CMAKE_C_FLAGS_MINSIZEREL     "/MT /O1 /Ob1 /D NDEBUG")
++    set(CMAKE_C_FLAGS_RELEASE        "/MT /O2 /Ob2 /D NDEBUG")
++    set(CMAKE_C_FLAGS_RELWITHDEBINFO "/MT /Zi /O2 /Ob1 /D NDEBUG")
++
++    set(CMAKE_CXX_FLAGS_DEBUG "/D_DEBUG /MTd /Zi /Ob0 /Od /RTC1")
++    set(CMAKE_CXX_FLAGS_MINSIZEREL     "/MT /O1 /Ob1 /D NDEBUG")
++    set(CMAKE_CXX_FLAGS_RELEASE        "/MT /O2 /Ob2 /D NDEBUG")
++    set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "/MT /Zi /O2 /Ob1 /D NDEBUG")
+ endif (MSVC)
+ 
+ 
+ # Tell CMake to process the sub-directories
+ add_subdirectory (libOpenImageIO)
+ 
+-add_subdirectory (iconvert)
+-add_subdirectory (idiff)
+-add_subdirectory (igrep)
+-add_subdirectory (iinfo)
+-add_subdirectory (iprocess)
+-add_subdirectory (maketx)
+-add_subdirectory (testtex)
+-add_subdirectory (iv)
++#add_subdirectory (iconvert)
++#add_subdirectory (idiff)
++#add_subdirectory (igrep)
++#add_subdirectory (iinfo)
++#add_subdirectory (iprocess)
++#add_subdirectory (maketx)
++#add_subdirectory (testtex)
++#add_subdirectory (iv)
+ 
+ # Add IO plugin directories
+ if (NOT EMBEDPLUGINS)
+@@ -167,41 +177,41 @@ add_subdirectory (doc)
+ # Testing
+ 
+ # List all the individual testsuite tests here:
+-oiio_add_tests (ico gpsread sgi 
+-                texture-fill texture-gray texture-grid
+-                texture-missing texture-pointsample texture-res
+-                texture-skinny texture-fat
+-                imagecache-files texture-field3d)
++#oiio_add_tests (ico gpsread sgi 
++#                texture-fill texture-gray texture-grid
++#                texture-missing texture-pointsample texture-res
++#                texture-skinny texture-fat
++#                imagecache-files texture-field3d)
+ 
+ # List testsuites which need special external reference images from the web
+ # here:
+-oiio_add_tests (bmp
+-    IMAGEDIR bmpsuite
+-    URL http://entropymine.com/jason/bmpsuite/bmpsuite.zip)
++#oiio_add_tests (bmp
++#    IMAGEDIR bmpsuite
++#    URL http://entropymine.com/jason/bmpsuite/bmpsuite.zip)
+ 
+-oiio_add_tests (tiff-suite tiff-depths
+-    IMAGEDIR libtiffpic
+-    URL http://www.remotesensing.org/libtiff/images.html)
++#oiio_add_tests (tiff-suite tiff-depths
++#    IMAGEDIR libtiffpic
++#    URL http://www.remotesensing.org/libtiff/images.html)
+ 
+-oiio_add_tests (openexr-suite openexr-multires openexr-chroma
+-    IMAGEDIR openexr-images-1.5.0
+-    URL http://www.openexr.com/downloads.html)
++#oiio_add_tests (openexr-suite openexr-multires openexr-chroma
++#    IMAGEDIR openexr-images-1.5.0
++#    URL http://www.openexr.com/downloads.html)
+ 
+-oiio_add_tests (jpeg2000
+-    IMAGEDIR j2kp4files_v1_5
+-    URL http://www.crc.ricoh.com/~gormish/jpeg2000conformance/)
++#oiio_add_tests (jpeg2000
++#    IMAGEDIR j2kp4files_v1_5
++#    URL http://www.crc.ricoh.com/~gormish/jpeg2000conformance/)
+ 
+-oiio_add_tests (targa-tgautils
+-    IMAGEDIR TGAUTILS
+-    URL http://tgautils.inequation.org/)
++#oiio_add_tests (targa-tgautils
++#    IMAGEDIR TGAUTILS
++#    URL http://tgautils.inequation.org/)
+ 
+-oiio_add_tests (fits
+-    IMAGEDIR fits-images
+-    URL http://www.cv.nrao.edu/fits/data/tests/)
++#oiio_add_tests (fits
++#    IMAGEDIR fits-images
++#    URL http://www.cv.nrao.edu/fits/data/tests/)
+ 
+-oiio_add_tests (webp
+-    IMAGEDIR webp-images
+-    URL http://code.google.com/speed/webp/gallery.html)
++#oiio_add_tests (webp
++#    IMAGEDIR webp-images
++#    URL http://code.google.com/speed/webp/gallery.html)
+ 
+ #########################################################################

@@ Diff output truncated at 10240 characters. @@



More information about the Bf-blender-cvs mailing list