Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Sep 2012 15:30:16 GMT
From:      dfilter@FreeBSD.ORG (dfilter service)
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/171667: commit references a PR
Message-ID:  <201209191530.q8JFUGLS042211@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/171667; it has been noted by GNATS.

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/171667: commit references a PR
Date: Wed, 19 Sep 2012 15:20:20 +0000 (UTC)

 Author: pawel
 Date: Wed Sep 19 15:19:59 2012
 New Revision: 304532
 URL: http://svn.freebsd.org/changeset/ports/304532
 
 Log:
   OpenColorIO (OCIO) is a complete color management solution geared
   towards motion picture production with an emphasis on visual effects
   and computer animation.
   
   WWW: http://www.opencolorio.org
   
   PR:		ports/171667
   Submitted by:	FreeBSD@Shaneware.biz
 
 Added:
   head/graphics/opencolorio/
   head/graphics/opencolorio/Makefile   (contents, props changed)
   head/graphics/opencolorio/distinfo   (contents, props changed)
   head/graphics/opencolorio/files/
   head/graphics/opencolorio/files/patch-src_apps_ocioconvert_CMakeLists.txt   (contents, props changed)
   head/graphics/opencolorio/files/patch-src_apps_ociolutimage_CMakeLists.txt   (contents, props changed)
   head/graphics/opencolorio/files/patch-src_core_CMakeLists.txt   (contents, props changed)
   head/graphics/opencolorio/files/patch-src_core_Platform.h   (contents, props changed)
   head/graphics/opencolorio/pkg-descr   (contents, props changed)
   head/graphics/opencolorio/pkg-plist   (contents, props changed)
 Modified:
   head/graphics/Makefile
 
 Modified: head/graphics/Makefile
 ==============================================================================
 --- head/graphics/Makefile	Wed Sep 19 14:52:36 2012	(r304531)
 +++ head/graphics/Makefile	Wed Sep 19 15:19:59 2012	(r304532)
 @@ -589,6 +589,7 @@
      SUBDIR += ogre3d
      SUBDIR += okular
      SUBDIR += openclipart
 +    SUBDIR += opencolorio
      SUBDIR += opencsg
      SUBDIR += opencv
      SUBDIR += opencv-core
 
 Added: head/graphics/opencolorio/Makefile
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/graphics/opencolorio/Makefile	Wed Sep 19 15:19:59 2012	(r304532)
 @@ -0,0 +1,78 @@
 +# Created by: Shane Ambler <FreeBSD@Shaneware.biz>
 +# $FreeBSD$
 +
 +PORTNAME=	opencolorio
 +PORTVERSION=	1.0.7
 +CATEGORIES=	graphics multimedia
 +MASTER_SITES=	https://github.com/imageworks/OpenColorIO/tarball/
 +DISTNAME=	v${PORTVERSION}
 +EXTRACT_SUFX=	# empty
 +DIST_SUBDIR=	${PORTNAME}
 +
 +MAINTAINER=	FreeBSD@Shaneware.biz
 +COMMENT=	Complete color management solution
 +
 +LICENSE=	BSD
 +
 +LIB_DEPENDS=	OpenImageIO:${PORTSDIR}/graphics/openimageio
 +
 +FETCH_ARGS=	-pRr
 +USE_CMAKE=	yes
 +CMAKE_VERBOSE=	yes
 +CMAKE_OUTSOURCE=	yes
 +CMAKE_ARGS=	-DOCIO_BUILD_JNIGLUE:BOOL=OFF \
 +		-DOCIO_BUILD_PYGLUE:BOOL=OFF
 +USE_LDCONFIG=	yes
 +WRKSRC=		${WRKDIR}/imageworks-OpenColorIO-b3cb224
 +MAKE_JOBS_SAFE=	yes
 +
 +OPTIONS_DEFINE=		CLIAPPS SSE
 +OPTIONS_DEFAULT=	SSE
 +
 +CLIAPPS_DESC=	Build cli apps
 +SSE_DESC=	Enable sse optimizations
 +
 +.include <bsd.port.options.mk>
 +
 +.if ${CC:T} != "clang"
 +USE_GCC=	4.6+
 +.endif
 +
 +.if empty(PORT_OPTIONS:MDOCS)
 +CMAKE_ARGS+=	-DOCIO_BUILD_DOCS:BOOL=OFF
 +.else
 +# docs currently broken
 +CMAKE_ARGS+=	-DOCIO_BUILD_DOCS:BOOL=OFF
 +.endif
 +
 +.if ${PORT_OPTIONS:MCLIAPPS}
 +.if ${CC:T} != "clang"
 +BROKEN=		cli apps don't build with gcc
 +.endif
 +CMAKE_ARGS+=	-DOCIO_BUILD_APPS:BOOL=ON
 +PLIST_SUB+=	CLIAPPS=""
 +.else
 +CMAKE_ARGS+=	-DOCIO_BUILD_APPS:BOOL=OFF
 +PLIST_SUB+=	CLIAPPS="@comment "
 +.endif
 +
 +.include <bsd.port.pre.mk>
 +
 +.if ${ARCH} == "i386" || ${OSVERSION} < 803000
 +# this is needed for linking with openimageio
 +LDFLAGS+=	-L${LOCALBASE}/lib/gcc46 -rpath ${LOCALBASE}/lib/gcc46
 +.endif
 +
 +.if ${CC:T} == "clang" && ${ARCH} == "i386"
 +# workaround for pr/165968
 +# may need to test osversion after fix is applied
 +CFLAGS+=	-march=pentium2
 +.endif
 +
 +.if ${PORT_OPTIONS:MSSE}
 +CMAKE_ARGS+=	-DOCIO_USE_SSE:BOOL=ON
 +.else
 +CMAKE_ARGS+=	-DOCIO_USE_SSE:BOOL=OFF
 +.endif
 +
 +.include <bsd.port.post.mk>
 
 Added: head/graphics/opencolorio/distinfo
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/graphics/opencolorio/distinfo	Wed Sep 19 15:19:59 2012	(r304532)
 @@ -0,0 +1,2 @@
 +SHA256 (opencolorio/v1.0.7) = 54c6516a89dc9287f1bcc47f27a91fb608477295a4ba6106b45f34e89506d7d5
 +SIZE (opencolorio/v1.0.7) = 11844185
 
 Added: head/graphics/opencolorio/files/patch-src_apps_ocioconvert_CMakeLists.txt
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/graphics/opencolorio/files/patch-src_apps_ocioconvert_CMakeLists.txt	Wed Sep 19 15:19:59 2012	(r304532)
 @@ -0,0 +1,11 @@
 +--- src/apps/ocioconvert/CMakeLists.txt.orig	2012-06-21 20:37:46.118893014 +0930
 ++++ src/apps/ocioconvert/CMakeLists.txt	2012-06-21 20:38:07.547827470 +0930
 +@@ -10,7 +10,7 @@
 +     
 +     add_executable(ocioconvert ${share_src_files} main.cpp)
 +     
 +-    target_link_libraries(ocioconvert ${OIIO_LIBRARIES} OpenColorIO dl)
 ++    target_link_libraries(ocioconvert ${OIIO_LIBRARIES} OpenColorIO)
 +     
 +     install(TARGETS ocioconvert DESTINATION ${CMAKE_INSTALL_EXEC_PREFIX}/bin)
 + endif()
 
 Added: head/graphics/opencolorio/files/patch-src_apps_ociolutimage_CMakeLists.txt
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/graphics/opencolorio/files/patch-src_apps_ociolutimage_CMakeLists.txt	Wed Sep 19 15:19:59 2012	(r304532)
 @@ -0,0 +1,11 @@
 +--- src/apps/ociolutimage/CMakeLists.txt.orig	2012-04-18 09:38:16.000000000 +0930
 ++++ src/apps/ociolutimage/CMakeLists.txt	2012-06-21 20:40:39.147826612 +0930
 +@@ -10,7 +10,7 @@
 +     
 +     add_executable(ociolutimage ${share_src_files} main.cpp)
 +     
 +-    target_link_libraries(ociolutimage ${OIIO_LIBRARIES} OpenColorIO dl)
 ++    target_link_libraries(ociolutimage ${OIIO_LIBRARIES} OpenColorIO)
 +     
 +     install(TARGETS ociolutimage DESTINATION ${CMAKE_INSTALL_EXEC_PREFIX}/bin)
 + endif()
 
 Added: head/graphics/opencolorio/files/patch-src_core_CMakeLists.txt
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/graphics/opencolorio/files/patch-src_core_CMakeLists.txt	Wed Sep 19 15:19:59 2012	(r304532)
 @@ -0,0 +1,8 @@
 +--- src/core/CMakeLists.txt.orig	2012-09-19 16:50:29.000000000 +0200
 ++++ src/core/CMakeLists.txt	2012-09-19 16:51:18.000000000 +0200
 +@@ -90,4 +90,4 @@
 + configure_file(${CMAKE_SOURCE_DIR}/export/pkgconfig/OpenColorIO.pc.in
 +     ${CMAKE_CURRENT_BINARY_DIR}/OpenColorIO.pc @ONLY)
 + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/OpenColorIO.pc
 +-    DESTINATION ${CMAKE_INSTALL_EXEC_PREFIX}/lib${LIB_SUFFIX}/pkgconfig/)
 ++    DESTINATION ${CMAKE_INSTALL_EXEC_PREFIX}/libdata/pkgconfig/)
 
 Added: head/graphics/opencolorio/files/patch-src_core_Platform.h
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/graphics/opencolorio/files/patch-src_core_Platform.h	Wed Sep 19 15:19:59 2012	(r304532)
 @@ -0,0 +1,12 @@
 +--- src/core/Platform.h.orig	2012-06-21 20:18:57.343827187 +0930
 ++++ src/core/Platform.h	2012-06-21 20:20:38.915828064 +0930
 +@@ -85,7 +85,9 @@
 + 
 + // linux/unix/posix
 + #include <stdlib.h>
 ++#if !defined(__FreeBSD__)
 + #include <alloca.h>
 ++#endif
 + #include <string.h>
 + #include <pthread.h>
 + // OS for spinlock
 
 Added: head/graphics/opencolorio/pkg-descr
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/graphics/opencolorio/pkg-descr	Wed Sep 19 15:19:59 2012	(r304532)
 @@ -0,0 +1,5 @@
 +OpenColorIO (OCIO) is a complete color management solution geared
 +towards motion picture production with an emphasis on visual effects
 +and computer animation.
 +
 +WWW: http://www.opencolorio.org
 
 Added: head/graphics/opencolorio/pkg-plist
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/graphics/opencolorio/pkg-plist	Wed Sep 19 15:19:59 2012	(r304532)
 @@ -0,0 +1,18 @@
 +%%CLIAPPS%%bin/ociobakelut
 +%%CLIAPPS%%bin/ociocheck
 +%%CLIAPPS%%bin/ocioconvert
 +%%CLIAPPS%%bin/ociodisplay
 +%%CLIAPPS%%bin/ociolutimage
 +include/OpenColorIO/OpenColorTypes.h
 +include/OpenColorIO/OpenColorTransforms.h
 +include/OpenColorIO/OpenColorABI.h
 +include/OpenColorIO/OpenColorIO.h
 +lib/libOpenColorIO.a
 +lib/libOpenColorIO.so
 +lib/libOpenColorIO.so.1
 +lib/libOpenColorIO.so.1.0.7
 +libdata/pkgconfig/OpenColorIO.pc
 +share/ocio/setup_ocio.sh
 +@dirrm include/OpenColorIO
 +@dirrmtry libdata/pkgconfig
 +@dirrm share/ocio
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209191530.q8JFUGLS042211>