From nobody Sat Jun 01 00:52:53 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VrhKx3zW9z5Lm72; Sat, 01 Jun 2024 00:52:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VrhKx2nspz4sWT; Sat, 1 Jun 2024 00:52:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717203173; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=mlT5H8XrSxgVX+FXZ1di3dfSLblLkEBrfVQ2VNCyYFs=; b=DKFb5yfPWR8lCwgMJp6Jr/LW1ln9dMoT+8p0WiGL5NJt+Ev5Cp/RglIaHKSc+rASuXAVcO PUWbpT3rcmqkArgca63tP4hXYHn49y00p7tAZ1oEM9TBQ/5ozinkUMui5WwiuJc+LYerak xPVXW2nUZeBPZFutDzPivToP9wGk5keYXYPL7dFrltJelpJbz0RmJQ28kL2XzJWLp1R9Df +o0PwQyS1z5TbiEpnNTLTYEFmkBod5NhLSw/HZpcEcoHYH4ghDxEBZHA+ECMHQmbclwxas Q4vv0M807GcggBs923Xf33zqAHuJXpu3QoRUcmHceGbnZwIzF5azvz3GMMCJAQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1717203173; a=rsa-sha256; cv=none; b=dul+6WD9xQXMDIMJqPK8//ohibuLCthXRjUiAYKSN8umNw5EZEBmK2csBlf4Gp5Xyxvl5P vi2BBe0dCK6m9IVmBvdsawbgHKd6fT7h6Or5HEkRiofnTEaElioX2IxkXdE7UXB+JQXyWM rLT51gT+AJpX64d0NZWXjBU+IHQ8H4dZoLM3IFfa6U1blkPz7LPTGJhtAdWtLsVVkExa5n wgkr3KJAvXAv3MTQ2TGWjgFO1Hgc8xbv152U7XBkOiO0uNguww/p78J+h4bjuPVlcsl/PY fx2AKn1k3eT6YWlxviZ1ZlITjgODaQbDnydVJdIwcIRFov/n335TJW1WLROb2Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717203173; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=mlT5H8XrSxgVX+FXZ1di3dfSLblLkEBrfVQ2VNCyYFs=; b=ssDlMZ1hyd/mRkwtnQbzLmyRCJogb0yyfq6u2mfYuSyzGvD2L42Yx3B95jYG/YP5UyqnFJ /bALXPfg5oEgLx/XnD19qCFWeH4xWGMREgzQffX6z6CqvwETVdqJMBJgNtq1MwulYA8qI5 Uf4R02X3bP22/TFVKEXyHJbd3BSHdFvnmj6/3/Ntz/dN/1DBUmh8yAnCDSn39z+7+7xtjo eYU4fLYvRMNA6AgmnpVtuTtQDDEl0bEitxhzDDi/aACiu/FSxN0v4VKpw6C8J0xE7JMfrw 5Gnl3TP//cX9j7L9uT77bgahdXzMx//yFt/qKAnGY1M0YzT0yvhMRTG/jZxf2g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VrhKx2K64zmvn; Sat, 1 Jun 2024 00:52:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 4510qr1D006468; Sat, 1 Jun 2024 00:52:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 4510qrJp006466; Sat, 1 Jun 2024 00:52:53 GMT (envelope-from git) Date: Sat, 1 Jun 2024 00:52:53 GMT Message-Id: <202406010052.4510qrJp006466@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Vladimir Druzenko Subject: git: 98ebc5d3c875 - main - graphics/{,py-}opencolorio{,-tools}: fix plist in py- port after update to 2.3.2 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: vvd X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 98ebc5d3c875e9bfb8e17d2e170f5bc6b7722cf8 Auto-Submitted: auto-generated The branch main has been updated by vvd: URL: https://cgit.FreeBSD.org/ports/commit/?id=98ebc5d3c875e9bfb8e17d2e170f5bc6b7722cf8 commit 98ebc5d3c875e9bfb8e17d2e170f5bc6b7722cf8 Author: Vladimir Druzenko AuthorDate: 2024-06-01 00:46:20 +0000 Commit: Vladimir Druzenko CommitDate: 2024-06-01 00:46:20 +0000 graphics/{,py-}opencolorio{,-tools}: fix plist in py- port after update to 2.3.2 While here pet portclippy and remove unnecessary dependencies. PR: 275402 275494 Reported by: antoine Approved by: portmgr (blanket, fix build) Fixes: 3e51c20bc069 (graphics/{,py-}opencolorio{,-tools}: Udpate to 2.3.2) --- graphics/opencolorio-tools/Makefile | 4 +-- graphics/opencolorio/Makefile | 48 +++++++++++++++-------------------- graphics/opencolorio/pkg-plist-pyglue | 3 ++- graphics/py-opencolorio/Makefile | 4 +-- 4 files changed, 26 insertions(+), 33 deletions(-) diff --git a/graphics/opencolorio-tools/Makefile b/graphics/opencolorio-tools/Makefile index 7da3bd09b21a..2bfd9bee31bf 100644 --- a/graphics/opencolorio-tools/Makefile +++ b/graphics/opencolorio-tools/Makefile @@ -1,10 +1,10 @@ -PORTREVISION= 0 +PORTREVISION= 1 PKGNAMESUFFIX= -tools COMMENT= Tools to work with OpenColorIO profiles MASTERDIR= ${.CURDIR}/../opencolorio -OCIO_SLAVE= tools OPTIONS_EXCLUDE= DOCS +OCIO_SLAVE= tools .include "${MASTERDIR}/Makefile" diff --git a/graphics/opencolorio/Makefile b/graphics/opencolorio/Makefile index 0ea8845f343d..a26bf39d5f4b 100644 --- a/graphics/opencolorio/Makefile +++ b/graphics/opencolorio/Makefile @@ -5,7 +5,7 @@ DISTVERSION= 2.3.2 # py-opencolorio's PORTREVISION. # Also, just to be on the safe side, when resetting, # best keep PORTREVISION?= 0. -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES= graphics multimedia MAINTAINER?= FreeBSD@Shaneware.biz @@ -18,8 +18,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libexpat.so:textproc/expat2 \ libImath.so:math/Imath \ libpystring.so:devel/pystring \ - libyaml-cpp.so:devel/yaml-cpp \ - libzstd.so:archivers/zstd + libyaml-cpp.so:devel/yaml-cpp + USES= alias cmake compiler:c++14-lang localbase:ldflags \ pkgconfig minizip:ng @@ -32,14 +32,14 @@ GH_PROJECT= OpenColorIO CMAKE_OFF= OCIO_BUILD_JAVA OCIO_BUILD_JNIGLUE OCIO_BUILD_NUKE \ OCIO_BUILD_TESTS OCIO_BUILD_GPU_TESTS +PLIST_SUB= SHL3=${PORTVERSION} SHL2=${PORTVERSION:R} + OPTIONS_DEFINE= DOCS OPTIONS_DEFAULT= DOCS OPTIONS_SUB= yes -DOCS_CMAKE_BOOL= OCIO_BUILD_DOCS DOCS_BUILD_DEPENDS= doxygen>0:devel/doxygen - -PLIST_SUB= SHL3=${PORTVERSION} SHL2=${PORTVERSION:R} +DOCS_CMAKE_BOOL= OCIO_BUILD_DOCS .include @@ -64,33 +64,30 @@ BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}breathe>=0:devel/py-breathe@${PY_FLAVOR} .if defined(OCIO_SLAVE) && ${OCIO_SLAVE} == tools LIB_DEPENDS+= liblcms2.so:graphics/lcms2 \ - libOpenColorIO.so:graphics/opencolorio \ libOpenImageIO.so:graphics/openimageio \ - libopencv_core.so:graphics/opencv \ libOpenEXR.so:graphics/openexr +USES+= gl xorg +USE_GL= gl glu glut glew opengl +USE_XORG= xi xmu +CMAKE_ARGS+= -DCMAKE_CXX_STANDARD=14 CMAKE_ON+= OCIO_BUILD_APPS USE_EXTERNAL_LCMS CMAKE_OFF+= BUILD_SHARED_LIBS OCIO_BUILD_DOCS \ OCIO_BUILD_PYGLUE OCIO_BUILD_PYTHON -CMAKE_ARGS+= -DCMAKE_CXX_STANDARD=14 LDFLAGS+= -lOpenImageIO_Util -USES+= gl xorg -USE_GL= egl gl glu glut glew -USE_XORG= xi xmu PLIST= ${PKGDIR}/pkg-plist-tools .elif defined(OCIO_SLAVE) && ${OCIO_SLAVE} == pymodule BUILD_DEPENDS+= pybind11>0:devel/pybind11 LIB_DEPENDS+= libOpenColorIO.so:graphics/opencolorio -# textproc/py-sphinx_press_theme doesn't support py3.6 USES+= python -LDFLAGS+= -lOpenColorIO +USE_PYTHON= concurrent flavors +CMAKE_ARGS+= -DOCIO_PYTHON_VERSION=${PYTHON_VER} CMAKE_ON+= OCIO_BUILD_PYTHON CMAKE_OFF+= OCIO_BUILD_APPS BUILD_SHARED_LIBS OCIO_BUILD_DOCS \ OCIO_BUILD_TESTS OCIO_BUILD_GPU_TESTS -CMAKE_ARGS+= -DOCIO_PYTHON_VERSION=${PYTHON_VER} +LDFLAGS+= -lOpenColorIO PLIST= ${PKGDIR}/pkg-plist-pyglue # concurrent allows docs to not collide with master port -USE_PYTHON= concurrent flavors .else # master port # we enable pyglue in master port. This makes the python module @@ -98,26 +95,21 @@ USE_PYTHON= concurrent flavors # but only install the python module with the py-opencolorio port # this makes it easier to allow multiple python versions installed BUILD_DEPENDS+= pybind11>0:devel/pybind11 +USES+= python:build xorg +USE_LDCONFIG= yes +USE_XORG= xi xmu +CMAKE_ARGS+= -DOCIO_PYTHON_VERSION=${PYTHON_VER} CMAKE_ON+= BUILD_SHARED_LIBS OCIO_BUILD_PYGLUE OCIO_BUILD_PYTHON CMAKE_OFF+= OCIO_BUILD_APPS -CMAKE_ARGS+= -DOCIO_PYTHON_VERSION=${PYTHON_VER} -USES+= gl python:build xorg -USE_GL= gl glu glut glew -USE_XORG= xi xmu -USE_LDCONFIG= yes PLIST= ${PKGDIR}/pkg-plist ${PKGDIR}/pkg-plist-docs .endif post-install: @cd ${STAGEDIR}${PREFIX} && ${RM} -r share/ocio .if defined(OCIO_SLAVE) - @cd ${STAGEDIR}${PREFIX} && ${RM} -r include libdata lib/cmake lib/libOpenColorIO.a -.endif -.if !defined(OCIO_SLAVE) || (defined(OCIO_SLAVE) && ${OCIO_SLAVE} != pymodule) - @cd ${STAGEDIR}${PREFIX} && ${RM} -r lib/libOpenColorIO*.a lib/python* -.endif -.if defined(OCIO_SLAVE) && ${OCIO_SLAVE} == tools - ${RM} -r ${STAGEDIR}${PREFIX}/share/OpenColorIO + @cd ${STAGEDIR}${PREFIX} && ${RM} -r include lib/cmake lib/libOpenColorIO*.a libdata share/OpenColorIO +.else + @cd ${STAGEDIR}${PREFIX} && ${RM} -r lib/python* .endif post-install-DOCS-on: diff --git a/graphics/opencolorio/pkg-plist-pyglue b/graphics/opencolorio/pkg-plist-pyglue index 013c9554cd7a..456b673d3f60 100644 --- a/graphics/opencolorio/pkg-plist-pyglue +++ b/graphics/opencolorio/pkg-plist-pyglue @@ -1 +1,2 @@ -%%PYTHON_SITELIBDIR%%/PyOpenColorIO.so +%%PYTHON_SITELIBDIR%%/PyOpenColorIO/PyOpenColorIO.so +%%PYTHON_SITELIBDIR%%/PyOpenColorIO/__init__.py diff --git a/graphics/py-opencolorio/Makefile b/graphics/py-opencolorio/Makefile index 255684dfd78d..6ca6e604f265 100644 --- a/graphics/py-opencolorio/Makefile +++ b/graphics/py-opencolorio/Makefile @@ -1,11 +1,11 @@ -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= graphics multimedia python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} COMMENT= OpenColorIO python bindings MASTERDIR= ${.CURDIR}/../opencolorio +OPTIONS_EXCLUDE= ${OPTIONS_DEFINE} OCIO_SLAVE= pymodule -OPTIONS_EXCLUDE=${OPTIONS_DEFINE} .include "${MASTERDIR}/Makefile"