ports/184609: [maintainer update] for graphics/openimageio

Shane Ambler FreeBSD at Shaneware.biz
Sun Dec 8 23:00:00 UTC 2013


>Number:         184609
>Category:       ports
>Synopsis:       [maintainer update] for 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 Dec 08 23:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Shane Ambler
>Release:        9.2-RELEASE
>Organization:
>Environment:
FreeBSD leader.local 9.2-RELEASE-p2 FreeBSD 9.2-RELEASE-p2 #1 r259039: Sat Dec  7 08:31:58 CST 2013     root at leader.local:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
This patch updates graphics/openimageio to 1.3.9 - the latest stable release.

All patches have been incorporated upstream so the files directory can now be deleted.

Also includes a small update to graphics/py-openimageio (slave)

>How-To-Repeat:

>Fix:
Note on dependencies -
This port is used by 
graphics/opencolorio-tools - can have a portrevision bump
graphics/openshadinglanguage - also submitting an update
graphics/blender - uses both oiio and osl - only needs one portrevision bump after both updates.


Patch attached with submission follows:

diff -Nru openimageio.orig/Makefile openimageio/Makefile
--- openimageio.orig/Makefile	2013-12-09 08:35:45.214472612 +1030
+++ openimageio/Makefile	2013-12-06 14:44:24.539968969 +1030
@@ -2,8 +2,8 @@
 # $FreeBSD$
 
 PORTNAME=	openimageio
-PORTVERSION=	1.2.3
-PORTREVISION?=	2
+PORTVERSION=	1.3.9
+PORTREVISION?=	0
 CATEGORIES?=	graphics multimedia
 
 MAINTAINER?=	FreeBSD at Shaneware.biz
@@ -15,8 +15,7 @@
 GH_ACCOUNT=	OpenImageIO
 GH_PROJECT=	oiio
 GH_TAGNAME=	Release-${PORTVERSION}
-GH_COMMIT=	bcdad81
-WRKSRC=		${WRKDIR}/OpenImageIO-oiio-${GH_COMMIT}/src
+GH_COMMIT=	1a57f2f
 
 # fbm also installs bin/idiff
 CONFLICTS=	fbm-[0-9]*
@@ -78,7 +77,7 @@
 
 post-install:
 .if ${SLAVE_PORT} == no
-	${LN} -sf libOpenImageIO.so.1.2 ${STAGEDIR}${PREFIX}/lib/libOpenImageIO.so.1
+	${LN} -sf libOpenImageIO.so.1.3 ${STAGEDIR}${PREFIX}/lib/libOpenImageIO.so.1
 .endif
 
 .include <bsd.port.mk>
diff -Nru openimageio.orig/distinfo openimageio/distinfo
--- openimageio.orig/distinfo	2013-12-09 08:35:45.214472612 +1030
+++ openimageio/distinfo	2013-12-06 14:44:24.539968969 +1030
@@ -1,2 +1,2 @@
-SHA256 (openimageio-1.2.3.tar.gz) = 9d1dd8b332cc2a191f3d60acc68636a0736d1caa535c326554476bef7a88726d
-SIZE (openimageio-1.2.3.tar.gz) = 12380067
+SHA256 (openimageio-1.3.9.tar.gz) = 4f68be9bcb50ebb1e645f8f9204247c90d443e050c26dda2cb7ebdead08cde88
+SIZE (openimageio-1.3.9.tar.gz) = 14832206
diff -Nru openimageio.orig/files/patch-include_sysutil.h openimageio/files/patch-include_sysutil.h
--- openimageio.orig/files/patch-include_sysutil.h	2013-12-09 08:35:45.214472612 +1030
+++ openimageio/files/patch-include_sysutil.h	1970-01-01 09:30:00.000000000 +0930
@@ -1,10 +0,0 @@
---- include/sysutil.h.orig	2013-09-24 15:26:10.604215091 +0930
-+++ include/sysutil.h	2013-09-24 15:26:16.727214989 +0930
-@@ -41,6 +41,7 @@
- #define OPENIMAGEIO_SYSUTIL_H
- 
- #include <string>
-+#include <time.h>
- 
- #ifdef __MINGW32__
- #include <malloc.h> // for alloca
diff -Nru openimageio.orig/files/patch-ptex.imageio_ptex_PtexWriter.cpp openimageio/files/patch-ptex.imageio_ptex_PtexWriter.cpp
--- openimageio.orig/files/patch-ptex.imageio_ptex_PtexWriter.cpp	2013-12-09 08:35:45.214472612 +1030
+++ openimageio/files/patch-ptex.imageio_ptex_PtexWriter.cpp	1970-01-01 09:30:00.000000000 +0930
@@ -1,10 +0,0 @@
---- ./ptex.imageio/ptex/PtexWriter.cpp.orig	2013-06-04 19:49:43.476382085 +0930
-+++ ./ptex.imageio/ptex/PtexWriter.cpp	2013-06-04 19:49:48.134381870 +0930
-@@ -66,6 +66,7 @@
- #include <algorithm>
- #include <iostream>
- #include <sstream>
-+#include <unistd.h>
- 
- #include "filesystem.h"
- 
diff -Nru openimageio.orig/pkg-plist openimageio/pkg-plist
--- openimageio.orig/pkg-plist	2013-12-09 08:35:45.214472612 +1030
+++ openimageio/pkg-plist	2013-12-06 14:44:24.540969176 +1030
@@ -39,8 +39,8 @@
 include/OpenImageIO/version.h
 lib/libOpenImageIO.so
 lib/libOpenImageIO.so.1
-lib/libOpenImageIO.so.1.2
-lib/libOpenImageIO.so.1.2.3
+lib/libOpenImageIO.so.1.3
+lib/libOpenImageIO.so.1.3.9
 %%PORTDOCS%%%%DOCSDIR%%/CHANGES
 %%PORTDOCS%%%%DOCSDIR%%/LICENSE
 %%PORTDOCS%%%%DOCSDIR%%/openimageio.pdf
diff -Nru py-openimageio.orig/Makefile py-openimageio/Makefile
--- py-openimageio.orig/Makefile	2013-12-09 08:35:56.143307168 +1030
+++ py-openimageio/Makefile	2013-11-30 03:07:15.439490589 +1030
@@ -11,6 +11,6 @@
 
 do-install:
 	@${MKDIR} -p ${STAGEDIR}${PYTHON_SITELIBDIR}
-	${INSTALL_LIB} ${BUILD_WRKSRC}/python/OpenImageIO.so ${STAGEDIR}${PYTHON_SITELIBDIR}
+	${INSTALL_LIB} ${BUILD_WRKSRC}/src/python/OpenImageIO.so ${STAGEDIR}${PYTHON_SITELIBDIR}
 
 .include "${MASTERDIR}/Makefile"


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


More information about the freebsd-ports-bugs mailing list