ports/167411: [maintainer update] update graphics/openimageio
Shane Ambler
FreeBSD at Shaneware.biz
Sun Apr 29 06:00:34 UTC 2012
>Number: 167411
>Category: ports
>Synopsis: [maintainer update] update graphics/openimageio
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sun Apr 29 06:00:32 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Shane Ambler
>Release: 9.0-RELEASE
>Organization:
>Environment:
FreeBSD leader.local 9.0-RELEASE FreeBSD 9.0-RELEASE #1: Wed Feb 15 16:03:18 CST 2012 root@:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
In response to an issue discovered through ports/167061 I have found the best solution is to break the port into two. This patch removes python bindings support from the original port. I will follow this with a new port submission offering just python bindings for openimageio.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -u openimageio.orig/Makefile openimageio/Makefile
--- openimageio.orig/Makefile 2012-04-28 17:02:19.000000000 +0930
+++ openimageio/Makefile 2012-04-29 13:40:38.000000000 +0930
@@ -32,6 +32,7 @@
CMAKE_OUTSOURCE= yes
CMAKE_ARGS= -DBUILDSTATIC:BOOL=OFF \
-DLINKSTATIC:BOOL=OFF \
+ -DUSE_PYTHON:BOOL=OFF \
-DUSE_TBB:BOOL=ON
LDFLAGS+= -ltbb
USE_LDCONFIG= yes
@@ -39,13 +40,8 @@
MAKE_JOBS_SAFE= yes
OPTIONS= IMAGEVIEWER "Build image viewer" on \
- PYTHON "Python bindings" on \
NOTHREADS "Disable thread support" off
-post-patch:
- @${REINPLACE_CMD} 's|lib/python|lib/${PYTHON_VERSION}|' \
- ${WRKSRC}/CMakeLists.txt
-
.include <bsd.port.options.mk>
.if defined(WITH_IMAGEVIEWER)
@@ -60,16 +56,6 @@
PLIST_SUB+= IMAGEVIEWER="@comment "
.endif
-.if defined(WITH_PYTHON)
-CMAKE_ARGS+= -DUSE_PYTHON:BOOL=ON
-USE_PYTHON= 2.6+
-LIB_DEPENDS+= boost_python:${PORTSDIR}/devel/boost-python-libs
-PLIST_SUB+= PYTHON_BIND=""
-.else
-CMAKE_ARGS+= -DUSE_PYTHON:BOOL=OFF
-PLIST_SUB+= PYTHON_BIND="@comment "
-.endif
-
.if defined(WITH_NOTHREADS)
CMAKE_ARGS+= -DNOTHREADS:BOOL=ON
.else
Common subdirectories: openimageio.orig/files and openimageio/files
diff -u openimageio.orig/pkg-plist openimageio/pkg-plist
--- openimageio.orig/pkg-plist 2012-04-28 17:03:35.000000000 +0930
+++ openimageio/pkg-plist 2012-04-28 19:56:03.000000000 +0930
@@ -64,7 +64,6 @@
lib/libOpenImageIO.so.1
lib/libOpenImageIO.so.1.0
lib/libOpenImageIO.so.1.0.3
-%%PYTHON_BIND%%%%PYTHON_SITELIBDIR%%/OpenImageIO.so
share/doc/openimageio/openimageio.pdf
share/doc/openimageio/LICENSE
share/doc/openimageio/CHANGES
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list