ports/172454: New port graphics/opencolorio-tools

Shane Ambler FreeBSD at Shaneware.biz
Sun Oct 7 15:30:14 UTC 2012


>Number:         172454
>Category:       ports
>Synopsis:       New port graphics/opencolorio-tools
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 07 15:30:13 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Shane Ambler
>Release:        9.0-RELEASE-p1
>Organization:
>Environment:
FreeBSD leader.local 9.0-RELEASE-p1 FreeBSD 9.0-RELEASE-p1 #1: Tue May 15 12:34:33 CST 2012     shane at leader.local:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
Continuing on from pr/171884 - this port replaces the utility apps removed from the opencolorio port.

This resolves a dependency issue allowing openimageio to use opencolorio and the opencolorio utility apps to use openimageio.

PORTREVISION have been set to be in line with opencolorio.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# 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:
#
#	opencolorio-tools
#	opencolorio-tools/distinfo
#	opencolorio-tools/files
#	opencolorio-tools/files/patch-CMakeLists.txt
#	opencolorio-tools/files/patch-src__core__Platform.h
#	opencolorio-tools/files/patch-src__core__CMakeLists.txt
#	opencolorio-tools/files/patch-src__apps__ociolutimage__CMakeLists.txt
#	opencolorio-tools/files/patch-src__apps__ocioconvert__CMakeLists.txt
#	opencolorio-tools/Makefile
#	opencolorio-tools/pkg-plist
#	opencolorio-tools/pkg-descr
#
echo c - opencolorio-tools
mkdir -p opencolorio-tools > /dev/null 2>&1
echo x - opencolorio-tools/distinfo
sed 's/^X//' >opencolorio-tools/distinfo << 'e837c484ecdbf5d021993b0dec612a24'
XSHA256 (opencolorio/v1.0.7) = 54c6516a89dc9287f1bcc47f27a91fb608477295a4ba6106b45f34e89506d7d5
XSIZE (opencolorio/v1.0.7) = 11844185
e837c484ecdbf5d021993b0dec612a24
echo c - opencolorio-tools/files
mkdir -p opencolorio-tools/files > /dev/null 2>&1
echo x - opencolorio-tools/files/patch-CMakeLists.txt
sed 's/^X//' >opencolorio-tools/files/patch-CMakeLists.txt << '26e45f536d74500a1e85c83062b6d9fa'
X--- ./CMakeLists.txt.orig	2012-10-07 21:57:35.533351894 +1030
X+++ ./CMakeLists.txt	2012-10-07 21:58:05.952352489 +1030
X@@ -375,7 +375,6 @@
X configure_file(${CMAKE_SOURCE_DIR}/share/ocio/setup_ocio.sh.in
X     ${CMAKE_CURRENT_BINARY_DIR}/share/ocio/setup_ocio.sh @ONLY)
X 
X-INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/share/ocio/setup_ocio.sh DESTINATION share/ocio/)
X 
X ###############################################################################
X ### CPACK ###
26e45f536d74500a1e85c83062b6d9fa
echo x - opencolorio-tools/files/patch-src__core__Platform.h
sed 's/^X//' >opencolorio-tools/files/patch-src__core__Platform.h << 'afc1bd83ca6dc2d6b262164894bb31d5'
X--- ./src/core/Platform.h.orig	2012-04-18 09:38:16.000000000 +0930
X+++ ./src/core/Platform.h	2012-10-07 21:56:32.465350982 +1030
X@@ -85,7 +85,9 @@
X 
X // linux/unix/posix
X #include <stdlib.h>
X+#if !defined(__FreeBSD__)
X #include <alloca.h>
X+#endif
X #include <string.h>
X #include <pthread.h>
X // OS for spinlock
afc1bd83ca6dc2d6b262164894bb31d5
echo x - opencolorio-tools/files/patch-src__core__CMakeLists.txt
sed 's/^X//' >opencolorio-tools/files/patch-src__core__CMakeLists.txt << '00e1e2b6973b4e6fd4bb3eba1c550c36'
X--- ./src/core/CMakeLists.txt.orig	2012-04-18 09:38:16.000000000 +0930
X+++ ./src/core/CMakeLists.txt	2012-10-07 21:56:32.464351932 +1030
X@@ -81,13 +81,4 @@
X     install(TARGETS OpenColorIO_STATIC DESTINATION ${CMAKE_INSTALL_EXEC_PREFIX}/lib)
X endif()
X 
X-# public interface
X-install(FILES ${core_export_headers}
X-    DESTINATION ${CMAKE_INSTALL_PREFIX}/include/OpenColorIO/)
X 
X-# pkg-config
X-message(STATUS "Create OpenColorIO.pc from OpenColorIO.pc.in")
X-configure_file(${CMAKE_SOURCE_DIR}/export/pkgconfig/OpenColorIO.pc.in
X-    ${CMAKE_CURRENT_BINARY_DIR}/OpenColorIO.pc @ONLY)
X-install(FILES ${CMAKE_CURRENT_BINARY_DIR}/OpenColorIO.pc
X-    DESTINATION ${CMAKE_INSTALL_EXEC_PREFIX}/lib${LIB_SUFFIX}/pkgconfig/)
00e1e2b6973b4e6fd4bb3eba1c550c36
echo x - opencolorio-tools/files/patch-src__apps__ociolutimage__CMakeLists.txt
sed 's/^X//' >opencolorio-tools/files/patch-src__apps__ociolutimage__CMakeLists.txt << '6758fa1459ddcb516b67881aadb7d4fb'
X--- ./src/apps/ociolutimage/CMakeLists.txt.orig	2012-04-18 09:38:16.000000000 +0930
X+++ ./src/apps/ociolutimage/CMakeLists.txt	2012-10-07 21:56:32.463351075 +1030
X@@ -10,7 +10,7 @@
X     
X     add_executable(ociolutimage ${share_src_files} main.cpp)
X     
X-    target_link_libraries(ociolutimage ${OIIO_LIBRARIES} OpenColorIO dl)
X+    target_link_libraries(ociolutimage ${OIIO_LIBRARIES} OpenColorIO)
X     
X     install(TARGETS ociolutimage DESTINATION ${CMAKE_INSTALL_EXEC_PREFIX}/bin)
X endif()
6758fa1459ddcb516b67881aadb7d4fb
echo x - opencolorio-tools/files/patch-src__apps__ocioconvert__CMakeLists.txt
sed 's/^X//' >opencolorio-tools/files/patch-src__apps__ocioconvert__CMakeLists.txt << 'cad07b7051fec3c4577d94cde26947f0'
X--- ./src/apps/ocioconvert/CMakeLists.txt.orig	2012-04-18 09:38:16.000000000 +0930
X+++ ./src/apps/ocioconvert/CMakeLists.txt	2012-10-07 21:56:32.462351272 +1030
X@@ -10,7 +10,7 @@
X     
X     add_executable(ocioconvert ${share_src_files} main.cpp)
X     
X-    target_link_libraries(ocioconvert ${OIIO_LIBRARIES} OpenColorIO dl)
X+    target_link_libraries(ocioconvert ${OIIO_LIBRARIES} OpenColorIO)
X     
X     install(TARGETS ocioconvert DESTINATION ${CMAKE_INSTALL_EXEC_PREFIX}/bin)
X endif()
cad07b7051fec3c4577d94cde26947f0
echo x - opencolorio-tools/Makefile
sed 's/^X//' >opencolorio-tools/Makefile << '8d0d4d104a5f1cb87b2595770e7ed845'
X# Created by: Shane Ambler <FreeBSD at Shaneware.biz>
X# $FreeBSD: ports/graphics/opencolorio/Makefile,v 1.1 2012/09/19 15:19:59 pawel Exp $
X
XPORTNAME=	opencolorio-tools
XPORTVERSION=	1.0.7
XPORTREVISION=	3
XCATEGORIES=	graphics multimedia
XMASTER_SITES=	https://github.com/imageworks/OpenColorIO/tarball/
XDISTNAME=	v${PORTVERSION}
XEXTRACT_SUFX=	# empty
XDIST_SUBDIR=	opencolorio
X
XMAINTAINER=	FreeBSD at Shaneware.biz
XCOMMENT=	Tools to work with OpenColorIO profiles
X
XLICENSE=	BSD
X
XLIB_DEPENDS=	OpenImageIO:${PORTSDIR}/graphics/openimageio \
X		OpenColorIO:${PORTSDIR}/graphics/opencolorio
X
XFETCH_ARGS=	-pRr
XUSE_CMAKE=	yes
XCMAKE_VERBOSE=	yes
XCMAKE_OUTSOURCE=	yes
XCMAKE_ARGS=	-DOCIO_BUILD_APPS:BOOL=ON \
X		-DOCIO_BUILD_JNIGLUE:BOOL=OFF \
X		-DOCIO_BUILD_NUKE:BOOL=OFF \
X		-DOCIO_BUILD_PYGLUE:BOOL=OFF \
X		-DOCIO_BUILD_SHARED:BOOL=OFF \
X		-DOCIO_BUILD_STATIC:BOOL=OFF
X
XUSE_GL=		glew glut
XCFLAGS+=	-L${LOCALBASE}/lib
X
XWRKSRC=		${WRKDIR}/imageworks-OpenColorIO-b3cb224
XMAKE_JOBS_SAFE=	yes
X
X.include <bsd.port.mk>
8d0d4d104a5f1cb87b2595770e7ed845
echo x - opencolorio-tools/pkg-plist
sed 's/^X//' >opencolorio-tools/pkg-plist << '904e02a9fdc2e6096588b46b9e8bb6aa'
Xbin/ociobakelut
Xbin/ociocheck
Xbin/ocioconvert
Xbin/ociodisplay
Xbin/ociolutimage
X
904e02a9fdc2e6096588b46b9e8bb6aa
echo x - opencolorio-tools/pkg-descr
sed 's/^X//' >opencolorio-tools/pkg-descr << '6c952602d5e6bfac5382ee7589232482'
XOpenColorIO (OCIO) is a complete color management solution geared
Xtowards motion picture production with an emphasis on visual effects
Xand computer animation. These tools are a collection of applications
Xto assist in working with colour profiles.
X
XWWW: http://www.opencolorio.org
6c952602d5e6bfac5382ee7589232482
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list