Bug 176241 - [maintainer update] for graphics/openimageio
Summary: [maintainer update] for graphics/openimageio
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-18 14:30 UTC by Shane
Modified: 2013-02-19 14:00 UTC (History)
0 users

See Also:


Attachments
file.diff (4.12 KB, patch)
2013-02-18 14:30 UTC, Shane
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Shane 2013-02-18 14:30:00 UTC
Update to v1.1.6
Includes patch submitted in pr/173558
Removes files/patch-include__thread.h
New patch patch-include__fmath.h is added to provide support for 8.2-STABLE in response to a user that failed upgrading to 8.3 and fell back to 8-STABLE

ALSO - graphics/py-openimageio as a slave of this port didn't get updated properly last time. distinfo pkg-descr and files/patch-src_CMakeLists.txt should be removed leaving just Makefile for the port.

Fix: Patch attached with submission follows:
Comment 1 Martin Wilke freebsd_committer freebsd_triage 2013-02-19 13:57:19 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-02-19 13:57:27 UTC
Author: miwi
Date: Tue Feb 19 13:57:18 2013
New Revision: 312564
URL: http://svnweb.freebsd.org/changeset/ports/312564

Log:
  - Update to 1.1.6
  
  PR:		176241
  Submitted by:	maintainer

Added:
  head/graphics/openimageio/files/patch-include__fmath.h   (contents, props changed)
Deleted:
  head/graphics/openimageio/files/patch-include__thread.h
Modified:
  head/graphics/openimageio/Makefile
  head/graphics/openimageio/distinfo   (contents, props changed)
  head/graphics/openimageio/pkg-plist   (contents, props changed)

Modified: head/graphics/openimageio/Makefile
==============================================================================
--- head/graphics/openimageio/Makefile	Tue Feb 19 13:56:45 2013	(r312563)
+++ head/graphics/openimageio/Makefile	Tue Feb 19 13:57:18 2013	(r312564)
@@ -2,10 +2,9 @@
 # $FreeBSD$
 
 PORTNAME?=	openimageio
-PORTVERSION=	1.1.2
-PORTREVISION?=	2
+PORTVERSION=	1.1.6
+PORTREVISION?=	0
 CATEGORIES?=	graphics multimedia
-MASTER_SITES=	https://github.com/OpenImageIO/oiio/tarball/
 
 MAINTAINER=	FreeBSD@Shaneware.biz
 COMMENT=	OpenImageIO graphics library
@@ -14,7 +13,7 @@ LICENSE?=	BSD
 
 LIB_DEPENDS?=	IlmImf:${PORTSDIR}/graphics/OpenEXR \
 		boost_thread:${PORTSDIR}/devel/boost-libs \
-		hdf5:${PORTSDIR}/science/hdf5 \
+		hdf5:${PORTSDIR}/science/hdf5-18 \
 		opencv_legacy:${PORTSDIR}/graphics/opencv \
 		openjpeg:${PORTSDIR}/graphics/openjpeg \
 		webp:${PORTSDIR}/graphics/webp
@@ -23,7 +22,8 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	OpenImageIO
 GH_PROJECT=	oiio
 GH_TAGNAME=	Release-${PORTVERSION}
-GH_COMMIT=	db9df57
+GH_COMMIT=	5fcd523
+WRKSRC=		${WRKDIR}/OpenImageIO-oiio-${GH_COMMIT}/src
 
 # fbm also installs bin/idiff
 CONFLICTS=	fbm-[0-9]*
@@ -37,7 +37,6 @@ CMAKE_ARGS?=	-DBUILDSTATIC:BOOL=OFF \
 		-DUSE_TBB:BOOL=OFF
 
 USE_LDCONFIG=	yes
-WRKSRC=		${WRKDIR}/OpenImageIO-oiio-${GH_COMMIT}/src
 MAKE_JOBS_SAFE=	yes
 
 .if defined(OIIO_PYBIND)
@@ -85,11 +84,6 @@ CMAKE_ARGS+=	-DUSE_OCIO:BOOL=OFF
 
 .include <bsd.port.pre.mk>
 
-.if ${ARCH} == "i386"
-# for gcc atomics we need to have an arch > i486
-CFLAGS+=	-march=i586
-.endif
-
 .if ${OSVERSION} < 800000
 IGNORE=	requires FreeBSD 8.0 or higher
 .endif

Modified: head/graphics/openimageio/distinfo
==============================================================================
--- head/graphics/openimageio/distinfo	Tue Feb 19 13:56:45 2013	(r312563)
+++ head/graphics/openimageio/distinfo	Tue Feb 19 13:57:18 2013	(r312564)
@@ -1,2 +1,2 @@
-SHA256 (openimageio-1.1.2.tar.gz) = 8c41094ce6a842bb85ba1523f3dd368afe742b1207a012f3459b7ee6c2bc4d46
-SIZE (openimageio-1.1.2.tar.gz) = 8217176
+SHA256 (openimageio-1.1.6.tar.gz) = a4d8bf7cedade3b3177bc5f46c3f0bb45de9ba32720d273d6334c03c3dfa2815
+SIZE (openimageio-1.1.6.tar.gz) = 8300662

Added: head/graphics/openimageio/files/patch-include__fmath.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/openimageio/files/patch-include__fmath.h	Tue Feb 19 13:57:18 2013	(r312564)
@@ -0,0 +1,11 @@
+--- include/fmath.h.orig	2013-01-21 11:39:43.845857535 +1030
++++ include/fmath.h	2013-01-21 11:39:52.142857433 +1030
+@@ -972,7 +972,7 @@
+ 
+ 
+ // Functions missing from FreeBSD
+-#if (defined(__FreeBSD__) && (__FreeBSD_version < 803000))
++#if (defined(__FreeBSD__) && (__FreeBSD_version < 802502))
+ 
+ inline float
+ log2f (float val) {

Modified: head/graphics/openimageio/pkg-plist
==============================================================================
--- head/graphics/openimageio/pkg-plist	Tue Feb 19 13:56:45 2013	(r312563)
+++ head/graphics/openimageio/pkg-plist	Tue Feb 19 13:57:18 2013	(r312564)
@@ -38,7 +38,7 @@ include/OpenImageIO/version.h
 lib/libOpenImageIO.so
 lib/libOpenImageIO.so.1
 lib/libOpenImageIO.so.1.1
-lib/libOpenImageIO.so.1.1.2
+lib/libOpenImageIO.so.1.1.6
 %%PORTDOCS%%%%DOCSDIR%%/CHANGES
 %%PORTDOCS%%%%DOCSDIR%%/LICENSE
 %%PORTDOCS%%%%DOCSDIR%%/openimageio.pdf
_______________________________________________
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"