From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4DB25138359 for ; Mon, 24 Aug 2020 13:42:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C3FA2E0887; Mon, 24 Aug 2020 13:42:43 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9E1CCE0887 for ; Mon, 24 Aug 2020 13:42:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AEACD340D55 for ; Mon, 24 Aug 2020 13:42:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8A048347 for ; Mon, 24 Aug 2020 13:42:37 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1598276516.5ffd98d291730cc22e4cbbc6e4ae717fbb17f282.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/blender/files/, media-gfx/blender/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/blender/blender-2.79b-r2.ebuild media-gfx/blender/blender-2.83.4.ebuild media-gfx/blender/files/blender-fix-install-rules.patch X-VCS-Directories: media-gfx/blender/ media-gfx/blender/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 5ffd98d291730cc22e4cbbc6e4ae717fbb17f282 X-VCS-Branch: master Date: Mon, 24 Aug 2020 13:42:37 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ef2154d1-1252-45e1-9c3c-ec42224b2d26 X-Archives-Hash: 011067c53c3dbb1c5a10b5f489a00559 commit: 5ffd98d291730cc22e4cbbc6e4ae717fbb17f282 Author: Adrian Grigo yahoo com au> AuthorDate: Thu Aug 20 07:29:03 2020 +0000 Commit: Sam James gentoo org> CommitDate: Mon Aug 24 13:41:56 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ffd98d2 media-gfx/blender: Blender with openvdb requires openvdb-7.0.0 only Compiling blender with openvdb fails using openvdb-7.1.0, as std::make_unique is not available in c++11. Upgrading to newer c++ was discussed upstream and it was decided to remain with c++11 now, in keeping with the VFX reference platform, and update to c++17 in 2021. See https://developer.blender.org/T76783 Openvdb 7.0.0 uses c++11, whereas 7.1.0 uses c++14. So it will not be possible to use versions 7.1.0 and above until blender updates to c++14 or higher next year. Signed-off-by: Adrian Grigo yahoo.com.au> Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Sam James gentoo.org> media-gfx/blender/blender-2.79b-r2.ebuild | 4 ++-- media-gfx/blender/blender-2.83.4.ebuild | 2 +- media-gfx/blender/files/blender-fix-install-rules.patch | 16 ++++++++++++++++ 3 files changed, 19 insertions(+), 3 deletions(-) diff --git a/media-gfx/blender/blender-2.79b-r2.ebuild b/media-gfx/blender/blender-2.79b-r2.ebuild index 1b08a01395b..977f12110a6 100644 --- a/media-gfx/blender/blender-2.79b-r2.ebuild +++ b/media-gfx/blender/blender-2.79b-r2.ebuild @@ -5,7 +5,7 @@ EAPI=6 PYTHON_COMPAT=( python3_6 ) -inherit check-reqs cmake-utils xdg-utils flag-o-matic xdg-utils \ +inherit check-reqs cmake-utils flag-o-matic xdg-utils \ pax-utils python-single-r1 toolchain-funcs eapi7-ver DESCRIPTION="3D Creation/Animation/Publishing System" @@ -77,7 +77,7 @@ RDEPEND="${PYTHON_DEPS} ) opensubdiv? ( >=media-libs/opensubdiv-3.3.0:=[cuda=,opencl=] ) openvdb? ( - media-gfx/openvdb[abi4-compat] + =dev-libs/c-blosc-1.5.2 ) diff --git a/media-gfx/blender/blender-2.83.4.ebuild b/media-gfx/blender/blender-2.83.4.ebuild index de3ba5896dc..b6e7cb00c60 100644 --- a/media-gfx/blender/blender-2.83.4.ebuild +++ b/media-gfx/blender/blender-2.83.4.ebuild @@ -85,7 +85,7 @@ RDEPEND="${PYTHON_DEPS} ) opensubdiv? ( >=media-libs/opensubdiv-3.4.0[cuda=,opencl=] ) openvdb? ( - >=media-gfx/openvdb-7.0.0[abi6-compat(-)?,abi7-compat(-)?] + ~media-gfx/openvdb-7.0.0[abi6-compat(-)?,abi7-compat(-)?] dev-cpp/tbb dev-libs/c-blosc:= ) diff --git a/media-gfx/blender/files/blender-fix-install-rules.patch b/media-gfx/blender/files/blender-fix-install-rules.patch new file mode 100644 index 00000000000..e62aba814b9 --- /dev/null +++ b/media-gfx/blender/files/blender-fix-install-rules.patch @@ -0,0 +1,16 @@ +diff -purN a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt +--- a/source/creator/CMakeLists.txt 2016-09-28 10:26:55.000000000 +0100 ++++ b/source/creator/CMakeLists.txt 2016-10-03 12:17:08.938928486 +0100 +@@ -328,12 +328,6 @@ endif() + # Install Targets (Generic, All Platforms) + + +-# important to make a clean install each time, else old scripts get loaded. +-install( +- CODE +- "file(REMOVE_RECURSE ${TARGETDIR_VER})" +-) +- + if(WITH_PYTHON) + # install(CODE "message(\"copying blender scripts...\")") +