ports/166858: New port graphics/openimageio

Shane Ambler FreeBSD at ShaneWare.Biz
Thu Apr 12 03:10:16 UTC 2012


The following reply was made to PR ports/166858; it has been noted by GNATS.

From: Shane Ambler <FreeBSD at ShaneWare.Biz>
To: bug-followup at FreeBSD.org, FreeBSD at Shaneware.biz
Cc:  
Subject: Re: ports/166858: New port graphics/openimageio
Date: Thu, 12 Apr 2012 12:28:29 +0930

 This is a multi-part message in MIME format.
 --------------070402070006030802030608
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 it may have been helpful if I remembered to add the shar file.
 
 --------------070402070006030802030608
 Content-Type: text/plain;
  name="openimageio.shar"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="openimageio.shar"
 
 # This is a shell archive.  Save it in a file, remove anything before
 # this line, and then unpack it by entering "sh file".  Note, it may
 # create directories; files and directories will be owned by you and
 # have default permissions.
 #
 # This archive contains:
 #
 #	openimageio
 #	openimageio/Makefile
 #	openimageio/pkg-descr
 #	openimageio/files
 #	openimageio/files/patch-src_ptex.imageio_ptex_Ptexture.h
 #	openimageio/distinfo
 #	openimageio/pkg-plist
 #
 echo c - openimageio
 mkdir -p openimageio > /dev/null 2>&1
 echo x - openimageio/Makefile
 sed 's/^X//' >openimageio/Makefile << '6930c1ee3a554a47f48f3e8770456fe7'
 X# New ports collection makefile for:	OpenImageIO
 X# Date created:			21 March 2012
 X# Whom:					Shane Ambler
 X#
 X# $FreeBSD$
 X#
 X
 XPORTNAME=	openimageio
 XPORTVERSION=	1.0.2
 XCATEGORIES=	graphics multimedia
 XMASTER_SITES=	https://github.com/OpenImageIO/oiio/tarball/
 XDISTNAME=	Release-${PORTVERSION}
 XEXTRACT_SUFX=
 XDIST_SUBDIR=	${PORTNAME}
 X
 XMAINTAINER=	FreeBSD at Shaneware.biz
 XCOMMENT=	OpenImageIO graphics library
 X
 XLICENSE=	BSD
 X
 XLIB_DEPENDS=	openjpeg:${PORTSDIR}/graphics/openjpeg \
 X				opencv_legacy.2:${PORTSDIR}/graphics/opencv \
 X				boost_thread.4:${PORTSDIR}/devel/boost-libs \
 X				IlmImf.6:${PORTSDIR}/graphics/OpenEXR \
 X				tbb.4:${PORTSDIR}/devel/tbb
 X
 XFETCH_ARGS=	-pRr
 XUSE_CMAKE=	yes
 XCMAKE_VERBOSE=	yes
 XCMAKE_OUTSOURCE=	yes
 XCMAKE_ARGS=	-DBUILDSTATIC:BOOL=OFF \
 X			-DLINKSTATIC:BOOL=OFF \
 X			-DUSE_TBB:BOOL=ON
 XLDFLAGS+=	-ltbb
 XUSE_LDCONFIG=	yes
 XWRKSRC=		${WRKDIR}/OpenImageIO-oiio-1595432/src
 XMAKE_JOBS_SAFE=	yes
 X
 XOPTIONS=	OPENGL "Include OpenGL support" on \
 X			PYTHON "Python bindings"  on \
 X			QT "Include QT Support" on \
 X			NOTHREADS "Disable thread support" off
 X
 X.if defined(WITH_OPENGL)
 XCMAKE_ARGS+=	-DUSE_OPENGL:BOOL=ON
 XUSE_GL=		gl
 X.else
 XCMAKE_ARGS+=	-DUSE_OPENGL:BOOL=OFF
 X.endif
 X
 X.if defined(WITH_PYTHON)
 XCMAKE_ARGS+=	-DUSE_PYTHON:BOOL=ON
 XUSE_PYTHON=	2.6+
 X.else
 XCMAKE_ARGS+=	-DUSE_PYTHON:BOOL=OFF
 X.endif
 X
 X.if defined(WITH_QT)
 XCMAKE_ARGS+=	-DUSE_QT:BOOL=ON
 XUSE_QT_VER=	4
 X.else
 XCMAKE_ARGS+=	-DUSE_QT:BOOL=OFF
 X.endif
 X
 X.if defined(WITH_NOTHREADS)
 XCMAKE_ARGS+=	-DNOTHREADS:BOOL=ON
 X.else
 XCMAKE_ARGS+=	-DNOTHREADS:BOOL=OFF
 X.endif
 X
 X.include <bsd.port.pre.mk>
 X
 X.if ${ARCH} == "i386" || ${OSVERSION} < 803000
 XUSE_GCC=	4.6+
 X.endif
 X
 X.if ${OSVERSION} < 800000
 XIGNORE=	requires FreeBSD 8.0 or higher
 X.endif
 X
 Xpost-install:
 X		cd ${PREFIX}/lib && ${LN} -sf libOpenImageIO.so.1.0 libOpenImageIO.so.1
 X
 X.include <bsd.port.post.mk>
 6930c1ee3a554a47f48f3e8770456fe7
 echo x - openimageio/pkg-descr
 sed 's/^X//' >openimageio/pkg-descr << '6954716d2381d1ca091ce1eccd166586'
 XOpenImageIO is a library for reading and writing images, and a bunch of
 Xrelated classes, utilities, and applications.
 X
 XThere is a particular emphasis on formats and functionality used
 Xin professional, large-scale animation and visual effects work for film.
 X
 XOpenImageIO is used extensively in animation and VFX studios all over the world,
 Xand is also incorporated into several commercial products.
 X
 XWWW: http://www.openimageio.org
 6954716d2381d1ca091ce1eccd166586
 echo c - openimageio/files
 mkdir -p openimageio/files > /dev/null 2>&1
 echo x - openimageio/files/patch-src_ptex.imageio_ptex_Ptexture.h
 sed 's/^X//' >openimageio/files/patch-src_ptex.imageio_ptex_Ptexture.h << '5300c5c51d8b77eacae41a394e632481'
 X--- ptex.imageio/ptex/Ptexture.h.orig	2012-03-30 22:01:12.000000000 +1030
 X+++ ptex.imageio/ptex/Ptexture.h	2012-03-30 22:01:35.000000000 +1030
 X@@ -41,6 +41,14 @@
 X   @brief Public API classes for reading, writing, caching, and filtering Ptex files.
 X */
 X 
 X+#include "fmath.h"
 X+
 X+#if !defined(log2)
 X+
 X+inline double log2(double x) {return log(x)*(double)1.4426950408889634;}
 X+
 X+#endif /* log2 */
 X+
 X #if defined(_WIN32) || defined(_WINDOWS) || defined(_MSC_VER)
 X # ifndef PTEXAPI
 X #  ifndef PTEX_STATIC
 5300c5c51d8b77eacae41a394e632481
 echo x - openimageio/distinfo
 sed 's/^X//' >openimageio/distinfo << '5579fd0ca73c017f186d65d362a0b861'
 XSHA256 (openimageio/Release-1.0.2) = effcdf1ef5592fb1509cf4ac5500483d3967a6e5bd4d29c40b9170b3c1055600
 XSIZE (openimageio/Release-1.0.2) = 4158852
 5579fd0ca73c017f186d65d362a0b861
 echo x - openimageio/pkg-plist
 sed 's/^X//' >openimageio/pkg-plist << 'ea6a64abc8230d3afa1f14c93753a1a9'
 Xbin/iconvert
 Xbin/idiff
 Xbin/igrep
 Xbin/iinfo
 Xbin/iprocess
 Xbin/maketx
 Xbin/oiiotool
 Xinclude/OpenImageIO/tbb/machine/ibm_aix51.h
 Xinclude/OpenImageIO/tbb/machine/linux_common.h
 Xinclude/OpenImageIO/tbb/machine/linux_ia32.h
 Xinclude/OpenImageIO/tbb/machine/linux_ia64.h
 Xinclude/OpenImageIO/tbb/machine/linux_intel64.h
 Xinclude/OpenImageIO/tbb/machine/mac_ppc.h
 Xinclude/OpenImageIO/tbb/machine/windows_ia32.h
 Xinclude/OpenImageIO/tbb/machine/windows_intel64.h
 X at dirrmtry include/OpenImageIO/tbb/machine
 Xinclude/OpenImageIO/tbb/_tbb_windef.h
 Xinclude/OpenImageIO/tbb/aligned_space.h
 Xinclude/OpenImageIO/tbb/atomic.h
 Xinclude/OpenImageIO/tbb/spin_mutex.h
 Xinclude/OpenImageIO/tbb/spin_rw_mutex.h
 Xinclude/OpenImageIO/tbb/tbb_allocator.h
 Xinclude/OpenImageIO/tbb/tbb_assert_impl.h
 Xinclude/OpenImageIO/tbb/tbb_config.h
 Xinclude/OpenImageIO/tbb/tbb_exception.h
 Xinclude/OpenImageIO/tbb/tbb_machine.h
 Xinclude/OpenImageIO/tbb/tbb_misc.h
 Xinclude/OpenImageIO/tbb/tbb_profiling.h
 Xinclude/OpenImageIO/tbb/tbb_stddef.h
 Xinclude/OpenImageIO/tbb/tbb_version.h
 X at dirrmtry include/OpenImageIO/tbb
 Xinclude/OpenImageIO/argparse.h
 Xinclude/OpenImageIO/color.h
 Xinclude/OpenImageIO/dassert.h
 Xinclude/OpenImageIO/errorhandler.h
 Xinclude/OpenImageIO/export.h
 Xinclude/OpenImageIO/filesystem.h
 Xinclude/OpenImageIO/filter.h
 Xinclude/OpenImageIO/fmath.h
 Xinclude/OpenImageIO/hash.h
 Xinclude/OpenImageIO/imagebuf.h
 Xinclude/OpenImageIO/imagebufalgo.h
 Xinclude/OpenImageIO/imagecache.h
 Xinclude/OpenImageIO/imageio.h
 Xinclude/OpenImageIO/optparser.h
 Xinclude/OpenImageIO/osdep.h
 Xinclude/OpenImageIO/paramlist.h
 Xinclude/OpenImageIO/plugin.h
 Xinclude/OpenImageIO/refcnt.h
 Xinclude/OpenImageIO/strutil.h
 Xinclude/OpenImageIO/sysutil.h
 Xinclude/OpenImageIO/texture.h
 Xinclude/OpenImageIO/thread.h
 Xinclude/OpenImageIO/timer.h
 Xinclude/OpenImageIO/typedesc.h
 Xinclude/OpenImageIO/ustring.h
 Xinclude/OpenImageIO/varyingref.h
 Xinclude/OpenImageIO/pugixml.hpp
 Xinclude/OpenImageIO/pugiconfig.hpp
 Xinclude/OpenImageIO/version.h
 X at dirrmtry include/OpenImageIO
 Xlib/libOpenImageIO.so
 Xlib/libOpenImageIO.so.1
 Xlib/libOpenImageIO.so.1.0
 Xlib/libOpenImageIO.so.1.0.2
 Xshare/doc/openimageio/openimageio.pdf
 Xshare/doc/openimageio/LICENSE
 Xshare/doc/openimageio/CHANGES
 X at dirrmtry share/doc/openimageio
 X
 ea6a64abc8230d3afa1f14c93753a1a9
 exit
 
 
 --------------070402070006030802030608--



More information about the freebsd-ports-bugs mailing list