From owner-svn-ports-head@freebsd.org Sat Dec 8 17:39:18 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AE9CC132397D; Sat, 8 Dec 2018 17:39:18 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 55B4C88198; Sat, 8 Dec 2018 17:39:18 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3831425457; Sat, 8 Dec 2018 17:39:18 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wB8HdI2s055070; Sat, 8 Dec 2018 17:39:18 GMT (envelope-from pi@FreeBSD.org) Received: (from pi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wB8HdHga055067; Sat, 8 Dec 2018 17:39:17 GMT (envelope-from pi@FreeBSD.org) Message-Id: <201812081739.wB8HdHga055067@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pi set sender to pi@FreeBSD.org using -f From: Kurt Jaeger Date: Sat, 8 Dec 2018 17:39:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r486968 - in head/graphics: openimageio openimageio/files py-openimageio X-SVN-Group: ports-head X-SVN-Commit-Author: pi X-SVN-Commit-Paths: in head/graphics: openimageio openimageio/files py-openimageio X-SVN-Commit-Revision: 486968 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 55B4C88198 X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; NEURAL_HAM_SHORT(-0.98)[-0.980,0]; NEURAL_HAM_LONG(-0.99)[-0.992,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Dec 2018 17:39:18 -0000 Author: pi Date: Sat Dec 8 17:39:17 2018 New Revision: 486968 URL: https://svnweb.freebsd.org/changeset/ports/486968 Log: graphics/openimageio: update 1.7.17 -> 1.8.17 - 2nd attempt, fixing the slave port as well PR: 224382 Submitted by: Shane Ambler (maintainer) Reviewed by: yuri Relnotes: http://lists.openimageio.org/pipermail/oiio-announce-openimageio.org/2018-December/000039.html https://github.com/OpenImageIO/oiio/releases Deleted: head/graphics/openimageio/files/patch-src_ffmpeg.imageio_ffmpeginput.cpp Modified: head/graphics/openimageio/Makefile head/graphics/openimageio/distinfo head/graphics/openimageio/pkg-plist head/graphics/py-openimageio/Makefile Modified: head/graphics/openimageio/Makefile ============================================================================== --- head/graphics/openimageio/Makefile Sat Dec 8 17:20:36 2018 (r486967) +++ head/graphics/openimageio/Makefile Sat Dec 8 17:39:17 2018 (r486968) @@ -2,9 +2,8 @@ # $FreeBSD$ PORTNAME= openimageio -PORTVERSION= 1.7.17 +PORTVERSION= 1.8.17 DISTVERSIONPREFIX= Release- -PORTREVISION= 15 CATEGORIES?= graphics multimedia MAINTAINER?= FreeBSD@Shaneware.biz @@ -20,109 +19,89 @@ LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ libwebp.so:graphics/webp \ libhdf5.so:science/hdf5 -# fbm also installs bin/idiff -CONFLICTS= fbm-[0-9]* - +USES= cmake:outsource jpeg compiler:c++11-lib USE_GITHUB= yes GH_ACCOUNT= OpenImageIO GH_PROJECT= oiio -USES= cmake:outsource jpeg compiler:c++11-lib -CMAKE_ARGS= -DBUILDSTATIC:BOOL=OFF \ - -DLINKSTATIC:BOOL=OFF \ - -DNOTHREADS:BOOL=OFF \ - -DSTOP_ON_WARNING:BOOL=OFF \ - -DUSE_OPENSSL:BOOL=OFF +# fbm also installs bin/idiff +CONFLICTS= fbm-[0-9]* +CMAKE_ARGS= USE_CPP:STRING=11 +CMAKE_OFF= BUILDSTATIC LINKSTATIC NOTHREADS STOP_ON_WARNING USE_OPENSSL + OPTIONS_DEFINE= DOCS FFMPEG FREETYPE GIF IMAGEVIEWER OCIO OPENCV \ OPENJPEG RAW TEST OPTIONS_DEFAULT= FREETYPE GIF OCIO OPENJPEG OPTIONS_SUB= yes -FFMPEG_DESC= Use FFmpeg to support extra file types -IMAGEVIEWER_DESC= Build image viewer (requires Qt) -OCIO_DESC= Color management support +DOCS_CMAKE_BOOL= INSTALL_DOCS +DOCS_CMAKE_ON= -DCMAKE_INSTALL_DOCDIR:STRING=${DOCSDIR} -DOCS_CMAKE_ON= -DINSTALL_DOCS:BOOL=ON -DOCS_CMAKE_OFF= -DINSTALL_DOCS:BOOL=OFF - -FFMPEG_CMAKE_ON= -DUSE_FFMPEG:BOOL=ON -FFMPEG_CMAKE_OFF= -DUSE_FFMPEG:BOOL=OFF +FFMPEG_DESC= Use FFmpeg to support extra file types +FFMPEG_CMAKE_BOOL= USE_FFMPEG FFMPEG_LIB_DEPENDS= libavutil.so:multimedia/ffmpeg -FREETYPE_CMAKE_ON= -DUSE_FREETYPE:BOOL=ON -FREETYPE_CMAKE_OFF= -DUSE_FREETYPE:BOOL=OFF +FREETYPE_CMAKE_BOOL= USE_FREETYPE +FREETYPE_CMAKE_ON= -DFONTS_INSTALL_DIR:STRING=share/fonts/oiio_dev FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 -GIF_CMAKE_ON= -DUSE_GIF:BOOL=ON -GIF_CMAKE_OFF= -DUSE_GIF:BOOL=OFF +GIF_CMAKE_BOOL= USE_GIF GIF_LIB_DEPENDS= libgif.so:graphics/giflib -IMAGEVIEWER_USES= qt:4 -IMAGEVIEWER_CMAKE_ON= -DUSE_QT:BOOL=ON -DUSE_OPENGL:BOOL=ON -IMAGEVIEWER_CMAKE_OFF= -DUSE_OPENGL:BOOL=OFF -DUSE_QT:BOOL=OFF +IMAGEVIEWER_DESC= Build image viewer (requires Qt) +IMAGEVIEWER_USES= qt:5 +IMAGEVIEWER_CMAKE_BOOL= USE_QT USE_OPENGL IMAGEVIEWER_USE= GL=gl,glu,glew \ - QT=corelib,gui,opengl,qmake_build,moc_build,rcc_build,uic_build + QT=buildtools,core,gui,opengl,qmake_build,widgets -OCIO_CMAKE_ON= -DUSE_OCIO:BOOL=ON -OCIO_CMAKE_OFF= -DUSE_OCIO:BOOL=OFF +OCIO_DESC= Color management support +OCIO_CMAKE_BOOL= USE_OCIO OCIO_LIB_DEPENDS= libOpenColorIO.so:graphics/opencolorio -OPENCV_CMAKE_ON= -DUSE_OPENCV:BOOL=ON -OPENCV_CMAKE_OFF= -DUSE_OPENCV:BOOL=OFF +OPENCV_CMAKE_BOOL= USE_OPENCV OPENCV_LIB_DEPENDS= libopencv_highgui.so:graphics/opencv \ libopencv_core.so:graphics/opencv-core \ libopenjpeg.so:graphics/openjpeg15 -OPENJPEG_CMAKE_ON= -DUSE_OPENJPEG:BOOL=ON -OPENJPEG_CMAKE_OFF= -DUSE_OPENJPEG:BOOL=OFF +OPENJPEG_CMAKE_BOOL= USE_OPENJPEG OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg -RAW_CMAKE_ON= -DUSE_LIBRAW:BOOL=ON -RAW_CMAKE_OFF= -DUSE_LIBRAW:BOOL=OFF +RAW_CMAKE_BOOL= USE_LIBRAW RAW_LIB_DEPENDS= libraw_r.so:graphics/libraw -TEST_CMAKE_ON= -DOIIO_BUILD_TESTS:BOOL=ON -TEST_CMAKE_OFF= -DOIIO_BUILD_TESTS:BOOL=OFF +TEST_CMAKE_BOOL= OIIO_BUILD_TESTS PLIST_SUB+= LIBVERS=${PORTVERSION} .include -.if ${SLAVE_PORT} == no -USE_LDCONFIG= yes -CMAKE_ARGS+= -DUSE_PYTHON:BOOL=OFF -DUSE_PYTHON3:BOOL=OFF \ - -DOIIO_BUILD_TOOLS:BOOL=ON -.else +.if ${SLAVE_PORT} == yes LIB_DEPENDS+= libOpenImageIO.so:graphics/openimageio \ ${PY_BOOST} PLIST= ${PKGDIR}/pkg-plist-pybind USES+= python USE_PYTHON= flavors -CMAKE_ARGS+= -DUSE_PYTHON:BOOL=ON -DUSE_PYTHON3:BOOL=OFF \ - -DOIIO_BUILD_TOOLS:BOOL=OFF -DUSE_FFMPEG:BOOL=OFF -.endif +CMAKE_ON+= USE_PYTHON +CMAKE_OFF+= OIIO_BUILD_TOOLS USE_FFMPEG +CMAKE_ARGS+= -DPYTHON_VERSION:STRING=${PYTHON_VER} -.if ${PORT_OPTIONS:MIMAGEVIEWER} -DEPRECATED= Qt4 has been EOL since december 2015 -EXPIRATION_DATE= 2019-03-15 -.endif +do-install: + ${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR} + ${INSTALL_LIB} ${BUILD_WRKSRC}/src/python/OpenImageIO.so ${STAGEDIR}${PYTHON_SITELIBDIR} +.else # SLAVE_PORT == no +USE_LDCONFIG= yes +CMAKE_ON+= DOIIO_BUILD_TOOLS +CMAKE_OFF+= USE_PYTHON -post-patch: - @${REINPLACE_CMD} -e 's|share/doc/OpenImageIO|${DOCSDIR}|g' \ - ${WRKSRC}/CMakeLists.txt - ${REINPLACE_CMD} -e '/find_/s/ boost_python[[:>:]]/ ${PY_BOOST_LIB}/' \ - ${WRKSRC}/src/cmake/externalpackages.cmake - post-install: -.if ${SLAVE_PORT} == no - ${LN} -sf libOpenImageIO.so.1.7 \ + ${LN} -sf libOpenImageIO.so.1.8 \ ${STAGEDIR}${PREFIX}/lib/libOpenImageIO.so.1 - ${LN} -sf libOpenImageIO_Util.so.1.7 \ + ${LN} -sf libOpenImageIO_Util.so.1.8 \ ${STAGEDIR}${PREFIX}/lib/libOpenImageIO_Util.so.1 -.endif do-test-TEST-on: @cd ${BUILD_WRKSRC} && ${MAKE_CMD} ARGS=-V test +.endif .include Modified: head/graphics/openimageio/distinfo ============================================================================== --- head/graphics/openimageio/distinfo Sat Dec 8 17:20:36 2018 (r486967) +++ head/graphics/openimageio/distinfo Sat Dec 8 17:39:17 2018 (r486968) @@ -1,3 +1,3 @@ -TIMESTAMP = 1504403179 -SHA256 (OpenImageIO-oiio-Release-1.7.17_GH0.tar.gz) = 669c59d06399dd882c3e2469bb3a4b33d537db150f6fe056495c3429b5c3838f -SIZE (OpenImageIO-oiio-Release-1.7.17_GH0.tar.gz) = 27164765 +TIMESTAMP = 1543804503 +SHA256 (OpenImageIO-oiio-Release-1.8.17_GH0.tar.gz) = a019086c05a6150d445a2240bab1723dff540dde5f5c327c36a97f0b5ae0e157 +SIZE (OpenImageIO-oiio-Release-1.8.17_GH0.tar.gz) = 27835527 Modified: head/graphics/openimageio/pkg-plist ============================================================================== --- head/graphics/openimageio/pkg-plist Sat Dec 8 17:20:36 2018 (r486967) +++ head/graphics/openimageio/pkg-plist Sat Dec 8 17:39:17 2018 (r486968) @@ -8,8 +8,8 @@ bin/oiiotool include/OpenImageIO/argparse.h include/OpenImageIO/array_view.h include/OpenImageIO/atomic.h +include/OpenImageIO/benchmark.h include/OpenImageIO/color.h -include/OpenImageIO/coordinate.h include/OpenImageIO/dassert.h include/OpenImageIO/deepdata.h include/OpenImageIO/errorhandler.h @@ -18,6 +18,7 @@ include/OpenImageIO/filesystem.h include/OpenImageIO/filter.h include/OpenImageIO/fmath.h include/OpenImageIO/fstream_mingw.h +include/OpenImageIO/function_view.h include/OpenImageIO/hash.h include/OpenImageIO/image_view.h include/OpenImageIO/imagebuf.h @@ -29,6 +30,7 @@ include/OpenImageIO/missing_math.h include/OpenImageIO/oiioversion.h include/OpenImageIO/optparser.h include/OpenImageIO/osdep.h +include/OpenImageIO/parallel.h include/OpenImageIO/paramlist.h include/OpenImageIO/platform.h include/OpenImageIO/plugin.h @@ -38,6 +40,7 @@ include/OpenImageIO/pugixml.hpp include/OpenImageIO/refcnt.h include/OpenImageIO/SHA1.h include/OpenImageIO/simd.h +include/OpenImageIO/span.h include/OpenImageIO/strided_ptr.h include/OpenImageIO/string_view.h include/OpenImageIO/strutil.h @@ -54,19 +57,19 @@ include/OpenImageIO/varyingref.h include/OpenImageIO/version.h lib/libOpenImageIO.so lib/libOpenImageIO.so.1 -lib/libOpenImageIO.so.1.7 +lib/libOpenImageIO.so.1.8 lib/libOpenImageIO.so.%%LIBVERS%% lib/libOpenImageIO_Util.so lib/libOpenImageIO_Util.so.1 -lib/libOpenImageIO_Util.so.1.7 +lib/libOpenImageIO_Util.so.1.8 lib/libOpenImageIO_Util.so.%%LIBVERS%% -%%FREETYPE%%share/fonts/oiio/DroidSans-Bold.ttf -%%FREETYPE%%share/fonts/oiio/DroidSans.ttf -%%FREETYPE%%share/fonts/oiio/DroidSansMono.ttf -%%FREETYPE%%share/fonts/oiio/DroidSerif-Bold.ttf -%%FREETYPE%%share/fonts/oiio/DroidSerif-BoldItalic.ttf -%%FREETYPE%%share/fonts/oiio/DroidSerif-Italic.ttf -%%FREETYPE%%share/fonts/oiio/DroidSerif.ttf +%%FREETYPE%%share/fonts/OpenImageIO/DroidSans-Bold.ttf +%%FREETYPE%%share/fonts/OpenImageIO/DroidSans.ttf +%%FREETYPE%%share/fonts/OpenImageIO/DroidSansMono.ttf +%%FREETYPE%%share/fonts/OpenImageIO/DroidSerif-Bold.ttf +%%FREETYPE%%share/fonts/OpenImageIO/DroidSerif-BoldItalic.ttf +%%FREETYPE%%share/fonts/OpenImageIO/DroidSerif-Italic.ttf +%%FREETYPE%%share/fonts/OpenImageIO/DroidSerif.ttf %%PORTDOCS%%%%DOCSDIR%%/CHANGES.md %%PORTDOCS%%%%DOCSDIR%%/LICENSE %%PORTDOCS%%%%DOCSDIR%%/openimageio.pdf Modified: head/graphics/py-openimageio/Makefile ============================================================================== --- head/graphics/py-openimageio/Makefile Sat Dec 8 17:20:36 2018 (r486967) +++ head/graphics/py-openimageio/Makefile Sat Dec 8 17:39:17 2018 (r486968) @@ -1,7 +1,6 @@ # Created by: Shane Ambler # $FreeBSD$ -PORTREVISION= 4 CATEGORIES= graphics multimedia python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -9,9 +8,5 @@ COMMENT= OpenImageIO python bindings MASTERDIR= ${.CURDIR}/../openimageio OPTIONS_EXCLUDE=${OPTIONS_DEFINE} - -do-install: - @${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR} - ${INSTALL_LIB} ${BUILD_WRKSRC}/src/python/OpenImageIO.so ${STAGEDIR}${PYTHON_SITELIBDIR} .include "${MASTERDIR}/Makefile"