[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / graphics / openimageio

File: [cvs.NetBSD.org] / pkgsrc / graphics / openimageio / Makefile (download)

Revision 1.36, Tue Dec 15 09:29:04 2015 UTC (3 years, 6 months ago) by markd
Branch: MAIN
CVS Tags: pkgsrc-2015Q4-base, pkgsrc-2015Q4
Changes since 1.35: +2 -4 lines

Update openimageio to 1.5.16

Release 1.5.16 (11 Jun 2015) -- compared to 1.5.15)
* PNG writes now honor PixelAspectRatio attribute.
* Build fixes for Visual Studio 2010
* PSD & JPEG plugins fixes for Win32 compilation.
* Also search for OIIO plugins in [DY]LD_LIBRARY_PATH.
* Give Strutil::parse_string an option to not strip surrounding quotes.
* Fix Nuke plugin build files to not do anything if USE_NUKE=0
* New ImageInput query: "procedural" -- returns 1 if the ImageInput may
  not correspond to an actual file.
* TypeDesc has a new constructor and fromstring of a string_view, in
  addition to the old versions that took char*.
* Eliminate spurious ImageCache invalidation just because the shared
  cache is requested again.
* Fixed trilinear MIPmap texture lookups that gave invalid alpha fill.
* Filesystem: sequence matching should clear results arrays upon start.

Release 1.5.15 (11 May 2015) -- compared to 1.5.14)
* Bug fix with IBA::channels() with deep data with UINT channels.
* Fix TypeDesc compatibility with OSL.
* Misc WIN32 / VS2010 fixes.
* Fix incorrect logic in convert_image with certain channel types and

Release 1.5.14 (14 April 2015) -- compared to 1.5.13)
* Added Python bindings for DeepData and deep reads (ImageInput) and
  writes (ImageOutput).
* Improve IBA::compare() (and therefore oiiotool -diff and idiff) when
  the images being compared have NaN or Inf values.
* TextureSystem bug fix that occasionally resulted in NaN in the alpha
  channel result when looking up from 3-channel images.
* Fix IBA::channels() bugs when dealing with "deep" images.
* Fix bugs in reading deep OpenEXR images with mixed channel types.
* fmath: safe_fast_pow improves the precision of its results for
  special cases of pow(x,1) and pow(x,2).
* Fix warnings when compiling with C++11.
* Dont link Python framework on OSX.
* Added TypeDesc::TypeHalf().
* Python ImageSpec.set_channel_formats() now works when the channel
  type lists are either TypeDesc, in addition to the existing support
* Build correctly against older TIFF versions.

Release 1.5.13 (10 Mar 2015) -- compared to 1.5.12)
 * oiiotool: Bug fix for frame sequences -- could crash in Windows.
 * New ImageOutput::supports() tags: supports("alpha") should be true for
   image formats that support an alpha channel, supports("nchannels") should
   be true for output formats that support an arbitrary number of output
 * oiiotool: Gracefully handle requests to save an image with more channels
   than the output file format can handle. Instead of being a fatal error,
   now it's just a warning, and extra channels are dropped. It tries to
   to find R, G, B, and A channels, saving them. If those names are
   not found, it just saves the first 3 (or 4) channels.
 * Improved handling of "PixelAspectRatio" for JPEG, TIFF, and OpenEXR.
 * oiiotool: Improve error messages when files can't be read. It is now
   easier to to distinguish files that don't exist from those that
   are an unknown format from those that are corrupted or have read
 * maketx now writes to a temporary file, then moving it to the final
   requested output filename only when the write completed without error.
   This prevents situations where maketx crashes or is killed and leaves
   behind a file that looks correct but is actually corrupted or
 * Python: added previously-M.I.A. ImageSpec.erase_attribute().
 * Add Filesystem::rename() utility.
 * Made TypeDesc::equivalent accept comparisons of arrays of unspecified
   length with ones of definite length.
 * oiiotool & maketx have improved error message when unknown data format
   names are requested with "-d".
 * oiiotool numeric wildcard improvement: allow more digits to match.
 * Remove dependency of OpenSSL by default.

Release 1.5.12 (11 Feb 2015) -- compared to 1.5.11)
* Various build fixes for Windows.
* New CMake build-time option to specify the default plugin search path.
* OpenEXR: fixed write_tile() with AutoStride calculated the wrong
  default strides for "edge" tiles when the image width or length was
  not an integer multiple of the tile size. Also clarified the PDF and
  imageio.h docs in how they explain strides for this case. (1.5.12)
* maketx: when the source image was a crop (data window != display window),
  and the sharpening filters were used, it would incorrectly issue an
  "unknown filter name" error. (1.5.12)
* Fix gcc 5.0 compiler warning in PtexHalf.cpp. (1.5.12)

Release 1.5.11 (28 Jan 2015) -- compared to 1.5.10)
* Fix build breaks for very old versions of Ilmbase (1.6 and earlier)
  that lack a definition of V4f used by our simd.h.
* Fix signed/unsigned warning on 32 bit platforms in jpeginput.cpp.

Release 1.5 (26 Jan 2015) -- compared to 1.4.x
Major new features and improvements:
* New oiiotool functionality/commands:
   * --rotate90, --rotate180, --rotate270 rotate the image in 90 degree
     axially-aligned increments with no filtering. (1.5.2)
   * --reorient will perform whatever series of rotations or flips are
     necessary to move the pixels to match the "Orientation" metadata that
     describes the desired display orientation. (1.5.2)
   * --autoorient will automatically do the equivalent of --reorient on
     every image as it is read in, if it has a nonstandard orientation.
     (This is generally a good idea to use if you are using oiiotool to
     combine images that may have different orientations.) (1.5.2)
   * --rotate rotates an image by arbitrary angle and center point,
     with high-quality filtering. (1.5.3)
   * --warp transforms an image using a 3x3 matrix, with high-quality
     filtering. (1.5.3)
   * --median performs a median filter. (1.5.4)
* New ImageBufAlgo functions:
   * rotate90(), rotate180(), rotate270() rotate the image in 90 degree
     axially-aligned increments with no filtering. (1.5.2)
   * reorient() will perform whatever series of rotations or flips are
     necessary to move the pixels to match the "Orientation" metadata that
     describes the desired display orientation. (1.5.2)
   * rotate() performs rotation with arbitrary angle and center point,
     with high-quality filtering. (1.5.3)
   * warp() transforms an image by a 3x3 matrix, with high-quality
     filtering. (1.5.3)
   * median_filter performs a median filter. (1.5.4)
* Significant internal speedups by utilizing SIMD instructions (SSE) in
  the TextureSystem (1.5.5 , 1.5.6 ). To use this to its
  fullest extent, build OIIO with the make/cmake option USE_SIMD=arch,
  where arch is sse2, ssse3, sse4.1, sse4.2, depending on what machines
  you'll be deploying to. (Note that x86_64 automatically implies at
  least sse2.) We're finding that this has approximately doubled the
  speed of the math part of texture mapping (it doesn't speed up the disk
  I/O, of course).  (1.5.5)
* Basic support for many movie files via a plugin using 'ffmpeg'. Works
  with avi, mov, qt, mp4, m4a, 3gp, 3g2, mj2, m4v, mpg, and more.  Movie
  files simply look like multi-image files to OIIO. There isn't really
  support for audio yet, and although this lets you retrieve and process
  individual frames of a movie file, OIIO is still not meant to be a
  video-processing library. Currently, these formats can be read, but
  there is no write support (maybe coming soon). (1.5.5)
* Nuke plugins -- a txReader plugins that will read OIIO texture files,
  and a txWriter that will output proper (tiled & mip-mapped) texture files
  from Nuke. Contributed by Nathan Rusch / Luma Pictures. (1.5.6)

# $NetBSD: Makefile,v 1.36 2015/12/15 09:29:04 markd Exp $

OIIOVER=	1.5.16
DISTNAME=	oiio-Release-${OIIOVER}
PKGNAME=	${DISTNAME:S/oiio-Release/openimageio/}
CATEGORIES=	graphics
MASTER_SITES=	-https://github.com/OpenImageIO/oiio/archive/Release-${OIIOVER}.tar.gz

MAINTAINER=	ryoon@NetBSD.org
HOMEPAGE=	https://sites.google.com/site/openimageio/
COMMENT=	OpenImageIO is a library for reading and writing images
LICENSE=	modified-bsd

USE_TOOLS+=		gmake

CXXFLAGS.Linux+=	-pthread


# For redefinition of _rotl macro.

.include "../../devel/boost-libs/buildlink3.mk"
.include "../../devel/hdf5/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/glew/buildlink3.mk"
.include "../../graphics/ilmbase/buildlink3.mk"
.include "../../graphics/libwebp/buildlink3.mk"
.include "../../graphics/opencv/buildlink3.mk"
.include "../../graphics/openjpeg15/buildlink3.mk"
.include "../../graphics/openexr/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../graphics/giflib/buildlink3.mk"
.include "../../x11/qt4-libs/buildlink3.mk"
BUILDLINK_DEPMETHOD.qt4-tools=	build
.include "../../x11/qt4-tools/buildlink3.mk"

.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Mclang)
CXXFLAGS+=	-Wno-deprecated-register

.include "../../mk/bsd.pkg.mk"