ports/181008: [maintainer update] for graphics/py-openimageio
Shane Ambler
FreeBSD at Shaneware.biz
Sun Aug 4 01:00:01 UTC 2013
>Number: 181008
>Category: ports
>Synopsis: [maintainer update] for graphics/py-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 Aug 04 01:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Shane Ambler
>Release: 9.1-RELEASE
>Organization:
>Environment:
FreeBSD leader.local 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0 r250752: Sat May 18 08:03:42 CST 2013 root at leader.local:/usr/obj/usr/src/sys/dtracekern amd64
>Description:
This updates py-openimageio to 1.2
was missed with the openimageio update and is mostly within the parent port.
patch file extra-patch-CMakeLists.txt has been deleted.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -Nru py-openimageio.orig/Makefile py-openimageio/Makefile
--- py-openimageio.orig/Makefile 2013-08-04 10:17:39.630108829 +0930
+++ py-openimageio/Makefile 2013-08-04 10:04:09.604528311 +0930
@@ -2,7 +2,6 @@
# $FreeBSD$
PORTNAME= openimageio
-PORTREVISION= 1
CATEGORIES= graphics multimedia python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -15,14 +14,10 @@
MASTERDIR= ${.CURDIR}/../openimageio
-BROKEN= Does not patch
-
USE_PYTHON= 2.6+
OIIO_PYBIND= yes
-EXTRA_PATCHES= ${FILESDIR}/extra-patch-CMakeLists.txt
-
do-install:
${INSTALL_LIB} ${BUILD_WRKSRC}/python/OpenImageIO.so ${PYTHON_SITELIBDIR}/
diff -Nru openimageio.orig/Makefile openimageio/Makefile
--- openimageio.orig/Makefile 2013-08-04 10:13:02.710109135 +0930
+++ openimageio/Makefile 2013-07-23 18:24:25.332109550 +0930
@@ -39,12 +39,13 @@
MAKE_JOBS_SAFE= yes
.if defined(OIIO_PYBIND)
-EXTRA_PATCHES= ${FILESDIR}/extra-patch-CMakeLists.txt
PLIST= ${PKGDIR}/pkg-plist-pybind
CMAKE_ARGS+= -DUSE_PYTHON:BOOL=ON
+CMAKE_ARGS+= -DOIIO_BUILD_TOOLS:BOOL=OFF
.else
PLIST= ${PKGDIR}/pkg-plist
CMAKE_ARGS+= -DUSE_PYTHON:BOOL=OFF
+CMAKE_ARGS+= -DOIIO_BUILD_TOOLS:BOOL=ON
.endif
.if !defined(OIIO_PYBIND)
diff -Nru openimageio.orig/files/extra-patch-CMakeLists.txt openimageio/files/extra-patch-CMakeLists.txt
--- openimageio.orig/files/extra-patch-CMakeLists.txt 2013-08-04 10:13:02.708931464 +0930
+++ openimageio/files/extra-patch-CMakeLists.txt 1970-01-01 09:30:00.000000000 +0930
@@ -1,49 +0,0 @@
---- ./CMakeLists.txt.orig 2012-11-11 18:38:49.980294043 +1030
-+++ ./CMakeLists.txt 2012-11-11 18:39:47.515297055 +1030
-@@ -234,46 +234,6 @@
- # their add_test commands will not register.
- include (CTest)
-
--
--# Tell CMake to process the sub-directories
--add_subdirectory (libOpenImageIO)
--
--add_subdirectory (iconvert)
--add_subdirectory (idiff)
--add_subdirectory (igrep)
--add_subdirectory (iinfo)
--add_subdirectory (maketx)
--add_subdirectory (oiiotool)
--add_subdirectory (testtex)
--add_subdirectory (iv)
--# Add IO plugin directories
--if (NOT EMBEDPLUGINS)
-- add_subdirectory (bmp.imageio)
-- add_subdirectory (cineon.imageio)
-- add_subdirectory (dds.imageio)
-- add_subdirectory (dpx.imageio)
-- add_subdirectory (field3d.imageio)
-- add_subdirectory (fits.imageio)
-- add_subdirectory (hdr.imageio)
-- add_subdirectory (ico.imageio)
-- add_subdirectory (iff.imageio)
-- add_subdirectory (jpeg.imageio)
-- add_subdirectory (jpeg2000.imageio)
-- add_subdirectory (openexr.imageio)
-- add_subdirectory (png.imageio)
-- add_subdirectory (pnm.imageio)
-- add_subdirectory (psd.imageio)
-- add_subdirectory (ptex.imageio)
-- add_subdirectory (rla.imageio)
-- add_subdirectory (sgi.imageio)
-- add_subdirectory (socket.imageio)
-- add_subdirectory (softimage.imageio)
-- add_subdirectory (targa.imageio)
-- add_subdirectory (tiff.imageio)
-- add_subdirectory (webp.imageio)
-- add_subdirectory (zfile.imageio)
--endif ()
--
- if (USE_PYTHON AND oiio_boost_PYTHON_FOUND)
- add_subdirectory (python)
- endif ()
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list