public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/openvdb/, media-gfx/openvdb/files/
Date: Tue, 15 Feb 2022 19:51:20 +0000 (UTC)	[thread overview]
Message-ID: <1644954593.b54e19ec3c5870b59d1e18f2d430e72ddaacb009.sam@gentoo> (raw)

commit:     b54e19ec3c5870b59d1e18f2d430e72ddaacb009
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 12 18:03:48 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Feb 15 19:49:53 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b54e19ec

media-gfx/openvdb: adjust to unslotted OpenEXR

Bug: https://bugs.gentoo.org/833158
Bug: https://bugs.gentoo.org/831357
Bug: https://bugs.gentoo.org/832862
Bug: https://bugs.gentoo.org/821247
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../openvdb/files/openvdb-8.2.0-openexr-3-imath.patch    | 16 ----------------
 .../{openvdb-8.2.0-r1.ebuild => openvdb-8.2.0-r3.ebuild} |  7 ++-----
 .../{openvdb-8.2.0-r2.ebuild => openvdb-8.2.0-r4.ebuild} |  3 +--
 .../{openvdb-9.0.0.ebuild => openvdb-9.0.0-r1.ebuild}    | 12 ++----------
 4 files changed, 5 insertions(+), 33 deletions(-)

diff --git a/media-gfx/openvdb/files/openvdb-8.2.0-openexr-3-imath.patch b/media-gfx/openvdb/files/openvdb-8.2.0-openexr-3-imath.patch
deleted file mode 100644
index 0a9dfe541f79..000000000000
--- a/media-gfx/openvdb/files/openvdb-8.2.0-openexr-3-imath.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-diff --git a/openvdb/openvdb/Types.h b/openvdb/openvdb/Types.h
-index a1d6a9f..f6ecb19 100644
---- a/openvdb/openvdb/Types.h
-+++ b/openvdb/openvdb/Types.h
-@@ -10,9 +10,9 @@
- 
- #ifdef OPENVDB_USE_IMATH_HALF
- #ifdef OPENVDB_IMATH_VERSION
--#include <Imath/half.h>
-+#include <Imath-3/half.h>
- #else
--#include <OpenEXR/half.h>
-+#include <OpenEXR-3/half.h>
- #endif
- namespace openvdb {
- OPENVDB_USE_VERSION_NAMESPACE

diff --git a/media-gfx/openvdb/openvdb-8.2.0-r1.ebuild b/media-gfx/openvdb/openvdb-8.2.0-r3.ebuild
similarity index 93%
rename from media-gfx/openvdb/openvdb-8.2.0-r1.ebuild
rename to media-gfx/openvdb/openvdb-8.2.0-r3.ebuild
index 1a4d9c0e36e9..c77a66b4a5b2 100644
--- a/media-gfx/openvdb/openvdb-8.2.0-r1.ebuild
+++ b/media-gfx/openvdb/openvdb-8.2.0-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -22,8 +22,6 @@ REQUIRED_USE="
 	^^ ( abi6-compat abi7-compat abi8-compat )
 	python? ( ${PYTHON_REQUIRED_USE} )
 "
-# 8.2.0 should support OpenEXR 3 / imath but it's going to cause issues with Blender AFAIK
-# so let's avoid it for now.
 RDEPEND="
 	dev-cpp/tbb:=
 	dev-libs/boost:=
@@ -46,7 +44,7 @@ RDEPEND="
 	)
 	utils? (
 		media-libs/ilmbase:=
-		media-libs/openexr:0=
+		media-libs/openexr:=
 	)
 	zlib? ( sys-libs/zlib )
 "
@@ -106,7 +104,6 @@ src_configure() {
 		-DUSE_ZLIB=$(usex zlib)
 		-DUSE_CCACHE=OFF
 		-DUSE_COLORED_OUTPUT=ON
-		# Off for now until 9.0.0 for OpenEXR 3 support
 		-DUSE_IMATH_HALF=OFF
 		-DUSE_LOG4CPLUS=ON
 	)

diff --git a/media-gfx/openvdb/openvdb-8.2.0-r2.ebuild b/media-gfx/openvdb/openvdb-8.2.0-r4.ebuild
similarity index 97%
rename from media-gfx/openvdb/openvdb-8.2.0-r2.ebuild
rename to media-gfx/openvdb/openvdb-8.2.0-r4.ebuild
index ceb0d37949a9..edc5a635adc6 100644
--- a/media-gfx/openvdb/openvdb-8.2.0-r2.ebuild
+++ b/media-gfx/openvdb/openvdb-8.2.0-r4.ebuild
@@ -45,7 +45,7 @@ RDEPEND="
 	)
 	utils? (
 		dev-libs/imath:=
-		media-libs/openexr:3=
+		media-libs/openexr:=
 	)
 	zlib? ( sys-libs/zlib )
 "
@@ -72,7 +72,6 @@ PATCHES=(
 	"${FILESDIR}/${PN}-8.1.0-glfw-libdir.patch"
 	"${FILESDIR}/${PN}-8.2.0-fix-finding-ilmbase-if-imath-and-ilmbase-are-installed.patch"
 	"${FILESDIR}/${PN}-8.2.0-unconditionally-search-Python-interpreter.patch"
-	"${FILESDIR}/${PN}-8.2.0-openexr-3-imath.patch"
 )
 
 pkg_setup() {

diff --git a/media-gfx/openvdb/openvdb-9.0.0.ebuild b/media-gfx/openvdb/openvdb-9.0.0-r1.ebuild
similarity index 92%
rename from media-gfx/openvdb/openvdb-9.0.0.ebuild
rename to media-gfx/openvdb/openvdb-9.0.0-r1.ebuild
index e40833eff061..f7aaf0b3943e 100644
--- a/media-gfx/openvdb/openvdb-9.0.0.ebuild
+++ b/media-gfx/openvdb/openvdb-9.0.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -30,7 +30,7 @@ RDEPEND="
 	dev-libs/imath:=
 	media-libs/glfw
 	media-libs/glu
-	media-libs/openexr:3=
+	media-libs/openexr:=
 	sys-libs/zlib:=
 	x11-libs/libXcursor
 	x11-libs/libXi
@@ -72,14 +72,6 @@ pkg_setup() {
 	use python && python-single-r1_pkg_setup
 }
 
-src_prepare() {
-	# Make sure we find our renamed Imath headers
-	# bug #820929
-	sed -i -e 's:#include <Imath/half.h>:#include <Imath-3/half.h>:' openvdb/openvdb/Types.h || die
-
-	cmake_src_prepare
-}
-
 src_configure() {
 	local myprefix="${EPREFIX}/usr/"
 


             reply	other threads:[~2022-02-15 19:51 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-15 19:51 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-01-12 13:08 [gentoo-commits] repo/gentoo:master commit in: media-gfx/openvdb/, media-gfx/openvdb/files/ Joonas Niilola
2022-09-25  1:27 Sam James
2022-02-18 22:23 Yixun Lan
2021-12-10  4:31 Sam James
2021-12-02  2:34 Sam James
2021-10-31  2:19 Sam James
2021-10-31  2:19 Sam James
2021-07-09  3:11 Ionen Wolkens
2021-03-14  0:25 Andreas Sturmlechner
2020-08-24 13:42 Sam James
2020-08-24 13:42 Sam James
2020-08-24 13:42 Sam James
2020-08-24 13:42 Sam James
2018-08-28 14:43 Jonathan Scruggs
2018-08-28 14:43 Jonathan Scruggs
2018-08-15 20:08 Jonathan Scruggs
2018-08-14 11:39 Jonathan Scruggs
2018-08-04 18:21 Jonathan Scruggs
2017-01-15 13:34 David Seifert
2016-10-27 18:34 David Seifert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1644954593.b54e19ec3c5870b59d1e18f2d430e72ddaacb009.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox