[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2024-03-17 Thread Florian Schmaus
commit: 44e968379c2b7b4c6154c184f5f1fea18407a343
Author: Aliaksei Urbanski  gmail  com>
AuthorDate: Sun Mar 17 12:55:08 2024 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Sun Mar 17 14:18:29 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44e96837

media-libs/openexr: replace 3.2.2 with 3.2.3

Release:
  - https://github.com/AcademySoftwareFoundation/openexr/releases/tag/v3.2.3

These changes also:
  - fix/simplify handling of the test USE flag
  - fix handling of the examples USE flag
  - improve handling of the doc USE flag
  - fix the RDEPEND

Closes: https://bugs.gentoo.org/925128
Closes: https://bugs.gentoo.org/925198
Co-authored-by: Paul Zander  gmail.com>
Signed-off-by: Aliaksei Urbanski  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/35692
Signed-off-by: Florian Schmaus  gentoo.org>

 media-libs/openexr/Manifest|  2 +-
 .../{openexr-3.2.2.ebuild => openexr-3.2.3.ebuild} | 79 --
 2 files changed, 43 insertions(+), 38 deletions(-)

diff --git a/media-libs/openexr/Manifest b/media-libs/openexr/Manifest
index 56482c59e738..70d169cd8c7b 100644
--- a/media-libs/openexr/Manifest
+++ b/media-libs/openexr/Manifest
@@ -2,5 +2,5 @@ DIST openexr-3.1.11.tar.gz 20539852 BLAKE2B 
9d57362c656a646a5b909063ff57eccfacbc
 DIST openexr-3.1.5.tar.gz 20327926 BLAKE2B 
77ece3c62b34292d4714873149a5a54a47fe811e96f992f1082e7dca99ad7717649f937c2dd7b18011c4201f15056526fc4b706c4d2f1b7fa593b9f1ed6314bd
 SHA512 
01ef16eacd2dde83c67b81522bae87f47ba272a41ce7d4e35d865dbdcaa03093e7ac504b95d2c1b3a19535f2364a4f937b0e0570c74243bb1c6e021fce7b620c
 DIST openexr-3.1.7.tar.gz 20494812 BLAKE2B 
2cc03ed8da77f4a9523b7a0f55c78e78ab55f8f6de67cb68f1b2b4ad4b512448d80f39d60a0cc9eab451da35539027a573a0c6d6900e7f81b39f90703909b5af
 SHA512 
f72f5e728f10c06fca0172c9b4c1df752225c3aed7384b4eaa502f92f8547bb1df93fe96d4d132a81eb32b729cb9fd615be825aa6c5de78481d3038c0d47c4d5
 DIST openexr-3.1.12.tar.gz 20540857 BLAKE2B 
94a78e4e45f892b56f9a05cabad5cea999ff1844ff8569995f1f301e8599e0be1c214477f501f351c248eea141db22508eb764c1c91508399e69932026361c04
 SHA512 
0fce6a1322d74354a29ece9f9afeca1c4874c4d55079ec720f3ef21ab2ab950ec333f793f1ffad6634f57b40c4276af578b31ac8bc3e11856d7b903d5475e5eb
-DIST openexr-3.2.2.tar.gz 18825996 BLAKE2B 
535d7798263ee63cbb79981bfd5b8edf4805acd672b7f98457876b7017840263bd6f1491dc63afcd3a66751a73fbb8463764c85ba06c18d59839d9f25a6769db
 SHA512 
b6537a8218686bfad7e6d29ae087d0548624cce81308d31581d99b4b741de3223b22fb8748fe9223e4e3609761815bef5e1bcc55e06302aeaf25d9d9a6134bab
+DIST openexr-3.2.3.tar.gz 18855303 BLAKE2B 
4f5dbd9033031e988e973ef039b67632ac92e1272cc1d3e4540992f09f6b275c3ecb4c8f690cd98620519993099d132b43bb4bb40bb0d11caa06db868404015a
 SHA512 
6e0a6fdcfae57c6e8b060d9aeed57140d96d39bffe5e40edd6ea5beb06e569323833d07906316ffca05f48e8409d0ea4174e2cd84d554404a4ee432e07d7b5e6
 DIST openexr-images-1.0.tar.gz 25962 BLAKE2B 
d57c458dfbd1b08c964429022b6e08a3309bf11cbd43c64e271ebc620dae6dbe70636e5221f47dabd7fe2aa0806f2cf3f3c9b3f55fd7f45b0a34f3e62b6029e7
 SHA512 
c1c83a26cd326d0fcda824daccb0044abad46f29e1bd2ceb1c38bc62b3e71f0aeef126dddc4517eb1cb9f7c9d0fe234276a48a754bdb7c7823e9aee459d8670a

diff --git a/media-libs/openexr/openexr-3.2.2.ebuild 
b/media-libs/openexr/openexr-3.2.3.ebuild
similarity index 63%
rename from media-libs/openexr/openexr-3.2.2.ebuild
rename to media-libs/openexr/openexr-3.2.3.ebuild
index 84a97d580e9f..29c1e2625355 100644
--- a/media-libs/openexr/openexr-3.2.2.ebuild
+++ b/media-libs/openexr/openexr-3.2.3.ebuild
@@ -25,18 +25,18 @@ SLOT="0/31" # based on SONAME
 KEYWORDS="~amd64 ~arm ~arm64 ~loong -ppc ~ppc64 ~riscv -sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos"
 
 IUSE="cpu_flags_x86_avx doc examples large-stack utils test threads"
+REQUIRED_USE="doc? ( utils )"
 RESTRICT="!test? ( test )"
 
 RDEPEND="
-   app-arch/libdeflate
+   app-arch/libdeflate[zlib]
>=dev-libs/imath-3.1.6:=
-   doc? (
-   sys-apps/help2man
-   dev-python/sphinx-press-theme
-   )
 "
 DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
+BDEPEND="
+   virtual/pkgconfig
+   doc? ( sys-apps/help2man )
+"
 
 PATCHES=(
"${FILESDIR}/${PN}-3.2.1-bintests-iff-utils.patch"
@@ -54,34 +54,32 @@ src_prepare() {
 
cmake_src_prepare
 
-   if use test; then
-   if use utils; then
-   IMAGES=(
-   Beachball/multipart.0001.exr
-   Beachball/singlepart.0001.exr
-   Chromaticities/Rec709.exr
-   Chromaticities/Rec709_YC.exr
-   Chromaticities/XYZ.exr
-   Chromaticities/XYZ_YC.exr
-   LuminanceChroma/Flowers.exr
-   LuminanceChroma/Garden.exr
-   MultiResolution/ColorCodedLevels.exr
-   

[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2024-03-17 Thread Sam James
commit: 4351c64bb21453c4774944c1e6e714b08ffbee95
Author: Paul Zander  gmail  com>
AuthorDate: Sun Mar 17 12:35:26 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Mar 17 12:38:32 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4351c64b

media-libs/openexr: 3.2.2 rework x86 test skip

Closes: https://bugs.gentoo.org/927173
Signed-off-by: Paul Zander  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/35800
Signed-off-by: Sam James  gentoo.org>

 media-libs/openexr/openexr-3.2.2.ebuild | 14 ++
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/media-libs/openexr/openexr-3.2.2.ebuild 
b/media-libs/openexr/openexr-3.2.2.ebuild
index 71b9a4937dcb..84a97d580e9f 100644
--- a/media-libs/openexr/openexr-3.2.2.ebuild
+++ b/media-libs/openexr/openexr-3.2.2.ebuild
@@ -52,10 +52,6 @@ src_prepare() {
sed -e "s:if(INSTALL_DOCS):if(OPENEXR_INSTALL_DOCS):" \
-i docs/CMakeLists.txt || die
 
-   if use x86; then
-   eapply 
"${FILESDIR}/${PN}-3.1.5-drop-failing-testDwaLookups.patch"
-   fi
-
cmake_src_prepare
 
if use test; then
@@ -123,6 +119,16 @@ src_configure() {
cmake_src_configure
 }
 
+src_test() {
+local CMAKE_SKIP_TESTS=()
+
+use x86 && CMAKE_SKIP_TESTS+=(
+'^OpenEXR.testDwaLookups$'
+)
+
+cmake_src_test
+}
+
 src_install() {
use examples && docompress -x "/usr/share/doc/${PF}/examples"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/, media-libs/openexr/files/

2024-03-08 Thread Sam James
commit: 57202035b4521bf73359b43498fd4a735760c88b
Author: Cristian Othón Martínez Vera  cfuga  mx>
AuthorDate: Mon Apr 10 17:23:00 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Mar  8 18:34:04 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57202035

media-libs/openexr: fix x86 musl build for version 3.1.7

Signed-off-by: Cristian Othón Martínez Vera  cfuga.mx>
Closes: https://github.com/gentoo/gentoo/pull/30542
Signed-off-by: Sam James  gentoo.org>

 .../openexr/files/openexr-3.1.7-musl-i386.patch   | 19 +++
 media-libs/openexr/openexr-3.1.7.ebuild   |  6 +-
 2 files changed, 24 insertions(+), 1 deletion(-)

diff --git a/media-libs/openexr/files/openexr-3.1.7-musl-i386.patch 
b/media-libs/openexr/files/openexr-3.1.7-musl-i386.patch
new file mode 100644
index ..e2bedf6e7a12
--- /dev/null
+++ b/media-libs/openexr/files/openexr-3.1.7-musl-i386.patch
@@ -0,0 +1,19 @@
+--- a/src/lib/Iex/IexMathFpu.cpp
 b/src/lib/Iex/IexMathFpu.cpp
+@@ -251,14 +251,14 @@
+ inline void
+ restoreControlRegs (const ucontext_t & ucon, bool clearExceptions)
+ {
+-#if (defined(__GLIBC__) && defined(__i386__)) || 
defined(__ANDROID_API__)
++#if (defined(__linux__) && defined(__i386__)) || 
defined(__ANDROID_API__)
+ setCw ((ucon.uc_mcontext.fpregs->cw & cwRestoreMask) | cwRestoreVal);
+ #else
+ setCw ((ucon.uc_mcontext.fpregs->cwd & cwRestoreMask) | cwRestoreVal);
+ #endif
+ 
+ _fpstate* kfp = reinterpret_cast<_fpstate*> (ucon.uc_mcontext.fpregs);
+-#if defined(__GLIBC__) && defined(__i386__)
++#if defined(__linux__) && defined(__i386__)
+ setMxcsr (kfp->magic == 0 ? kfp->mxcsr : 0, clearExceptions);
+ #else
+ setMxcsr (kfp->mxcsr, clearExceptions);

diff --git a/media-libs/openexr/openexr-3.1.7.ebuild 
b/media-libs/openexr/openexr-3.1.7.ebuild
index e3960f74c307..cedfef02a75b 100644
--- a/media-libs/openexr/openexr-3.1.7.ebuild
+++ b/media-libs/openexr/openexr-3.1.7.ebuild
@@ -25,7 +25,11 @@ RDEPEND="
 DEPEND="${RDEPEND}"
 BDEPEND="virtual/pkgconfig"
 
-PATCHES=( "${FILESDIR}"/${PN}-3.1.1-0003-disable-failing-test.patch )
+PATCHES=(
+   "${FILESDIR}"/${PN}-3.1.1-0003-disable-failing-test.patch
+   "${FILESDIR}"/${PN}-3.1.7-musl-i386.patch
+)
+
 DOCS=( CHANGES.md GOVERNANCE.md PATENTS README.md SECURITY.md )
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/, media-libs/openexr/files/

2024-03-08 Thread Sam James
commit: 31fffa9cf2491c4353f867ca66adadf8bf1e3e2a
Author: Cristian Othón Martínez Vera  cfuga  mx>
AuthorDate: Mon Apr 10 17:15:53 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Mar  8 18:34:03 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31fffa9c

media-libs/openexr: fix x86 musl build for version 3.1.5

Signed-off-by: Cristian Othón Martínez Vera  cfuga.mx>
Signed-off-by: Sam James  gentoo.org>

 .../openexr/files/openexr-3.1.5-musl-i386.patch   | 19 +++
 media-libs/openexr/openexr-3.1.5-r1.ebuild|  1 +
 2 files changed, 20 insertions(+)

diff --git a/media-libs/openexr/files/openexr-3.1.5-musl-i386.patch 
b/media-libs/openexr/files/openexr-3.1.5-musl-i386.patch
new file mode 100644
index ..2b7a31ac694d
--- /dev/null
+++ b/media-libs/openexr/files/openexr-3.1.5-musl-i386.patch
@@ -0,0 +1,19 @@
+--- a/src/lib/Iex/IexMathFpu.cpp
 b/src/lib/Iex/IexMathFpu.cpp
+@@ -251,14 +251,14 @@
+ inline void
+ restoreControlRegs (const ucontext_t & ucon, bool clearExceptions)
+ {
+-#if defined(__GLIBC__) && defined(__i386__)
++#if defined(__linux__) && defined(__i386__)
+ setCw ((ucon.uc_mcontext.fpregs->cw & cwRestoreMask) | cwRestoreVal);
+ #else
+ setCw ((ucon.uc_mcontext.fpregs->cwd & cwRestoreMask) | cwRestoreVal);
+ #endif
+ 
+ _fpstate* kfp = reinterpret_cast<_fpstate*> (ucon.uc_mcontext.fpregs);
+-#if defined(__GLIBC__) && defined(__i386__)
++#if defined(__linux__) && defined(__i386__)
+ setMxcsr (kfp->magic == 0 ? kfp->mxcsr : 0, clearExceptions);
+ #else
+ setMxcsr (kfp->mxcsr, clearExceptions);

diff --git a/media-libs/openexr/openexr-3.1.5-r1.ebuild 
b/media-libs/openexr/openexr-3.1.5-r1.ebuild
index a5039301aed5..8ec80d3071e3 100644
--- a/media-libs/openexr/openexr-3.1.5-r1.ebuild
+++ b/media-libs/openexr/openexr-3.1.5-r1.ebuild
@@ -32,6 +32,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-3.1.1-0003-disable-failing-test.patch

"${FILESDIR}"/${P}-Add-missing-include-cstdint-required-by-gcc-13-1264.patch
"${FILESDIR}"/${P}-add-missed-include-cstdint-statement.patch
+   "${FILESDIR}"/${P}-musl-i386.patch
 )
 
 DOCS=( CHANGES.md GOVERNANCE.md PATENTS README.md SECURITY.md 
docs/SymbolVisibility.md )



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2024-02-20 Thread Sam James
commit: 68f10c657743dd6e155c658c18c00885bee780ab
Author: Sam James  gentoo  org>
AuthorDate: Wed Feb 21 01:48:23 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Feb 21 01:48:23 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68f10c65

media-libs/openexr: drop back to ~arch

Signed-off-by: Sam James  gentoo.org>

 media-libs/openexr/openexr-3.1.12.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/openexr/openexr-3.1.12.ebuild 
b/media-libs/openexr/openexr-3.1.12.ebuild
index 71969a113652..bc37e4bd424e 100644
--- a/media-libs/openexr/openexr-3.1.12.ebuild
+++ b/media-libs/openexr/openexr-3.1.12.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/
 LICENSE="BSD"
 SLOT="0/30" # based on SONAME
 # -ppc -sparc because broken on big endian, bug #818424
-KEYWORDS="amd64 ~arm ~arm64 ~loong -ppc ~ppc64 ~riscv -sparc x86 ~amd64-linux 
~x86-linux ~x64-macos"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong -ppc ~ppc64 ~riscv -sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos"
 IUSE="cpu_flags_x86_avx examples large-stack utils test threads"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/files/, media-libs/openexr/

2024-02-20 Thread Sam James
commit: b98534f3604d967cd45877e8c1752cd7116563ca
Author: Paul Zander  gmail  com>
AuthorDate: Thu Oct 26 08:07:14 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Feb 21 01:44:49 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b98534f3

media-libs/openexr: add 3.1.12, 3.2.2

Closes: https://bugs.gentoo.org/920528
Closes: https://bugs.gentoo.org/916514
Closes: https://bugs.gentoo.org/908257
Signed-off-by: Paul Zander  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/34218
Signed-off-by: Sam James  gentoo.org>

 media-libs/openexr/Manifest|   3 +
 .../files/openexr-3.2.1-bintests-iff-utils.patch   |  14 +++
 media-libs/openexr/openexr-3.1.12.ebuild   |  69 +++
 media-libs/openexr/openexr-3.2.2.ebuild| 130 +
 4 files changed, 216 insertions(+)

diff --git a/media-libs/openexr/Manifest b/media-libs/openexr/Manifest
index ea41489d2b92..56482c59e738 100644
--- a/media-libs/openexr/Manifest
+++ b/media-libs/openexr/Manifest
@@ -1,3 +1,6 @@
 DIST openexr-3.1.11.tar.gz 20539852 BLAKE2B 
9d57362c656a646a5b909063ff57eccfacbc70929a802561c2be71b050e97e7087221f78110f2686fcc1ea960d87880ccdbcb57b474f635a3392f3fa169ef3c5
 SHA512 
ebbad4b22315522f43cafefca77cf92ce38cac87f024c8dc6429aed04a6dad1f0a3d717faaab39c4c3605e440442952acc4630c5393754ea138929be4ad8a0d4
 DIST openexr-3.1.5.tar.gz 20327926 BLAKE2B 
77ece3c62b34292d4714873149a5a54a47fe811e96f992f1082e7dca99ad7717649f937c2dd7b18011c4201f15056526fc4b706c4d2f1b7fa593b9f1ed6314bd
 SHA512 
01ef16eacd2dde83c67b81522bae87f47ba272a41ce7d4e35d865dbdcaa03093e7ac504b95d2c1b3a19535f2364a4f937b0e0570c74243bb1c6e021fce7b620c
 DIST openexr-3.1.7.tar.gz 20494812 BLAKE2B 
2cc03ed8da77f4a9523b7a0f55c78e78ab55f8f6de67cb68f1b2b4ad4b512448d80f39d60a0cc9eab451da35539027a573a0c6d6900e7f81b39f90703909b5af
 SHA512 
f72f5e728f10c06fca0172c9b4c1df752225c3aed7384b4eaa502f92f8547bb1df93fe96d4d132a81eb32b729cb9fd615be825aa6c5de78481d3038c0d47c4d5
+DIST openexr-3.1.12.tar.gz 20540857 BLAKE2B 
94a78e4e45f892b56f9a05cabad5cea999ff1844ff8569995f1f301e8599e0be1c214477f501f351c248eea141db22508eb764c1c91508399e69932026361c04
 SHA512 
0fce6a1322d74354a29ece9f9afeca1c4874c4d55079ec720f3ef21ab2ab950ec333f793f1ffad6634f57b40c4276af578b31ac8bc3e11856d7b903d5475e5eb
+DIST openexr-3.2.2.tar.gz 18825996 BLAKE2B 
535d7798263ee63cbb79981bfd5b8edf4805acd672b7f98457876b7017840263bd6f1491dc63afcd3a66751a73fbb8463764c85ba06c18d59839d9f25a6769db
 SHA512 
b6537a8218686bfad7e6d29ae087d0548624cce81308d31581d99b4b741de3223b22fb8748fe9223e4e3609761815bef5e1bcc55e06302aeaf25d9d9a6134bab
+DIST openexr-images-1.0.tar.gz 25962 BLAKE2B 
d57c458dfbd1b08c964429022b6e08a3309bf11cbd43c64e271ebc620dae6dbe70636e5221f47dabd7fe2aa0806f2cf3f3c9b3f55fd7f45b0a34f3e62b6029e7
 SHA512 
c1c83a26cd326d0fcda824daccb0044abad46f29e1bd2ceb1c38bc62b3e71f0aeef126dddc4517eb1cb9f7c9d0fe234276a48a754bdb7c7823e9aee459d8670a

diff --git a/media-libs/openexr/files/openexr-3.2.1-bintests-iff-utils.patch 
b/media-libs/openexr/files/openexr-3.2.1-bintests-iff-utils.patch
new file mode 100644
index ..c5c699b489fe
--- /dev/null
+++ b/media-libs/openexr/files/openexr-3.2.1-bintests-iff-utils.patch
@@ -0,0 +1,14 @@
+diff --git a/src/test/bin/CMakeLists.txt b/src/test/bin/CMakeLists.txt
+index e53b879..ad0190d 100644
+--- a/src/test/bin/CMakeLists.txt
 b/src/test/bin/CMakeLists.txt
+@@ -3,6 +3,9 @@
+ 
+ if(BUILD_TESTING)
+ 
++  if(NOT OPENEXR_BUILD_TOOLS)
++return()
++  endif()
+   find_package(Python3 COMPONENTS Interpreter)
+   if (NOT Python3_FOUND)
+ message(STATUS "Python3 not found: skipping bin tests")

diff --git a/media-libs/openexr/openexr-3.1.12.ebuild 
b/media-libs/openexr/openexr-3.1.12.ebuild
new file mode 100644
index ..71969a113652
--- /dev/null
+++ b/media-libs/openexr/openexr-3.1.12.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake flag-o-matic
+
+MY_PN=OpenEXR
+
+DESCRIPTION="ILM's OpenEXR high dynamic-range image file format libraries"
+HOMEPAGE="https://openexr.com/;
+SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/30" # based on SONAME
+# -ppc -sparc because broken on big endian, bug #818424
+KEYWORDS="amd64 ~arm ~arm64 ~loong -ppc ~ppc64 ~riscv -sparc x86 ~amd64-linux 
~x86-linux ~x64-macos"
+IUSE="cpu_flags_x86_avx examples large-stack utils test threads"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   >=dev-libs/imath-3.1.6:=
+   sys-libs/zlib
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=( "${FILESDIR}"/${PN}-3.1.1-0003-disable-failing-test.patch )
+DOCS=( CHANGES.md GOVERNANCE.md PATENTS README.md SECURITY.md )
+
+src_prepare() {
+   # Fix path for testsuite
+   sed -e "s:/var/tmp/:${T}:" \
+   -i "${S}"/src/test/${MY_PN}Test/tmpDir.h || 

[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2024-02-20 Thread Arthur Zamarin
commit: 4119b7ce4ced45f76a8a6d4ab1d9d954c1ee9f86
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Feb 20 18:28:37 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Feb 20 18:32:47 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4119b7ce

media-libs/openexr: unkeyword for ~ia64

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-libs/openexr/openexr-3.1.11.ebuild   | 4 ++--
 media-libs/openexr/openexr-3.1.5-r1.ebuild | 4 ++--
 media-libs/openexr/openexr-3.1.7.ebuild| 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/media-libs/openexr/openexr-3.1.11.ebuild 
b/media-libs/openexr/openexr-3.1.11.ebuild
index b974fff11309..71969a113652 100644
--- a/media-libs/openexr/openexr-3.1.11.ebuild
+++ b/media-libs/openexr/openexr-3.1.11.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/
 LICENSE="BSD"
 SLOT="0/30" # based on SONAME
 # -ppc -sparc because broken on big endian, bug #818424
-KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~loong -ppc ~ppc64 ~riscv -sparc x86 
~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~loong -ppc ~ppc64 ~riscv -sparc x86 ~amd64-linux 
~x86-linux ~x64-macos"
 IUSE="cpu_flags_x86_avx examples large-stack utils test threads"
 RESTRICT="!test? ( test )"
 

diff --git a/media-libs/openexr/openexr-3.1.5-r1.ebuild 
b/media-libs/openexr/openexr-3.1.5-r1.ebuild
index 1596452e2ec0..a5039301aed5 100644
--- a/media-libs/openexr/openexr-3.1.5-r1.ebuild
+++ b/media-libs/openexr/openexr-3.1.5-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/
 LICENSE="BSD"
 SLOT="0/30" # based on SONAME
 # -ppc -sparc because broken on big endian, bug #818424
-KEYWORDS="amd64 ~arm arm64 ~ia64 ~loong -ppc ~ppc64 ~riscv -sparc x86 
~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="amd64 ~arm arm64 ~loong -ppc ~ppc64 ~riscv -sparc x86 ~amd64-linux 
~x86-linux ~x64-macos"
 IUSE="cpu_flags_x86_avx doc examples large-stack utils test threads"
 RESTRICT="!test? ( test )"
 

diff --git a/media-libs/openexr/openexr-3.1.7.ebuild 
b/media-libs/openexr/openexr-3.1.7.ebuild
index a8215f9d31bb..e3960f74c307 100644
--- a/media-libs/openexr/openexr-3.1.7.ebuild
+++ b/media-libs/openexr/openexr-3.1.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/
 LICENSE="BSD"
 SLOT="0/30" # based on SONAME
 # -ppc -sparc because broken on big endian, bug #818424
-KEYWORDS="amd64 ~arm arm64 ~ia64 ~loong -ppc ~ppc64 ~riscv -sparc x86 
~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="amd64 ~arm arm64 ~loong -ppc ~ppc64 ~riscv -sparc x86 ~amd64-linux 
~x86-linux ~x64-macos"
 IUSE="cpu_flags_x86_avx examples large-stack utils test threads"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2023-12-22 Thread Joonas Niilola
commit: 16080a98e412a80edb378dbad95d08797c95e847
Author: Joonas Niilola  gentoo  org>
AuthorDate: Fri Dec 22 08:21:53 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Dec 22 11:39:21 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16080a98

media-libs/openexr: Stabilize 3.1.11 x86, #920470

Signed-off-by: Joonas Niilola  gentoo.org>

 media-libs/openexr/openexr-3.1.11.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/openexr/openexr-3.1.11.ebuild 
b/media-libs/openexr/openexr-3.1.11.ebuild
index 9c89846096d5..b974fff11309 100644
--- a/media-libs/openexr/openexr-3.1.11.ebuild
+++ b/media-libs/openexr/openexr-3.1.11.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/
 LICENSE="BSD"
 SLOT="0/30" # based on SONAME
 # -ppc -sparc because broken on big endian, bug #818424
-KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~loong -ppc ~ppc64 ~riscv -sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~loong -ppc ~ppc64 ~riscv -sparc x86 
~amd64-linux ~x86-linux ~x64-macos"
 IUSE="cpu_flags_x86_avx examples large-stack utils test threads"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2023-12-21 Thread Sam James
commit: cb7ef595a58b769cc75f323afd0521ff0081af65
Author: Sam James  gentoo  org>
AuthorDate: Thu Dec 21 15:14:59 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Dec 21 15:14:59 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb7ef595

media-libs/openexr: Stabilize 3.1.11 amd64, #920470

Signed-off-by: Sam James  gentoo.org>

 media-libs/openexr/openexr-3.1.11.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/openexr/openexr-3.1.11.ebuild 
b/media-libs/openexr/openexr-3.1.11.ebuild
index a18baac04c1a..9c89846096d5 100644
--- a/media-libs/openexr/openexr-3.1.11.ebuild
+++ b/media-libs/openexr/openexr-3.1.11.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/
 LICENSE="BSD"
 SLOT="0/30" # based on SONAME
 # -ppc -sparc because broken on big endian, bug #818424
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong -ppc ~ppc64 ~riscv -sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~loong -ppc ~ppc64 ~riscv -sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos"
 IUSE="cpu_flags_x86_avx examples large-stack utils test threads"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2023-10-26 Thread Sam James
commit: d4114ec946c697f74294fbfdba09e9175dbab939
Author: Paul Zander  gmail  com>
AuthorDate: Wed Oct 11 22:14:24 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct 27 03:15:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4114ec9

media-libs/openexr: add 3.1.11, drop obsolete blockers

drop blockers on removed packages
update homepage url

Signed-off-by: Paul Zander  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/33306
Signed-off-by: Sam James  gentoo.org>

 media-libs/openexr/Manifest| 1 +
 media-libs/openexr/{openexr-3.1.7.ebuild => openexr-3.1.11.ebuild} | 6 ++
 media-libs/openexr/openexr-3.1.5-r1.ebuild | 4 +---
 media-libs/openexr/openexr-3.1.7.ebuild| 4 +---
 4 files changed, 5 insertions(+), 10 deletions(-)

diff --git a/media-libs/openexr/Manifest b/media-libs/openexr/Manifest
index b628bae952f4..ea41489d2b92 100644
--- a/media-libs/openexr/Manifest
+++ b/media-libs/openexr/Manifest
@@ -1,2 +1,3 @@
+DIST openexr-3.1.11.tar.gz 20539852 BLAKE2B 
9d57362c656a646a5b909063ff57eccfacbc70929a802561c2be71b050e97e7087221f78110f2686fcc1ea960d87880ccdbcb57b474f635a3392f3fa169ef3c5
 SHA512 
ebbad4b22315522f43cafefca77cf92ce38cac87f024c8dc6429aed04a6dad1f0a3d717faaab39c4c3605e440442952acc4630c5393754ea138929be4ad8a0d4
 DIST openexr-3.1.5.tar.gz 20327926 BLAKE2B 
77ece3c62b34292d4714873149a5a54a47fe811e96f992f1082e7dca99ad7717649f937c2dd7b18011c4201f15056526fc4b706c4d2f1b7fa593b9f1ed6314bd
 SHA512 
01ef16eacd2dde83c67b81522bae87f47ba272a41ce7d4e35d865dbdcaa03093e7ac504b95d2c1b3a19535f2364a4f937b0e0570c74243bb1c6e021fce7b620c
 DIST openexr-3.1.7.tar.gz 20494812 BLAKE2B 
2cc03ed8da77f4a9523b7a0f55c78e78ab55f8f6de67cb68f1b2b4ad4b512448d80f39d60a0cc9eab451da35539027a573a0c6d6900e7f81b39f90703909b5af
 SHA512 
f72f5e728f10c06fca0172c9b4c1df752225c3aed7384b4eaa502f92f8547bb1df93fe96d4d132a81eb32b729cb9fd615be825aa6c5de78481d3038c0d47c4d5

diff --git a/media-libs/openexr/openexr-3.1.7.ebuild 
b/media-libs/openexr/openexr-3.1.11.ebuild
similarity index 90%
copy from media-libs/openexr/openexr-3.1.7.ebuild
copy to media-libs/openexr/openexr-3.1.11.ebuild
index 2ec269776660..a18baac04c1a 100644
--- a/media-libs/openexr/openexr-3.1.7.ebuild
+++ b/media-libs/openexr/openexr-3.1.11.ebuild
@@ -8,21 +8,19 @@ inherit cmake flag-o-matic
 MY_PN=OpenEXR
 
 DESCRIPTION="ILM's OpenEXR high dynamic-range image file format libraries"
-HOMEPAGE="https://www.openexr.com/;
+HOMEPAGE="https://openexr.com/;
 
SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0/30" # based on SONAME
 # -ppc -sparc because broken on big endian, bug #818424
-KEYWORDS="amd64 ~arm arm64 ~ia64 ~loong -ppc ~ppc64 ~riscv -sparc x86 
~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong -ppc ~ppc64 ~riscv -sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos"
 IUSE="cpu_flags_x86_avx examples large-stack utils test threads"
 RESTRICT="!test? ( test )"
 
 RDEPEND="
>=dev-libs/imath-3.1.6:=
sys-libs/zlib
-   !media-libs/openexr:3
-   !media-libs/ilmbase
 "
 DEPEND="${RDEPEND}"
 BDEPEND="virtual/pkgconfig"

diff --git a/media-libs/openexr/openexr-3.1.5-r1.ebuild 
b/media-libs/openexr/openexr-3.1.5-r1.ebuild
index 25424ab3f979..1596452e2ec0 100644
--- a/media-libs/openexr/openexr-3.1.5-r1.ebuild
+++ b/media-libs/openexr/openexr-3.1.5-r1.ebuild
@@ -8,7 +8,7 @@ inherit cmake flag-o-matic
 MY_PN=OpenEXR
 
 DESCRIPTION="ILM's OpenEXR high dynamic-range image file format libraries"
-HOMEPAGE="https://www.openexr.com/;
+HOMEPAGE="https://openexr.com/;
 
SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz"
 
 LICENSE="BSD"
@@ -21,8 +21,6 @@ RESTRICT="!test? ( test )"
 RDEPEND="
>=dev-libs/imath-${PV}:=
sys-libs/zlib
-   !media-libs/openexr:3
-   !media-libs/ilmbase
 "
 DEPEND="${RDEPEND}"
 BDEPEND="

diff --git a/media-libs/openexr/openexr-3.1.7.ebuild 
b/media-libs/openexr/openexr-3.1.7.ebuild
index 2ec269776660..a8215f9d31bb 100644
--- a/media-libs/openexr/openexr-3.1.7.ebuild
+++ b/media-libs/openexr/openexr-3.1.7.ebuild
@@ -8,7 +8,7 @@ inherit cmake flag-o-matic
 MY_PN=OpenEXR
 
 DESCRIPTION="ILM's OpenEXR high dynamic-range image file format libraries"
-HOMEPAGE="https://www.openexr.com/;
+HOMEPAGE="https://openexr.com/;
 
SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz"
 
 LICENSE="BSD"
@@ -21,8 +21,6 @@ RESTRICT="!test? ( test )"
 RDEPEND="
>=dev-libs/imath-3.1.6:=
sys-libs/zlib
-   !media-libs/openexr:3
-   !media-libs/ilmbase
 "
 DEPEND="${RDEPEND}"
 BDEPEND="virtual/pkgconfig"



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2023-10-26 Thread Sam James
commit: 66ce50da64904ead6fcdfc89aa646094eb8d3e75
Author: Sam James  gentoo  org>
AuthorDate: Fri Oct 27 02:57:58 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct 27 02:57:58 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66ce50da

Revert "media-libs/openexr: add 3.1.11, drop obsolete blockers"

This reverts commit 45c5b621cc1338fec723423bd713fffbe89d6f53.

Signed-off-by: Sam James  gentoo.org>

 media-libs/openexr/Manifest|  1 -
 media-libs/openexr/openexr-3.1.11.ebuild   | 69 --
 media-libs/openexr/openexr-3.1.5-r1.ebuild |  4 +-
 media-libs/openexr/openexr-3.1.7.ebuild|  4 +-
 4 files changed, 6 insertions(+), 72 deletions(-)

diff --git a/media-libs/openexr/Manifest b/media-libs/openexr/Manifest
index ea41489d2b92..b628bae952f4 100644
--- a/media-libs/openexr/Manifest
+++ b/media-libs/openexr/Manifest
@@ -1,3 +1,2 @@
-DIST openexr-3.1.11.tar.gz 20539852 BLAKE2B 
9d57362c656a646a5b909063ff57eccfacbc70929a802561c2be71b050e97e7087221f78110f2686fcc1ea960d87880ccdbcb57b474f635a3392f3fa169ef3c5
 SHA512 
ebbad4b22315522f43cafefca77cf92ce38cac87f024c8dc6429aed04a6dad1f0a3d717faaab39c4c3605e440442952acc4630c5393754ea138929be4ad8a0d4
 DIST openexr-3.1.5.tar.gz 20327926 BLAKE2B 
77ece3c62b34292d4714873149a5a54a47fe811e96f992f1082e7dca99ad7717649f937c2dd7b18011c4201f15056526fc4b706c4d2f1b7fa593b9f1ed6314bd
 SHA512 
01ef16eacd2dde83c67b81522bae87f47ba272a41ce7d4e35d865dbdcaa03093e7ac504b95d2c1b3a19535f2364a4f937b0e0570c74243bb1c6e021fce7b620c
 DIST openexr-3.1.7.tar.gz 20494812 BLAKE2B 
2cc03ed8da77f4a9523b7a0f55c78e78ab55f8f6de67cb68f1b2b4ad4b512448d80f39d60a0cc9eab451da35539027a573a0c6d6900e7f81b39f90703909b5af
 SHA512 
f72f5e728f10c06fca0172c9b4c1df752225c3aed7384b4eaa502f92f8547bb1df93fe96d4d132a81eb32b729cb9fd615be825aa6c5de78481d3038c0d47c4d5

diff --git a/media-libs/openexr/openexr-3.1.11.ebuild 
b/media-libs/openexr/openexr-3.1.11.ebuild
deleted file mode 100644
index bbb330f1fc0f..
--- a/media-libs/openexr/openexr-3.1.11.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake flag-o-matic
-
-MY_PN=OpenEXR
-
-DESCRIPTION="ILM's OpenEXR high dynamic-range image file format libraries"
-HOMEPAGE="https://openexr.com/;
-SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0/30" # based on SONAME
-# -ppc -sparc because broken on big endian, bug #818424
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong -ppc ~ppc64 ~riscv -sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos"
-IUSE="cpu_flags_x86_avx examples large-stack utils test threads"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   >=dev-libs/Imath-3.1.6:=
-   sys-libs/zlib
-"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=( "${FILESDIR}"/${PN}-3.1.1-0003-disable-failing-test.patch )
-DOCS=( CHANGES.md GOVERNANCE.md PATENTS README.md SECURITY.md )
-
-src_prepare() {
-   # Fix path for testsuite
-   sed -e "s:/var/tmp/:${T}:" \
-   -i "${S}"/src/test/${MY_PN}Test/tmpDir.h || die "failed to set 
temp path for tests"
-
-   if use x86; then
-   eapply 
"${FILESDIR}"/${PN}-3.1.5-drop-failing-testDwaLookups.patch
-   fi
-
-   cmake_src_prepare
-}
-
-src_configure() {
-   if use x86; then
-   replace-cpu-flags native i686
-   fi
-
-   local mycmakeargs=(
-   -DBUILD_DOCS=OFF # needs sphinx_press_theme which we don't have 
in ::gentoo
-   -DBUILD_TESTING=$(usex test)
-   -DOPENEXR_BUILD_TOOLS=$(usex utils)
-   -DOPENEXR_ENABLE_LARGE_STACK=$(usex large-stack)
-   -DOPENEXR_ENABLE_THREADING=$(usex threads)
-   -DOPENEXR_INSTALL_EXAMPLES=$(usex examples)
-   -DOPENEXR_INSTALL_PKG_CONFIG=ON
-   -DOPENEXR_INSTALL_TOOLS=$(usex utils)
-   -DOPENEXR_USE_CLANG_TIDY=OFF # don't look for clang-tidy
-   )
-
-   use test && mycmakeargs+=( -DOPENEXR_RUN_FUZZ_TESTS=ON )
-
-   cmake_src_configure
-}
-
-src_install() {
-   use examples && docompress -x /usr/share/doc/${PF}/examples
-
-   cmake_src_install
-}

diff --git a/media-libs/openexr/openexr-3.1.5-r1.ebuild 
b/media-libs/openexr/openexr-3.1.5-r1.ebuild
index 514978514e74..b307b8c8c2ac 100644
--- a/media-libs/openexr/openexr-3.1.5-r1.ebuild
+++ b/media-libs/openexr/openexr-3.1.5-r1.ebuild
@@ -8,7 +8,7 @@ inherit cmake flag-o-matic
 MY_PN=OpenEXR
 
 DESCRIPTION="ILM's OpenEXR high dynamic-range image file format libraries"
-HOMEPAGE="https://openexr.com/;
+HOMEPAGE="https://www.openexr.com/;
 
SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz"
 
 LICENSE="BSD"
@@ -21,6 +21,8 @@ RESTRICT="!test? ( test )"
 RDEPEND="
>=dev-libs/Imath-${PV}:=

[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2023-10-26 Thread Sam James
commit: 45c5b621cc1338fec723423bd713fffbe89d6f53
Author: Paul Zander  gmail  com>
AuthorDate: Wed Oct 11 22:14:24 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct 27 02:31:52 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45c5b621

media-libs/openexr: add 3.1.11, drop obsolete blockers

drop blockers on removed packages
update homepage url

Signed-off-by: Paul Zander  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/33306
Signed-off-by: Sam James  gentoo.org>

 media-libs/openexr/Manifest| 1 +
 media-libs/openexr/{openexr-3.1.7.ebuild => openexr-3.1.11.ebuild} | 6 ++
 media-libs/openexr/openexr-3.1.5-r1.ebuild | 4 +---
 media-libs/openexr/openexr-3.1.7.ebuild| 4 +---
 4 files changed, 5 insertions(+), 10 deletions(-)

diff --git a/media-libs/openexr/Manifest b/media-libs/openexr/Manifest
index b628bae952f4..ea41489d2b92 100644
--- a/media-libs/openexr/Manifest
+++ b/media-libs/openexr/Manifest
@@ -1,2 +1,3 @@
+DIST openexr-3.1.11.tar.gz 20539852 BLAKE2B 
9d57362c656a646a5b909063ff57eccfacbc70929a802561c2be71b050e97e7087221f78110f2686fcc1ea960d87880ccdbcb57b474f635a3392f3fa169ef3c5
 SHA512 
ebbad4b22315522f43cafefca77cf92ce38cac87f024c8dc6429aed04a6dad1f0a3d717faaab39c4c3605e440442952acc4630c5393754ea138929be4ad8a0d4
 DIST openexr-3.1.5.tar.gz 20327926 BLAKE2B 
77ece3c62b34292d4714873149a5a54a47fe811e96f992f1082e7dca99ad7717649f937c2dd7b18011c4201f15056526fc4b706c4d2f1b7fa593b9f1ed6314bd
 SHA512 
01ef16eacd2dde83c67b81522bae87f47ba272a41ce7d4e35d865dbdcaa03093e7ac504b95d2c1b3a19535f2364a4f937b0e0570c74243bb1c6e021fce7b620c
 DIST openexr-3.1.7.tar.gz 20494812 BLAKE2B 
2cc03ed8da77f4a9523b7a0f55c78e78ab55f8f6de67cb68f1b2b4ad4b512448d80f39d60a0cc9eab451da35539027a573a0c6d6900e7f81b39f90703909b5af
 SHA512 
f72f5e728f10c06fca0172c9b4c1df752225c3aed7384b4eaa502f92f8547bb1df93fe96d4d132a81eb32b729cb9fd615be825aa6c5de78481d3038c0d47c4d5

diff --git a/media-libs/openexr/openexr-3.1.7.ebuild 
b/media-libs/openexr/openexr-3.1.11.ebuild
similarity index 90%
copy from media-libs/openexr/openexr-3.1.7.ebuild
copy to media-libs/openexr/openexr-3.1.11.ebuild
index 445494079498..bbb330f1fc0f 100644
--- a/media-libs/openexr/openexr-3.1.7.ebuild
+++ b/media-libs/openexr/openexr-3.1.11.ebuild
@@ -8,21 +8,19 @@ inherit cmake flag-o-matic
 MY_PN=OpenEXR
 
 DESCRIPTION="ILM's OpenEXR high dynamic-range image file format libraries"
-HOMEPAGE="https://www.openexr.com/;
+HOMEPAGE="https://openexr.com/;
 
SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0/30" # based on SONAME
 # -ppc -sparc because broken on big endian, bug #818424
-KEYWORDS="amd64 ~arm arm64 ~ia64 ~loong -ppc ~ppc64 ~riscv -sparc x86 
~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong -ppc ~ppc64 ~riscv -sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos"
 IUSE="cpu_flags_x86_avx examples large-stack utils test threads"
 RESTRICT="!test? ( test )"
 
 RDEPEND="
>=dev-libs/Imath-3.1.6:=
sys-libs/zlib
-   !media-libs/openexr:3
-   !media-libs/ilmbase
 "
 DEPEND="${RDEPEND}"
 BDEPEND="virtual/pkgconfig"

diff --git a/media-libs/openexr/openexr-3.1.5-r1.ebuild 
b/media-libs/openexr/openexr-3.1.5-r1.ebuild
index b307b8c8c2ac..514978514e74 100644
--- a/media-libs/openexr/openexr-3.1.5-r1.ebuild
+++ b/media-libs/openexr/openexr-3.1.5-r1.ebuild
@@ -8,7 +8,7 @@ inherit cmake flag-o-matic
 MY_PN=OpenEXR
 
 DESCRIPTION="ILM's OpenEXR high dynamic-range image file format libraries"
-HOMEPAGE="https://www.openexr.com/;
+HOMEPAGE="https://openexr.com/;
 
SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz"
 
 LICENSE="BSD"
@@ -21,8 +21,6 @@ RESTRICT="!test? ( test )"
 RDEPEND="
>=dev-libs/Imath-${PV}:=
sys-libs/zlib
-   !media-libs/openexr:3
-   !media-libs/ilmbase
 "
 DEPEND="${RDEPEND}"
 BDEPEND="

diff --git a/media-libs/openexr/openexr-3.1.7.ebuild 
b/media-libs/openexr/openexr-3.1.7.ebuild
index 445494079498..bc11bb9507bc 100644
--- a/media-libs/openexr/openexr-3.1.7.ebuild
+++ b/media-libs/openexr/openexr-3.1.7.ebuild
@@ -8,7 +8,7 @@ inherit cmake flag-o-matic
 MY_PN=OpenEXR
 
 DESCRIPTION="ILM's OpenEXR high dynamic-range image file format libraries"
-HOMEPAGE="https://www.openexr.com/;
+HOMEPAGE="https://openexr.com/;
 
SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz"
 
 LICENSE="BSD"
@@ -21,8 +21,6 @@ RESTRICT="!test? ( test )"
 RDEPEND="
>=dev-libs/Imath-3.1.6:=
sys-libs/zlib
-   !media-libs/openexr:3
-   !media-libs/ilmbase
 "
 DEPEND="${RDEPEND}"
 BDEPEND="virtual/pkgconfig"



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/, media-libs/OpenImageIO/, dev-games/openscenegraph/, ...

2023-10-26 Thread Sam James
commit: 02ddc476fa118b2a164ee6eec1cfafb19b86c530
Author: Paul Zander  gmail  com>
AuthorDate: Wed Oct 11 21:01:07 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct 27 02:31:50 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02ddc476

dev-libs/imath -> dev-libs/Imath: rename

* match repo name so we can avoid extra logic

Signed-off-by: Paul Zander  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 app-office/calligra/calligra-3.2.1-r8.ebuild | 2 +-
 .../openscenegraph-openmw/openscenegraph-openmw-3.6_p20221115.ebuild | 2 +-
 dev-games/openscenegraph/openscenegraph-3.6.5-r114.ebuild| 2 +-
 dev-libs/{imath/imath-3.1.6.ebuild => Imath/Imath-3.1.6.ebuild}  | 5 +
 dev-libs/{imath/imath-3.1.7.ebuild => Imath/Imath-3.1.7.ebuild}  | 5 +
 dev-libs/{imath => Imath}/Manifest   | 4 ++--
 dev-libs/{imath => Imath}/metadata.xml   | 0
 media-gfx/alembic/alembic-1.8.4.ebuild   | 4 ++--
 media-gfx/alembic/alembic-1.8.5.ebuild   | 4 ++--
 media-gfx/blender/blender-3.3.6-r1.ebuild| 2 +-
 media-gfx/blender/blender-3.3.8.ebuild   | 2 +-
 media-gfx/blender/blender-3.4.1-r3.ebuild| 2 +-
 media-gfx/blender/blender-3.5.1-r1.ebuild| 2 +-
 media-gfx/blender/blender-3.6.0.ebuild   | 2 +-
 media-gfx/blender/blender-.ebuild| 2 +-
 media-gfx/gmic/gmic-3.2.6.ebuild | 2 +-
 media-gfx/mandelbulber/mandelbulber-2.28-r1.ebuild   | 2 +-
 media-gfx/openvdb/openvdb-10.0.1.ebuild  | 2 +-
 media-gfx/superslicer/superslicer-2.5.59.0-r3.ebuild | 2 +-
 media-gfx/superslicer/superslicer-2.5.59.2-r2.ebuild | 2 +-
 media-libs/Field3D/Field3D-1.7.2-r3.ebuild   | 2 +-
 media-libs/OpenColorIO/OpenColorIO-2.1.3.ebuild  | 2 +-
 media-libs/OpenColorIO/OpenColorIO-2.2.1.ebuild  | 2 +-
 media-libs/OpenColorIO/OpenColorIO-2.3.0.ebuild  | 2 +-
 media-libs/OpenImageIO/OpenImageIO-2.4.12.0.ebuild   | 2 +-
 media-libs/OpenImageIO/OpenImageIO-2.4.13.0.ebuild   | 2 +-
 media-libs/OpenImageIO/OpenImageIO-2.4.6.0-r1.ebuild | 2 +-
 media-libs/ctl/ctl-1.5.2_p20221224.ebuild| 2 +-
 media-libs/freeimage/freeimage-3.18.0-r10.ebuild | 2 +-
 media-libs/freeimage/freeimage-3.18.0-r11.ebuild | 2 +-
 media-libs/opencv/opencv-4.6.0-r4.ebuild | 2 +-
 media-libs/opencv/opencv-4.7.0-r1.ebuild | 2 +-
 media-libs/opencv/opencv-4.7.0.ebuild| 2 +-
 media-libs/opencv/opencv-4.8.0-r1.ebuild | 2 +-
 media-libs/opencv/opencv-4.8.0.ebuild| 2 +-
 media-libs/openexr/openexr-3.1.5-r1.ebuild   | 2 +-
 media-libs/openexr/openexr-3.1.7.ebuild  | 2 +-
 media-libs/vigra/vigra-1.11.1-r9.ebuild  | 2 +-
 media-libs/vigra/vigra-.ebuild   | 2 +-
 profiles/package.mask| 2 +-
 profiles/updates/4Q-2023 | 1 +
 41 files changed, 43 insertions(+), 48 deletions(-)

diff --git a/app-office/calligra/calligra-3.2.1-r8.ebuild 
b/app-office/calligra/calligra-3.2.1-r8.ebuild
index 49aba50d91f5..0e5e0c94e6e7 100644
--- a/app-office/calligra/calligra-3.2.1-r8.ebuild
+++ b/app-office/calligra/calligra-3.2.1-r8.ebuild
@@ -102,7 +102,7 @@ COMMON_DEPEND="
 "
 DEPEND="${COMMON_DEPEND}
dev-libs/boost
-   lcms? ( dev-libs/imath:3 )
+   lcms? ( dev-libs/Imath:3 )
test? ( >=kde-frameworks/threadweaver-${KFMIN}:5 )
 "
 RDEPEND="${COMMON_DEPEND}

diff --git 
a/dev-games/openscenegraph-openmw/openscenegraph-openmw-3.6_p20221115.ebuild 
b/dev-games/openscenegraph-openmw/openscenegraph-openmw-3.6_p20221115.ebuild
index ef31dfac302f..b5a9ac5db2ba 100644
--- a/dev-games/openscenegraph-openmw/openscenegraph-openmw-3.6_p20221115.ebuild
+++ b/dev-games/openscenegraph-openmw/openscenegraph-openmw-3.6_p20221115.ebuild
@@ -65,7 +65,7 @@ RDEPEND="
las? ( >=sci-geosciences/liblas-1.8.0 )
lua? ( ${LUA_DEPS} )
openexr? (
-   dev-libs/imath:=
+   dev-libs/Imath:=
>=media-libs/openexr-3:=
)
openinventor? ( media-libs/coin )

diff --git a/dev-games/openscenegraph/openscenegraph-3.6.5-r114.ebuild 
b/dev-games/openscenegraph/openscenegraph-3.6.5-r114.ebuild
index 787f6cda77eb..779e46ec2109 100644
--- 

[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2023-09-08 Thread Joonas Niilola
commit: c11b2c7c31d8e65bd9ecbf25ea75a84bacecb88f
Author: Joonas Niilola  gentoo  org>
AuthorDate: Fri Sep  8 07:11:40 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Sep  8 07:11:40 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c11b2c7c

media-libs/openexr: Stabilize 3.1.7 amd64, #913807

Signed-off-by: Joonas Niilola  gentoo.org>

 media-libs/openexr/openexr-3.1.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/openexr/openexr-3.1.7.ebuild 
b/media-libs/openexr/openexr-3.1.7.ebuild
index dcccaf7c7a57..12680a4b107b 100644
--- a/media-libs/openexr/openexr-3.1.7.ebuild
+++ b/media-libs/openexr/openexr-3.1.7.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/
 LICENSE="BSD"
 SLOT="0/30" # based on SONAME
 # -ppc -sparc because broken on big endian, bug #818424
-KEYWORDS="~amd64 ~arm arm64 ~ia64 ~loong -ppc ~ppc64 ~riscv -sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="amd64 ~arm arm64 ~ia64 ~loong -ppc ~ppc64 ~riscv -sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos"
 IUSE="cpu_flags_x86_avx examples large-stack utils test threads"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2023-09-08 Thread Joonas Niilola
commit: 97a9532fbc7084f8ef41ee9bd6b5f4e8b07ed43a
Author: Joonas Niilola  gentoo  org>
AuthorDate: Fri Sep  8 07:12:13 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Sep  8 07:12:13 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97a9532f

media-libs/openexr: Stabilize 3.1.7 x86, #913807

Signed-off-by: Joonas Niilola  gentoo.org>

 media-libs/openexr/openexr-3.1.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/openexr/openexr-3.1.7.ebuild 
b/media-libs/openexr/openexr-3.1.7.ebuild
index 12680a4b107b..2ec269776660 100644
--- a/media-libs/openexr/openexr-3.1.7.ebuild
+++ b/media-libs/openexr/openexr-3.1.7.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/
 LICENSE="BSD"
 SLOT="0/30" # based on SONAME
 # -ppc -sparc because broken on big endian, bug #818424
-KEYWORDS="amd64 ~arm arm64 ~ia64 ~loong -ppc ~ppc64 ~riscv -sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="amd64 ~arm arm64 ~ia64 ~loong -ppc ~ppc64 ~riscv -sparc x86 
~amd64-linux ~x86-linux ~x64-macos"
 IUSE="cpu_flags_x86_avx examples large-stack utils test threads"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2023-04-10 Thread Joonas Niilola
commit: 511aa1e14b487d38be0774048ca42ca4aaed8359
Author: Bernd Waibel  posteo  net>
AuthorDate: Sat Mar 18 06:49:08 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Apr 10 07:37:23 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=511aa1e1

media-libs/openexr: add 3.1.7

Closes: https://bugs.gentoo.org/901201
Signed-off-by: Bernd Waibel  posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/30203
Signed-off-by: Joonas Niilola  gentoo.org>

 media-libs/openexr/Manifest |  1 +
 media-libs/openexr/openexr-3.1.7.ebuild | 71 +
 2 files changed, 72 insertions(+)

diff --git a/media-libs/openexr/Manifest b/media-libs/openexr/Manifest
index 3a13467779b7..b628bae952f4 100644
--- a/media-libs/openexr/Manifest
+++ b/media-libs/openexr/Manifest
@@ -1 +1,2 @@
 DIST openexr-3.1.5.tar.gz 20327926 BLAKE2B 
77ece3c62b34292d4714873149a5a54a47fe811e96f992f1082e7dca99ad7717649f937c2dd7b18011c4201f15056526fc4b706c4d2f1b7fa593b9f1ed6314bd
 SHA512 
01ef16eacd2dde83c67b81522bae87f47ba272a41ce7d4e35d865dbdcaa03093e7ac504b95d2c1b3a19535f2364a4f937b0e0570c74243bb1c6e021fce7b620c
+DIST openexr-3.1.7.tar.gz 20494812 BLAKE2B 
2cc03ed8da77f4a9523b7a0f55c78e78ab55f8f6de67cb68f1b2b4ad4b512448d80f39d60a0cc9eab451da35539027a573a0c6d6900e7f81b39f90703909b5af
 SHA512 
f72f5e728f10c06fca0172c9b4c1df752225c3aed7384b4eaa502f92f8547bb1df93fe96d4d132a81eb32b729cb9fd615be825aa6c5de78481d3038c0d47c4d5

diff --git a/media-libs/openexr/openexr-3.1.7.ebuild 
b/media-libs/openexr/openexr-3.1.7.ebuild
new file mode 100644
index ..6022920a5566
--- /dev/null
+++ b/media-libs/openexr/openexr-3.1.7.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake flag-o-matic
+
+MY_PN=OpenEXR
+
+DESCRIPTION="ILM's OpenEXR high dynamic-range image file format libraries"
+HOMEPAGE="https://www.openexr.com/;
+SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/30" # based on SONAME
+# -ppc -sparc because broken on big endian, bug #818424
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong -ppc ~ppc64 ~riscv -sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos ~x86-solaris"
+IUSE="cpu_flags_x86_avx examples large-stack utils test threads"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   >=dev-libs/imath-3.1.6:=
+   sys-libs/zlib
+   !media-libs/openexr:3
+   !media-libs/ilmbase
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=( "${FILESDIR}"/${PN}-3.1.1-0003-disable-failing-test.patch )
+DOCS=( CHANGES.md GOVERNANCE.md PATENTS README.md SECURITY.md )
+
+src_prepare() {
+   # Fix path for testsuite
+   sed -e "s:/var/tmp/:${T}:" \
+   -i "${S}"/src/test/${MY_PN}Test/tmpDir.h || die "failed to set 
temp path for tests"
+
+   if use x86; then
+   eapply 
"${FILESDIR}"/${PN}-3.1.5-drop-failing-testDwaLookups.patch
+   fi
+
+   cmake_src_prepare
+}
+
+src_configure() {
+   if use x86; then
+   replace-cpu-flags native i686
+   fi
+
+   local mycmakeargs=(
+   -DBUILD_DOCS=OFF # needs sphinx_press_theme which we don't have 
in ::gentoo
+   -DBUILD_TESTING=$(usex test)
+   -DOPENEXR_BUILD_TOOLS=$(usex utils)
+   -DOPENEXR_ENABLE_LARGE_STACK=$(usex large-stack)
+   -DOPENEXR_ENABLE_THREADING=$(usex threads)
+   -DOPENEXR_INSTALL_EXAMPLES=$(usex examples)
+   -DOPENEXR_INSTALL_PKG_CONFIG=ON
+   -DOPENEXR_INSTALL_TOOLS=$(usex utils)
+   -DOPENEXR_USE_CLANG_TIDY=OFF # don't look for clang-tidy
+   )
+
+   use test && mycmakeargs+=( -DOPENEXR_RUN_FUZZ_TESTS=ON )
+
+   cmake_src_configure
+}
+
+src_install() {
+   use examples && docompress -x /usr/share/doc/${PF}/examples
+
+   cmake_src_install
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/files/, media-libs/openexr/

2023-01-28 Thread Andreas Sturmlechner
commit: cb815ca5634fd66f398d1e58cfd35a61688114cd
Author: Bernd Waibel  posteo  net>
AuthorDate: Sat Jan 28 10:24:52 2023 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Jan 28 11:26:42 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb815ca5

media-libs/openexr: drop 2.5.8

Bug: https://bugs.gentoo.org/817431
Bug: https://bugs.gentoo.org/830384
Bug: https://bugs.gentoo.org/838079
Signed-off-by: Bernd Waibel  posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/29317
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 media-libs/openexr/Manifest|  1 -
 2-0001-IlmImfTest-main.cpp-disable-tests.patch | 40 -
 ...xr-2.5.7-0002-increase-IlmImfTest-timeout.patch | 13 
 media-libs/openexr/openexr-2.5.8.ebuild| 70 --
 4 files changed, 124 deletions(-)

diff --git a/media-libs/openexr/Manifest b/media-libs/openexr/Manifest
index bd6854bc0ea7..3a13467779b7 100644
--- a/media-libs/openexr/Manifest
+++ b/media-libs/openexr/Manifest
@@ -1,2 +1 @@
-DIST openexr-2.5.8.tar.gz 27539605 BLAKE2B 
b54b72aa82c947fd7f252bf4d15b2727be2da7cdd257a9d96c6c2a3c892438ff850177549144e492617bfe5d260ddd14d21eac70a55f124784bbdf5f7077d1e9
 SHA512 
5b1ad99cfa639892292109a26c084868b3fe0acf572dd69750e951cec2127d63c78309241de92b0052f0abe50d86f2518e3185194121010db5f826d217e37f4f
 DIST openexr-3.1.5.tar.gz 20327926 BLAKE2B 
77ece3c62b34292d4714873149a5a54a47fe811e96f992f1082e7dca99ad7717649f937c2dd7b18011c4201f15056526fc4b706c4d2f1b7fa593b9f1ed6314bd
 SHA512 
01ef16eacd2dde83c67b81522bae87f47ba272a41ce7d4e35d865dbdcaa03093e7ac504b95d2c1b3a19535f2364a4f937b0e0570c74243bb1c6e021fce7b620c

diff --git 
a/media-libs/openexr/files/openexr-2.5.2-0001-IlmImfTest-main.cpp-disable-tests.patch
 
b/media-libs/openexr/files/openexr-2.5.2-0001-IlmImfTest-main.cpp-disable-tests.patch
deleted file mode 100644
index a77705cb5a7d..
--- 
a/media-libs/openexr/files/openexr-2.5.2-0001-IlmImfTest-main.cpp-disable-tests.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From 866442b28b53f773efbb3690b6252d2e75bee137 Mon Sep 17 00:00:00 2001
-From: Bernd Waibel 
-Date: Fri, 3 Jul 2020 15:34:47 +0200
-Subject: [PATCH] IlmImfTest/main.cpp: disable tests
-
-Disable testOptimizedInterleavePatterns and testDwaLookup, which
-are not working on x86.
-For testOptimizedInterleavePatterns, see
-https://github.com/AcademySoftwareFoundation/openexr/issues/67#issuecomment-21169748
-
-Signed-off-by: Bernd Waibel 

- IlmImfTest/main.cpp | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/IlmImfTest/main.cpp b/IlmImfTest/main.cpp
-index 3245fc4..4ab45b1 100644
 a/IlmImfTest/main.cpp
-+++ b/IlmImfTest/main.cpp
-@@ -228,7 +228,7 @@ main (int argc, char *argv[])
- TEST (testExistingStreams, "core");
- TEST (testStandardAttributes, "core");
- TEST (testOptimized, "basic");
--TEST (testOptimizedInterleavePatterns, "basic");
-+//TEST (testOptimizedInterleavePatterns, "basic");
- TEST (testYca, "basic");
- TEST (testTiledYa, "basic");
- TEST (testNativeFormat, "basic");
-@@ -255,7 +255,7 @@ main (int argc, char *argv[])
- TEST (testDwaCompressorSimd, "basic");
- TEST (testRle, "core");
- TEST (testB44ExpLogTable, "core");
--TEST (testDwaLookups, "core");
-+//TEST (testDwaLookups, "core");
- 
- 
- //#ifdef ENABLE_IMFHUGETEST
--- 
-2.27.0
-

diff --git 
a/media-libs/openexr/files/openexr-2.5.7-0002-increase-IlmImfTest-timeout.patch 
b/media-libs/openexr/files/openexr-2.5.7-0002-increase-IlmImfTest-timeout.patch
deleted file mode 100644
index ef71bc0e6871..
--- 
a/media-libs/openexr/files/openexr-2.5.7-0002-increase-IlmImfTest-timeout.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-This consists of A LOT of individual tests and on some hardware
-(e.g. the RISC-V board BeagleV Starlight) the default test time-out
-of 1500 seconds is greatly insufficient. On said BeagleV OpenEXR.IlmImf
-takes almost 4800 s even on an otherwise idle system so let's add a bit
-of margin and set the time-out of this test to 1.5 hours.
-
 a/IlmImfTest/CMakeLists.txt2021-06-15 00:15:14.0 +
-+++ b/IlmImfTest/CMakeLists.txt2021-07-16 16:51:20.600435829 +
-@@ -73,3 +73,4 @@
-   target_compile_definitions(IlmImfTest PRIVATE OPENEXR_DLL)
- endif()
- add_test(NAME OpenEXR.IlmImf COMMAND $)
-+set_tests_properties(OpenEXR.IlmImf PROPERTIES TIMEOUT 5400)

diff --git a/media-libs/openexr/openexr-2.5.8.ebuild 
b/media-libs/openexr/openexr-2.5.8.ebuild
deleted file mode 100644
index fbe8a897d4ff..
--- a/media-libs/openexr/openexr-2.5.8.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake-multilib
-
-DESCRIPTION="ILM's OpenEXR high dynamic-range image file format libraries"
-HOMEPAGE="https://www.openexr.com/;

[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2023-01-12 Thread Yixun Lan
commit: f324f03a1190c04e0e51b810df2d3dde82a13917
Author: Yixun Lan  gentoo  org>
AuthorDate: Fri Jan 13 00:19:06 2023 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Fri Jan 13 00:20:04 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f324f03a

media-libs/openexr: drop 3.1.5

this is necessary after dev-libs/imath-3.1.5 dropped

Signed-off-by: Yixun Lan  gentoo.org>

 media-libs/openexr/openexr-3.1.5.ebuild | 79 -
 1 file changed, 79 deletions(-)

diff --git a/media-libs/openexr/openexr-3.1.5.ebuild 
b/media-libs/openexr/openexr-3.1.5.ebuild
deleted file mode 100644
index ffa3ffbf3b37..
--- a/media-libs/openexr/openexr-3.1.5.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake flag-o-matic
-
-MY_PN=OpenEXR
-
-DESCRIPTION="ILM's OpenEXR high dynamic-range image file format libraries"
-HOMEPAGE="https://www.openexr.com/;
-SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0/30" # based on SONAME
-# -ppc -sparc because broken on big endian, bug #818424
-KEYWORDS="amd64 ~arm arm64 ~ia64 ~loong -ppc ~ppc64 ~riscv -sparc x86 
~amd64-linux ~x86-linux ~x64-macos ~x86-solaris"
-IUSE="cpu_flags_x86_avx doc examples large-stack utils test threads"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   ~dev-libs/imath-${PV}:=
-   sys-libs/zlib
-   !media-libs/openexr:3
-   !media-libs/ilmbase
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   doc? ( dev-python/breathe )
-   virtual/pkgconfig
-"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-3.1.1-0003-disable-failing-test.patch
-   
"${FILESDIR}"/${P}-Add-missing-include-cstdint-required-by-gcc-13-1264.patch
-   "${FILESDIR}"/${P}-add-missed-include-cstdint-statement.patch
-)
-
-DOCS=( CHANGES.md GOVERNANCE.md PATENTS README.md SECURITY.md 
docs/SymbolVisibility.md )
-
-src_prepare() {
-   # Fix path for testsuite
-   sed -e "s:/var/tmp/:${T}:" \
-   -i "${S}"/src/test/${MY_PN}{,Fuzz,Util}Test/tmpDir.h || die 
"failed to set temp path for tests"
-
-   if use x86; then
-   eapply "${FILESDIR}"/${P}-drop-failing-testDwaLookups.patch
-   fi
-
-   cmake_src_prepare
-}
-
-src_configure() {
-   if use x86; then
-   replace-cpu-flags native i686
-   fi
-
-   local mycmakeargs=(
-   -DBUILD_TESTING=$(usex test)
-   -DDOCS=$(usex doc)
-   -DOPENEXR_BUILD_TOOLS=$(usex utils)
-   -DOPENEXR_ENABLE_LARGE_STACK=$(usex large-stack)
-   -DOPENEXR_ENABLE_THREADING=$(usex threads)
-   -DOPENEXR_INSTALL_EXAMPLES=$(usex examples)
-   -DOPENEXR_INSTALL_PKG_CONFIG=ON
-   -DOPENEXR_INSTALL_TOOLS=$(usex utils)
-   -DOPENEXR_USE_CLANG_TIDY=OFF # don't look for clang-tidy
-   )
-
-   use test && mycmakeargs+=( -DOPENEXR_RUN_FUZZ_TESTS=ON )
-
-   cmake_src_configure
-}
-
-src_install() {
-   use examples && docompress -x /usr/share/doc/${PF}/examples
-
-   cmake_src_install
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2023-01-12 Thread Yixun Lan
commit: 89e9210441999ca865b9b980a3c4446edb21c224
Author: Yixun Lan  gentoo  org>
AuthorDate: Fri Jan 13 00:07:07 2023 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Fri Jan 13 00:07:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89e92104

media-libs/openexr: stabilize 3.1.5-r1 for x86, #890445

Signed-off-by: Yixun Lan  gentoo.org>

 media-libs/openexr/openexr-3.1.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/openexr/openexr-3.1.5-r1.ebuild 
b/media-libs/openexr/openexr-3.1.5-r1.ebuild
index 80f5ea2cb0f2..545e236dc104 100644
--- a/media-libs/openexr/openexr-3.1.5-r1.ebuild
+++ b/media-libs/openexr/openexr-3.1.5-r1.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/
 LICENSE="BSD"
 SLOT="0/30" # based on SONAME
 # -ppc -sparc because broken on big endian, bug #818424
-KEYWORDS="amd64 ~arm arm64 ~ia64 ~loong -ppc ~ppc64 ~riscv -sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos ~x86-solaris"
+KEYWORDS="amd64 ~arm arm64 ~ia64 ~loong -ppc ~ppc64 ~riscv -sparc x86 
~amd64-linux ~x86-linux ~x64-macos ~x86-solaris"
 IUSE="cpu_flags_x86_avx doc examples large-stack utils test threads"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2023-01-11 Thread Sam James
commit: d7376b588d00cbf55ce21dde3311d04e33d2ca13
Author: Sam James  gentoo  org>
AuthorDate: Wed Jan 11 08:31:30 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jan 11 08:31:44 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7376b58

media-libs/openexr: Stabilize 3.1.5-r1 amd64, #890445

Signed-off-by: Sam James  gentoo.org>

 media-libs/openexr/openexr-3.1.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/openexr/openexr-3.1.5-r1.ebuild 
b/media-libs/openexr/openexr-3.1.5-r1.ebuild
index 1ae728d7b37e..80f5ea2cb0f2 100644
--- a/media-libs/openexr/openexr-3.1.5-r1.ebuild
+++ b/media-libs/openexr/openexr-3.1.5-r1.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/
 LICENSE="BSD"
 SLOT="0/30" # based on SONAME
 # -ppc -sparc because broken on big endian, bug #818424
-KEYWORDS="~amd64 ~arm arm64 ~ia64 ~loong -ppc ~ppc64 ~riscv -sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos ~x86-solaris"
+KEYWORDS="amd64 ~arm arm64 ~ia64 ~loong -ppc ~ppc64 ~riscv -sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos ~x86-solaris"
 IUSE="cpu_flags_x86_avx doc examples large-stack utils test threads"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2023-01-11 Thread Arthur Zamarin
commit: a751499a0472888ead1fef16f477744abeb04bf9
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Jan 11 08:23:11 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Jan 11 08:23:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a751499a

media-libs/openexr: Stabilize 3.1.5-r1 arm64, #890445

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-libs/openexr/openexr-3.1.5-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/openexr/openexr-3.1.5-r1.ebuild 
b/media-libs/openexr/openexr-3.1.5-r1.ebuild
index 48224fa049f9..1ae728d7b37e 100644
--- a/media-libs/openexr/openexr-3.1.5-r1.ebuild
+++ b/media-libs/openexr/openexr-3.1.5-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/
 LICENSE="BSD"
 SLOT="0/30" # based on SONAME
 # -ppc -sparc because broken on big endian, bug #818424
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong -ppc ~ppc64 ~riscv -sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos ~x86-solaris"
+KEYWORDS="~amd64 ~arm arm64 ~ia64 ~loong -ppc ~ppc64 ~riscv -sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos ~x86-solaris"
 IUSE="cpu_flags_x86_avx doc examples large-stack utils test threads"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2022-11-23 Thread Joonas Niilola
commit: fd0604a9d022357679f853b1ff195b7c66d33de0
Author: Bernd Waibel  posteo  net>
AuthorDate: Mon Nov 14 16:59:36 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Nov 23 17:55:08 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd0604a9

media-libs/openexr: loosen dependency on dev-libs/imath

Package builds with dev-libs/imath-3.1.6, so don't restrict to the
same version.

Signed-off-by: Bernd Waibel  posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/28265
Signed-off-by: Joonas Niilola  gentoo.org>

 media-libs/openexr/openexr-3.1.5-r1.ebuild | 79 ++
 1 file changed, 79 insertions(+)

diff --git a/media-libs/openexr/openexr-3.1.5-r1.ebuild 
b/media-libs/openexr/openexr-3.1.5-r1.ebuild
new file mode 100644
index ..48224fa049f9
--- /dev/null
+++ b/media-libs/openexr/openexr-3.1.5-r1.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake flag-o-matic
+
+MY_PN=OpenEXR
+
+DESCRIPTION="ILM's OpenEXR high dynamic-range image file format libraries"
+HOMEPAGE="https://www.openexr.com/;
+SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/30" # based on SONAME
+# -ppc -sparc because broken on big endian, bug #818424
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong -ppc ~ppc64 ~riscv -sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos ~x86-solaris"
+IUSE="cpu_flags_x86_avx doc examples large-stack utils test threads"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   >=dev-libs/imath-${PV}:=
+   sys-libs/zlib
+   !media-libs/openexr:3
+   !media-libs/ilmbase
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   doc? ( dev-python/breathe )
+   virtual/pkgconfig
+"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-3.1.1-0003-disable-failing-test.patch
+   
"${FILESDIR}"/${P}-Add-missing-include-cstdint-required-by-gcc-13-1264.patch
+   "${FILESDIR}"/${P}-add-missed-include-cstdint-statement.patch
+)
+
+DOCS=( CHANGES.md GOVERNANCE.md PATENTS README.md SECURITY.md 
docs/SymbolVisibility.md )
+
+src_prepare() {
+   # Fix path for testsuite
+   sed -e "s:/var/tmp/:${T}:" \
+   -i "${S}"/src/test/${MY_PN}{,Fuzz,Util}Test/tmpDir.h || die 
"failed to set temp path for tests"
+
+   if use x86; then
+   eapply "${FILESDIR}"/${P}-drop-failing-testDwaLookups.patch
+   fi
+
+   cmake_src_prepare
+}
+
+src_configure() {
+   if use x86; then
+   replace-cpu-flags native i686
+   fi
+
+   local mycmakeargs=(
+   -DBUILD_TESTING=$(usex test)
+   -DDOCS=$(usex doc)
+   -DOPENEXR_BUILD_TOOLS=$(usex utils)
+   -DOPENEXR_ENABLE_LARGE_STACK=$(usex large-stack)
+   -DOPENEXR_ENABLE_THREADING=$(usex threads)
+   -DOPENEXR_INSTALL_EXAMPLES=$(usex examples)
+   -DOPENEXR_INSTALL_PKG_CONFIG=ON
+   -DOPENEXR_INSTALL_TOOLS=$(usex utils)
+   -DOPENEXR_USE_CLANG_TIDY=OFF # don't look for clang-tidy
+   )
+
+   use test && mycmakeargs+=( -DOPENEXR_RUN_FUZZ_TESTS=ON )
+
+   cmake_src_configure
+}
+
+src_install() {
+   use examples && docompress -x /usr/share/doc/${PF}/examples
+
+   cmake_src_install
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2022-11-15 Thread Joonas Niilola
commit: 682f4fec203312e53237dc2ec4bde08ac0eb7f17
Author: Bernd Waibel  posteo  net>
AuthorDate: Mon Nov 14 18:37:29 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Nov 15 18:02:21 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=682f4fec

media-libs/openexr: Revert "media-libs/openexr: Drop old versions"

This reverts commit b2bb3770f9ff7364a4cd05c850dfa121d109bc72.

Some packages still have their dependencies not updated and
will fail to build against openexr-3.

Bug: https://bugs.gentoo.org/817431
Signed-off-by: Bernd Waibel  posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/28267
Signed-off-by: Joonas Niilola  gentoo.org>

 media-libs/openexr/Manifest |  1 +
 media-libs/openexr/openexr-2.5.8.ebuild | 70 +
 2 files changed, 71 insertions(+)

diff --git a/media-libs/openexr/Manifest b/media-libs/openexr/Manifest
index 3a13467779b7..bd6854bc0ea7 100644
--- a/media-libs/openexr/Manifest
+++ b/media-libs/openexr/Manifest
@@ -1 +1,2 @@
+DIST openexr-2.5.8.tar.gz 27539605 BLAKE2B 
b54b72aa82c947fd7f252bf4d15b2727be2da7cdd257a9d96c6c2a3c892438ff850177549144e492617bfe5d260ddd14d21eac70a55f124784bbdf5f7077d1e9
 SHA512 
5b1ad99cfa639892292109a26c084868b3fe0acf572dd69750e951cec2127d63c78309241de92b0052f0abe50d86f2518e3185194121010db5f826d217e37f4f
 DIST openexr-3.1.5.tar.gz 20327926 BLAKE2B 
77ece3c62b34292d4714873149a5a54a47fe811e96f992f1082e7dca99ad7717649f937c2dd7b18011c4201f15056526fc4b706c4d2f1b7fa593b9f1ed6314bd
 SHA512 
01ef16eacd2dde83c67b81522bae87f47ba272a41ce7d4e35d865dbdcaa03093e7ac504b95d2c1b3a19535f2364a4f937b0e0570c74243bb1c6e021fce7b620c

diff --git a/media-libs/openexr/openexr-2.5.8.ebuild 
b/media-libs/openexr/openexr-2.5.8.ebuild
new file mode 100644
index ..fbe8a897d4ff
--- /dev/null
+++ b/media-libs/openexr/openexr-2.5.8.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake-multilib
+
+DESCRIPTION="ILM's OpenEXR high dynamic-range image file format libraries"
+HOMEPAGE="https://www.openexr.com/;
+SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/v${PV}.tar.gz
 -> ${P}.tar.gz"
+S="${WORKDIR}/${P}/OpenEXR"
+
+LICENSE="BSD"
+SLOT="0/25" # based on SONAME
+# -ppc -sparc because broken on big endian, bug #818424
+KEYWORDS="amd64 ~arm arm64 ~ia64 -ppc ~ppc64 ~riscv -sparc x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
+IUSE="cpu_flags_x86_avx doc examples static-libs utils test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   ~media-libs/ilmbase-${PV}:=[static-libs?,${MULTILIB_USEDEP}]
+   sys-libs/zlib[${MULTILIB_USEDEP}]
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+DOCS=( PATENTS README.md )
+
+src_prepare() {
+   # Fix path for testsuite
+   sed -i -e "s:/var/tmp/:${T}:" "${S}"/IlmImfTest/tmpDir.h || die "failed 
to set temp path for tests"
+
+   # disable failing tests on various arches
+   if use test; then
+   if use abi_x86_32; then
+   eapply 
"${FILESDIR}/${PN}-2.5.2-0001-IlmImfTest-main.cpp-disable-tests.patch"
+   fi
+
+   # Technically this doesn't disable anything, it just gives this 
test time to complete.
+   # Could probably be applied unconditionally but will leave this 
to the maintainers.
+   if use riscv; then
+   eapply 
"${FILESDIR}/${PN}-2.5.7-0002-increase-IlmImfTest-timeout.patch"
+   fi
+   fi
+
+   multilib_foreach_abi cmake_src_prepare
+}
+
+multilib_src_configure() {
+   local mycmakeargs=(
+   -DBUILD_TESTING=$(usex test)
+   -DINSTALL_OPENEXR_DOCS=$(usex doc)
+   -DINSTALL_OPENEXR_EXAMPLES=$(usex examples)
+   -DOPENEXR_BUILD_BOTH_STATIC_SHARED=$(usex static-libs)
+   -DOPENEXR_BUILD_UTILS=$(usex utils)
+   -DOPENEXR_INSTALL_PKG_CONFIG=ON
+   -DOPENEXR_USE_CLANG_TIDY=OFF# don't look for 
clang-tidy
+   )
+
+   cmake_src_configure
+}
+
+multilib_src_install_all() {
+   if use doc; then
+   DOCS+=( doc/*.pdf )
+   fi
+   einstalldocs
+
+   use examples && docompress -x /usr/share/doc/${PF}/examples
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2022-09-28 Thread Joonas Niilola
commit: e7f15717240e71aad00ea50b1661095658a6390b
Author: Bernd Waibel  posteo  net>
AuthorDate: Thu Sep 29 05:21:38 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Sep 29 05:52:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7f15717

media-libs/openexr: drop 3.1.4-r1

Bug: https://bugs.gentoo.org/838079
Signed-off-by: Bernd Waibel  posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/27522
Signed-off-by: Joonas Niilola  gentoo.org>

 media-libs/openexr/Manifest|  1 -
 media-libs/openexr/openexr-3.1.4-r1.ebuild | 73 --
 2 files changed, 74 deletions(-)

diff --git a/media-libs/openexr/Manifest b/media-libs/openexr/Manifest
index c7dae95b412e..bd6854bc0ea7 100644
--- a/media-libs/openexr/Manifest
+++ b/media-libs/openexr/Manifest
@@ -1,3 +1,2 @@
 DIST openexr-2.5.8.tar.gz 27539605 BLAKE2B 
b54b72aa82c947fd7f252bf4d15b2727be2da7cdd257a9d96c6c2a3c892438ff850177549144e492617bfe5d260ddd14d21eac70a55f124784bbdf5f7077d1e9
 SHA512 
5b1ad99cfa639892292109a26c084868b3fe0acf572dd69750e951cec2127d63c78309241de92b0052f0abe50d86f2518e3185194121010db5f826d217e37f4f
-DIST openexr-3.1.4.tar.gz 20323658 BLAKE2B 
d3726023f920fa719b1832d3be2df36a95cac8c67fdd4b23a7166398a282fa01d5c07065afd92f7b28f178c47843f82eb7a0f2b77742725b359c8f275d2ef1d0
 SHA512 
612ab3467f9ccf2779e1592361cb07459571122e10c0a0b3020430cfa34fa3b91ca1d63cc12a5f85d5b53b277b3f7a88862e6477f0f3566a4196b8245f6bfe12
 DIST openexr-3.1.5.tar.gz 20327926 BLAKE2B 
77ece3c62b34292d4714873149a5a54a47fe811e96f992f1082e7dca99ad7717649f937c2dd7b18011c4201f15056526fc4b706c4d2f1b7fa593b9f1ed6314bd
 SHA512 
01ef16eacd2dde83c67b81522bae87f47ba272a41ce7d4e35d865dbdcaa03093e7ac504b95d2c1b3a19535f2364a4f937b0e0570c74243bb1c6e021fce7b620c

diff --git a/media-libs/openexr/openexr-3.1.4-r1.ebuild 
b/media-libs/openexr/openexr-3.1.4-r1.ebuild
deleted file mode 100644
index dd4e602ea9d6..
--- a/media-libs/openexr/openexr-3.1.4-r1.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake
-
-MY_PN=OpenEXR
-MY_PV=$(ver_cut 1)
-MY_P=${MY_PN}-${MY_PV}
-
-DESCRIPTION="ILM's OpenEXR high dynamic-range image file format libraries"
-HOMEPAGE="https://www.openexr.com/;
-SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0/30" # based on SONAME
-# -ppc -sparc because broken on big endian, bug #818424
-KEYWORDS="amd64 ~arm arm64 ~ia64 -ppc ~ppc64 ~riscv -sparc x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
-IUSE="cpu_flags_x86_avx doc examples large-stack utils test threads"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   >=dev-libs/imath-3.1.4-r1:=
-   sys-libs/zlib
-   !media-libs/openexr:3
-   !media-libs/ilmbase
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   doc? ( dev-python/breathe )
-   virtual/pkgconfig
-"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-3.1.1-0003-disable-failing-test.patch
-)
-
-DOCS=( CHANGES.md GOVERNANCE.md PATENTS README.md SECURITY.md 
docs/SymbolVisibility.md )
-
-src_prepare() {
-   # Fix path for testsuite
-   sed -e "s:/var/tmp/:${T}:" \
-   -i "${S}"/src/test/${MY_PN}{,Fuzz,Util}Test/tmpDir.h || die 
"failed to set temp path for tests"
-
-   cmake_src_prepare
-
-   #mv "${S}"/cmake/${MY_PN}.pc.in "${S}"/cmake/${MY_P}.pc.in || die
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DBUILD_TESTING=$(usex test)
-   -DDOCS=$(usex doc)
-   -DOPENEXR_BUILD_TOOLS=$(usex utils)
-   -DOPENEXR_ENABLE_LARGE_STACK=$(usex large-stack)
-   -DOPENEXR_ENABLE_THREADING=$(usex threads)
-   -DOPENEXR_INSTALL_EXAMPLES=$(usex examples)
-   -DOPENEXR_INSTALL_PKG_CONFIG=ON
-   -DOPENEXR_INSTALL_TOOLS=$(usex utils)
-   -DOPENEXR_USE_CLANG_TIDY=OFF # don't look for clang-tidy
-   )
-
-   use test && mycmakeargs+=( -DOPENEXR_RUN_FUZZ_TESTS=ON )
-
-   cmake_src_configure
-}
-
-src_install() {
-   use examples && docompress -x /usr/share/doc/${PF}/examples
-
-   cmake_src_install
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2022-09-28 Thread Joonas Niilola
commit: cdd00687ad9b94a5ede6642068046f16996c7d5c
Author: Joonas Niilola  gentoo  org>
AuthorDate: Wed Sep 28 08:21:01 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Sep 28 09:54:58 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdd00687

media-libs/openexr: Stabilize 3.1.5 x86, #839582

Signed-off-by: Joonas Niilola  gentoo.org>

 media-libs/openexr/openexr-3.1.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/openexr/openexr-3.1.5.ebuild 
b/media-libs/openexr/openexr-3.1.5.ebuild
index 14c4a1e4c3ba..ffa3ffbf3b37 100644
--- a/media-libs/openexr/openexr-3.1.5.ebuild
+++ b/media-libs/openexr/openexr-3.1.5.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/
 LICENSE="BSD"
 SLOT="0/30" # based on SONAME
 # -ppc -sparc because broken on big endian, bug #818424
-KEYWORDS="amd64 ~arm arm64 ~ia64 ~loong -ppc ~ppc64 ~riscv -sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos ~x86-solaris"
+KEYWORDS="amd64 ~arm arm64 ~ia64 ~loong -ppc ~ppc64 ~riscv -sparc x86 
~amd64-linux ~x86-linux ~x64-macos ~x86-solaris"
 IUSE="cpu_flags_x86_avx doc examples large-stack utils test threads"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/, media-libs/openexr/files/

2022-09-28 Thread Joonas Niilola
commit: eaa51858d9d2701d98839236338cad3acd3389c1
Author: Bernd Waibel  posteo  net>
AuthorDate: Tue Sep 27 17:23:45 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Sep 28 08:19:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eaa51858

media-libs/openexr: fix build issue on x86

The package can fail to build on x86_32 if -march=native is set. This
sets the -mf16c intrinsic which isn't available on every x86_32 arch.
The patch replaces -march=native with -march=i686 if x86 is used.

Also disable a failing test for x86.

Closes: https://bugs.gentoo.org/840580
Signed-off-by: Bernd Waibel  posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/27498
Signed-off-by: Joonas Niilola  gentoo.org>

 ...openexr-3.1.5-drop-failing-testDwaLookups.patch | 29 ++
 media-libs/openexr/openexr-3.1.5.ebuild| 10 +++-
 2 files changed, 38 insertions(+), 1 deletion(-)

diff --git 
a/media-libs/openexr/files/openexr-3.1.5-drop-failing-testDwaLookups.patch 
b/media-libs/openexr/files/openexr-3.1.5-drop-failing-testDwaLookups.patch
new file mode 100644
index ..7579ddd23156
--- /dev/null
+++ b/media-libs/openexr/files/openexr-3.1.5-drop-failing-testDwaLookups.patch
@@ -0,0 +1,29 @@
+From 6f3c61b994e9a503fcc9649cba439d81f40901d0 Mon Sep 17 00:00:00 2001
+From: Bernd Waibel 
+Date: Tue, 27 Sep 2022 07:29:11 +0200
+Subject: [PATCH] drop failing testDwaLookups
+
+On x86_32 testDwaLookups fails
+
+Signed-off-by: Bernd Waibel 
+--- a/src/test/OpenEXRTest/main.cpp
 b/src/test/OpenEXRTest/main.cpp
+@@ -65,7 +65,6 @@
+ #include "testDwaCompressorSimd.h"
+ #include "testRle.h"
+ #include "testB44ExpLogTable.h"
+-#include "testDwaLookups.h"
+ #include "testIDManifest.h"
+ 
+ #include "tmpDir.h"
+@@ -229,7 +228,6 @@ main (int argc, char *argv[])
+ TEST (testDwaCompressorSimd, "basic");
+ TEST (testRle, "core");
+ TEST (testB44ExpLogTable, "core");
+-TEST (testDwaLookups, "core");
+ TEST (testIDManifest, "core");
+ 
+ // NB: If you add a test here, make sure to enumerate it in the
+-- 
+2.37.3
+

diff --git a/media-libs/openexr/openexr-3.1.5.ebuild 
b/media-libs/openexr/openexr-3.1.5.ebuild
index b13e0484bc86..14c4a1e4c3ba 100644
--- a/media-libs/openexr/openexr-3.1.5.ebuild
+++ b/media-libs/openexr/openexr-3.1.5.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit cmake
+inherit cmake flag-o-matic
 
 MY_PN=OpenEXR
 
@@ -43,10 +43,18 @@ src_prepare() {
sed -e "s:/var/tmp/:${T}:" \
-i "${S}"/src/test/${MY_PN}{,Fuzz,Util}Test/tmpDir.h || die 
"failed to set temp path for tests"
 
+   if use x86; then
+   eapply "${FILESDIR}"/${P}-drop-failing-testDwaLookups.patch
+   fi
+
cmake_src_prepare
 }
 
 src_configure() {
+   if use x86; then
+   replace-cpu-flags native i686
+   fi
+
local mycmakeargs=(
-DBUILD_TESTING=$(usex test)
-DDOCS=$(usex doc)



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/files/, media-libs/openexr/

2022-09-15 Thread Sam James
commit: 2d8c8e2eec7b620ee7cd388512618073e2bde528
Author: Bernd Waibel  posteo  net>
AuthorDate: Tue Sep  6 17:55:48 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Sep 15 18:39:13 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d8c8e2e

media-libs/openexr: fix build for gcc-13

Additional patch has been provided to upstream at
https://github.com/AcademySoftwareFoundation/openexr/pull/1276

Closes: https://bugs.gentoo.org/868693
Signed-off-by: Bernd Waibel  posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/27169
Signed-off-by: Sam James  gentoo.org>

 ...g-include-cstdint-required-by-gcc-13-1264.patch | 44 ++
 1.5-add-missed-include-cstdint-statement.patch | 21 +++
 media-libs/openexr/openexr-3.1.5.ebuild|  6 ++-
 3 files changed, 70 insertions(+), 1 deletion(-)

diff --git 
a/media-libs/openexr/files/openexr-3.1.5-Add-missing-include-cstdint-required-by-gcc-13-1264.patch
 
b/media-libs/openexr/files/openexr-3.1.5-Add-missing-include-cstdint-required-by-gcc-13-1264.patch
new file mode 100644
index ..3b104089350e
--- /dev/null
+++ 
b/media-libs/openexr/files/openexr-3.1.5-Add-missing-include-cstdint-required-by-gcc-13-1264.patch
@@ -0,0 +1,44 @@
+From 
https://github.com/AcademySoftwareFoundation/openexr/commit/c5763cfdf59ef4880dacdb11664782822a0976cd
+From: Cary Phillips 
+Date: Sun, 31 Jul 2022 13:36:03 -0700
+Subject: [PATCH 1/4] Add missing #include  required by gcc-13 (#1264)
+
+Originally submitted as #1262, thanks.
+
+Signed-off-by: Cary Phillips 
+
+Adapted changes in exrcheck/main.cpp for 3.1.5 code base on Gentoo (different
+ordering of #included header files compared to current HEAD).
+--- a/src/bin/exrcheck/main.cpp
 b/src/bin/exrcheck/main.cpp
+@@ -4,6 +4,7 @@
+ #include 
+ #include 
+ 
++#include 
+ #include 
+ #include 
+ #include 
+--- a/src/lib/OpenEXR/ImfDeepTiledInputFile.h
 b/src/lib/OpenEXR/ImfDeepTiledInputFile.h
+@@ -19,6 +19,7 @@
+ 
+ #include "ImfTileDescription.h"
+ 
++#include 
+ #include 
+ 
+ OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER
+--- a/src/lib/OpenEXR/ImfDeepTiledInputPart.h
 b/src/lib/OpenEXR/ImfDeepTiledInputPart.h
+@@ -10,6 +10,7 @@
+ 
+ #include "ImfTileDescription.h"
+ 
++#include 
+ #include 
+ 
+ OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER
+-- 
+2.37.3
+

diff --git 
a/media-libs/openexr/files/openexr-3.1.5-add-missed-include-cstdint-statement.patch
 
b/media-libs/openexr/files/openexr-3.1.5-add-missed-include-cstdint-statement.patch
new file mode 100644
index ..77ca274703cc
--- /dev/null
+++ 
b/media-libs/openexr/files/openexr-3.1.5-add-missed-include-cstdint-statement.patch
@@ -0,0 +1,21 @@
+https://github.com/AcademySoftwareFoundation/openexr/pull/1276
+
+From 974b14f67e89dddb6710364034116b3f7b9e0247 Mon Sep 17 00:00:00 2001
+From: Bernd Waibel 
+Date: Thu, 15 Sep 2022 18:58:01 +0200
+Subject: [PATCH] add missed #include  statement
+
+Signed-off-by: Bernd Waibel 
+--- a/src/lib/OpenEXR/ImfTiledMisc.h
 b/src/lib/OpenEXR/ImfTiledMisc.h
+@@ -19,6 +19,7 @@
+ 
+ #include 
+ #include 
++#include 
+ 
+ OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER
+ 
+-- 
+2.37.3
+

diff --git a/media-libs/openexr/openexr-3.1.5.ebuild 
b/media-libs/openexr/openexr-3.1.5.ebuild
index 920a0755bd8a..b13e0484bc86 100644
--- a/media-libs/openexr/openexr-3.1.5.ebuild
+++ b/media-libs/openexr/openexr-3.1.5.ebuild
@@ -30,7 +30,11 @@ BDEPEND="
virtual/pkgconfig
 "
 
-PATCHES=( "${FILESDIR}"/${PN}-3.1.1-0003-disable-failing-test.patch )
+PATCHES=(
+   "${FILESDIR}"/${PN}-3.1.1-0003-disable-failing-test.patch
+   
"${FILESDIR}"/${P}-Add-missing-include-cstdint-required-by-gcc-13-1264.patch
+   "${FILESDIR}"/${P}-add-missed-include-cstdint-statement.patch
+)
 
 DOCS=( CHANGES.md GOVERNANCE.md PATENTS README.md SECURITY.md 
docs/SymbolVisibility.md )
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2022-08-15 Thread Andreas Sturmlechner
commit: 423fe936e86a3b3f03a9f64825ed6a73ca9e1e4d
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Mon Aug 15 12:56:46 2022 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Mon Aug 15 14:09:52 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=423fe936

media-libs/openexr: Drop CMAKE_ECLASS meta var superfluous in EAPI-8

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 media-libs/openexr/openexr-2.5.8.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/media-libs/openexr/openexr-2.5.8.ebuild 
b/media-libs/openexr/openexr-2.5.8.ebuild
index e5e93f2625bb..fbe8a897d4ff 100644
--- a/media-libs/openexr/openexr-2.5.8.ebuild
+++ b/media-libs/openexr/openexr-2.5.8.ebuild
@@ -3,7 +3,6 @@
 
 EAPI=8
 
-CMAKE_ECLASS=cmake
 inherit cmake-multilib
 
 DESCRIPTION="ILM's OpenEXR high dynamic-range image file format libraries"



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2022-07-03 Thread Sam James
commit: 32a32c27546cccf7b2bbd5853b7e418114a30ba9
Author: Bernd Waibel  posteo  net>
AuthorDate: Thu Jun 23 15:27:56 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul  3 23:53:50 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32a32c27

media-libs/openexr: drop 2.5.7

cleanup old

Closes: https://bugs.gentoo.org/818424
Signed-off-by: Bernd Waibel  posteo.net>
Signed-off-by: Sam James  gentoo.org>

 media-libs/openexr/Manifest |  1 -
 media-libs/openexr/openexr-2.5.7.ebuild | 75 -
 2 files changed, 76 deletions(-)

diff --git a/media-libs/openexr/Manifest b/media-libs/openexr/Manifest
index 1a6eba876c02..c7dae95b412e 100644
--- a/media-libs/openexr/Manifest
+++ b/media-libs/openexr/Manifest
@@ -1,4 +1,3 @@
-DIST openexr-2.5.7.tar.gz 27539574 BLAKE2B 
58fd81be52e13d2815b6aa8cea6793359379f5ebf866fd45b31ce30cf5f72aa4699625e7cec51189d62fe76f53418c3e0938f9b827d54ad18342e7aa67c8a3d2
 SHA512 
e44edfa2dcfff2fe372ed2ba07b39a472e549025978de178eff26be641767d22d1a3b543fb7672d9b7b2e9f4c308667f785829ed6d9032a2b42f2ffa0163de40
 DIST openexr-2.5.8.tar.gz 27539605 BLAKE2B 
b54b72aa82c947fd7f252bf4d15b2727be2da7cdd257a9d96c6c2a3c892438ff850177549144e492617bfe5d260ddd14d21eac70a55f124784bbdf5f7077d1e9
 SHA512 
5b1ad99cfa639892292109a26c084868b3fe0acf572dd69750e951cec2127d63c78309241de92b0052f0abe50d86f2518e3185194121010db5f826d217e37f4f
 DIST openexr-3.1.4.tar.gz 20323658 BLAKE2B 
d3726023f920fa719b1832d3be2df36a95cac8c67fdd4b23a7166398a282fa01d5c07065afd92f7b28f178c47843f82eb7a0f2b77742725b359c8f275d2ef1d0
 SHA512 
612ab3467f9ccf2779e1592361cb07459571122e10c0a0b3020430cfa34fa3b91ca1d63cc12a5f85d5b53b277b3f7a88862e6477f0f3566a4196b8245f6bfe12
 DIST openexr-3.1.5.tar.gz 20327926 BLAKE2B 
77ece3c62b34292d4714873149a5a54a47fe811e96f992f1082e7dca99ad7717649f937c2dd7b18011c4201f15056526fc4b706c4d2f1b7fa593b9f1ed6314bd
 SHA512 
01ef16eacd2dde83c67b81522bae87f47ba272a41ce7d4e35d865dbdcaa03093e7ac504b95d2c1b3a19535f2364a4f937b0e0570c74243bb1c6e021fce7b620c

diff --git a/media-libs/openexr/openexr-2.5.7.ebuild 
b/media-libs/openexr/openexr-2.5.7.ebuild
deleted file mode 100644
index 990a17843d0d..
--- a/media-libs/openexr/openexr-2.5.7.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-CMAKE_ECLASS=cmake
-inherit cmake-multilib flag-o-matic toolchain-funcs
-
-DESCRIPTION="ILM's OpenEXR high dynamic-range image file format libraries"
-HOMEPAGE="https://www.openexr.com/;
-SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/v${PV}.tar.gz
 -> ${P}.tar.gz"
-S="${WORKDIR}/${P}/OpenEXR"
-
-LICENSE="BSD"
-SLOT="0/25" # based on SONAME
-# -ppc -sparc because broken on big endian, bug #818424
-KEYWORDS="amd64 ~arm arm64 ~ia64 -ppc ~ppc64 ~riscv -sparc x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
-IUSE="cpu_flags_x86_avx doc examples static-libs utils test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   ~media-libs/ilmbase-${PV}:=[static-libs?,${MULTILIB_USEDEP}]
-   sys-libs/zlib[${MULTILIB_USEDEP}]
-"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-DOCS=( PATENTS README.md )
-
-src_prepare() {
-   # Fix path for testsuite
-   sed -i -e "s:/var/tmp/:${T}:" "${S}"/IlmImfTest/tmpDir.h || die "failed 
to set temp path for tests"
-
-   # disable failing tests on various arches
-   if use test; then
-   if use abi_x86_32; then
-   eapply 
"${FILESDIR}/${PN}-2.5.2-0001-IlmImfTest-main.cpp-disable-tests.patch"
-   fi
-
-   # Technically this doesn't disable anything, it just gives this 
test time to complete.
-   # Could probably be applied unconditionally but will leave this 
to the maintainers.
-   if use riscv; then
-   eapply 
"${FILESDIR}/${P}-0002-increase-IlmImfTest-timeout.patch"
-   fi
-
-   if use sparc; then
-   eapply 
"${FILESDIR}/${P}-0001-disable-testRgba-on-sparc.patch"
-   fi
-   fi
-
-   multilib_foreach_abi cmake_src_prepare
-}
-
-multilib_src_configure() {
-   local mycmakeargs=(
-   -DBUILD_TESTING=$(usex test)
-   -DINSTALL_OPENEXR_DOCS=$(usex doc)
-   -DINSTALL_OPENEXR_EXAMPLES=$(usex examples)
-   -DOPENEXR_BUILD_BOTH_STATIC_SHARED=$(usex static-libs)
-   -DOPENEXR_BUILD_UTILS=$(usex utils)
-   -DOPENEXR_INSTALL_PKG_CONFIG=ON
-   -DOPENEXR_USE_CLANG_TIDY=OFF# don't look for 
clang-tidy
-   )
-
-   cmake_src_configure
-}
-
-multilib_src_install_all() {
-   if use doc; then
-   DOCS+=( doc/*.pdf )
-   fi
-   einstalldocs
-
-   use examples && docompress -x /usr/share/doc/${PF}/examples
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/, media-libs/openexr/files/

2022-07-03 Thread Sam James
commit: 0ec76bea6cf18532f4c7ec56e8e51db1e70c8ee3
Author: Bernd Waibel  posteo  net>
AuthorDate: Thu Jun 23 15:29:29 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul  3 23:53:50 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ec76bea

media-libs/openexr: fix typo for patches

Remove patch and bits for sparc machines regarding test patches.
Sparc is keyworded as -sparc, so this patch for failing tests will usually not
be needed.

Signed-off-by: Bernd Waibel  posteo.net>
Signed-off-by: Sam James  gentoo.org>

 ...nexr-2.5.7-0001-disable-testRgba-on-sparc.patch | 31 --
 media-libs/openexr/openexr-2.5.8.ebuild|  6 +
 2 files changed, 1 insertion(+), 36 deletions(-)

diff --git 
a/media-libs/openexr/files/openexr-2.5.7-0001-disable-testRgba-on-sparc.patch 
b/media-libs/openexr/files/openexr-2.5.7-0001-disable-testRgba-on-sparc.patch
deleted file mode 100644
index 368c9173d133..
--- 
a/media-libs/openexr/files/openexr-2.5.7-0001-disable-testRgba-on-sparc.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From: Bernd Waibel 
-Date: Mon, 21 Jun 2021 12:03:02 +0200
-Subject: [PATCH] disable testRgba on sparc
-
-Fails on sparc, bug #656680 and issue
-https://github.com/openexr/openexr/issues/222
-
-Bug: https://bugs.gentoo.org/656680
-Bug: https://github.com/AcademySoftwareFoundation/openexr/issues/222
-
-Signed-off-by: Bernd Waibel 

- IlmImfTest/main.cpp | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/IlmImfTest/main.cpp b/IlmImfTest/main.cpp
-index 3245fc4..3ba3e60 100644
 a/IlmImfTest/main.cpp
-+++ b/IlmImfTest/main.cpp
-@@ -206,7 +206,7 @@ main (int argc, char *argv[])
- TEST (testXdr, "core");
- TEST (testHuf, "core");
- TEST (testWav, "core");
--TEST (testRgba, "basic");
-+//TEST (testRgba, "basic");
- TEST (testLargeDataWindowOffsets, "basic");
- TEST (testSharedFrameBuffer, "basic");
- TEST (testRgbaThreading, "basic");
--- 
-2.32.0
-

diff --git a/media-libs/openexr/openexr-2.5.8.ebuild 
b/media-libs/openexr/openexr-2.5.8.ebuild
index 9040c83eabdb..e5e93f2625bb 100644
--- a/media-libs/openexr/openexr-2.5.8.ebuild
+++ b/media-libs/openexr/openexr-2.5.8.ebuild
@@ -40,11 +40,7 @@ src_prepare() {
# Technically this doesn't disable anything, it just gives this 
test time to complete.
# Could probably be applied unconditionally but will leave this 
to the maintainers.
if use riscv; then
-   eapply 
"${FILESDIR}/${P}-0002-increase-IlmImfTest-timeout.patch"
-   fi
-
-   if use sparc; then
-   eapply 
"${FILESDIR}/${P}-0001-disable-testRgba-on-sparc.patch"
+   eapply 
"${FILESDIR}/${PN}-2.5.7-0002-increase-IlmImfTest-timeout.patch"
fi
fi
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2022-06-22 Thread Arthur Zamarin
commit: 468e530238956b75ee06b89b102d3d5faad4a81d
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Jun 22 16:59:31 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Jun 22 16:59:31 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=468e5302

media-libs/openexr: Stabilize 2.5.8 arm64, #853670

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-libs/openexr/openexr-2.5.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/openexr/openexr-2.5.8.ebuild 
b/media-libs/openexr/openexr-2.5.8.ebuild
index d75df087e093..9040c83eabdb 100644
--- a/media-libs/openexr/openexr-2.5.8.ebuild
+++ b/media-libs/openexr/openexr-2.5.8.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${P}/OpenEXR"
 LICENSE="BSD"
 SLOT="0/25" # based on SONAME
 # -ppc -sparc because broken on big endian, bug #818424
-KEYWORDS="amd64 ~arm ~arm64 ~ia64 -ppc ~ppc64 ~riscv -sparc x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
+KEYWORDS="amd64 ~arm arm64 ~ia64 -ppc ~ppc64 ~riscv -sparc x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
 IUSE="cpu_flags_x86_avx doc examples static-libs utils test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2022-06-22 Thread Joonas Niilola
commit: 79362c415698b13e3821001946e3a331e5af822d
Author: Joonas Niilola  gentoo  org>
AuthorDate: Wed Jun 22 07:00:40 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Jun 22 07:01:19 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79362c41

media-libs/openexr: Stabilize 2.5.8 amd64, #853670

Signed-off-by: Joonas Niilola  gentoo.org>

 media-libs/openexr/openexr-2.5.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/openexr/openexr-2.5.8.ebuild 
b/media-libs/openexr/openexr-2.5.8.ebuild
index 65aca12c7969..d75df087e093 100644
--- a/media-libs/openexr/openexr-2.5.8.ebuild
+++ b/media-libs/openexr/openexr-2.5.8.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${P}/OpenEXR"
 LICENSE="BSD"
 SLOT="0/25" # based on SONAME
 # -ppc -sparc because broken on big endian, bug #818424
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 -ppc ~ppc64 ~riscv -sparc x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
+KEYWORDS="amd64 ~arm ~arm64 ~ia64 -ppc ~ppc64 ~riscv -sparc x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
 IUSE="cpu_flags_x86_avx doc examples static-libs utils test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2022-06-22 Thread Joonas Niilola
commit: 4b795b6e63847de2c38167f06a8bd892336d3e45
Author: Joonas Niilola  gentoo  org>
AuthorDate: Wed Jun 22 06:56:56 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Jun 22 07:01:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b795b6e

media-libs/openexr: Stabilize 2.5.8 x86, #853670

Signed-off-by: Joonas Niilola  gentoo.org>

 media-libs/openexr/openexr-2.5.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/openexr/openexr-2.5.8.ebuild 
b/media-libs/openexr/openexr-2.5.8.ebuild
index 50fc19f16ab7..65aca12c7969 100644
--- a/media-libs/openexr/openexr-2.5.8.ebuild
+++ b/media-libs/openexr/openexr-2.5.8.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${P}/OpenEXR"
 LICENSE="BSD"
 SLOT="0/25" # based on SONAME
 # -ppc -sparc because broken on big endian, bug #818424
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 -ppc ~ppc64 ~riscv -sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 -ppc ~ppc64 ~riscv -sparc x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
 IUSE="cpu_flags_x86_avx doc examples static-libs utils test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2022-05-17 Thread WANG Xuerui
commit: c6df197764453a267896f92c378005598b60d2bf
Author: WANG Xuerui  gentoo  org>
AuthorDate: Tue May 17 12:41:22 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Tue May 17 12:48:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6df1977

media-libs/openexr: keyword 3.1.5 for ~loong

Tests passed on real hardware.

Signed-off-by: WANG Xuerui  gentoo.org>

 media-libs/openexr/openexr-3.1.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/openexr/openexr-3.1.5.ebuild 
b/media-libs/openexr/openexr-3.1.5.ebuild
index ca85d54594e3..920a0755bd8a 100644
--- a/media-libs/openexr/openexr-3.1.5.ebuild
+++ b/media-libs/openexr/openexr-3.1.5.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/
 LICENSE="BSD"
 SLOT="0/30" # based on SONAME
 # -ppc -sparc because broken on big endian, bug #818424
-KEYWORDS="amd64 ~arm arm64 ~ia64 -ppc ~ppc64 ~riscv -sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
+KEYWORDS="amd64 ~arm arm64 ~ia64 ~loong -ppc ~ppc64 ~riscv -sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos ~x86-solaris"
 IUSE="cpu_flags_x86_avx doc examples large-stack utils test threads"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2022-04-22 Thread Arthur Zamarin
commit: 56de6fd876b56c8f3952c6d56dffe75282bc8f0b
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Apr 22 18:18:25 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Apr 22 18:18:25 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56de6fd8

media-libs/openexr: Stabilize 3.1.5 arm64, #839582

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-libs/openexr/openexr-3.1.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/openexr/openexr-3.1.5.ebuild 
b/media-libs/openexr/openexr-3.1.5.ebuild
index 927035b1197d..ca85d54594e3 100644
--- a/media-libs/openexr/openexr-3.1.5.ebuild
+++ b/media-libs/openexr/openexr-3.1.5.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/
 LICENSE="BSD"
 SLOT="0/30" # based on SONAME
 # -ppc -sparc because broken on big endian, bug #818424
-KEYWORDS="amd64 ~arm ~arm64 ~ia64 -ppc ~ppc64 ~riscv -sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
+KEYWORDS="amd64 ~arm arm64 ~ia64 -ppc ~ppc64 ~riscv -sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
 IUSE="cpu_flags_x86_avx doc examples large-stack utils test threads"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2022-04-21 Thread Jakov Smolić
commit: b9fc50860daae3900f48eedf6988cda11e04535d
Author: Jakov Smolić  gentoo  org>
AuthorDate: Thu Apr 21 12:59:57 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Thu Apr 21 12:59:57 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9fc5086

media-libs/openexr: Stabilize 3.1.5 amd64, #839582

Signed-off-by: Jakov Smolić  gentoo.org>

 media-libs/openexr/openexr-3.1.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/openexr/openexr-3.1.5.ebuild 
b/media-libs/openexr/openexr-3.1.5.ebuild
index 53215e6b20de..927035b1197d 100644
--- a/media-libs/openexr/openexr-3.1.5.ebuild
+++ b/media-libs/openexr/openexr-3.1.5.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/
 LICENSE="BSD"
 SLOT="0/30" # based on SONAME
 # -ppc -sparc because broken on big endian, bug #818424
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 -ppc ~ppc64 ~riscv -sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
+KEYWORDS="amd64 ~arm ~arm64 ~ia64 -ppc ~ppc64 ~riscv -sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
 IUSE="cpu_flags_x86_avx doc examples large-stack utils test threads"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2022-04-19 Thread Joonas Niilola
commit: 2cad20e1001813a9869391b4281a435a174a0401
Author: Bernd Waibel  posteo  net>
AuthorDate: Thu Apr 14 04:38:58 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Apr 19 06:41:31 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cad20e1

media-libs/openexr: add 3.1.5

Closes: https://bugs.gentoo.org/837911
Bug: https://bugs.gentoo.org/838079
Signed-off-by: Bernd Waibel  posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/25022
Signed-off-by: Joonas Niilola  gentoo.org>

 media-libs/openexr/Manifest |  1 +
 media-libs/openexr/openexr-3.1.5.ebuild | 67 +
 2 files changed, 68 insertions(+)

diff --git a/media-libs/openexr/Manifest b/media-libs/openexr/Manifest
index 5721a781b067..1a6eba876c02 100644
--- a/media-libs/openexr/Manifest
+++ b/media-libs/openexr/Manifest
@@ -1,3 +1,4 @@
 DIST openexr-2.5.7.tar.gz 27539574 BLAKE2B 
58fd81be52e13d2815b6aa8cea6793359379f5ebf866fd45b31ce30cf5f72aa4699625e7cec51189d62fe76f53418c3e0938f9b827d54ad18342e7aa67c8a3d2
 SHA512 
e44edfa2dcfff2fe372ed2ba07b39a472e549025978de178eff26be641767d22d1a3b543fb7672d9b7b2e9f4c308667f785829ed6d9032a2b42f2ffa0163de40
 DIST openexr-2.5.8.tar.gz 27539605 BLAKE2B 
b54b72aa82c947fd7f252bf4d15b2727be2da7cdd257a9d96c6c2a3c892438ff850177549144e492617bfe5d260ddd14d21eac70a55f124784bbdf5f7077d1e9
 SHA512 
5b1ad99cfa639892292109a26c084868b3fe0acf572dd69750e951cec2127d63c78309241de92b0052f0abe50d86f2518e3185194121010db5f826d217e37f4f
 DIST openexr-3.1.4.tar.gz 20323658 BLAKE2B 
d3726023f920fa719b1832d3be2df36a95cac8c67fdd4b23a7166398a282fa01d5c07065afd92f7b28f178c47843f82eb7a0f2b77742725b359c8f275d2ef1d0
 SHA512 
612ab3467f9ccf2779e1592361cb07459571122e10c0a0b3020430cfa34fa3b91ca1d63cc12a5f85d5b53b277b3f7a88862e6477f0f3566a4196b8245f6bfe12
+DIST openexr-3.1.5.tar.gz 20327926 BLAKE2B 
77ece3c62b34292d4714873149a5a54a47fe811e96f992f1082e7dca99ad7717649f937c2dd7b18011c4201f15056526fc4b706c4d2f1b7fa593b9f1ed6314bd
 SHA512 
01ef16eacd2dde83c67b81522bae87f47ba272a41ce7d4e35d865dbdcaa03093e7ac504b95d2c1b3a19535f2364a4f937b0e0570c74243bb1c6e021fce7b620c

diff --git a/media-libs/openexr/openexr-3.1.5.ebuild 
b/media-libs/openexr/openexr-3.1.5.ebuild
new file mode 100644
index ..53215e6b20de
--- /dev/null
+++ b/media-libs/openexr/openexr-3.1.5.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+MY_PN=OpenEXR
+
+DESCRIPTION="ILM's OpenEXR high dynamic-range image file format libraries"
+HOMEPAGE="https://www.openexr.com/;
+SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/30" # based on SONAME
+# -ppc -sparc because broken on big endian, bug #818424
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 -ppc ~ppc64 ~riscv -sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
+IUSE="cpu_flags_x86_avx doc examples large-stack utils test threads"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   ~dev-libs/imath-${PV}:=
+   sys-libs/zlib
+   !media-libs/openexr:3
+   !media-libs/ilmbase
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   doc? ( dev-python/breathe )
+   virtual/pkgconfig
+"
+
+PATCHES=( "${FILESDIR}"/${PN}-3.1.1-0003-disable-failing-test.patch )
+
+DOCS=( CHANGES.md GOVERNANCE.md PATENTS README.md SECURITY.md 
docs/SymbolVisibility.md )
+
+src_prepare() {
+   # Fix path for testsuite
+   sed -e "s:/var/tmp/:${T}:" \
+   -i "${S}"/src/test/${MY_PN}{,Fuzz,Util}Test/tmpDir.h || die 
"failed to set temp path for tests"
+
+   cmake_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_TESTING=$(usex test)
+   -DDOCS=$(usex doc)
+   -DOPENEXR_BUILD_TOOLS=$(usex utils)
+   -DOPENEXR_ENABLE_LARGE_STACK=$(usex large-stack)
+   -DOPENEXR_ENABLE_THREADING=$(usex threads)
+   -DOPENEXR_INSTALL_EXAMPLES=$(usex examples)
+   -DOPENEXR_INSTALL_PKG_CONFIG=ON
+   -DOPENEXR_INSTALL_TOOLS=$(usex utils)
+   -DOPENEXR_USE_CLANG_TIDY=OFF # don't look for clang-tidy
+   )
+
+   use test && mycmakeargs+=( -DOPENEXR_RUN_FUZZ_TESTS=ON )
+
+   cmake_src_configure
+}
+
+src_install() {
+   use examples && docompress -x /usr/share/doc/${PF}/examples
+
+   cmake_src_install
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2022-04-15 Thread Joonas Niilola
commit: b0d92cef9f5c4b077879766cf32c85aa99419a98
Author: Bernd Waibel  posteo  net>
AuthorDate: Thu Apr  7 08:29:17 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Apr 15 06:18:48 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0d92cef

media-libs/openexr: bump to 2.5.8

Closes: https://bugs.gentoo.org/837062
Signed-off-by: Bernd Waibel  posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/24939
Signed-off-by: Joonas Niilola  gentoo.org>

 media-libs/openexr/Manifest |  1 +
 media-libs/openexr/openexr-2.5.8.ebuild | 75 +
 2 files changed, 76 insertions(+)

diff --git a/media-libs/openexr/Manifest b/media-libs/openexr/Manifest
index 39b88ea65170..5721a781b067 100644
--- a/media-libs/openexr/Manifest
+++ b/media-libs/openexr/Manifest
@@ -1,2 +1,3 @@
 DIST openexr-2.5.7.tar.gz 27539574 BLAKE2B 
58fd81be52e13d2815b6aa8cea6793359379f5ebf866fd45b31ce30cf5f72aa4699625e7cec51189d62fe76f53418c3e0938f9b827d54ad18342e7aa67c8a3d2
 SHA512 
e44edfa2dcfff2fe372ed2ba07b39a472e549025978de178eff26be641767d22d1a3b543fb7672d9b7b2e9f4c308667f785829ed6d9032a2b42f2ffa0163de40
+DIST openexr-2.5.8.tar.gz 27539605 BLAKE2B 
b54b72aa82c947fd7f252bf4d15b2727be2da7cdd257a9d96c6c2a3c892438ff850177549144e492617bfe5d260ddd14d21eac70a55f124784bbdf5f7077d1e9
 SHA512 
5b1ad99cfa639892292109a26c084868b3fe0acf572dd69750e951cec2127d63c78309241de92b0052f0abe50d86f2518e3185194121010db5f826d217e37f4f
 DIST openexr-3.1.4.tar.gz 20323658 BLAKE2B 
d3726023f920fa719b1832d3be2df36a95cac8c67fdd4b23a7166398a282fa01d5c07065afd92f7b28f178c47843f82eb7a0f2b77742725b359c8f275d2ef1d0
 SHA512 
612ab3467f9ccf2779e1592361cb07459571122e10c0a0b3020430cfa34fa3b91ca1d63cc12a5f85d5b53b277b3f7a88862e6477f0f3566a4196b8245f6bfe12

diff --git a/media-libs/openexr/openexr-2.5.8.ebuild 
b/media-libs/openexr/openexr-2.5.8.ebuild
new file mode 100644
index ..50fc19f16ab7
--- /dev/null
+++ b/media-libs/openexr/openexr-2.5.8.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CMAKE_ECLASS=cmake
+inherit cmake-multilib
+
+DESCRIPTION="ILM's OpenEXR high dynamic-range image file format libraries"
+HOMEPAGE="https://www.openexr.com/;
+SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/v${PV}.tar.gz
 -> ${P}.tar.gz"
+S="${WORKDIR}/${P}/OpenEXR"
+
+LICENSE="BSD"
+SLOT="0/25" # based on SONAME
+# -ppc -sparc because broken on big endian, bug #818424
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 -ppc ~ppc64 ~riscv -sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
+IUSE="cpu_flags_x86_avx doc examples static-libs utils test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   ~media-libs/ilmbase-${PV}:=[static-libs?,${MULTILIB_USEDEP}]
+   sys-libs/zlib[${MULTILIB_USEDEP}]
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+DOCS=( PATENTS README.md )
+
+src_prepare() {
+   # Fix path for testsuite
+   sed -i -e "s:/var/tmp/:${T}:" "${S}"/IlmImfTest/tmpDir.h || die "failed 
to set temp path for tests"
+
+   # disable failing tests on various arches
+   if use test; then
+   if use abi_x86_32; then
+   eapply 
"${FILESDIR}/${PN}-2.5.2-0001-IlmImfTest-main.cpp-disable-tests.patch"
+   fi
+
+   # Technically this doesn't disable anything, it just gives this 
test time to complete.
+   # Could probably be applied unconditionally but will leave this 
to the maintainers.
+   if use riscv; then
+   eapply 
"${FILESDIR}/${P}-0002-increase-IlmImfTest-timeout.patch"
+   fi
+
+   if use sparc; then
+   eapply 
"${FILESDIR}/${P}-0001-disable-testRgba-on-sparc.patch"
+   fi
+   fi
+
+   multilib_foreach_abi cmake_src_prepare
+}
+
+multilib_src_configure() {
+   local mycmakeargs=(
+   -DBUILD_TESTING=$(usex test)
+   -DINSTALL_OPENEXR_DOCS=$(usex doc)
+   -DINSTALL_OPENEXR_EXAMPLES=$(usex examples)
+   -DOPENEXR_BUILD_BOTH_STATIC_SHARED=$(usex static-libs)
+   -DOPENEXR_BUILD_UTILS=$(usex utils)
+   -DOPENEXR_INSTALL_PKG_CONFIG=ON
+   -DOPENEXR_USE_CLANG_TIDY=OFF# don't look for 
clang-tidy
+   )
+
+   cmake_src_configure
+}
+
+multilib_src_install_all() {
+   if use doc; then
+   DOCS+=( doc/*.pdf )
+   fi
+   einstalldocs
+
+   use examples && docompress -x /usr/share/doc/${PF}/examples
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/, media-libs/openexr/files/

2022-04-10 Thread Andreas Sturmlechner
commit: 5a1d9ccaaa866fd0a831653dc92588fc59be0085
Author: Bernd Waibel  posteo  net>
AuthorDate: Mon Mar 14 06:01:38 2022 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Apr 10 21:01:49 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a1d9cca

media-libs/openexr: drop 3.1.2, 3.1.3, 3.1.4

Cleanup old and vulnerable slot 3 versions.

Bug: https://bugs.gentoo.org/817431
Bug: https://bugs.gentoo.org/820674
Bug: https://bugs.gentoo.org/830384
Closes: https://bugs.gentoo.org/833158
Signed-off-by: Bernd Waibel  posteo.net>
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 media-libs/openexr/Manifest|   2 -
 ...1-0001-changes-needed-for-proper-slotting.patch | 119 --
 ...0002-add-version-to-binaries-for-slotting.patch | 252 -
 media-libs/openexr/openexr-3.1.2.ebuild|  78 ---
 media-libs/openexr/openexr-3.1.3.ebuild|  78 ---
 media-libs/openexr/openexr-3.1.4.ebuild|  78 ---
 6 files changed, 607 deletions(-)

diff --git a/media-libs/openexr/Manifest b/media-libs/openexr/Manifest
index ea9445536baa..39b88ea65170 100644
--- a/media-libs/openexr/Manifest
+++ b/media-libs/openexr/Manifest
@@ -1,4 +1,2 @@
 DIST openexr-2.5.7.tar.gz 27539574 BLAKE2B 
58fd81be52e13d2815b6aa8cea6793359379f5ebf866fd45b31ce30cf5f72aa4699625e7cec51189d62fe76f53418c3e0938f9b827d54ad18342e7aa67c8a3d2
 SHA512 
e44edfa2dcfff2fe372ed2ba07b39a472e549025978de178eff26be641767d22d1a3b543fb7672d9b7b2e9f4c308667f785829ed6d9032a2b42f2ffa0163de40
-DIST openexr-3.1.2.tar.gz 20315253 BLAKE2B 
d11f26d3e2bb098c4c009271b40da1eca97b120e5683137a0b38f64e2862c226aebff7c17e79344da4a1be5a1967fb8ab0493ff919a7fb5bec16b34e494e49e2
 SHA512 
34fb28f149e49bb23b2dc230dd5277229f2c780de66aff0acc819601e6802a1dbf83110b5df455dffd63be6eaa286d4aedb4b0af559b8b034d98c3208ee9d969
-DIST openexr-3.1.3.tar.gz 20322346 BLAKE2B 
e65cb00d1d9ae7544f6d1adf9c6f05193986b8de7b657fa22d20466f2b6dfccf244b5aa3dbe7f2abb0c934aec68d2007dd9edb391b2bbd8aab331eea7e90
 SHA512 
12a8f3660104e68ccea0856caf334d1fafbf0ee79115aae23cdce5b835299294ab8a23bafed282acfacd159ce9bc7f6ffc620b1e0df0d40f9ca0eb15a288964d
 DIST openexr-3.1.4.tar.gz 20323658 BLAKE2B 
d3726023f920fa719b1832d3be2df36a95cac8c67fdd4b23a7166398a282fa01d5c07065afd92f7b28f178c47843f82eb7a0f2b77742725b359c8f275d2ef1d0
 SHA512 
612ab3467f9ccf2779e1592361cb07459571122e10c0a0b3020430cfa34fa3b91ca1d63cc12a5f85d5b53b277b3f7a88862e6477f0f3566a4196b8245f6bfe12

diff --git 
a/media-libs/openexr/files/openexr-3.1.1-0001-changes-needed-for-proper-slotting.patch
 
b/media-libs/openexr/files/openexr-3.1.1-0001-changes-needed-for-proper-slotting.patch
deleted file mode 100644
index 29aef05acf5a..
--- 
a/media-libs/openexr/files/openexr-3.1.1-0001-changes-needed-for-proper-slotting.patch
+++ /dev/null
@@ -1,119 +0,0 @@
-From: Bernd Waibel 
-Date: Tue, 3 Aug 2021 19:50:40 +0200
-Subject: [PATCH 1/2] changes needed for proper slotting
-
-Signed-off-by: Bernd Waibel 

- cmake/CMakeLists.txt | 8 
- cmake/LibraryDefine.cmake| 8 
- cmake/OpenEXR.pc.in  | 4 ++--
- cmake/OpenEXRLibraryDefine.cmake | 8 
- 4 files changed, 14 insertions(+), 14 deletions(-)
-
-diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
-index 79497d9..a22afd1 100644
 a/cmake/CMakeLists.txt
-+++ b/cmake/CMakeLists.txt
-@@ -205,7 +205,7 @@ if(OPENEXR_INSTALL_PKG_CONFIG)
- DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig
- )
-   endfunction()
--  openexr_pkg_config_help(OpenEXR.pc.in)
-+  openexr_pkg_config_help(OpenEXR-${OpenEXR_VERSION_MAJOR}.pc.in)
- else()
-   message(STATUS "-- pkg-config generation disabled")
- endif()
-@@ -225,7 +225,7 @@ include(CMakePackageConfigHelpers)
- if(OPENEXR_INSTALL)
- configure_package_config_file(${PROJECT_NAME}Config.cmake.in
-   ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake
--  INSTALL_DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}
-+  INSTALL_DESTINATION 
${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}-${OpenEXR_VERSION_MAJOR}
- )
- write_basic_package_version_file("${PROJECT_NAME}ConfigVersion.cmake"
-   VERSION ${PROJECT_VERSION}
-@@ -234,11 +234,11 @@ 
write_basic_package_version_file("${PROJECT_NAME}ConfigVersion.cmake"
- 
- install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake
-   ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}ConfigVersion.cmake
--  DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}
-+  DESTINATION 
${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}-${OpenEXR_VERSION_MAJOR}
- )
- 
- install(EXPORT ${PROJECT_NAME}
--  DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}
-+  DESTINATION 
${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}-${OpenEXR_VERSION_MAJOR}
-   FILE ${PROJECT_NAME}Targets.cmake
-   NAMESPACE ${PROJECT_NAME}::
-   EXPORT_LINK_INTERFACE_LIBRARIES
-diff --git a/cmake/LibraryDefine.cmake b/cmake/LibraryDefine.cmake
-index 

[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2022-03-31 Thread Jakov Smolić
commit: 2a7c9b2a166b2a77e52c13b83e6102a33ffd4b02
Author: Jakov Smolić  gentoo  org>
AuthorDate: Thu Mar 31 18:44:55 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Thu Mar 31 18:44:55 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a7c9b2a

media-libs/openexr: Stabilize 3.1.4 x86, #832726

Signed-off-by: Jakov Smolić  gentoo.org>

 media-libs/openexr/openexr-3.1.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/openexr/openexr-3.1.4.ebuild 
b/media-libs/openexr/openexr-3.1.4.ebuild
index ffe4572facba..de5d41a68c51 100644
--- a/media-libs/openexr/openexr-3.1.4.ebuild
+++ b/media-libs/openexr/openexr-3.1.4.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/
 LICENSE="BSD"
 SLOT="3/30" # based on SONAME
 # -ppc -sparc because broken on big endian, bug #818424
-KEYWORDS="amd64 ~arm arm64 ~ia64 -ppc ~ppc64 ~riscv -sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
+KEYWORDS="amd64 ~arm arm64 ~ia64 -ppc ~ppc64 ~riscv -sparc x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
 IUSE="cpu_flags_x86_avx doc examples large-stack static-libs utils test 
threads"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2022-02-28 Thread Sam James
commit: 112b1a20288227de1343be934d39d56e9cc269c7
Author: Sam James  gentoo  org>
AuthorDate: Tue Mar  1 01:10:54 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar  1 01:10:54 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=112b1a20

media-libs/openexr: drop broken static-libs

It forces off building of shared libs(!) and it
doesn't work anyway (underlinked against zlib, for
a start).

Reported-by: hiyori
Signed-off-by: Sam James  gentoo.org>

 media-libs/openexr/openexr-3.1.4-r1.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/media-libs/openexr/openexr-3.1.4-r1.ebuild 
b/media-libs/openexr/openexr-3.1.4-r1.ebuild
index 282912f3046d..dd4e602ea9d6 100644
--- a/media-libs/openexr/openexr-3.1.4-r1.ebuild
+++ b/media-libs/openexr/openexr-3.1.4-r1.ebuild
@@ -17,7 +17,7 @@ LICENSE="BSD"
 SLOT="0/30" # based on SONAME
 # -ppc -sparc because broken on big endian, bug #818424
 KEYWORDS="amd64 ~arm arm64 ~ia64 -ppc ~ppc64 ~riscv -sparc x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
-IUSE="cpu_flags_x86_avx doc examples large-stack static-libs utils test 
threads"
+IUSE="cpu_flags_x86_avx doc examples large-stack utils test threads"
 RESTRICT="!test? ( test )"
 
 RDEPEND="
@@ -50,7 +50,6 @@ src_prepare() {
 
 src_configure() {
local mycmakeargs=(
-   -DBUILD_SHARED_LIBS=$(usex !static-libs)
-DBUILD_TESTING=$(usex test)
-DDOCS=$(usex doc)
-DOPENEXR_BUILD_TOOLS=$(usex utils)



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2022-02-28 Thread Sam James
commit: 10e20129fdbb10942c029d70efa49e88ce1ace57
Author: Sam James  gentoo  org>
AuthorDate: Tue Mar  1 00:01:27 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar  1 00:01:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10e20129

media-libs/openexr: Stabilize 3.1.4-r1 arm64, #833158

Signed-off-by: Sam James  gentoo.org>

 media-libs/openexr/openexr-3.1.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/openexr/openexr-3.1.4-r1.ebuild 
b/media-libs/openexr/openexr-3.1.4-r1.ebuild
index 50b6ac143aad..282912f3046d 100644
--- a/media-libs/openexr/openexr-3.1.4-r1.ebuild
+++ b/media-libs/openexr/openexr-3.1.4-r1.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/
 LICENSE="BSD"
 SLOT="0/30" # based on SONAME
 # -ppc -sparc because broken on big endian, bug #818424
-KEYWORDS="amd64 ~arm ~arm64 ~ia64 -ppc ~ppc64 ~riscv -sparc x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
+KEYWORDS="amd64 ~arm arm64 ~ia64 -ppc ~ppc64 ~riscv -sparc x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
 IUSE="cpu_flags_x86_avx doc examples large-stack static-libs utils test 
threads"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2022-02-28 Thread Sam James
commit: c11cceed783cd53b22ded0ff723a62ec7fa0c0e7
Author: Sam James  gentoo  org>
AuthorDate: Mon Feb 28 23:56:41 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Feb 28 23:56:41 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c11cceed

media-libs/openexr: Stabilize 3.1.4-r1 x86, #833158

Signed-off-by: Sam James  gentoo.org>

 media-libs/openexr/openexr-3.1.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/openexr/openexr-3.1.4-r1.ebuild 
b/media-libs/openexr/openexr-3.1.4-r1.ebuild
index c6dacb0fd4f4..50b6ac143aad 100644
--- a/media-libs/openexr/openexr-3.1.4-r1.ebuild
+++ b/media-libs/openexr/openexr-3.1.4-r1.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/
 LICENSE="BSD"
 SLOT="0/30" # based on SONAME
 # -ppc -sparc because broken on big endian, bug #818424
-KEYWORDS="amd64 ~arm ~arm64 ~ia64 -ppc ~ppc64 ~riscv -sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
+KEYWORDS="amd64 ~arm ~arm64 ~ia64 -ppc ~ppc64 ~riscv -sparc x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
 IUSE="cpu_flags_x86_avx doc examples large-stack static-libs utils test 
threads"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2022-02-27 Thread Sam James
commit: 0afbbda08e5cd53115c0af318912ff865ec41b38
Author: Sam James  gentoo  org>
AuthorDate: Mon Feb 28 05:19:03 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Feb 28 05:19:03 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0afbbda0

media-libs/openexr: Stabilize 3.1.4-r1 amd64, #833158

Signed-off-by: Sam James  gentoo.org>

 media-libs/openexr/openexr-3.1.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/openexr/openexr-3.1.4-r1.ebuild 
b/media-libs/openexr/openexr-3.1.4-r1.ebuild
index d9484ddf8328..c6dacb0fd4f4 100644
--- a/media-libs/openexr/openexr-3.1.4-r1.ebuild
+++ b/media-libs/openexr/openexr-3.1.4-r1.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/
 LICENSE="BSD"
 SLOT="0/30" # based on SONAME
 # -ppc -sparc because broken on big endian, bug #818424
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 -ppc ~ppc64 ~riscv -sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
+KEYWORDS="amd64 ~arm ~arm64 ~ia64 -ppc ~ppc64 ~riscv -sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
 IUSE="cpu_flags_x86_avx doc examples large-stack static-libs utils test 
threads"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2022-02-15 Thread Sam James
commit: 130798de3e0e6eb70956b32eb72d0ede71a0b3c1
Author: Sam James  gentoo  org>
AuthorDate: Sat Feb 12 17:59:51 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb 15 19:49:34 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=130798de

media-libs/openexr: unslot

We've tried hard to make this work but it can't, for two reasons:
1. As time goes on, more and more packages port to OpenEXR 3 upstream,
which means we have to fix more and more of them to use our special/different
paths (e.g. OpenEXR-3, Imath-3);

2. ABI breakage. We _must_ have everything (or a significant portion of the 
stack
for e.g. Blender, including OIIO and OCIO) built against the same major 
versions,
or we hit both runtime and build-time breakages (depending on the situation).

I've tried to keep fixing the avalanche of build failures but it's brittle
and ultimately doesn't end up solving all the problems anyway. Indeed, this
effort to unslot started after I did a sprint to fix the remaining issues, and
then more popped up in their place.

Most packages now support OpenEXR 3.

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  gentoo.org>

 media-libs/openexr/openexr-3.1.4-r1.ebuild | 74 ++
 1 file changed, 74 insertions(+)

diff --git a/media-libs/openexr/openexr-3.1.4-r1.ebuild 
b/media-libs/openexr/openexr-3.1.4-r1.ebuild
new file mode 100644
index ..d9484ddf8328
--- /dev/null
+++ b/media-libs/openexr/openexr-3.1.4-r1.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+MY_PN=OpenEXR
+MY_PV=$(ver_cut 1)
+MY_P=${MY_PN}-${MY_PV}
+
+DESCRIPTION="ILM's OpenEXR high dynamic-range image file format libraries"
+HOMEPAGE="https://www.openexr.com/;
+SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/30" # based on SONAME
+# -ppc -sparc because broken on big endian, bug #818424
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 -ppc ~ppc64 ~riscv -sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
+IUSE="cpu_flags_x86_avx doc examples large-stack static-libs utils test 
threads"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   >=dev-libs/imath-3.1.4-r1:=
+   sys-libs/zlib
+   !media-libs/openexr:3
+   !media-libs/ilmbase
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   doc? ( dev-python/breathe )
+   virtual/pkgconfig
+"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-3.1.1-0003-disable-failing-test.patch
+)
+
+DOCS=( CHANGES.md GOVERNANCE.md PATENTS README.md SECURITY.md 
docs/SymbolVisibility.md )
+
+src_prepare() {
+   # Fix path for testsuite
+   sed -e "s:/var/tmp/:${T}:" \
+   -i "${S}"/src/test/${MY_PN}{,Fuzz,Util}Test/tmpDir.h || die 
"failed to set temp path for tests"
+
+   cmake_src_prepare
+
+   #mv "${S}"/cmake/${MY_PN}.pc.in "${S}"/cmake/${MY_P}.pc.in || die
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_SHARED_LIBS=$(usex !static-libs)
+   -DBUILD_TESTING=$(usex test)
+   -DDOCS=$(usex doc)
+   -DOPENEXR_BUILD_TOOLS=$(usex utils)
+   -DOPENEXR_ENABLE_LARGE_STACK=$(usex large-stack)
+   -DOPENEXR_ENABLE_THREADING=$(usex threads)
+   -DOPENEXR_INSTALL_EXAMPLES=$(usex examples)
+   -DOPENEXR_INSTALL_PKG_CONFIG=ON
+   -DOPENEXR_INSTALL_TOOLS=$(usex utils)
+   -DOPENEXR_USE_CLANG_TIDY=OFF # don't look for clang-tidy
+   )
+
+   use test && mycmakeargs+=( -DOPENEXR_RUN_FUZZ_TESTS=ON )
+
+   cmake_src_configure
+}
+
+src_install() {
+   use examples && docompress -x /usr/share/doc/${PF}/examples
+
+   cmake_src_install
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2022-02-06 Thread Sam James
commit: 5bf9e0c880b43a6f0a46acc6eb052e3740bfdbf5
Author: Sam James  gentoo  org>
AuthorDate: Mon Feb  7 05:48:55 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Feb  7 05:48:55 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bf9e0c8

media-libs/openexr: Stabilize 3.1.4 arm64, #832726

Signed-off-by: Sam James  gentoo.org>

 media-libs/openexr/openexr-3.1.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/openexr/openexr-3.1.4.ebuild 
b/media-libs/openexr/openexr-3.1.4.ebuild
index 0db2b9a0e13b..ffe4572facba 100644
--- a/media-libs/openexr/openexr-3.1.4.ebuild
+++ b/media-libs/openexr/openexr-3.1.4.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/
 LICENSE="BSD"
 SLOT="3/30" # based on SONAME
 # -ppc -sparc because broken on big endian, bug #818424
-KEYWORDS="amd64 ~arm ~arm64 ~ia64 -ppc ~ppc64 ~riscv -sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
+KEYWORDS="amd64 ~arm arm64 ~ia64 -ppc ~ppc64 ~riscv -sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
 IUSE="cpu_flags_x86_avx doc examples large-stack static-libs utils test 
threads"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2022-02-04 Thread Sam James
commit: 0ac2aa3fae7bf011bd0148a4543fefb6418c36f6
Author: Sam James  gentoo  org>
AuthorDate: Sat Feb  5 06:33:47 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Feb  5 06:33:47 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ac2aa3f

media-libs/openexr: Stabilize 3.1.4 amd64, #832726

Signed-off-by: Sam James  gentoo.org>

 media-libs/openexr/openexr-3.1.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/openexr/openexr-3.1.4.ebuild 
b/media-libs/openexr/openexr-3.1.4.ebuild
index afd43341887c..0db2b9a0e13b 100644
--- a/media-libs/openexr/openexr-3.1.4.ebuild
+++ b/media-libs/openexr/openexr-3.1.4.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/
 LICENSE="BSD"
 SLOT="3/30" # based on SONAME
 # -ppc -sparc because broken on big endian, bug #818424
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 -ppc ~ppc64 ~riscv -sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
+KEYWORDS="amd64 ~arm ~arm64 ~ia64 -ppc ~ppc64 ~riscv -sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
 IUSE="cpu_flags_x86_avx doc examples large-stack static-libs utils test 
threads"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2022-02-01 Thread Sam James
commit: 523b790779f20bcc650059574b31e55c4dfc3ca6
Author: Sam James  gentoo  org>
AuthorDate: Wed Feb  2 07:54:36 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Feb  2 07:54:36 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=523b7907

media-libs/openexr: Stabilize 3.1.2 x86, #820362

Signed-off-by: Sam James  gentoo.org>

 media-libs/openexr/openexr-3.1.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/openexr/openexr-3.1.2.ebuild 
b/media-libs/openexr/openexr-3.1.2.ebuild
index 9a8c70d88e64..5fb127134ee7 100644
--- a/media-libs/openexr/openexr-3.1.2.ebuild
+++ b/media-libs/openexr/openexr-3.1.2.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=8
@@ -16,7 +16,7 @@ 
SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/
 LICENSE="BSD"
 SLOT="3/30" # based on SONAME
 # -ppc -sparc because broken on big endian, bug #818424
-KEYWORDS="amd64 ~arm arm64 ~ia64 -ppc ~ppc64 -sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
+KEYWORDS="amd64 ~arm arm64 ~ia64 -ppc ~ppc64 -sparc x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
 IUSE="cpu_flags_x86_avx doc examples large-stack static-libs utils test 
threads"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2022-01-27 Thread Sam James
commit: 26df8d02bf9c189b08efb6712e9f6a8217a74658
Author: Bernd Waibel  posteo  net>
AuthorDate: Thu Jan 27 18:59:58 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jan 28 07:53:21 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26df8d02

media-libs/openexr: bump to 3.1.4

Bug: https://bugs.gentoo.org/830384
Closes: https://bugs.gentoo.org/832143
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Bernd Waibel  posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/23988
Signed-off-by: Sam James  gentoo.org>

 media-libs/openexr/Manifest |  1 +
 media-libs/openexr/openexr-3.1.4.ebuild | 78 +
 2 files changed, 79 insertions(+)

diff --git a/media-libs/openexr/Manifest b/media-libs/openexr/Manifest
index 194595eda99a..ea9445536baa 100644
--- a/media-libs/openexr/Manifest
+++ b/media-libs/openexr/Manifest
@@ -1,3 +1,4 @@
 DIST openexr-2.5.7.tar.gz 27539574 BLAKE2B 
58fd81be52e13d2815b6aa8cea6793359379f5ebf866fd45b31ce30cf5f72aa4699625e7cec51189d62fe76f53418c3e0938f9b827d54ad18342e7aa67c8a3d2
 SHA512 
e44edfa2dcfff2fe372ed2ba07b39a472e549025978de178eff26be641767d22d1a3b543fb7672d9b7b2e9f4c308667f785829ed6d9032a2b42f2ffa0163de40
 DIST openexr-3.1.2.tar.gz 20315253 BLAKE2B 
d11f26d3e2bb098c4c009271b40da1eca97b120e5683137a0b38f64e2862c226aebff7c17e79344da4a1be5a1967fb8ab0493ff919a7fb5bec16b34e494e49e2
 SHA512 
34fb28f149e49bb23b2dc230dd5277229f2c780de66aff0acc819601e6802a1dbf83110b5df455dffd63be6eaa286d4aedb4b0af559b8b034d98c3208ee9d969
 DIST openexr-3.1.3.tar.gz 20322346 BLAKE2B 
e65cb00d1d9ae7544f6d1adf9c6f05193986b8de7b657fa22d20466f2b6dfccf244b5aa3dbe7f2abb0c934aec68d2007dd9edb391b2bbd8aab331eea7e90
 SHA512 
12a8f3660104e68ccea0856caf334d1fafbf0ee79115aae23cdce5b835299294ab8a23bafed282acfacd159ce9bc7f6ffc620b1e0df0d40f9ca0eb15a288964d
+DIST openexr-3.1.4.tar.gz 20323658 BLAKE2B 
d3726023f920fa719b1832d3be2df36a95cac8c67fdd4b23a7166398a282fa01d5c07065afd92f7b28f178c47843f82eb7a0f2b77742725b359c8f275d2ef1d0
 SHA512 
612ab3467f9ccf2779e1592361cb07459571122e10c0a0b3020430cfa34fa3b91ca1d63cc12a5f85d5b53b277b3f7a88862e6477f0f3566a4196b8245f6bfe12

diff --git a/media-libs/openexr/openexr-3.1.4.ebuild 
b/media-libs/openexr/openexr-3.1.4.ebuild
new file mode 100644
index ..afd43341887c
--- /dev/null
+++ b/media-libs/openexr/openexr-3.1.4.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+MY_PN=OpenEXR
+MY_PV=$(ver_cut 1)
+MY_P=${MY_PN}-${MY_PV}
+
+DESCRIPTION="ILM's OpenEXR high dynamic-range image file format libraries"
+HOMEPAGE="https://www.openexr.com/;
+SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="3/30" # based on SONAME
+# -ppc -sparc because broken on big endian, bug #818424
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 -ppc ~ppc64 ~riscv -sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
+IUSE="cpu_flags_x86_avx doc examples large-stack static-libs utils test 
threads"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   >=dev-libs/imath-3.1.0:=
+   sys-libs/zlib
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   doc? ( dev-python/breathe )
+   virtual/pkgconfig
+"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-3.1.1-0001-changes-needed-for-proper-slotting.patch
+   
"${FILESDIR}"/${PN}-3.1.1-0002-add-version-to-binaries-for-slotting.patch
+   "${FILESDIR}"/${PN}-3.1.1-0003-disable-failing-test.patch
+)
+
+DOCS=( CHANGES.md GOVERNANCE.md PATENTS README.md SECURITY.md 
docs/SymbolVisibility.md )
+
+src_prepare() {
+   # Fix path for testsuite
+   sed -e "s:/var/tmp/:${T}:" \
+   -i "${S}"/src/test/${MY_PN}{,Fuzz,Util}Test/tmpDir.h || die 
"failed to set temp path for tests"
+
+   cmake_src_prepare
+
+   mv "${S}"/cmake/${MY_PN}.pc.in "${S}"/cmake/${MY_P}.pc.in || die
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_SHARED_LIBS=$(usex !static-libs)
+   -DBUILD_TESTING=$(usex test)
+   -DDOCS=$(usex doc)
+   -DOPENEXR_BUILD_TOOLS=$(usex utils)
+   -DOPENEXR_ENABLE_LARGE_STACK=$(usex large-stack)
+   -DOPENEXR_ENABLE_THREADING=$(usex threads)
+   -DOPENEXR_INSTALL_EXAMPLES=$(usex examples)
+   -DOPENEXR_INSTALL_PKG_CONFIG=ON
+   -DOPENEXR_INSTALL_TOOLS=$(usex utils)
+   -DOPENEXR_OUTPUT_SUBDIR="${MY_P}"
+   -DOPENEXR_USE_CLANG_TIDY=OFF# don't look for 
clang-tidy
+   )
+
+   use test && mycmakeargs+=( -DOPENEXR_RUN_FUZZ_TESTS=ON )
+
+   cmake_src_configure
+}
+
+src_install() {
+   use examples && docompress -x /usr/share/doc/${PF}/examples
+   cmake_src_install
+
+   newenvd - 99${PN}3 <<-EOF
+   LDPATH=/usr/$(get_libdir)/${MY_P}
+   EOF
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2022-01-09 Thread Andreas Sturmlechner
commit: 35787c9f4ca8dd500938349db43ecfee3fe44805
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Jan  9 14:55:16 2022 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Jan  9 15:47:58 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35787c9f

media-libs/openexr: Cleanup vulnerable 2.5.6

Bug: https://bugs.gentoo.org/787452
Bug: https://bugs.gentoo.org/801373
Bug: https://bugs.gentoo.org/810541
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 media-libs/openexr/Manifest |  1 -
 media-libs/openexr/openexr-2.5.6.ebuild | 62 -
 2 files changed, 63 deletions(-)

diff --git a/media-libs/openexr/Manifest b/media-libs/openexr/Manifest
index efa5923bcf66..ea23fd20bfc8 100644
--- a/media-libs/openexr/Manifest
+++ b/media-libs/openexr/Manifest
@@ -1,4 +1,3 @@
-DIST openexr-2.5.6.tar.gz 27540385 BLAKE2B 
eea64c6ae4500de31673f3127da6ac98272e85a2c93e2aed96494cc24c397edbce508f0721387be5bbabc4dde596dccf61212709173b7cebd4212dbfbd1e4b65
 SHA512 
8d4582a5f2adcd5eb1486cabe033f9ecaa0292000bf7fa484a94e1d9ec908678a5a903fc6a1beba22bcd9c7f06ac51236834f448ea8aaf4462a338de886f0412
 DIST openexr-2.5.7.tar.gz 27539574 BLAKE2B 
58fd81be52e13d2815b6aa8cea6793359379f5ebf866fd45b31ce30cf5f72aa4699625e7cec51189d62fe76f53418c3e0938f9b827d54ad18342e7aa67c8a3d2
 SHA512 
e44edfa2dcfff2fe372ed2ba07b39a472e549025978de178eff26be641767d22d1a3b543fb7672d9b7b2e9f4c308667f785829ed6d9032a2b42f2ffa0163de40
 DIST openexr-3.1.1.tar.gz 25588029 BLAKE2B 
c2ce9622ad7b8a328ce556b6120a868cddb86e908917e001f543e70501b6d31ce549fc10d65806dd9d63e63872b273ad3a1d4f6813b5d23ea238c238f5815304
 SHA512 
430becbb214cedec5a57e9ff2363badd8a2d94e8a00edffbc75fbcf30d26d887a6eb3f4ff96e371cb26f9d44e63bf0fe2dc511493a0951171ddc64bba7aed735
 DIST openexr-3.1.2.tar.gz 20315253 BLAKE2B 
d11f26d3e2bb098c4c009271b40da1eca97b120e5683137a0b38f64e2862c226aebff7c17e79344da4a1be5a1967fb8ab0493ff919a7fb5bec16b34e494e49e2
 SHA512 
34fb28f149e49bb23b2dc230dd5277229f2c780de66aff0acc819601e6802a1dbf83110b5df455dffd63be6eaa286d4aedb4b0af559b8b034d98c3208ee9d969

diff --git a/media-libs/openexr/openexr-2.5.6.ebuild 
b/media-libs/openexr/openexr-2.5.6.ebuild
deleted file mode 100644
index 639ad56563a2..
--- a/media-libs/openexr/openexr-2.5.6.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-CMAKE_ECLASS=cmake
-inherit cmake-multilib flag-o-matic toolchain-funcs
-
-DESCRIPTION="ILM's OpenEXR high dynamic-range image file format libraries"
-HOMEPAGE="https://www.openexr.com/;
-SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/v${PV}.tar.gz
 -> ${P}.tar.gz"
-S="${WORKDIR}/${P}/OpenEXR"
-
-LICENSE="BSD"
-SLOT="0/25" # based on SONAME
-# -ppc -sparc because broken on big endian, bug #818424
-KEYWORDS="amd64 ~arm arm64 ~ia64 -ppc ~ppc64 -sparc x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
-IUSE="cpu_flags_x86_avx doc examples static-libs utils test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   ~media-libs/ilmbase-${PV}:=[static-libs?,${MULTILIB_USEDEP}]
-   sys-libs/zlib[${MULTILIB_USEDEP}]
-"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-DOCS=( PATENTS README.md )
-
-src_prepare() {
-   # Fix path for testsuite
-   sed -i -e "s:/var/tmp/:${T}:" "${S}"/IlmImfTest/tmpDir.h || die "failed 
to set temp path for tests"
-
-   if use abi_x86_32 && use test; then
-   eapply 
"${FILESDIR}/${PN}-2.5.2-0001-IlmImfTest-main.cpp-disable-tests.patch"
-   fi
-
-   multilib_foreach_abi cmake_src_prepare
-}
-
-multilib_src_configure() {
-   local mycmakeargs=(
-   -DBUILD_TESTING=$(usex test)
-   -DINSTALL_OPENEXR_DOCS=$(usex doc)
-   -DINSTALL_OPENEXR_EXAMPLES=$(usex examples)
-   -DOPENEXR_BUILD_BOTH_STATIC_SHARED=$(usex static-libs)
-   -DOPENEXR_BUILD_UTILS=$(usex utils)
-   -DOPENEXR_INSTALL_PKG_CONFIG=ON
-   -DOPENEXR_USE_CLANG_TIDY=OFF# don't look for 
clang-tidy
-   )
-
-   cmake_src_configure
-}
-
-multilib_src_install_all() {
-   if use doc; then
-   DOCS+=( doc/*.pdf )
-   fi
-   einstalldocs
-
-   use examples && docompress -x /usr/share/doc/${PF}/examples
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2022-01-09 Thread Andreas Sturmlechner
commit: e6438b6de1d7c84680e5e00d68c1fb6112dbc05d
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Jan  9 14:56:18 2022 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Jan  9 15:47:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6438b6d

media-libs/openexr: Cleanup vulnerable/overshadowed 3.1.1

Bug: https://bugs.gentoo.org/817431
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 media-libs/openexr/Manifest |  1 -
 media-libs/openexr/openexr-3.1.1.ebuild | 78 -
 2 files changed, 79 deletions(-)

diff --git a/media-libs/openexr/Manifest b/media-libs/openexr/Manifest
index ea23fd20bfc8..194595eda99a 100644
--- a/media-libs/openexr/Manifest
+++ b/media-libs/openexr/Manifest
@@ -1,4 +1,3 @@
 DIST openexr-2.5.7.tar.gz 27539574 BLAKE2B 
58fd81be52e13d2815b6aa8cea6793359379f5ebf866fd45b31ce30cf5f72aa4699625e7cec51189d62fe76f53418c3e0938f9b827d54ad18342e7aa67c8a3d2
 SHA512 
e44edfa2dcfff2fe372ed2ba07b39a472e549025978de178eff26be641767d22d1a3b543fb7672d9b7b2e9f4c308667f785829ed6d9032a2b42f2ffa0163de40
-DIST openexr-3.1.1.tar.gz 25588029 BLAKE2B 
c2ce9622ad7b8a328ce556b6120a868cddb86e908917e001f543e70501b6d31ce549fc10d65806dd9d63e63872b273ad3a1d4f6813b5d23ea238c238f5815304
 SHA512 
430becbb214cedec5a57e9ff2363badd8a2d94e8a00edffbc75fbcf30d26d887a6eb3f4ff96e371cb26f9d44e63bf0fe2dc511493a0951171ddc64bba7aed735
 DIST openexr-3.1.2.tar.gz 20315253 BLAKE2B 
d11f26d3e2bb098c4c009271b40da1eca97b120e5683137a0b38f64e2862c226aebff7c17e79344da4a1be5a1967fb8ab0493ff919a7fb5bec16b34e494e49e2
 SHA512 
34fb28f149e49bb23b2dc230dd5277229f2c780de66aff0acc819601e6802a1dbf83110b5df455dffd63be6eaa286d4aedb4b0af559b8b034d98c3208ee9d969
 DIST openexr-3.1.3.tar.gz 20322346 BLAKE2B 
e65cb00d1d9ae7544f6d1adf9c6f05193986b8de7b657fa22d20466f2b6dfccf244b5aa3dbe7f2abb0c934aec68d2007dd9edb391b2bbd8aab331eea7e90
 SHA512 
12a8f3660104e68ccea0856caf334d1fafbf0ee79115aae23cdce5b835299294ab8a23bafed282acfacd159ce9bc7f6ffc620b1e0df0d40f9ca0eb15a288964d

diff --git a/media-libs/openexr/openexr-3.1.1.ebuild 
b/media-libs/openexr/openexr-3.1.1.ebuild
deleted file mode 100644
index 915f1405d3d7..
--- a/media-libs/openexr/openexr-3.1.1.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake flag-o-matic toolchain-funcs
-
-MY_PN=OpenEXR
-MY_PV=$(ver_cut 1)
-MY_P=${MY_PN}-${MY_PV}
-
-DESCRIPTION="ILM's OpenEXR high dynamic-range image file format libraries"
-HOMEPAGE="https://www.openexr.com/;
-SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="3/30" # based on SONAME
-# imath needs keywording: x64-macos, x86-solaris
-# -ppc -sparc because broken on big endian, bug #818424
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 -ppc ~ppc64 -sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
-IUSE="cpu_flags_x86_avx doc examples large-stack static-libs utils test 
threads"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   >=dev-libs/imath-3.1.0:=
-   sys-libs/zlib
-"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=(
-   "${FILESDIR}"/${P}-0001-changes-needed-for-proper-slotting.patch
-   "${FILESDIR}"/${P}-0002-add-version-to-binaries-for-slotting.patch
-   "${FILESDIR}"/${P}-0003-disable-failing-test.patch
-)
-
-DOCS=( CHANGES.md GOVERNANCE.md PATENTS README.md SECURITY.md 
docs/SymbolVisibility.md )
-
-src_prepare() {
-   # Fix path for testsuite
-   sed -e "s:/var/tmp/:${T}:" \
-   -i "${S}"/src/test/${MY_PN}{,Fuzz,Util}Test/tmpDir.h || die 
"failed to set temp path for tests"
-
-   cmake_src_prepare
-
-   mv "${S}"/cmake/${MY_PN}.pc.in "${S}"/cmake/${MY_P}.pc.in || die
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DBUILD_SHARED_LIBS=$(usex !static-libs)
-   -DBUILD_TESTING=$(usex test)
-   -DOPENEXR_BUILD_TOOLS=$(usex utils)
-   -DOPENEXR_ENABLE_LARGE_STACK=$(usex large-stack)
-   -DOPENEXR_ENABLE_THREADING=$(usex threads)
-   -DOPENEXR_INSTALL_EXAMPLES=$(usex examples)
-   -DOPENEXR_INSTALL_PKG_CONFIG=ON
-   -DOPENEXR_INSTALL_TOOLS=$(usex utils)
-   -DOPENEXR_OUTPUT_SUBDIR="${MY_P}"
-   -DOPENEXR_USE_CLANG_TIDY=OFF# don't look for 
clang-tidy
-   )
-
-   use test && mycmakeargs+=( -DOPENEXR_RUN_FUZZ_TESTS=ON )
-
-   cmake_src_configure
-}
-
-src_install() {
-   if use doc; then
-   DOCS+=( docs/*.pdf )
-   fi
-   use examples && docompress -x /usr/share/doc/${PF}/examples
-   cmake_src_install
-
-   newenvd - 99${PN}3 <<-EOF
-   LDPATH=/usr/$(get_libdir)/${MY_P}
-   EOF
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2022-01-08 Thread Yixun Lan
commit: 4734237d7516355c8c54542798c6f42a8ef81e91
Author: Yixun Lan  gentoo  org>
AuthorDate: Sat Jan  8 13:53:14 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Sat Jan  8 13:56:34 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4734237d

media-libs/openexr: keyword ~riscv, bug 830773

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Yixun Lan  gentoo.org>

 media-libs/openexr/openexr-3.1.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/openexr/openexr-3.1.3.ebuild 
b/media-libs/openexr/openexr-3.1.3.ebuild
index d465d49cb95b..afd43341887c 100644
--- a/media-libs/openexr/openexr-3.1.3.ebuild
+++ b/media-libs/openexr/openexr-3.1.3.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=8
@@ -16,7 +16,7 @@ 
SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/
 LICENSE="BSD"
 SLOT="3/30" # based on SONAME
 # -ppc -sparc because broken on big endian, bug #818424
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 -ppc ~ppc64 -sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 -ppc ~ppc64 ~riscv -sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
 IUSE="cpu_flags_x86_avx doc examples large-stack static-libs utils test 
threads"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2021-11-25 Thread Sam James
commit: 22c7177ff7edd8a60166cbb977d60c40bd0513bd
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 26 04:29:56 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 26 04:29:56 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22c7177f

media-libs/openexr: mark newer versions as -ppc -sparc too

Accidentally dropped.

Signed-off-by: Sam James  gentoo.org>

 media-libs/openexr/openexr-3.1.2.ebuild | 3 ++-
 media-libs/openexr/openexr-3.1.3.ebuild | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/media-libs/openexr/openexr-3.1.2.ebuild 
b/media-libs/openexr/openexr-3.1.2.ebuild
index a421d40937b2..9a8c70d88e64 100644
--- a/media-libs/openexr/openexr-3.1.2.ebuild
+++ b/media-libs/openexr/openexr-3.1.2.ebuild
@@ -15,7 +15,8 @@ 
SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/
 
 LICENSE="BSD"
 SLOT="3/30" # based on SONAME
-KEYWORDS="amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
+# -ppc -sparc because broken on big endian, bug #818424
+KEYWORDS="amd64 ~arm arm64 ~ia64 -ppc ~ppc64 -sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
 IUSE="cpu_flags_x86_avx doc examples large-stack static-libs utils test 
threads"
 RESTRICT="!test? ( test )"
 

diff --git a/media-libs/openexr/openexr-3.1.3.ebuild 
b/media-libs/openexr/openexr-3.1.3.ebuild
index 7b41f0eca9df..d465d49cb95b 100644
--- a/media-libs/openexr/openexr-3.1.3.ebuild
+++ b/media-libs/openexr/openexr-3.1.3.ebuild
@@ -15,7 +15,8 @@ 
SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/
 
 LICENSE="BSD"
 SLOT="3/30" # based on SONAME
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
+# -ppc -sparc because broken on big endian, bug #818424
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 -ppc ~ppc64 -sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
 IUSE="cpu_flags_x86_avx doc examples large-stack static-libs utils test 
threads"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2021-11-13 Thread Sam James
commit: ffcf0f8824fe88f79bb0cb9f7695b30b36acd083
Author: Sam James  gentoo  org>
AuthorDate: Sun Nov 14 03:35:34 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Nov 14 04:42:41 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffcf0f88

media-libs/openexr: destabilize 2.5.6 for ~ppc64

We already had to mask this on ppc64be and mark it -ppc
entirely and I don't usually do testing on ppc64le.

Let's see if we can drop the stable keyword
entirely here to make life easier.

Bug: https://bugs.gentoo.org/787452
Signed-off-by: Sam James  gentoo.org>

 media-libs/openexr/openexr-2.5.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/openexr/openexr-2.5.6.ebuild 
b/media-libs/openexr/openexr-2.5.6.ebuild
index 0583348afc4f..639ad56563a2 100644
--- a/media-libs/openexr/openexr-2.5.6.ebuild
+++ b/media-libs/openexr/openexr-2.5.6.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${P}/OpenEXR"
 LICENSE="BSD"
 SLOT="0/25" # based on SONAME
 # -ppc -sparc because broken on big endian, bug #818424
-KEYWORDS="amd64 ~arm arm64 ~ia64 -ppc ppc64 -sparc x86 ~amd64-linux ~x86-linux 
~x64-macos ~x86-solaris"
+KEYWORDS="amd64 ~arm arm64 ~ia64 -ppc ~ppc64 -sparc x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
 IUSE="cpu_flags_x86_avx doc examples static-libs utils test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2021-11-04 Thread Sam James
commit: 03a8fec7f834e4f601cda10ae41dd54c2376b3f0
Author: Bernd Waibel  posteo  net>
AuthorDate: Thu Nov  4 05:34:32 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov  5 04:02:57 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03a8fec7

media-libs/openexr: bump to 3.1.3

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Bernd Waibel  posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/22812
Signed-off-by: Sam James  gentoo.org>

 media-libs/openexr/Manifest |  1 +
 media-libs/openexr/openexr-3.1.3.ebuild | 77 +
 2 files changed, 78 insertions(+)

diff --git a/media-libs/openexr/Manifest b/media-libs/openexr/Manifest
index 242cfc52c43..efa5923bcf6 100644
--- a/media-libs/openexr/Manifest
+++ b/media-libs/openexr/Manifest
@@ -2,3 +2,4 @@ DIST openexr-2.5.6.tar.gz 27540385 BLAKE2B 
eea64c6ae4500de31673f3127da6ac98272e8
 DIST openexr-2.5.7.tar.gz 27539574 BLAKE2B 
58fd81be52e13d2815b6aa8cea6793359379f5ebf866fd45b31ce30cf5f72aa4699625e7cec51189d62fe76f53418c3e0938f9b827d54ad18342e7aa67c8a3d2
 SHA512 
e44edfa2dcfff2fe372ed2ba07b39a472e549025978de178eff26be641767d22d1a3b543fb7672d9b7b2e9f4c308667f785829ed6d9032a2b42f2ffa0163de40
 DIST openexr-3.1.1.tar.gz 25588029 BLAKE2B 
c2ce9622ad7b8a328ce556b6120a868cddb86e908917e001f543e70501b6d31ce549fc10d65806dd9d63e63872b273ad3a1d4f6813b5d23ea238c238f5815304
 SHA512 
430becbb214cedec5a57e9ff2363badd8a2d94e8a00edffbc75fbcf30d26d887a6eb3f4ff96e371cb26f9d44e63bf0fe2dc511493a0951171ddc64bba7aed735
 DIST openexr-3.1.2.tar.gz 20315253 BLAKE2B 
d11f26d3e2bb098c4c009271b40da1eca97b120e5683137a0b38f64e2862c226aebff7c17e79344da4a1be5a1967fb8ab0493ff919a7fb5bec16b34e494e49e2
 SHA512 
34fb28f149e49bb23b2dc230dd5277229f2c780de66aff0acc819601e6802a1dbf83110b5df455dffd63be6eaa286d4aedb4b0af559b8b034d98c3208ee9d969
+DIST openexr-3.1.3.tar.gz 20322346 BLAKE2B 
e65cb00d1d9ae7544f6d1adf9c6f05193986b8de7b657fa22d20466f2b6dfccf244b5aa3dbe7f2abb0c934aec68d2007dd9edb391b2bbd8aab331eea7e90
 SHA512 
12a8f3660104e68ccea0856caf334d1fafbf0ee79115aae23cdce5b835299294ab8a23bafed282acfacd159ce9bc7f6ffc620b1e0df0d40f9ca0eb15a288964d

diff --git a/media-libs/openexr/openexr-3.1.3.ebuild 
b/media-libs/openexr/openexr-3.1.3.ebuild
new file mode 100644
index 000..7b41f0eca9d
--- /dev/null
+++ b/media-libs/openexr/openexr-3.1.3.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+MY_PN=OpenEXR
+MY_PV=$(ver_cut 1)
+MY_P=${MY_PN}-${MY_PV}
+
+DESCRIPTION="ILM's OpenEXR high dynamic-range image file format libraries"
+HOMEPAGE="https://www.openexr.com/;
+SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="3/30" # based on SONAME
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
+IUSE="cpu_flags_x86_avx doc examples large-stack static-libs utils test 
threads"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   >=dev-libs/imath-3.1.0:=
+   sys-libs/zlib
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   doc? ( dev-python/breathe )
+   virtual/pkgconfig
+"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-3.1.1-0001-changes-needed-for-proper-slotting.patch
+   
"${FILESDIR}"/${PN}-3.1.1-0002-add-version-to-binaries-for-slotting.patch
+   "${FILESDIR}"/${PN}-3.1.1-0003-disable-failing-test.patch
+)
+
+DOCS=( CHANGES.md GOVERNANCE.md PATENTS README.md SECURITY.md 
docs/SymbolVisibility.md )
+
+src_prepare() {
+   # Fix path for testsuite
+   sed -e "s:/var/tmp/:${T}:" \
+   -i "${S}"/src/test/${MY_PN}{,Fuzz,Util}Test/tmpDir.h || die 
"failed to set temp path for tests"
+
+   cmake_src_prepare
+
+   mv "${S}"/cmake/${MY_PN}.pc.in "${S}"/cmake/${MY_P}.pc.in || die
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_SHARED_LIBS=$(usex !static-libs)
+   -DBUILD_TESTING=$(usex test)
+   -DDOCS=$(usex doc)
+   -DOPENEXR_BUILD_TOOLS=$(usex utils)
+   -DOPENEXR_ENABLE_LARGE_STACK=$(usex large-stack)
+   -DOPENEXR_ENABLE_THREADING=$(usex threads)
+   -DOPENEXR_INSTALL_EXAMPLES=$(usex examples)
+   -DOPENEXR_INSTALL_PKG_CONFIG=ON
+   -DOPENEXR_INSTALL_TOOLS=$(usex utils)
+   -DOPENEXR_OUTPUT_SUBDIR="${MY_P}"
+   -DOPENEXR_USE_CLANG_TIDY=OFF# don't look for 
clang-tidy
+   )
+
+   use test && mycmakeargs+=( -DOPENEXR_RUN_FUZZ_TESTS=ON )
+
+   cmake_src_configure
+}
+
+src_install() {
+   use examples && docompress -x /usr/share/doc/${PF}/examples
+   cmake_src_install
+
+   newenvd - 99${PN}3 <<-EOF
+   LDPATH=/usr/$(get_libdir)/${MY_P}
+   EOF
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2021-10-27 Thread Sam James
commit: d84fd15fbb88273893e92669ec8cf071f269bb20
Author: Sam James  gentoo  org>
AuthorDate: Wed Oct 27 22:31:43 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Oct 27 22:31:43 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d84fd15f

media-libs/openexr: Stabilize 3.1.2 amd64, #820362

Signed-off-by: Sam James  gentoo.org>

 media-libs/openexr/openexr-3.1.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/openexr/openexr-3.1.2.ebuild 
b/media-libs/openexr/openexr-3.1.2.ebuild
index 4fc2e3979ab..a421d40937b 100644
--- a/media-libs/openexr/openexr-3.1.2.ebuild
+++ b/media-libs/openexr/openexr-3.1.2.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/
 
 LICENSE="BSD"
 SLOT="3/30" # based on SONAME
-KEYWORDS="~amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
+KEYWORDS="amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
 IUSE="cpu_flags_x86_avx doc examples large-stack static-libs utils test 
threads"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2021-10-26 Thread Sam James
commit: 8f34339c640dc65dda34c7e15c968bb3c880dd63
Author: Sam James  gentoo  org>
AuthorDate: Wed Oct 27 04:13:34 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Oct 27 04:13:34 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f34339c

media-libs/openexr: Stabilize 3.1.2 arm64, #820362

Signed-off-by: Sam James  gentoo.org>

 media-libs/openexr/openexr-3.1.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/openexr/openexr-3.1.2.ebuild 
b/media-libs/openexr/openexr-3.1.2.ebuild
index 7b41f0eca9d..4fc2e3979ab 100644
--- a/media-libs/openexr/openexr-3.1.2.ebuild
+++ b/media-libs/openexr/openexr-3.1.2.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/
 
 LICENSE="BSD"
 SLOT="3/30" # based on SONAME
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
+KEYWORDS="~amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
 IUSE="cpu_flags_x86_avx doc examples large-stack static-libs utils test 
threads"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/, media-libs/openexr/files/

2021-10-16 Thread Sam James
commit: 9af6007e2580aaabd795a2ec271492baca24bf4f
Author: Bernd Waibel  posteo  net>
AuthorDate: Mon Oct 11 19:25:11 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct 17 02:22:01 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9af6007e

media-libs/openexr: drop 3.0.5

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Bernd Waibel  posteo.net>
Signed-off-by: Sam James  gentoo.org>

 media-libs/openexr/Manifest|   1 -
 ...5-0001-changes-needed-for-proper-slotting.patch | 119 ---
 ...0002-add-version-to-binaries-for-slotting.patch | 229 -
 media-libs/openexr/openexr-3.0.5.ebuild|  78 ---
 4 files changed, 427 deletions(-)

diff --git a/media-libs/openexr/Manifest b/media-libs/openexr/Manifest
index ec127757ba7..242cfc52c43 100644
--- a/media-libs/openexr/Manifest
+++ b/media-libs/openexr/Manifest
@@ -1,5 +1,4 @@
 DIST openexr-2.5.6.tar.gz 27540385 BLAKE2B 
eea64c6ae4500de31673f3127da6ac98272e85a2c93e2aed96494cc24c397edbce508f0721387be5bbabc4dde596dccf61212709173b7cebd4212dbfbd1e4b65
 SHA512 
8d4582a5f2adcd5eb1486cabe033f9ecaa0292000bf7fa484a94e1d9ec908678a5a903fc6a1beba22bcd9c7f06ac51236834f448ea8aaf4462a338de886f0412
 DIST openexr-2.5.7.tar.gz 27539574 BLAKE2B 
58fd81be52e13d2815b6aa8cea6793359379f5ebf866fd45b31ce30cf5f72aa4699625e7cec51189d62fe76f53418c3e0938f9b827d54ad18342e7aa67c8a3d2
 SHA512 
e44edfa2dcfff2fe372ed2ba07b39a472e549025978de178eff26be641767d22d1a3b543fb7672d9b7b2e9f4c308667f785829ed6d9032a2b42f2ffa0163de40
-DIST openexr-3.0.5.tar.gz 25060148 BLAKE2B 
24b5601e27342eeff831219f75416797c30afb1ca28ae0a0692d97169297584da503d016c6dda80f63bd5bb9c9a31dc7f91d7713e6fc217a2760af2c662406f0
 SHA512 
7a0f83320ad5e1d8f8414b5175a64eef3c6b06a7ccd7d66d0aa21472ea22146e2617ff10c20e04203fc2a3326d8bac2d95023bec315badb03e6a006596b64595
 DIST openexr-3.1.1.tar.gz 25588029 BLAKE2B 
c2ce9622ad7b8a328ce556b6120a868cddb86e908917e001f543e70501b6d31ce549fc10d65806dd9d63e63872b273ad3a1d4f6813b5d23ea238c238f5815304
 SHA512 
430becbb214cedec5a57e9ff2363badd8a2d94e8a00edffbc75fbcf30d26d887a6eb3f4ff96e371cb26f9d44e63bf0fe2dc511493a0951171ddc64bba7aed735
 DIST openexr-3.1.2.tar.gz 20315253 BLAKE2B 
d11f26d3e2bb098c4c009271b40da1eca97b120e5683137a0b38f64e2862c226aebff7c17e79344da4a1be5a1967fb8ab0493ff919a7fb5bec16b34e494e49e2
 SHA512 
34fb28f149e49bb23b2dc230dd5277229f2c780de66aff0acc819601e6802a1dbf83110b5df455dffd63be6eaa286d4aedb4b0af559b8b034d98c3208ee9d969

diff --git 
a/media-libs/openexr/files/openexr-3.0.5-0001-changes-needed-for-proper-slotting.patch
 
b/media-libs/openexr/files/openexr-3.0.5-0001-changes-needed-for-proper-slotting.patch
deleted file mode 100644
index 30991f423b0..000
--- 
a/media-libs/openexr/files/openexr-3.0.5-0001-changes-needed-for-proper-slotting.patch
+++ /dev/null
@@ -1,119 +0,0 @@
-From: Bernd Waibel 
-Date: Fri, 2 Jul 2021 17:46:33 +0200
-Subject: [PATCH] changes needed for proper slotting
-
-Signed-off-by: Bernd Waibel 

- cmake/CMakeLists.txt | 8 
- cmake/LibraryDefine.cmake| 8 
- cmake/OpenEXR.pc.in  | 4 ++--
- cmake/OpenEXRLibraryDefine.cmake | 8 
- 4 files changed, 14 insertions(+), 14 deletions(-)
-
-diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
-index 2014d27..7dfb2f2 100644
 a/cmake/CMakeLists.txt
-+++ b/cmake/CMakeLists.txt
-@@ -200,7 +200,7 @@ if(OPENEXR_INSTALL_PKG_CONFIG)
- DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig
- )
-   endfunction()
--  openexr_pkg_config_help(OpenEXR.pc.in)
-+  openexr_pkg_config_help(OpenEXR-${OpenEXR_VERSION_MAJOR}.pc.in)
- else()
-   message(STATUS "-- pkg-config generation disabled")
- endif()
-@@ -220,7 +220,7 @@ include(CMakePackageConfigHelpers)
- if(OPENEXR_INSTALL)
- configure_package_config_file(${PROJECT_NAME}Config.cmake.in
-   ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake
--  INSTALL_DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}
-+  INSTALL_DESTINATION 
${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}-${OpenEXR_VERSION_MAJOR}
- )
- write_basic_package_version_file("${PROJECT_NAME}ConfigVersion.cmake"
-   VERSION ${PROJECT_VERSION}
-@@ -229,11 +229,11 @@ 
write_basic_package_version_file("${PROJECT_NAME}ConfigVersion.cmake"
- 
- install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake
-   ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}ConfigVersion.cmake
--  DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}
-+  DESTINATION 
${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}-${OpenEXR_VERSION_MAJOR}
- )
- 
- install(EXPORT ${PROJECT_NAME}
--  DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}
-+  DESTINATION 
${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}-${OpenEXR_VERSION_MAJOR}
-   FILE ${PROJECT_NAME}Targets.cmake
-   NAMESPACE ${PROJECT_NAME}::
-   EXPORT_LINK_INTERFACE_LIBRARIES
-diff --git a/cmake/LibraryDefine.cmake b/cmake/LibraryDefine.cmake
-index aa5bb46..2767420 

[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2021-10-16 Thread Sam James
commit: c3d9d27ae6bcab1323ec53edeea148e974a26f7a
Author: Bernd Waibel  posteo  net>
AuthorDate: Mon Oct 11 19:19:07 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct 17 02:22:00 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3d9d27a

media-libs/openexr: bump to 3.1.2

Version contains security fixes.
Docs are now build with doxygen, pre-generated pdf docs are no longer shipped.

Bug: https://bugs.gentoo.org/817431
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Bernd Waibel  posteo.net>
Signed-off-by: Sam James  gentoo.org>

 media-libs/openexr/Manifest |  1 +
 media-libs/openexr/openexr-3.1.2.ebuild | 77 +
 2 files changed, 78 insertions(+)

diff --git a/media-libs/openexr/Manifest b/media-libs/openexr/Manifest
index 741a982337e..ec127757ba7 100644
--- a/media-libs/openexr/Manifest
+++ b/media-libs/openexr/Manifest
@@ -2,3 +2,4 @@ DIST openexr-2.5.6.tar.gz 27540385 BLAKE2B 
eea64c6ae4500de31673f3127da6ac98272e8
 DIST openexr-2.5.7.tar.gz 27539574 BLAKE2B 
58fd81be52e13d2815b6aa8cea6793359379f5ebf866fd45b31ce30cf5f72aa4699625e7cec51189d62fe76f53418c3e0938f9b827d54ad18342e7aa67c8a3d2
 SHA512 
e44edfa2dcfff2fe372ed2ba07b39a472e549025978de178eff26be641767d22d1a3b543fb7672d9b7b2e9f4c308667f785829ed6d9032a2b42f2ffa0163de40
 DIST openexr-3.0.5.tar.gz 25060148 BLAKE2B 
24b5601e27342eeff831219f75416797c30afb1ca28ae0a0692d97169297584da503d016c6dda80f63bd5bb9c9a31dc7f91d7713e6fc217a2760af2c662406f0
 SHA512 
7a0f83320ad5e1d8f8414b5175a64eef3c6b06a7ccd7d66d0aa21472ea22146e2617ff10c20e04203fc2a3326d8bac2d95023bec315badb03e6a006596b64595
 DIST openexr-3.1.1.tar.gz 25588029 BLAKE2B 
c2ce9622ad7b8a328ce556b6120a868cddb86e908917e001f543e70501b6d31ce549fc10d65806dd9d63e63872b273ad3a1d4f6813b5d23ea238c238f5815304
 SHA512 
430becbb214cedec5a57e9ff2363badd8a2d94e8a00edffbc75fbcf30d26d887a6eb3f4ff96e371cb26f9d44e63bf0fe2dc511493a0951171ddc64bba7aed735
+DIST openexr-3.1.2.tar.gz 20315253 BLAKE2B 
d11f26d3e2bb098c4c009271b40da1eca97b120e5683137a0b38f64e2862c226aebff7c17e79344da4a1be5a1967fb8ab0493ff919a7fb5bec16b34e494e49e2
 SHA512 
34fb28f149e49bb23b2dc230dd5277229f2c780de66aff0acc819601e6802a1dbf83110b5df455dffd63be6eaa286d4aedb4b0af559b8b034d98c3208ee9d969

diff --git a/media-libs/openexr/openexr-3.1.2.ebuild 
b/media-libs/openexr/openexr-3.1.2.ebuild
new file mode 100644
index 000..7b41f0eca9d
--- /dev/null
+++ b/media-libs/openexr/openexr-3.1.2.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+MY_PN=OpenEXR
+MY_PV=$(ver_cut 1)
+MY_P=${MY_PN}-${MY_PV}
+
+DESCRIPTION="ILM's OpenEXR high dynamic-range image file format libraries"
+HOMEPAGE="https://www.openexr.com/;
+SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="3/30" # based on SONAME
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
+IUSE="cpu_flags_x86_avx doc examples large-stack static-libs utils test 
threads"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   >=dev-libs/imath-3.1.0:=
+   sys-libs/zlib
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   doc? ( dev-python/breathe )
+   virtual/pkgconfig
+"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-3.1.1-0001-changes-needed-for-proper-slotting.patch
+   
"${FILESDIR}"/${PN}-3.1.1-0002-add-version-to-binaries-for-slotting.patch
+   "${FILESDIR}"/${PN}-3.1.1-0003-disable-failing-test.patch
+)
+
+DOCS=( CHANGES.md GOVERNANCE.md PATENTS README.md SECURITY.md 
docs/SymbolVisibility.md )
+
+src_prepare() {
+   # Fix path for testsuite
+   sed -e "s:/var/tmp/:${T}:" \
+   -i "${S}"/src/test/${MY_PN}{,Fuzz,Util}Test/tmpDir.h || die 
"failed to set temp path for tests"
+
+   cmake_src_prepare
+
+   mv "${S}"/cmake/${MY_PN}.pc.in "${S}"/cmake/${MY_P}.pc.in || die
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_SHARED_LIBS=$(usex !static-libs)
+   -DBUILD_TESTING=$(usex test)
+   -DDOCS=$(usex doc)
+   -DOPENEXR_BUILD_TOOLS=$(usex utils)
+   -DOPENEXR_ENABLE_LARGE_STACK=$(usex large-stack)
+   -DOPENEXR_ENABLE_THREADING=$(usex threads)
+   -DOPENEXR_INSTALL_EXAMPLES=$(usex examples)
+   -DOPENEXR_INSTALL_PKG_CONFIG=ON
+   -DOPENEXR_INSTALL_TOOLS=$(usex utils)
+   -DOPENEXR_OUTPUT_SUBDIR="${MY_P}"
+   -DOPENEXR_USE_CLANG_TIDY=OFF# don't look for 
clang-tidy
+   )
+
+   use test && mycmakeargs+=( -DOPENEXR_RUN_FUZZ_TESTS=ON )
+
+   cmake_src_configure
+}
+
+src_install() {
+   use examples && docompress -x /usr/share/doc/${PF}/examples
+   cmake_src_install
+
+   newenvd - 99${PN}3 <<-EOF
+   LDPATH=/usr/$(get_libdir)/${MY_P}
+   EOF

[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2021-10-16 Thread Sam James
commit: a2faff8e9f064e670cbdcce4b49cf5814705809f
Author: Sam James  gentoo  org>
AuthorDate: Sat Oct 16 08:02:44 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Oct 16 09:14:59 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2faff8e

media-libs/openexr: dekeyword hppa

Nothing should really need this on HPPA
and it's too much work to rekeyword it.

Bug: https://bugs.gentoo.org/788235
Signed-off-by: Sam James  gentoo.org>

 media-libs/openexr/openexr-2.5.6.ebuild | 2 +-
 media-libs/openexr/openexr-2.5.7.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/openexr/openexr-2.5.6.ebuild 
b/media-libs/openexr/openexr-2.5.6.ebuild
index ec9bb6f201d..afb333b3e11 100644
--- a/media-libs/openexr/openexr-2.5.6.ebuild
+++ b/media-libs/openexr/openexr-2.5.6.ebuild
@@ -13,7 +13,7 @@ S="${WORKDIR}/${P}/OpenEXR"
 
 LICENSE="BSD"
 SLOT="0/25" # based on SONAME
-KEYWORDS="amd64 ~arm arm64 hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
+KEYWORDS="amd64 ~arm arm64 ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux 
~x64-macos ~x86-solaris"
 IUSE="cpu_flags_x86_avx doc examples static-libs utils test"
 RESTRICT="!test? ( test )"
 

diff --git a/media-libs/openexr/openexr-2.5.7.ebuild 
b/media-libs/openexr/openexr-2.5.7.ebuild
index 241131a5bc3..6c2808911d8 100644
--- a/media-libs/openexr/openexr-2.5.7.ebuild
+++ b/media-libs/openexr/openexr-2.5.7.ebuild
@@ -13,7 +13,7 @@ S="${WORKDIR}/${P}/OpenEXR"
 
 LICENSE="BSD"
 SLOT="0/25" # based on SONAME
-KEYWORDS="amd64 ~arm arm64 hppa ~ia64 ~ppc ~ppc64 ~riscv sparc x86 
~amd64-linux ~x86-linux ~x64-macos ~x86-solaris"
+KEYWORDS="amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~riscv sparc x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
 IUSE="cpu_flags_x86_avx doc examples static-libs utils test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2021-10-16 Thread Sam James
commit: 450ebe685f4d5698b2a74e82201ca8876101a8f0
Author: Sam James  gentoo  org>
AuthorDate: Sat Oct 16 08:04:48 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Oct 16 09:15:00 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=450ebe68

media-libs/openexr: mark -ppc -sparc

Broken with big endian right now.

Bug: https://bugs.gentoo.org/818424
Bug: https://bugs.gentoo.org/788235
Signed-off-by: Sam James  gentoo.org>

 media-libs/openexr/openexr-2.5.6.ebuild | 3 ++-
 media-libs/openexr/openexr-2.5.7.ebuild | 3 ++-
 media-libs/openexr/openexr-3.0.5.ebuild | 3 ++-
 media-libs/openexr/openexr-3.1.1.ebuild | 3 ++-
 4 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/media-libs/openexr/openexr-2.5.6.ebuild 
b/media-libs/openexr/openexr-2.5.6.ebuild
index afb333b3e11..0583348afc4 100644
--- a/media-libs/openexr/openexr-2.5.6.ebuild
+++ b/media-libs/openexr/openexr-2.5.6.ebuild
@@ -13,7 +13,8 @@ S="${WORKDIR}/${P}/OpenEXR"
 
 LICENSE="BSD"
 SLOT="0/25" # based on SONAME
-KEYWORDS="amd64 ~arm arm64 ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux 
~x64-macos ~x86-solaris"
+# -ppc -sparc because broken on big endian, bug #818424
+KEYWORDS="amd64 ~arm arm64 ~ia64 -ppc ppc64 -sparc x86 ~amd64-linux ~x86-linux 
~x64-macos ~x86-solaris"
 IUSE="cpu_flags_x86_avx doc examples static-libs utils test"
 RESTRICT="!test? ( test )"
 

diff --git a/media-libs/openexr/openexr-2.5.7.ebuild 
b/media-libs/openexr/openexr-2.5.7.ebuild
index 6c2808911d8..990a17843d0 100644
--- a/media-libs/openexr/openexr-2.5.7.ebuild
+++ b/media-libs/openexr/openexr-2.5.7.ebuild
@@ -13,7 +13,8 @@ S="${WORKDIR}/${P}/OpenEXR"
 
 LICENSE="BSD"
 SLOT="0/25" # based on SONAME
-KEYWORDS="amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~riscv sparc x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
+# -ppc -sparc because broken on big endian, bug #818424
+KEYWORDS="amd64 ~arm arm64 ~ia64 -ppc ~ppc64 ~riscv -sparc x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
 IUSE="cpu_flags_x86_avx doc examples static-libs utils test"
 RESTRICT="!test? ( test )"
 

diff --git a/media-libs/openexr/openexr-3.0.5.ebuild 
b/media-libs/openexr/openexr-3.0.5.ebuild
index 242e04c9541..47c25d2cdfc 100644
--- a/media-libs/openexr/openexr-3.0.5.ebuild
+++ b/media-libs/openexr/openexr-3.0.5.ebuild
@@ -16,7 +16,8 @@ 
SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/
 LICENSE="BSD"
 SLOT="3/29" # based on SONAME
 # imath needs keywording: arm{,64}, hppa, ia64, ppc{,64}, sparc, x64-macos, 
x86-solaris
-KEYWORDS="~amd64 ~ia64 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-solaris"
+# -ppc -sparc because broken on big endian, bug #818424
+KEYWORDS="~amd64 ~ia64 -ppc -sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos 
~x86-solaris"
 IUSE="cpu_flags_x86_avx doc examples large-stack static-libs utils test 
threads"
 RESTRICT="!test? ( test )"
 

diff --git a/media-libs/openexr/openexr-3.1.1.ebuild 
b/media-libs/openexr/openexr-3.1.1.ebuild
index 48a92e0fed9..915f1405d3d 100644
--- a/media-libs/openexr/openexr-3.1.1.ebuild
+++ b/media-libs/openexr/openexr-3.1.1.ebuild
@@ -16,7 +16,8 @@ 
SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/
 LICENSE="BSD"
 SLOT="3/30" # based on SONAME
 # imath needs keywording: x64-macos, x86-solaris
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
+# -ppc -sparc because broken on big endian, bug #818424
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 -ppc ~ppc64 -sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
 IUSE="cpu_flags_x86_avx doc examples large-stack static-libs utils test 
threads"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2021-10-09 Thread Sam James
commit: 034dbc372ce4ca108093b6ace6ba9d3969e59ad1
Author: Sam James  gentoo  org>
AuthorDate: Sat Oct  9 08:05:24 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Oct  9 08:05:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=034dbc37

media-libs/openexr: Keyword 3.1.1 sparc, #788235

Signed-off-by: Sam James  gentoo.org>

 media-libs/openexr/openexr-3.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/openexr/openexr-3.1.1.ebuild 
b/media-libs/openexr/openexr-3.1.1.ebuild
index 1841a90bc66..48a92e0fed9 100644
--- a/media-libs/openexr/openexr-3.1.1.ebuild
+++ b/media-libs/openexr/openexr-3.1.1.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/
 LICENSE="BSD"
 SLOT="3/30" # based on SONAME
 # imath needs keywording: x64-macos, x86-solaris
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux 
~x64-macos ~x86-solaris"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
 IUSE="cpu_flags_x86_avx doc examples large-stack static-libs utils test 
threads"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2021-10-09 Thread Sam James
commit: 498b9562f1d414efaedd89bf1829957af070ea10
Author: Sam James  gentoo  org>
AuthorDate: Sat Oct  9 07:59:20 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Oct  9 07:59:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=498b9562

media-libs/openexr: Keyword 3.1.1 ppc64, #788235

Signed-off-by: Sam James  gentoo.org>

 media-libs/openexr/openexr-3.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/openexr/openexr-3.1.1.ebuild 
b/media-libs/openexr/openexr-3.1.1.ebuild
index bf2200c2223..1841a90bc66 100644
--- a/media-libs/openexr/openexr-3.1.1.ebuild
+++ b/media-libs/openexr/openexr-3.1.1.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/
 LICENSE="BSD"
 SLOT="3/30" # based on SONAME
 # imath needs keywording: x64-macos, x86-solaris
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~x86 ~amd64-linux ~x86-linux 
~x64-macos ~x86-solaris"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux 
~x64-macos ~x86-solaris"
 IUSE="cpu_flags_x86_avx doc examples large-stack static-libs utils test 
threads"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2021-10-09 Thread Sam James
commit: 2559431a860db461e09327e6d120158929f26bd5
Author: Sam James  gentoo  org>
AuthorDate: Sat Oct  9 07:59:09 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Oct  9 07:59:09 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2559431a

media-libs/openexr: Keyword 3.1.1 arm, #788235

Signed-off-by: Sam James  gentoo.org>

 media-libs/openexr/openexr-3.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/openexr/openexr-3.1.1.ebuild 
b/media-libs/openexr/openexr-3.1.1.ebuild
index 572fb41e950..92ea2d39804 100644
--- a/media-libs/openexr/openexr-3.1.1.ebuild
+++ b/media-libs/openexr/openexr-3.1.1.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/
 LICENSE="BSD"
 SLOT="3/30" # based on SONAME
 # imath needs keywording: x64-macos, x86-solaris
-KEYWORDS="~amd64 ~ia64 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-solaris"
+KEYWORDS="~amd64 ~arm ~ia64 ~x86 ~amd64-linux ~x86-linux ~x64-macos 
~x86-solaris"
 IUSE="cpu_flags_x86_avx doc examples large-stack static-libs utils test 
threads"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2021-10-09 Thread Sam James
commit: 25af34b26683cd9c30de312165340836c65f0124
Author: Sam James  gentoo  org>
AuthorDate: Sat Oct  9 07:59:16 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Oct  9 07:59:16 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25af34b2

media-libs/openexr: Keyword 3.1.1 ppc, #788235

Signed-off-by: Sam James  gentoo.org>

 media-libs/openexr/openexr-3.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/openexr/openexr-3.1.1.ebuild 
b/media-libs/openexr/openexr-3.1.1.ebuild
index 21b486628f4..bf2200c2223 100644
--- a/media-libs/openexr/openexr-3.1.1.ebuild
+++ b/media-libs/openexr/openexr-3.1.1.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/
 LICENSE="BSD"
 SLOT="3/30" # based on SONAME
 # imath needs keywording: x64-macos, x86-solaris
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~x86 ~amd64-linux ~x86-linux ~x64-macos 
~x86-solaris"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~x86 ~amd64-linux ~x86-linux 
~x64-macos ~x86-solaris"
 IUSE="cpu_flags_x86_avx doc examples large-stack static-libs utils test 
threads"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2021-10-09 Thread Sam James
commit: 6a3f8f9b8e9c4a057e0a83fb67383073c8806413
Author: Sam James  gentoo  org>
AuthorDate: Sat Oct  9 07:59:12 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Oct  9 07:59:12 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a3f8f9b

media-libs/openexr: Keyword 3.1.1 arm64, #788235

Signed-off-by: Sam James  gentoo.org>

 media-libs/openexr/openexr-3.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/openexr/openexr-3.1.1.ebuild 
b/media-libs/openexr/openexr-3.1.1.ebuild
index 92ea2d39804..21b486628f4 100644
--- a/media-libs/openexr/openexr-3.1.1.ebuild
+++ b/media-libs/openexr/openexr-3.1.1.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/
 LICENSE="BSD"
 SLOT="3/30" # based on SONAME
 # imath needs keywording: x64-macos, x86-solaris
-KEYWORDS="~amd64 ~arm ~ia64 ~x86 ~amd64-linux ~x86-linux ~x64-macos 
~x86-solaris"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~x86 ~amd64-linux ~x86-linux ~x64-macos 
~x86-solaris"
 IUSE="cpu_flags_x86_avx doc examples large-stack static-libs utils test 
threads"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/files/, media-libs/openexr/

2021-08-12 Thread Joonas Niilola
commit: 0a334f4d89111d8b4e1f4ee7ee72ebcfc97f6cf8
Author: Bernd Waibel  posteo  net>
AuthorDate: Wed Aug  4 18:54:18 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Aug 12 06:45:09 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a334f4d

media-libs/openexr: bump to 3.1.1

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Bernd Waibel  posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/21884
Signed-off-by: Joonas Niilola  gentoo.org>

 media-libs/openexr/Manifest|   1 +
 ...1-0001-changes-needed-for-proper-slotting.patch | 119 ++
 ...0002-add-version-to-binaries-for-slotting.patch | 252 +
 .../openexr-3.1.1-0003-disable-failing-test.patch  |  37 +++
 media-libs/openexr/openexr-3.1.1.ebuild|  78 +++
 5 files changed, 487 insertions(+)

diff --git a/media-libs/openexr/Manifest b/media-libs/openexr/Manifest
index f629276e8aa..741a982337e 100644
--- a/media-libs/openexr/Manifest
+++ b/media-libs/openexr/Manifest
@@ -1,3 +1,4 @@
 DIST openexr-2.5.6.tar.gz 27540385 BLAKE2B 
eea64c6ae4500de31673f3127da6ac98272e85a2c93e2aed96494cc24c397edbce508f0721387be5bbabc4dde596dccf61212709173b7cebd4212dbfbd1e4b65
 SHA512 
8d4582a5f2adcd5eb1486cabe033f9ecaa0292000bf7fa484a94e1d9ec908678a5a903fc6a1beba22bcd9c7f06ac51236834f448ea8aaf4462a338de886f0412
 DIST openexr-2.5.7.tar.gz 27539574 BLAKE2B 
58fd81be52e13d2815b6aa8cea6793359379f5ebf866fd45b31ce30cf5f72aa4699625e7cec51189d62fe76f53418c3e0938f9b827d54ad18342e7aa67c8a3d2
 SHA512 
e44edfa2dcfff2fe372ed2ba07b39a472e549025978de178eff26be641767d22d1a3b543fb7672d9b7b2e9f4c308667f785829ed6d9032a2b42f2ffa0163de40
 DIST openexr-3.0.5.tar.gz 25060148 BLAKE2B 
24b5601e27342eeff831219f75416797c30afb1ca28ae0a0692d97169297584da503d016c6dda80f63bd5bb9c9a31dc7f91d7713e6fc217a2760af2c662406f0
 SHA512 
7a0f83320ad5e1d8f8414b5175a64eef3c6b06a7ccd7d66d0aa21472ea22146e2617ff10c20e04203fc2a3326d8bac2d95023bec315badb03e6a006596b64595
+DIST openexr-3.1.1.tar.gz 25588029 BLAKE2B 
c2ce9622ad7b8a328ce556b6120a868cddb86e908917e001f543e70501b6d31ce549fc10d65806dd9d63e63872b273ad3a1d4f6813b5d23ea238c238f5815304
 SHA512 
430becbb214cedec5a57e9ff2363badd8a2d94e8a00edffbc75fbcf30d26d887a6eb3f4ff96e371cb26f9d44e63bf0fe2dc511493a0951171ddc64bba7aed735

diff --git 
a/media-libs/openexr/files/openexr-3.1.1-0001-changes-needed-for-proper-slotting.patch
 
b/media-libs/openexr/files/openexr-3.1.1-0001-changes-needed-for-proper-slotting.patch
new file mode 100644
index 000..29aef05acf5
--- /dev/null
+++ 
b/media-libs/openexr/files/openexr-3.1.1-0001-changes-needed-for-proper-slotting.patch
@@ -0,0 +1,119 @@
+From: Bernd Waibel 
+Date: Tue, 3 Aug 2021 19:50:40 +0200
+Subject: [PATCH 1/2] changes needed for proper slotting
+
+Signed-off-by: Bernd Waibel 
+---
+ cmake/CMakeLists.txt | 8 
+ cmake/LibraryDefine.cmake| 8 
+ cmake/OpenEXR.pc.in  | 4 ++--
+ cmake/OpenEXRLibraryDefine.cmake | 8 
+ 4 files changed, 14 insertions(+), 14 deletions(-)
+
+diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
+index 79497d9..a22afd1 100644
+--- a/cmake/CMakeLists.txt
 b/cmake/CMakeLists.txt
+@@ -205,7 +205,7 @@ if(OPENEXR_INSTALL_PKG_CONFIG)
+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig
+ )
+   endfunction()
+-  openexr_pkg_config_help(OpenEXR.pc.in)
++  openexr_pkg_config_help(OpenEXR-${OpenEXR_VERSION_MAJOR}.pc.in)
+ else()
+   message(STATUS "-- pkg-config generation disabled")
+ endif()
+@@ -225,7 +225,7 @@ include(CMakePackageConfigHelpers)
+ if(OPENEXR_INSTALL)
+ configure_package_config_file(${PROJECT_NAME}Config.cmake.in
+   ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake
+-  INSTALL_DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}
++  INSTALL_DESTINATION 
${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}-${OpenEXR_VERSION_MAJOR}
+ )
+ write_basic_package_version_file("${PROJECT_NAME}ConfigVersion.cmake"
+   VERSION ${PROJECT_VERSION}
+@@ -234,11 +234,11 @@ 
write_basic_package_version_file("${PROJECT_NAME}ConfigVersion.cmake"
+ 
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake
+   ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}ConfigVersion.cmake
+-  DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}
++  DESTINATION 
${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}-${OpenEXR_VERSION_MAJOR}
+ )
+ 
+ install(EXPORT ${PROJECT_NAME}
+-  DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}
++  DESTINATION 
${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}-${OpenEXR_VERSION_MAJOR}
+   FILE ${PROJECT_NAME}Targets.cmake
+   NAMESPACE ${PROJECT_NAME}::
+   EXPORT_LINK_INTERFACE_LIBRARIES
+diff --git a/cmake/LibraryDefine.cmake b/cmake/LibraryDefine.cmake
+index 5696f3f..b4787b1 100644
+--- a/cmake/LibraryDefine.cmake
 b/cmake/LibraryDefine.cmake
+@@ -79,8 +79,8 @@ function(OPENEXR_DEFINE_LIBRARY libname)
+ install(TARGETS ${libname}
+   EXPORT 

[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2021-08-12 Thread Joonas Niilola
commit: 4282b57d80283d5bf7022ae059ef8a7c876fb169
Author: Joonas Niilola  gentoo  org>
AuthorDate: Thu Aug 12 06:40:12 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Aug 12 06:45:09 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4282b57d

media-libs/openexr: use newenvd in src_install in 3.1.1

Signed-off-by: Joonas Niilola  gentoo.org>

 media-libs/openexr/openexr-3.1.1.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/media-libs/openexr/openexr-3.1.1.ebuild 
b/media-libs/openexr/openexr-3.1.1.ebuild
index 41ba22b004d..572fb41e950 100644
--- a/media-libs/openexr/openexr-3.1.1.ebuild
+++ b/media-libs/openexr/openexr-3.1.1.ebuild
@@ -71,8 +71,7 @@ src_install() {
use examples && docompress -x /usr/share/doc/${PF}/examples
cmake_src_install
 
-   cat > "${T}"/99${PN}3 <<-EOF || die
-   LDPATH=/usr/$(get_libdir)/${MY_P}
+   newenvd - 99${PN}3 <<-EOF
+   LDPATH=/usr/$(get_libdir)/${MY_P}
EOF
-   doenvd "${T}"/99${PN}3
 }



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2021-08-05 Thread Sergei Trofimovich
commit: abaf85ebb66257973f1539b3f50770a0bcdac208
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Thu Aug  5 10:07:36 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu Aug  5 11:10:53 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abaf85eb

media-libs/openexr: stable 2.5.7 for hppa, bug #787452

Package-Manager: Portage-3.0.20, Repoman-3.0.2
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 media-libs/openexr/openexr-2.5.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/openexr/openexr-2.5.7.ebuild 
b/media-libs/openexr/openexr-2.5.7.ebuild
index d9bb63b6569..241131a5bc3 100644
--- a/media-libs/openexr/openexr-2.5.7.ebuild
+++ b/media-libs/openexr/openexr-2.5.7.ebuild
@@ -13,7 +13,7 @@ S="${WORKDIR}/${P}/OpenEXR"
 
 LICENSE="BSD"
 SLOT="0/25" # based on SONAME
-KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv sparc x86 
~amd64-linux ~x86-linux ~x64-macos ~x86-solaris"
+KEYWORDS="amd64 ~arm arm64 hppa ~ia64 ~ppc ~ppc64 ~riscv sparc x86 
~amd64-linux ~x86-linux ~x64-macos ~x86-solaris"
 IUSE="cpu_flags_x86_avx doc examples static-libs utils test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2021-07-22 Thread Sergei Trofimovich
commit: e31b35a7f44cf2915ba15dbcfafab15d8a2ced07
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Thu Jul 22 14:54:04 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu Jul 22 15:00:53 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e31b35a7

media-libs/openexr: stable 2.5.7 for sparc, bug #787452

Package-Manager: Portage-3.0.20, Repoman-3.0.2
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 media-libs/openexr/openexr-2.5.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/openexr/openexr-2.5.7.ebuild 
b/media-libs/openexr/openexr-2.5.7.ebuild
index 8a5f1c968b2..d9bb63b6569 100644
--- a/media-libs/openexr/openexr-2.5.7.ebuild
+++ b/media-libs/openexr/openexr-2.5.7.ebuild
@@ -13,7 +13,7 @@ S="${WORKDIR}/${P}/OpenEXR"
 
 LICENSE="BSD"
 SLOT="0/25" # based on SONAME
-KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86 
~amd64-linux ~x86-linux ~x64-macos ~x86-solaris"
+KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv sparc x86 
~amd64-linux ~x86-linux ~x64-macos ~x86-solaris"
 IUSE="cpu_flags_x86_avx doc examples static-libs utils test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/files/, media-libs/openexr/

2021-07-21 Thread Marek Szuba
commit: c92b3342d9a7cd0d2c90f81244a02f23b249db46
Author: Bernd Waibel  posteo  net>
AuthorDate: Fri May 21 23:12:34 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Wed Jul 21 21:57:28 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c92b3342

media-libs/openexr: bump to 3.0.5

Improves slotting, so that openexr-2 and openexr-3
can be installed in parallel.
Drop multilib support. Only multilib-aware consumer was
media-libs/opencv. Using multilib would require it on
dev-libs/imath as well which is not possible.

Closes: https://bugs.gentoo.org/788286
Bug: https://bugs.gentoo.org/788310
Bug: https://bugs.gentoo.org/801373
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Bernd Waibel  posteo.net>
Signed-off-by: Marek Szuba  gentoo.org>

 media-libs/openexr/Manifest|   1 +
 ...5-0001-changes-needed-for-proper-slotting.patch | 119 +++
 ...0002-add-version-to-binaries-for-slotting.patch | 229 +
 media-libs/openexr/openexr-3.0.5.ebuild|  77 +++
 4 files changed, 426 insertions(+)

diff --git a/media-libs/openexr/Manifest b/media-libs/openexr/Manifest
index 7f2f02e9d3c..dac7103a63a 100644
--- a/media-libs/openexr/Manifest
+++ b/media-libs/openexr/Manifest
@@ -1,3 +1,4 @@
 DIST openexr-2.5.6.tar.gz 27540385 BLAKE2B 
eea64c6ae4500de31673f3127da6ac98272e85a2c93e2aed96494cc24c397edbce508f0721387be5bbabc4dde596dccf61212709173b7cebd4212dbfbd1e4b65
 SHA512 
8d4582a5f2adcd5eb1486cabe033f9ecaa0292000bf7fa484a94e1d9ec908678a5a903fc6a1beba22bcd9c7f06ac51236834f448ea8aaf4462a338de886f0412
 DIST openexr-2.5.7.tar.gz 27539574 BLAKE2B 
58fd81be52e13d2815b6aa8cea6793359379f5ebf866fd45b31ce30cf5f72aa4699625e7cec51189d62fe76f53418c3e0938f9b827d54ad18342e7aa67c8a3d2
 SHA512 
e44edfa2dcfff2fe372ed2ba07b39a472e549025978de178eff26be641767d22d1a3b543fb7672d9b7b2e9f4c308667f785829ed6d9032a2b42f2ffa0163de40
 DIST openexr-3.0.1.tar.gz 25059445 BLAKE2B 
76bce1ff830b5e32362bfaf91d39945add171c5c1f453968b2fa8ba41e0996064d3a104eb7759cea87477e96e8a52d548743c7d83f5c6131dd38aecdd47bd6dd
 SHA512 
e450c55d150e4c0a8a9147f78fe1c73ea9134976444f8c77c832d0671d4c3796f96fee74d23f26cdb9383e658a33d6d57c989e9207d1edfc8556ad688ff25a5b
+DIST openexr-3.0.5.tar.gz 25060148 BLAKE2B 
24b5601e27342eeff831219f75416797c30afb1ca28ae0a0692d97169297584da503d016c6dda80f63bd5bb9c9a31dc7f91d7713e6fc217a2760af2c662406f0
 SHA512 
7a0f83320ad5e1d8f8414b5175a64eef3c6b06a7ccd7d66d0aa21472ea22146e2617ff10c20e04203fc2a3326d8bac2d95023bec315badb03e6a006596b64595

diff --git 
a/media-libs/openexr/files/openexr-3.0.5-0001-changes-needed-for-proper-slotting.patch
 
b/media-libs/openexr/files/openexr-3.0.5-0001-changes-needed-for-proper-slotting.patch
new file mode 100644
index 000..30991f423b0
--- /dev/null
+++ 
b/media-libs/openexr/files/openexr-3.0.5-0001-changes-needed-for-proper-slotting.patch
@@ -0,0 +1,119 @@
+From: Bernd Waibel 
+Date: Fri, 2 Jul 2021 17:46:33 +0200
+Subject: [PATCH] changes needed for proper slotting
+
+Signed-off-by: Bernd Waibel 
+---
+ cmake/CMakeLists.txt | 8 
+ cmake/LibraryDefine.cmake| 8 
+ cmake/OpenEXR.pc.in  | 4 ++--
+ cmake/OpenEXRLibraryDefine.cmake | 8 
+ 4 files changed, 14 insertions(+), 14 deletions(-)
+
+diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
+index 2014d27..7dfb2f2 100644
+--- a/cmake/CMakeLists.txt
 b/cmake/CMakeLists.txt
+@@ -200,7 +200,7 @@ if(OPENEXR_INSTALL_PKG_CONFIG)
+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig
+ )
+   endfunction()
+-  openexr_pkg_config_help(OpenEXR.pc.in)
++  openexr_pkg_config_help(OpenEXR-${OpenEXR_VERSION_MAJOR}.pc.in)
+ else()
+   message(STATUS "-- pkg-config generation disabled")
+ endif()
+@@ -220,7 +220,7 @@ include(CMakePackageConfigHelpers)
+ if(OPENEXR_INSTALL)
+ configure_package_config_file(${PROJECT_NAME}Config.cmake.in
+   ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake
+-  INSTALL_DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}
++  INSTALL_DESTINATION 
${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}-${OpenEXR_VERSION_MAJOR}
+ )
+ write_basic_package_version_file("${PROJECT_NAME}ConfigVersion.cmake"
+   VERSION ${PROJECT_VERSION}
+@@ -229,11 +229,11 @@ 
write_basic_package_version_file("${PROJECT_NAME}ConfigVersion.cmake"
+ 
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake
+   ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}ConfigVersion.cmake
+-  DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}
++  DESTINATION 
${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}-${OpenEXR_VERSION_MAJOR}
+ )
+ 
+ install(EXPORT ${PROJECT_NAME}
+-  DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}
++  DESTINATION 
${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}-${OpenEXR_VERSION_MAJOR}
+   FILE ${PROJECT_NAME}Targets.cmake
+   NAMESPACE ${PROJECT_NAME}::
+   EXPORT_LINK_INTERFACE_LIBRARIES
+diff --git a/cmake/LibraryDefine.cmake 

[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2021-07-21 Thread Marek Szuba
commit: 41fb97877471e4f009ba37dae571e662ae5f041b
Author: Bernd Waibel  posteo  net>
AuthorDate: Fri May 21 23:15:03 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Wed Jul 21 21:57:30 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41fb9787

media-libs/openexr: drop 3.0.1

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Bernd Waibel  posteo.net>
Signed-off-by: Marek Szuba  gentoo.org>

 media-libs/openexr/Manifest |  1 -
 media-libs/openexr/openexr-3.0.1.ebuild | 65 -
 2 files changed, 66 deletions(-)

diff --git a/media-libs/openexr/Manifest b/media-libs/openexr/Manifest
index dac7103a63a..f629276e8aa 100644
--- a/media-libs/openexr/Manifest
+++ b/media-libs/openexr/Manifest
@@ -1,4 +1,3 @@
 DIST openexr-2.5.6.tar.gz 27540385 BLAKE2B 
eea64c6ae4500de31673f3127da6ac98272e85a2c93e2aed96494cc24c397edbce508f0721387be5bbabc4dde596dccf61212709173b7cebd4212dbfbd1e4b65
 SHA512 
8d4582a5f2adcd5eb1486cabe033f9ecaa0292000bf7fa484a94e1d9ec908678a5a903fc6a1beba22bcd9c7f06ac51236834f448ea8aaf4462a338de886f0412
 DIST openexr-2.5.7.tar.gz 27539574 BLAKE2B 
58fd81be52e13d2815b6aa8cea6793359379f5ebf866fd45b31ce30cf5f72aa4699625e7cec51189d62fe76f53418c3e0938f9b827d54ad18342e7aa67c8a3d2
 SHA512 
e44edfa2dcfff2fe372ed2ba07b39a472e549025978de178eff26be641767d22d1a3b543fb7672d9b7b2e9f4c308667f785829ed6d9032a2b42f2ffa0163de40
-DIST openexr-3.0.1.tar.gz 25059445 BLAKE2B 
76bce1ff830b5e32362bfaf91d39945add171c5c1f453968b2fa8ba41e0996064d3a104eb7759cea87477e96e8a52d548743c7d83f5c6131dd38aecdd47bd6dd
 SHA512 
e450c55d150e4c0a8a9147f78fe1c73ea9134976444f8c77c832d0671d4c3796f96fee74d23f26cdb9383e658a33d6d57c989e9207d1edfc8556ad688ff25a5b
 DIST openexr-3.0.5.tar.gz 25060148 BLAKE2B 
24b5601e27342eeff831219f75416797c30afb1ca28ae0a0692d97169297584da503d016c6dda80f63bd5bb9c9a31dc7f91d7713e6fc217a2760af2c662406f0
 SHA512 
7a0f83320ad5e1d8f8414b5175a64eef3c6b06a7ccd7d66d0aa21472ea22146e2617ff10c20e04203fc2a3326d8bac2d95023bec315badb03e6a006596b64595

diff --git a/media-libs/openexr/openexr-3.0.1.ebuild 
b/media-libs/openexr/openexr-3.0.1.ebuild
deleted file mode 100644
index 5b225425f83..000
--- a/media-libs/openexr/openexr-3.0.1.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-CMAKE_ECLASS=cmake
-inherit cmake-multilib flag-o-matic toolchain-funcs
-
-DESCRIPTION="ILM's OpenEXR high dynamic-range image file format libraries"
-HOMEPAGE="https://www.openexr.com/;
-SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz"
-#S="${WORKDIR}/${PN}-${MY_PV}"
-
-LICENSE="BSD"
-SLOT="0/27" # based on SONAME
-# imath needs keywording: arm{,64}, hppa, ia64, ppc{,64}, sparc, x64-macos, 
x86-solaris
-KEYWORDS="~amd64 ~ia64 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-solaris"
-IUSE="cpu_flags_x86_avx doc examples large-stack static-libs utils test 
threads"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   !media-libs/ilmbase
-   dev-libs/imath:=
-   sys-libs/zlib[${MULTILIB_USEDEP}]
-"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-DOCS=( CHANGES.md GOVERNANCE.md PATENTS README.md SECURITY.md 
docs/SymbolVisibility.md )
-
-#src_prepare() {
-   # Fix path for testsuite
-#  sed -i -e "s:/var/tmp/:${T}:" "${S}"/IlmImfTest/tmpDir.h || die "failed 
to set temp path for tests"
-
-#  if use abi_x86_32 && use test; then
-#  eapply 
"${FILESDIR}/${PN}-2.5.2-0001-IlmImfTest-main.cpp-disable-tests.patch"
-#  fi
-
-#  multilib_foreach_abi cmake_src_prepare
-#}
-
-multilib_src_configure() {
-   local mycmakeargs=(
-   -DBUILD_SHARED_LIBS=$(usex !static-libs)
-   -DBUILD_TESTING=$(usex test)
-   -DOPENEXR_BUILD_UTILS=$(usex utils)
-   -DOPENEXR_ENABLE_LARGE_STACK=$(usex large-stack)
-   -DOPENEXR_ENABLE_THREADING=$(usex threads)
-   -DOPENEXR_INSTALL_EXAMPLES=$(usex examples)
-   -DOPENEXR_INSTALL_PKG_CONFIG=ON
-   -DOPENEXR_INSTALL_TOOLS=$(usex utils)
-   -DOPENEXR_USE_CLANG_TIDY=OFF# don't look for 
clang-tidy
-   )
-
-   cmake_src_configure
-}
-
-multilib_src_install_all() {
-   if use doc; then
-   DOCS+=( docs/*.pdf )
-   fi
-   einstalldocs
-
-   use examples && docompress -x /usr/share/doc/${PF}/examples
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/files/, media-libs/openexr/, profiles/arch/riscv/

2021-07-16 Thread Marek Szuba
commit: ab742fb45261c9c6214f31e08cdb35eee83efe2e
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Jul 16 22:11:40 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Jul 16 22:16:27 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab742fb4

media-libs/openexr: keyword 2.5.7 for ~riscv

On a BeagleV Starlight, IlmImfTest times out by default - but with the
time-out threshold increased from the default 1500 s to 1.5 h, tests
pass.

Signed-off-by: Marek Szuba  gentoo.org>

 .../openexr-2.5.7-0002-increase-IlmImfTest-timeout.patch| 13 +
 media-libs/openexr/openexr-2.5.7.ebuild |  8 +++-
 profiles/arch/riscv/package.use.mask|  6 --
 3 files changed, 20 insertions(+), 7 deletions(-)

diff --git 
a/media-libs/openexr/files/openexr-2.5.7-0002-increase-IlmImfTest-timeout.patch 
b/media-libs/openexr/files/openexr-2.5.7-0002-increase-IlmImfTest-timeout.patch
new file mode 100644
index 000..ef71bc0e687
--- /dev/null
+++ 
b/media-libs/openexr/files/openexr-2.5.7-0002-increase-IlmImfTest-timeout.patch
@@ -0,0 +1,13 @@
+This consists of A LOT of individual tests and on some hardware
+(e.g. the RISC-V board BeagleV Starlight) the default test time-out
+of 1500 seconds is greatly insufficient. On said BeagleV OpenEXR.IlmImf
+takes almost 4800 s even on an otherwise idle system so let's add a bit
+of margin and set the time-out of this test to 1.5 hours.
+
+--- a/IlmImfTest/CMakeLists.txt2021-06-15 00:15:14.0 +
 b/IlmImfTest/CMakeLists.txt2021-07-16 16:51:20.600435829 +
+@@ -73,3 +73,4 @@
+   target_compile_definitions(IlmImfTest PRIVATE OPENEXR_DLL)
+ endif()
+ add_test(NAME OpenEXR.IlmImf COMMAND $)
++set_tests_properties(OpenEXR.IlmImf PROPERTIES TIMEOUT 5400)

diff --git a/media-libs/openexr/openexr-2.5.7.ebuild 
b/media-libs/openexr/openexr-2.5.7.ebuild
index d94729d81f2..8a5f1c968b2 100644
--- a/media-libs/openexr/openexr-2.5.7.ebuild
+++ b/media-libs/openexr/openexr-2.5.7.ebuild
@@ -13,7 +13,7 @@ S="${WORKDIR}/${P}/OpenEXR"
 
 LICENSE="BSD"
 SLOT="0/25" # based on SONAME
-KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
+KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86 
~amd64-linux ~x86-linux ~x64-macos ~x86-solaris"
 IUSE="cpu_flags_x86_avx doc examples static-libs utils test"
 RESTRICT="!test? ( test )"
 
@@ -36,6 +36,12 @@ src_prepare() {
eapply 
"${FILESDIR}/${PN}-2.5.2-0001-IlmImfTest-main.cpp-disable-tests.patch"
fi
 
+   # Technically this doesn't disable anything, it just gives this 
test time to complete.
+   # Could probably be applied unconditionally but will leave this 
to the maintainers.
+   if use riscv; then
+   eapply 
"${FILESDIR}/${P}-0002-increase-IlmImfTest-timeout.patch"
+   fi
+
if use sparc; then
eapply 
"${FILESDIR}/${P}-0001-disable-testRgba-on-sparc.patch"
fi

diff --git a/profiles/arch/riscv/package.use.mask 
b/profiles/arch/riscv/package.use.mask
index 4140a2b47de..eca3ce4ba37 100644
--- a/profiles/arch/riscv/package.use.mask
+++ b/profiles/arch/riscv/package.use.mask
@@ -52,12 +52,6 @@ sys-cluster/openmpi openmpi_fabrics_ofed 
openmpi_fabrics_knem openmpi_fabrics_ps
 #  - sci-libs/hdf5, sys-fabric/ofed, dev-db/mariadb | dev-db/mysql
 sys-cluster/slurm hdf5 ofed slurmdbd
 
-# Ye Cao  (2021-06-24)
-# media-libs/openexr not keyworded yet - it compiles fine but the its test
-# suite times out, even with the time limit increased from 1500 to 3600 s.
-# Needs more work.
-media-gfx/imagemagick openexr
-
 # Yixun Lan  (2021-05-24)
 # Dependencies not keyworded, not tested
 dev-libs/libdbusmenu test



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2021-07-10 Thread Sam James
commit: b42bd87c947e4ec780623c7714681daa1001fef4
Author: Sam James  gentoo  org>
AuthorDate: Sat Jul 10 15:40:17 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jul 10 15:40:17 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b42bd87c

media-libs/openexr: Stabilize 2.5.7 arm64, #787452

Signed-off-by: Sam James  gentoo.org>

 media-libs/openexr/openexr-2.5.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/openexr/openexr-2.5.7.ebuild 
b/media-libs/openexr/openexr-2.5.7.ebuild
index de754faf4e5..5c82d9b3e08 100644
--- a/media-libs/openexr/openexr-2.5.7.ebuild
+++ b/media-libs/openexr/openexr-2.5.7.ebuild
@@ -13,7 +13,7 @@ S="${WORKDIR}/${P}/OpenEXR"
 
 LICENSE="BSD"
 SLOT="0/25" # based on SONAME
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
+KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
 IUSE="cpu_flags_x86_avx doc examples static-libs utils test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2021-07-10 Thread John Helmert III
commit: 5995fad1ec2cb2ac11e9c471be1778e6e0464426
Author: Bernd Waibel  posteo  net>
AuthorDate: Sat Jul 10 09:13:52 2021 +
Commit: John Helmert III  gentoo  org>
CommitDate: Sat Jul 10 12:37:09 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5995fad1

media-libs/openexr: drop 2.5.5

Security cleanup

Bug: https://bugs.gentoo.org/776808
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Bernd Waibel  posteo.net>
Signed-off-by: John Helmert III  gentoo.org>

 media-libs/openexr/Manifest |  1 -
 media-libs/openexr/openexr-2.5.5.ebuild | 62 -
 2 files changed, 63 deletions(-)

diff --git a/media-libs/openexr/Manifest b/media-libs/openexr/Manifest
index 3c013834943..7f2f02e9d3c 100644
--- a/media-libs/openexr/Manifest
+++ b/media-libs/openexr/Manifest
@@ -1,4 +1,3 @@
-DIST openexr-2.5.5.tar.gz 27536865 BLAKE2B 
d0c0b2fd39b2cfafb60b6d0de3960063ff62341cf22be519f874c0c83f05cb604c5d503bb8b88514c71c5a54a79afa80a7fd00c2df15ec2193f6b3cffdc117c6
 SHA512 
e511af26a8fe2175a641fd25d2dcc6ef807e00bee2aff06a4784125f916ffd47fe376fe0621d385b604180a239bbfee063f8ceee3f7b731fde3c38558e9fdcdf
 DIST openexr-2.5.6.tar.gz 27540385 BLAKE2B 
eea64c6ae4500de31673f3127da6ac98272e85a2c93e2aed96494cc24c397edbce508f0721387be5bbabc4dde596dccf61212709173b7cebd4212dbfbd1e4b65
 SHA512 
8d4582a5f2adcd5eb1486cabe033f9ecaa0292000bf7fa484a94e1d9ec908678a5a903fc6a1beba22bcd9c7f06ac51236834f448ea8aaf4462a338de886f0412
 DIST openexr-2.5.7.tar.gz 27539574 BLAKE2B 
58fd81be52e13d2815b6aa8cea6793359379f5ebf866fd45b31ce30cf5f72aa4699625e7cec51189d62fe76f53418c3e0938f9b827d54ad18342e7aa67c8a3d2
 SHA512 
e44edfa2dcfff2fe372ed2ba07b39a472e549025978de178eff26be641767d22d1a3b543fb7672d9b7b2e9f4c308667f785829ed6d9032a2b42f2ffa0163de40
 DIST openexr-3.0.1.tar.gz 25059445 BLAKE2B 
76bce1ff830b5e32362bfaf91d39945add171c5c1f453968b2fa8ba41e0996064d3a104eb7759cea87477e96e8a52d548743c7d83f5c6131dd38aecdd47bd6dd
 SHA512 
e450c55d150e4c0a8a9147f78fe1c73ea9134976444f8c77c832d0671d4c3796f96fee74d23f26cdb9383e658a33d6d57c989e9207d1edfc8556ad688ff25a5b

diff --git a/media-libs/openexr/openexr-2.5.5.ebuild 
b/media-libs/openexr/openexr-2.5.5.ebuild
deleted file mode 100644
index c60a06f6f05..000
--- a/media-libs/openexr/openexr-2.5.5.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-CMAKE_ECLASS=cmake
-inherit cmake-multilib flag-o-matic toolchain-funcs
-
-DESCRIPTION="ILM's OpenEXR high dynamic-range image file format libraries"
-HOMEPAGE="https://www.openexr.com/;
-SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/v${PV}.tar.gz
 -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0/25" # based on SONAME
-KEYWORDS="amd64 ~arm arm64 hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
-IUSE="cpu_flags_x86_avx doc examples static-libs utils test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   ~media-libs/ilmbase-${PV}:=[static-libs?,${MULTILIB_USEDEP}]
-   sys-libs/zlib[${MULTILIB_USEDEP}]
-"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-S="${WORKDIR}/${P}/OpenEXR"
-
-DOCS=( PATENTS README.md )
-
-src_prepare() {
-   # Fix path for testsuite
-   sed -i -e "s:/var/tmp/:${T}:" "${S}"/IlmImfTest/tmpDir.h || die "failed 
to set temp path for tests"
-
-   if use abi_x86_32 && use test; then
-   eapply 
"${FILESDIR}/${PN}-2.5.2-0001-IlmImfTest-main.cpp-disable-tests.patch"
-   fi
-
-   multilib_foreach_abi cmake_src_prepare
-}
-
-multilib_src_configure() {
-   local mycmakeargs=(
-   -DBUILD_TESTING=$(usex test)
-   -DINSTALL_OPENEXR_DOCS=$(usex doc)
-   -DINSTALL_OPENEXR_EXAMPLES=$(usex examples)
-   -DOPENEXR_BUILD_BOTH_STATIC_SHARED=$(usex static-libs)
-   -DOPENEXR_BUILD_UTILS=$(usex utils)
-   -DOPENEXR_INSTALL_PKG_CONFIG=ON
-   -DOPENEXR_USE_CLANG_TIDY=OFF# don't look for 
clang-tidy
-   )
-
-   cmake_src_configure
-}
-
-multilib_src_install_all() {
-   if use doc; then
-   DOCS+=( doc/*.pdf )
-   fi
-   einstalldocs
-
-   use examples && docompress -x /usr/share/doc/${PF}/examples
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2021-07-10 Thread Agostino Sarubbo
commit: 7b37dcfdf7fbf897d1c84d07f99d15767b268c1c
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Jul 10 10:43:42 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Jul 10 10:43:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b37dcfd

media-libs/openexr: amd64 stable wrt bug #787452

Package-Manager: Portage-3.0.20, Repoman-3.0.2
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-libs/openexr/openexr-2.5.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/openexr/openexr-2.5.7.ebuild 
b/media-libs/openexr/openexr-2.5.7.ebuild
index 7850aca1b9e..de754faf4e5 100644
--- a/media-libs/openexr/openexr-2.5.7.ebuild
+++ b/media-libs/openexr/openexr-2.5.7.ebuild
@@ -13,7 +13,7 @@ S="${WORKDIR}/${P}/OpenEXR"
 
 LICENSE="BSD"
 SLOT="0/25" # based on SONAME
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
 IUSE="cpu_flags_x86_avx doc examples static-libs utils test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/, media-libs/openexr/files/

2021-06-22 Thread Sam James
commit: 075636aa0f50bf863c6185af87942ee1eca5e044
Author: Bernd Waibel  posteo  net>
AuthorDate: Mon Jun 21 22:38:44 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jun 22 18:35:06 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=075636aa

media-libs/openexr: bump to 2.5.7

Closes: https://bugs.gentoo.org/656680
Bug: https://bugs.gentoo.org/776808
Bug: https://bugs.gentoo.org/787452
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Bernd Waibel  posteo.net>
Signed-off-by: Sam James  gentoo.org>

 media-libs/openexr/Manifest|  1 +
 ...nexr-2.5.7-0001-disable-testRgba-on-sparc.patch | 31 ++
 media-libs/openexr/openexr-2.5.7.ebuild| 68 ++
 3 files changed, 100 insertions(+)

diff --git a/media-libs/openexr/Manifest b/media-libs/openexr/Manifest
index 70d32b88571..3c013834943 100644
--- a/media-libs/openexr/Manifest
+++ b/media-libs/openexr/Manifest
@@ -1,3 +1,4 @@
 DIST openexr-2.5.5.tar.gz 27536865 BLAKE2B 
d0c0b2fd39b2cfafb60b6d0de3960063ff62341cf22be519f874c0c83f05cb604c5d503bb8b88514c71c5a54a79afa80a7fd00c2df15ec2193f6b3cffdc117c6
 SHA512 
e511af26a8fe2175a641fd25d2dcc6ef807e00bee2aff06a4784125f916ffd47fe376fe0621d385b604180a239bbfee063f8ceee3f7b731fde3c38558e9fdcdf
 DIST openexr-2.5.6.tar.gz 27540385 BLAKE2B 
eea64c6ae4500de31673f3127da6ac98272e85a2c93e2aed96494cc24c397edbce508f0721387be5bbabc4dde596dccf61212709173b7cebd4212dbfbd1e4b65
 SHA512 
8d4582a5f2adcd5eb1486cabe033f9ecaa0292000bf7fa484a94e1d9ec908678a5a903fc6a1beba22bcd9c7f06ac51236834f448ea8aaf4462a338de886f0412
+DIST openexr-2.5.7.tar.gz 27539574 BLAKE2B 
58fd81be52e13d2815b6aa8cea6793359379f5ebf866fd45b31ce30cf5f72aa4699625e7cec51189d62fe76f53418c3e0938f9b827d54ad18342e7aa67c8a3d2
 SHA512 
e44edfa2dcfff2fe372ed2ba07b39a472e549025978de178eff26be641767d22d1a3b543fb7672d9b7b2e9f4c308667f785829ed6d9032a2b42f2ffa0163de40
 DIST openexr-3.0.1.tar.gz 25059445 BLAKE2B 
76bce1ff830b5e32362bfaf91d39945add171c5c1f453968b2fa8ba41e0996064d3a104eb7759cea87477e96e8a52d548743c7d83f5c6131dd38aecdd47bd6dd
 SHA512 
e450c55d150e4c0a8a9147f78fe1c73ea9134976444f8c77c832d0671d4c3796f96fee74d23f26cdb9383e658a33d6d57c989e9207d1edfc8556ad688ff25a5b

diff --git 
a/media-libs/openexr/files/openexr-2.5.7-0001-disable-testRgba-on-sparc.patch 
b/media-libs/openexr/files/openexr-2.5.7-0001-disable-testRgba-on-sparc.patch
new file mode 100644
index 000..368c9173d13
--- /dev/null
+++ 
b/media-libs/openexr/files/openexr-2.5.7-0001-disable-testRgba-on-sparc.patch
@@ -0,0 +1,31 @@
+From: Bernd Waibel 
+Date: Mon, 21 Jun 2021 12:03:02 +0200
+Subject: [PATCH] disable testRgba on sparc
+
+Fails on sparc, bug #656680 and issue
+https://github.com/openexr/openexr/issues/222
+
+Bug: https://bugs.gentoo.org/656680
+Bug: https://github.com/AcademySoftwareFoundation/openexr/issues/222
+
+Signed-off-by: Bernd Waibel 
+---
+ IlmImfTest/main.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/IlmImfTest/main.cpp b/IlmImfTest/main.cpp
+index 3245fc4..3ba3e60 100644
+--- a/IlmImfTest/main.cpp
 b/IlmImfTest/main.cpp
+@@ -206,7 +206,7 @@ main (int argc, char *argv[])
+ TEST (testXdr, "core");
+ TEST (testHuf, "core");
+ TEST (testWav, "core");
+-TEST (testRgba, "basic");
++//TEST (testRgba, "basic");
+ TEST (testLargeDataWindowOffsets, "basic");
+ TEST (testSharedFrameBuffer, "basic");
+ TEST (testRgbaThreading, "basic");
+-- 
+2.32.0
+

diff --git a/media-libs/openexr/openexr-2.5.7.ebuild 
b/media-libs/openexr/openexr-2.5.7.ebuild
new file mode 100644
index 000..7850aca1b9e
--- /dev/null
+++ b/media-libs/openexr/openexr-2.5.7.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_ECLASS=cmake
+inherit cmake-multilib flag-o-matic toolchain-funcs
+
+DESCRIPTION="ILM's OpenEXR high dynamic-range image file format libraries"
+HOMEPAGE="https://www.openexr.com/;
+SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/v${PV}.tar.gz
 -> ${P}.tar.gz"
+S="${WORKDIR}/${P}/OpenEXR"
+
+LICENSE="BSD"
+SLOT="0/25" # based on SONAME
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
+IUSE="cpu_flags_x86_avx doc examples static-libs utils test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   ~media-libs/ilmbase-${PV}:=[static-libs?,${MULTILIB_USEDEP}]
+   sys-libs/zlib[${MULTILIB_USEDEP}]
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+DOCS=( PATENTS README.md )
+
+src_prepare() {
+   # Fix path for testsuite
+   sed -i -e "s:/var/tmp/:${T}:" "${S}"/IlmImfTest/tmpDir.h || die "failed 
to set temp path for tests"
+
+   # disable failing tests on various arches
+   if use test; then
+   if use abi_x86_32; then
+   eapply 

[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2021-06-17 Thread Sergei Trofimovich
commit: 20f7cae0a56ba36a0562ddc7e14410e0eeed02b9
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Thu Jun 17 15:01:17 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu Jun 17 15:55:45 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20f7cae0

media-libs/openexr: stable 2.5.6 for hppa, bug #776808

Package-Manager: Portage-3.0.18, Repoman-3.0.2
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 media-libs/openexr/openexr-2.5.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/openexr/openexr-2.5.6.ebuild 
b/media-libs/openexr/openexr-2.5.6.ebuild
index 45229f8154f..8d513079a9e 100644
--- a/media-libs/openexr/openexr-2.5.6.ebuild
+++ b/media-libs/openexr/openexr-2.5.6.ebuild
@@ -13,7 +13,7 @@ S="${WORKDIR}/${P}/OpenEXR"
 
 LICENSE="BSD"
 SLOT="0/25" # based on SONAME
-KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 sparc x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
+KEYWORDS="amd64 ~arm arm64 hppa ~ia64 ~ppc ~ppc64 sparc x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
 IUSE="cpu_flags_x86_avx doc examples static-libs utils test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2021-06-05 Thread Sergei Trofimovich
commit: 26d6dce5f779d0d4fa6da17d258d5a48abad2010
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Sat Jun  5 08:22:27 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Jun  5 09:45:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26d6dce5

media-libs/openexr: stable 2.5.6 for sparc, bug #776808

Package-Manager: Portage-3.0.18, Repoman-3.0.2
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 media-libs/openexr/openexr-2.5.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/openexr/openexr-2.5.6.ebuild 
b/media-libs/openexr/openexr-2.5.6.ebuild
index 87fd140fe31..45229f8154f 100644
--- a/media-libs/openexr/openexr-2.5.6.ebuild
+++ b/media-libs/openexr/openexr-2.5.6.ebuild
@@ -13,7 +13,7 @@ S="${WORKDIR}/${P}/OpenEXR"
 
 LICENSE="BSD"
 SLOT="0/25" # based on SONAME
-KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
+KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 sparc x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
 IUSE="cpu_flags_x86_avx doc examples static-libs utils test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2021-06-03 Thread Sam James
commit: 4e385b410deaef9b71e0e7c6576054c992b1eb8a
Author: Sam James  gentoo  org>
AuthorDate: Thu Jun  3 16:23:37 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun  3 16:26:21 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e385b41

media-libs/openexr: Stabilize 2.5.6 arm64, #776808

Signed-off-by: Sam James  gentoo.org>

 media-libs/openexr/openexr-2.5.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/openexr/openexr-2.5.6.ebuild 
b/media-libs/openexr/openexr-2.5.6.ebuild
index 2b05d5a0f34..87fd140fe31 100644
--- a/media-libs/openexr/openexr-2.5.6.ebuild
+++ b/media-libs/openexr/openexr-2.5.6.ebuild
@@ -13,7 +13,7 @@ S="${WORKDIR}/${P}/OpenEXR"
 
 LICENSE="BSD"
 SLOT="0/25" # based on SONAME
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
+KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
 IUSE="cpu_flags_x86_avx doc examples static-libs utils test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2021-06-02 Thread Sam James
commit: 222827dd170363d2c871c9692e54758ec83945ea
Author: Sam James  gentoo  org>
AuthorDate: Wed Jun  2 19:00:43 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jun  2 19:00:43 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=222827dd

media-libs/openexr: Stabilize 2.5.6 amd64, #776808

Signed-off-by: Sam James  gentoo.org>

 media-libs/openexr/openexr-2.5.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/openexr/openexr-2.5.6.ebuild 
b/media-libs/openexr/openexr-2.5.6.ebuild
index f12d572ff52..2b05d5a0f34 100644
--- a/media-libs/openexr/openexr-2.5.6.ebuild
+++ b/media-libs/openexr/openexr-2.5.6.ebuild
@@ -13,7 +13,7 @@ S="${WORKDIR}/${P}/OpenEXR"
 
 LICENSE="BSD"
 SLOT="0/25" # based on SONAME
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
 IUSE="cpu_flags_x86_avx doc examples static-libs utils test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2021-06-02 Thread Sam James
commit: 4222694206416b89060225ad8ddde062bb2dee9d
Author: Sam James  gentoo  org>
AuthorDate: Wed Jun  2 19:00:18 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jun  2 19:00:18 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42226942

media-libs/openexr: Stabilize 2.5.6 x86, #776808

Signed-off-by: Sam James  gentoo.org>

 media-libs/openexr/openexr-2.5.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/openexr/openexr-2.5.6.ebuild 
b/media-libs/openexr/openexr-2.5.6.ebuild
index 4f642f51558..f12d572ff52 100644
--- a/media-libs/openexr/openexr-2.5.6.ebuild
+++ b/media-libs/openexr/openexr-2.5.6.ebuild
@@ -13,7 +13,7 @@ S="${WORKDIR}/${P}/OpenEXR"
 
 LICENSE="BSD"
 SLOT="0/25" # based on SONAME
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
 IUSE="cpu_flags_x86_avx doc examples static-libs utils test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2021-05-31 Thread Sam James
commit: 0e719b19ac0d518305ec3ca9cef56cb8741742b1
Author: Bernd Waibel  posteo  net>
AuthorDate: Wed May 19 21:41:38 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jun  1 00:27:50 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e719b19

media-libs/openexr: bump to 2.5.6

Bug: https://bugs.gentoo.org/791136
Bug: https://bugs.gentoo.org/776808
Bug: https://bugs.gentoo.org/770229
Bug: https://bugs.gentoo.org/656680
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Bernd Waibel  posteo.net>
Signed-off-by: Sam James  gentoo.org>

 media-libs/openexr/Manifest |  1 +
 media-libs/openexr/openexr-2.5.6.ebuild | 61 +
 2 files changed, 62 insertions(+)

diff --git a/media-libs/openexr/Manifest b/media-libs/openexr/Manifest
index 385bf371a3c..70d32b88571 100644
--- a/media-libs/openexr/Manifest
+++ b/media-libs/openexr/Manifest
@@ -1,2 +1,3 @@
 DIST openexr-2.5.5.tar.gz 27536865 BLAKE2B 
d0c0b2fd39b2cfafb60b6d0de3960063ff62341cf22be519f874c0c83f05cb604c5d503bb8b88514c71c5a54a79afa80a7fd00c2df15ec2193f6b3cffdc117c6
 SHA512 
e511af26a8fe2175a641fd25d2dcc6ef807e00bee2aff06a4784125f916ffd47fe376fe0621d385b604180a239bbfee063f8ceee3f7b731fde3c38558e9fdcdf
+DIST openexr-2.5.6.tar.gz 27540385 BLAKE2B 
eea64c6ae4500de31673f3127da6ac98272e85a2c93e2aed96494cc24c397edbce508f0721387be5bbabc4dde596dccf61212709173b7cebd4212dbfbd1e4b65
 SHA512 
8d4582a5f2adcd5eb1486cabe033f9ecaa0292000bf7fa484a94e1d9ec908678a5a903fc6a1beba22bcd9c7f06ac51236834f448ea8aaf4462a338de886f0412
 DIST openexr-3.0.1.tar.gz 25059445 BLAKE2B 
76bce1ff830b5e32362bfaf91d39945add171c5c1f453968b2fa8ba41e0996064d3a104eb7759cea87477e96e8a52d548743c7d83f5c6131dd38aecdd47bd6dd
 SHA512 
e450c55d150e4c0a8a9147f78fe1c73ea9134976444f8c77c832d0671d4c3796f96fee74d23f26cdb9383e658a33d6d57c989e9207d1edfc8556ad688ff25a5b

diff --git a/media-libs/openexr/openexr-2.5.6.ebuild 
b/media-libs/openexr/openexr-2.5.6.ebuild
new file mode 100644
index 000..4f642f51558
--- /dev/null
+++ b/media-libs/openexr/openexr-2.5.6.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_ECLASS=cmake
+inherit cmake-multilib flag-o-matic toolchain-funcs
+
+DESCRIPTION="ILM's OpenEXR high dynamic-range image file format libraries"
+HOMEPAGE="https://www.openexr.com/;
+SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/v${PV}.tar.gz
 -> ${P}.tar.gz"
+S="${WORKDIR}/${P}/OpenEXR"
+
+LICENSE="BSD"
+SLOT="0/25" # based on SONAME
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
+IUSE="cpu_flags_x86_avx doc examples static-libs utils test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   ~media-libs/ilmbase-${PV}:=[static-libs?,${MULTILIB_USEDEP}]
+   sys-libs/zlib[${MULTILIB_USEDEP}]
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+DOCS=( PATENTS README.md )
+
+src_prepare() {
+   # Fix path for testsuite
+   sed -i -e "s:/var/tmp/:${T}:" "${S}"/IlmImfTest/tmpDir.h || die "failed 
to set temp path for tests"
+
+   if use abi_x86_32 && use test; then
+   eapply 
"${FILESDIR}/${PN}-2.5.2-0001-IlmImfTest-main.cpp-disable-tests.patch"
+   fi
+
+   multilib_foreach_abi cmake_src_prepare
+}
+
+multilib_src_configure() {
+   local mycmakeargs=(
+   -DBUILD_TESTING=$(usex test)
+   -DINSTALL_OPENEXR_DOCS=$(usex doc)
+   -DINSTALL_OPENEXR_EXAMPLES=$(usex examples)
+   -DOPENEXR_BUILD_BOTH_STATIC_SHARED=$(usex static-libs)
+   -DOPENEXR_BUILD_UTILS=$(usex utils)
+   -DOPENEXR_INSTALL_PKG_CONFIG=ON
+   -DOPENEXR_USE_CLANG_TIDY=OFF# don't look for 
clang-tidy
+   )
+
+   cmake_src_configure
+}
+
+multilib_src_install_all() {
+   if use doc; then
+   DOCS+=( doc/*.pdf )
+   fi
+   einstalldocs
+
+   use examples && docompress -x /usr/share/doc/${PF}/examples
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2021-05-04 Thread Sam James
commit: 1bbe14fe858980251f702b71491303041623014b
Author: Bernd Waibel  posteo  net>
AuthorDate: Tue Mar 30 05:29:31 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue May  4 22:02:16 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bbe14fe

media-libs/openexr: bump to 3.0.1

Security fixes

Bug: https://bugs.gentoo.org/776808
Closes: https://bugs.gentoo.org/776805
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Bernd Waibel  posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/19964
Signed-off-by: Sam James  gentoo.org>

 media-libs/openexr/Manifest |  1 +
 media-libs/openexr/metadata.xml |  5 ++-
 media-libs/openexr/openexr-3.0.1.ebuild | 65 +
 3 files changed, 70 insertions(+), 1 deletion(-)

diff --git a/media-libs/openexr/Manifest b/media-libs/openexr/Manifest
index bdbd8277f8a..385bf371a3c 100644
--- a/media-libs/openexr/Manifest
+++ b/media-libs/openexr/Manifest
@@ -1 +1,2 @@
 DIST openexr-2.5.5.tar.gz 27536865 BLAKE2B 
d0c0b2fd39b2cfafb60b6d0de3960063ff62341cf22be519f874c0c83f05cb604c5d503bb8b88514c71c5a54a79afa80a7fd00c2df15ec2193f6b3cffdc117c6
 SHA512 
e511af26a8fe2175a641fd25d2dcc6ef807e00bee2aff06a4784125f916ffd47fe376fe0621d385b604180a239bbfee063f8ceee3f7b731fde3c38558e9fdcdf
+DIST openexr-3.0.1.tar.gz 25059445 BLAKE2B 
76bce1ff830b5e32362bfaf91d39945add171c5c1f453968b2fa8ba41e0996064d3a104eb7759cea87477e96e8a52d548743c7d83f5c6131dd38aecdd47bd6dd
 SHA512 
e450c55d150e4c0a8a9147f78fe1c73ea9134976444f8c77c832d0671d4c3796f96fee74d23f26cdb9383e658a33d6d57c989e9207d1edfc8556ad688ff25a5b

diff --git a/media-libs/openexr/metadata.xml b/media-libs/openexr/metadata.xml
index 470947824a2..37c6bc8c811 100644
--- a/media-libs/openexr/metadata.xml
+++ b/media-libs/openexr/metadata.xml
@@ -13,8 +13,11 @@
media-vi...@gentoo.org


+   
+   Enables code to take advantage of large stack support.
+   

-   Build several utility binaries for verifying and 
manipulating EXR files.
+   Build several binary tools for verifying and 
manipulating EXR files.




diff --git a/media-libs/openexr/openexr-3.0.1.ebuild 
b/media-libs/openexr/openexr-3.0.1.ebuild
new file mode 100644
index 000..90b1ee500f0
--- /dev/null
+++ b/media-libs/openexr/openexr-3.0.1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_ECLASS=cmake
+inherit cmake-multilib flag-o-matic toolchain-funcs
+
+DESCRIPTION="ILM's OpenEXR high dynamic-range image file format libraries"
+HOMEPAGE="https://www.openexr.com/;
+SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz"
+#S="${WORKDIR}/${PN}-${MY_PV}"
+
+LICENSE="BSD"
+SLOT="0/27" # based on SONAME
+# imath needs keywording: arm{,64}, hppa, ia64, ppc{,64}, sparc, x64-macos, 
x86-solaris
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-solaris"
+IUSE="cpu_flags_x86_avx doc examples large-stack static-libs utils test 
threads"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   !media-libs/ilmbase
+   dev-libs/imath:=
+   sys-libs/zlib[${MULTILIB_USEDEP}]
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+DOCS=( CHANGES.md GOVERNANCE.md PATENTS README.md SECURITY.md 
docs/SymbolVisibility.md )
+
+#src_prepare() {
+   # Fix path for testsuite
+#  sed -i -e "s:/var/tmp/:${T}:" "${S}"/IlmImfTest/tmpDir.h || die "failed 
to set temp path for tests"
+
+#  if use abi_x86_32 && use test; then
+#  eapply 
"${FILESDIR}/${PN}-2.5.2-0001-IlmImfTest-main.cpp-disable-tests.patch"
+#  fi
+
+#  multilib_foreach_abi cmake_src_prepare
+#}
+
+multilib_src_configure() {
+   local mycmakeargs=(
+   -DBUILD_SHARED_LIBS=$(usex !static-libs)
+   -DBUILD_TESTING=$(usex test)
+   -DOPENEXR_BUILD_UTILS=$(usex utils)
+   -DOPENEXR_ENABLE_LARGE_STACK=$(usex large-stack)
+   -DOPENEXR_ENABLE_THREADING=$(usex threads)
+   -DOPENEXR_INSTALL_EXAMPLES=$(usex examples)
+   -DOPENEXR_INSTALL_PKG_CONFIG=ON
+   -DOPENEXR_INSTALL_TOOLS=$(usex utils)
+   -DOPENEXR_USE_CLANG_TIDY=OFF# don't look for 
clang-tidy
+   )
+
+   cmake_src_configure
+}
+
+multilib_src_install_all() {
+   if use doc; then
+   DOCS+=( docs/*.pdf )
+   fi
+   einstalldocs
+
+   use examples && docompress -x /usr/share/doc/${PF}/examples
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/files/, media-libs/openexr/

2021-03-31 Thread Joonas Niilola
commit: 58d2ffc5446d020cde8d473c32485ad5f2e4c6f1
Author: Bernd Waibel  posteo  net>
AuthorDate: Fri Mar 26 16:46:35 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Mar 31 06:29:14 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58d2ffc5

media-libs/openexr: drop 2.3.0

Security cleanup

Bug: https://bugs.gentoo.org/770229
Bug: https://bugs.gentoo.org/762862
Bug: https://bugs.gentoo.org/746794
Bug: https://bugs.gentoo.org/717474
Bug: https://bugs.gentoo.org/656680
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Bernd Waibel  posteo.net>
Signed-off-by: Joonas Niilola  gentoo.org>

 media-libs/openexr/Manifest|   1 -
 ...penexr-2.2.0-Install-missing-header-files.patch |  60 ---
 .../openexr-2.2.0-fix-config.h-collision.patch |  43 
 .../openexr-2.2.0-fix-cpuid-on-abi_x86_32.patch|  75 -
 .../openexr/files/openexr-2.3.0-bigendian.patch|  71 -
 .../openexr/files/openexr-2.3.0-bigendian2.patch   |  17 ---
 .../openexr/files/openexr-2.3.0-fix-bashisms.patch | 117 -
 .../files/openexr-2.3.0-fix-build-system.patch |  68 
 .../files/openexr-2.3.0-skip-bogus-tests.patch |  31 --
 .../files/openexr-2.3.0-tests-32bits-2.patch   |  17 ---
 .../openexr/files/openexr-2.3.0-tests-32bits.patch |  36 ---
 media-libs/openexr/openexr-2.3.0.ebuild|  79 --
 12 files changed, 615 deletions(-)

diff --git a/media-libs/openexr/Manifest b/media-libs/openexr/Manifest
index 44ef0c20a7c..bdbd8277f8a 100644
--- a/media-libs/openexr/Manifest
+++ b/media-libs/openexr/Manifest
@@ -1,2 +1 @@
-DIST openexr-2.3.0.tar.gz 18412067 BLAKE2B 
c73c4db4e414010ed8cc9f9631f3e8b17f47edf89b4ecb459aa00ff54a316b3bb1489e332bc029e0917ac4ffe7e152082244102029fd375f183da6741788dab7
 SHA512 
003f5bb3bd010be1ad9ff1798643ef711c683c8191625fe9b59070c9cb0c649c277cd506d890c6b239d9cbab80e83e16f1c1d1d74117c916ee3a80e061953123
 DIST openexr-2.5.5.tar.gz 27536865 BLAKE2B 
d0c0b2fd39b2cfafb60b6d0de3960063ff62341cf22be519f874c0c83f05cb604c5d503bb8b88514c71c5a54a79afa80a7fd00c2df15ec2193f6b3cffdc117c6
 SHA512 
e511af26a8fe2175a641fd25d2dcc6ef807e00bee2aff06a4784125f916ffd47fe376fe0621d385b604180a239bbfee063f8ceee3f7b731fde3c38558e9fdcdf

diff --git 
a/media-libs/openexr/files/openexr-2.2.0-Install-missing-header-files.patch 
b/media-libs/openexr/files/openexr-2.2.0-Install-missing-header-files.patch
deleted file mode 100644
index 1075cd9a30f..000
--- a/media-libs/openexr/files/openexr-2.2.0-Install-missing-header-files.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-From a018f82655402421a995565dd4a5192259cbc207 Mon Sep 17 00:00:00 2001
-From: Jonathan Scruggs 
-Date: Sat, 23 Sep 2017 10:36:40 +0100
-Subject: [PATCH] OpenEXR: Install missing header files
-
-Some header files are not installed via Autotools, but are with
-CMake which breaks compatibility with certain programs. This patch
-enables Autotools to install these header files.
-
-Signed-off by: Jonathan Scruggs 

- OpenEXR/IlmImf/Makefile.am |  3 ++-
- OpenEXR/IlmImfUtil/Makefile.am | 17 +
- 2 files changed, 19 insertions(+), 1 deletion(-)
-
-diff --git a/IlmImf/Makefile.am b/IlmImf/Makefile.am
-index a7c219c..b7b96ac 100644
 a/IlmImf/Makefile.am
-+++ b/IlmImf/Makefile.am
-@@ -162,7 +162,8 @@ libIlmImfinclude_HEADERS = ImfForward.h ImfAttribute.h 
ImfBoxAttribute.h \
-  ImfMisc.h  \
-  ImfPartHelper.h \
-  ImfDeepImageState.h \
-- ImfDeepImageStateAttribute.h
-+ ImfDeepImageStateAttribute.h \
-+ ImfFloatVectorAttribute.h
- 
- noinst_HEADERS = ImfCompressor.h\
-ImfRleCompressor.h \
-diff --git a/IlmImfUtil/Makefile.am b/IlmImfUtil/Makefile.am
-index 8005ee1..e1d3674 100644
 a/IlmImfUtil/Makefile.am
-+++ b/IlmImfUtil/Makefile.am
-@@ -33,6 +33,23 @@ libIlmImfUtil_la_LIBADD =  -L$(top_builddir)/IlmImf 
$(ILMBASE_LIBS) -lIlmImf
- 
- libIlmImfUtilincludedir = $(includedir)/OpenEXR
- 
-+libIlmImfUtilinclude_HEADERS = ImfFlatImage.h \
-+ ImfDeepImage.h \
-+ ImfDeepImageChannel.h \
-+ ImfImageLevel.h \
-+ ImfDeepImageLevel.h \
-+ ImfDeepImageIO.h \
-+ ImfImageChannelRenaming.h \
-+ ImfImageIO.h \
-+ ImfFlatImageChannel.h \
-+ ImfImage.h \
-+ ImfFlatImageLevel.h \
-+ ImfImageDataWindow.h \
-+ ImfSampleCountChannel.h \
-+ ImfFlatImageIO.h \
-+ ImfImageChannel.h
-+
-+
- EXTRA_DIST = CMakeLists.txt
- 
- INCLUDES = \
--- 

[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2021-02-27 Thread Sam James
commit: 00ce4f7721d0c886ba613dbe3d5c67f7361f1934
Author: Bernd Waibel  posteo  net>
AuthorDate: Sat Feb 27 14:25:14 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Feb 27 16:37:15 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00ce4f77

media-libs/openexr: drop 2.5.4

Security cleanup.

Bug: https://bugs.gentoo.org/770229
Bug: https://bugs.gentoo.org/762862
Package-Manager: Portage-3.0.15, Repoman-3.0.2
Signed-off-by: Bernd Waibel  posteo.net>
Signed-off-by: Sam James  gentoo.org>

 media-libs/openexr/Manifest |  1 -
 media-libs/openexr/openexr-2.5.4.ebuild | 62 -
 2 files changed, 63 deletions(-)

diff --git a/media-libs/openexr/Manifest b/media-libs/openexr/Manifest
index 0c0117697fd..44ef0c20a7c 100644
--- a/media-libs/openexr/Manifest
+++ b/media-libs/openexr/Manifest
@@ -1,3 +1,2 @@
 DIST openexr-2.3.0.tar.gz 18412067 BLAKE2B 
c73c4db4e414010ed8cc9f9631f3e8b17f47edf89b4ecb459aa00ff54a316b3bb1489e332bc029e0917ac4ffe7e152082244102029fd375f183da6741788dab7
 SHA512 
003f5bb3bd010be1ad9ff1798643ef711c683c8191625fe9b59070c9cb0c649c277cd506d890c6b239d9cbab80e83e16f1c1d1d74117c916ee3a80e061953123
-DIST openexr-2.5.4.tar.gz 27535491 BLAKE2B 
8951383d31ceea49202e3b77999d71c261bc9a17433fb65debd446aefd62cc1f6776a4b37fb1161196135a8883a397a94496a2295a2e0d22bc43c59e2ad0eaa5
 SHA512 
f0fe305987981e0c7e5a854367702585e4935ad37b0e8c10dcbc7468ae3a6d34bf963ec9ec75cc3abe4cf00e359644476b643978d0289dca46c9785a25d3f7f1
 DIST openexr-2.5.5.tar.gz 27536865 BLAKE2B 
d0c0b2fd39b2cfafb60b6d0de3960063ff62341cf22be519f874c0c83f05cb604c5d503bb8b88514c71c5a54a79afa80a7fd00c2df15ec2193f6b3cffdc117c6
 SHA512 
e511af26a8fe2175a641fd25d2dcc6ef807e00bee2aff06a4784125f916ffd47fe376fe0621d385b604180a239bbfee063f8ceee3f7b731fde3c38558e9fdcdf

diff --git a/media-libs/openexr/openexr-2.5.4.ebuild 
b/media-libs/openexr/openexr-2.5.4.ebuild
deleted file mode 100644
index 56d1fff0c5b..000
--- a/media-libs/openexr/openexr-2.5.4.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-CMAKE_ECLASS=cmake
-inherit cmake-multilib flag-o-matic toolchain-funcs
-
-DESCRIPTION="ILM's OpenEXR high dynamic-range image file format libraries"
-HOMEPAGE="https://www.openexr.com/;
-SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/v${PV}.tar.gz
 -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0/25" # based on SONAME
-KEYWORDS="~amd64 ~arm ~arm64 hppa ~ia64 ~ppc ~ppc64 sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
-IUSE="cpu_flags_x86_avx doc examples static-libs utils test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   ~media-libs/ilmbase-${PV}:=[static-libs?,${MULTILIB_USEDEP}]
-   sys-libs/zlib[${MULTILIB_USEDEP}]
-"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-S="${WORKDIR}/${P}/OpenEXR"
-
-DOCS=( PATENTS README.md )
-
-src_prepare() {
-   # Fix path for testsuite
-   sed -i -e "s:/var/tmp/:${T}:" "${S}"/IlmImfTest/tmpDir.h || die "failed 
to set temp path for tests"
-
-   if use abi_x86_32 && use test; then
-   eapply 
"${FILESDIR}/${PN}-2.5.2-0001-IlmImfTest-main.cpp-disable-tests.patch"
-   fi
-
-   multilib_foreach_abi cmake_src_prepare
-}
-
-multilib_src_configure() {
-   local mycmakeargs=(
-   -DBUILD_TESTING=$(usex test)
-   -DINSTALL_OPENEXR_DOCS=$(usex doc)
-   -DINSTALL_OPENEXR_EXAMPLES=$(usex examples)
-   -DOPENEXR_BUILD_BOTH_STATIC_SHARED=$(usex static-libs)
-   -DOPENEXR_BUILD_UTILS=$(usex utils)
-   -DOPENEXR_INSTALL_PKG_CONFIG=ON
-   -DOPENEXR_USE_CLANG_TIDY=OFF# don't look for 
clang-tidy
-   )
-
-   cmake_src_configure
-}
-
-multilib_src_install_all() {
-   if use doc; then
-   DOCS+=( doc/*.pdf )
-   fi
-   einstalldocs
-
-   use examples && docompress -x /usr/share/doc/${PF}/examples
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2021-02-27 Thread Sam James
commit: 846308f2111948a93e71caf312b2fea8dec2f121
Author: Bernd Waibel  posteo  net>
AuthorDate: Sat Feb 27 14:13:19 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Feb 27 16:37:13 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=846308f2

media-libs/openexr: drop 2.5.2

Security cleanup.

Bug: https://bugs.gentoo.org/770229
Bug: https://bugs.gentoo.org/746794
Package-Manager: Portage-3.0.15, Repoman-3.0.2
Signed-off-by: Bernd Waibel  posteo.net>
Signed-off-by: Sam James  gentoo.org>

 media-libs/openexr/Manifest|  1 -
 media-libs/openexr/openexr-2.5.2-r1.ebuild | 63 --
 2 files changed, 64 deletions(-)

diff --git a/media-libs/openexr/Manifest b/media-libs/openexr/Manifest
index 0bbdabb16ae..0c0117697fd 100644
--- a/media-libs/openexr/Manifest
+++ b/media-libs/openexr/Manifest
@@ -1,4 +1,3 @@
 DIST openexr-2.3.0.tar.gz 18412067 BLAKE2B 
c73c4db4e414010ed8cc9f9631f3e8b17f47edf89b4ecb459aa00ff54a316b3bb1489e332bc029e0917ac4ffe7e152082244102029fd375f183da6741788dab7
 SHA512 
003f5bb3bd010be1ad9ff1798643ef711c683c8191625fe9b59070c9cb0c649c277cd506d890c6b239d9cbab80e83e16f1c1d1d74117c916ee3a80e061953123
-DIST openexr-2.5.2.tar.gz 27525326 BLAKE2B 
c48a61513457f2c04f3a512963ae27eaf154933ffe7c6ff3e2d71f27f246ae624a34dbe6f8ab500c51a56898ad0f61e6784f5cd3f9c3df591ce347b46ba4ac88
 SHA512 
62f98695cf56600303db9c2d13d34cacc1851a103d8ffb7e7ce8c6d9d14e6bf02804836c718ae03e8d685ef3dda0cf7b2130e2d363f8095b22a15bf30d706fab
 DIST openexr-2.5.4.tar.gz 27535491 BLAKE2B 
8951383d31ceea49202e3b77999d71c261bc9a17433fb65debd446aefd62cc1f6776a4b37fb1161196135a8883a397a94496a2295a2e0d22bc43c59e2ad0eaa5
 SHA512 
f0fe305987981e0c7e5a854367702585e4935ad37b0e8c10dcbc7468ae3a6d34bf963ec9ec75cc3abe4cf00e359644476b643978d0289dca46c9785a25d3f7f1
 DIST openexr-2.5.5.tar.gz 27536865 BLAKE2B 
d0c0b2fd39b2cfafb60b6d0de3960063ff62341cf22be519f874c0c83f05cb604c5d503bb8b88514c71c5a54a79afa80a7fd00c2df15ec2193f6b3cffdc117c6
 SHA512 
e511af26a8fe2175a641fd25d2dcc6ef807e00bee2aff06a4784125f916ffd47fe376fe0621d385b604180a239bbfee063f8ceee3f7b731fde3c38558e9fdcdf

diff --git a/media-libs/openexr/openexr-2.5.2-r1.ebuild 
b/media-libs/openexr/openexr-2.5.2-r1.ebuild
deleted file mode 100644
index cd30b0dee54..000
--- a/media-libs/openexr/openexr-2.5.2-r1.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-CMAKE_ECLASS=cmake
-inherit cmake-multilib flag-o-matic toolchain-funcs
-
-DESCRIPTION="ILM's OpenEXR high dynamic-range image file format libraries"
-HOMEPAGE="https://www.openexr.com/;
-SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/v${PV}.tar.gz
 -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0/25" # based on SONAME
-KEYWORDS="amd64 ~arm arm64 hppa ~ia64 ~ppc ~ppc64 sparc x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
-IUSE="cpu_flags_x86_avx doc examples static-libs utils test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   media-libs/ilmbase:=[${MULTILIB_USEDEP}]
-   sys-libs/zlib[${MULTILIB_USEDEP}]
-"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-S="${WORKDIR}/${P}/OpenEXR"
-
-DOCS=( PATENTS README.md )
-
-MULTILIB_WRAPPED_HEADERS=( /usr/include/OpenEXR/OpenEXRConfigInternal.h )
-
-src_prepare() {
-   cmake_src_prepare
-
-   # Fix path for testsuite
-   sed -i -e "s:/var/tmp/:${T}:" "${S}"/IlmImfTest/tmpDir.h || die "failed 
to set temp path for tests"
-
-   if use abi_x86_32 && use test; then
-   eapply 
"${FILESDIR}/${P}-0001-IlmImfTest-main.cpp-disable-tests.patch"
-   fi
-}
-
-multilib_src_configure() {
-   local mycmakeargs=(
-   -DBUILD_TESTING=$(usex test)
-   -DINSTALL_OPENEXR_DOCS=$(usex doc)
-   -DINSTALL_OPENEXR_EXAMPLES=$(usex examples)
-   -DOPENEXR_BUILD_BOTH_STATIC_SHARED=$(usex static-libs)
-   -DOPENEXR_BUILD_UTILS=$(usex utils)
-   -DOPENEXR_INSTALL_PKG_CONFIG=ON # 
default
-   )
-
-   cmake_src_configure
-}
-
-multilib_src_install_all() {
-   if use doc; then
-   DOCS+=( doc/*.pdf )
-   fi
-   einstalldocs
-
-   use examples && docompress -x /usr/share/doc/${PF}/examples
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2021-02-26 Thread Sergei Trofimovich
commit: 0825e333ac7c88c7013908b8db603bdbef4ce3b3
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Fri Feb 26 17:02:28 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Feb 26 17:34:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0825e333

media-libs/openexr: stable 2.5.5 for hppa, bug #770229

Package-Manager: Portage-3.0.13, Repoman-3.0.2
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 media-libs/openexr/openexr-2.5.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/openexr/openexr-2.5.5.ebuild 
b/media-libs/openexr/openexr-2.5.5.ebuild
index 04459874945..c60a06f6f05 100644
--- a/media-libs/openexr/openexr-2.5.5.ebuild
+++ b/media-libs/openexr/openexr-2.5.5.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/v${PV}.tar
 
 LICENSE="BSD"
 SLOT="0/25" # based on SONAME
-KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
+KEYWORDS="amd64 ~arm arm64 hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
 IUSE="cpu_flags_x86_avx doc examples static-libs utils test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2021-02-26 Thread Sam James
commit: 38d77c398aab9d16c20892012720eaae5b3afb1b
Author: Sam James  gentoo  org>
AuthorDate: Fri Feb 26 15:18:07 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb 26 15:18:07 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38d77c39

media-libs/openexr: Stabilize 2.5.5 amd64, #770229

Signed-off-by: Sam James  gentoo.org>

 media-libs/openexr/openexr-2.5.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/openexr/openexr-2.5.5.ebuild 
b/media-libs/openexr/openexr-2.5.5.ebuild
index 49858d2b3a8..04459874945 100644
--- a/media-libs/openexr/openexr-2.5.5.ebuild
+++ b/media-libs/openexr/openexr-2.5.5.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/v${PV}.tar
 
 LICENSE="BSD"
 SLOT="0/25" # based on SONAME
-KEYWORDS="~amd64 ~arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
+KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
 IUSE="cpu_flags_x86_avx doc examples static-libs utils test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2021-02-26 Thread Agostino Sarubbo
commit: adb71346a143ee2aac71d78a14125d6a8323a24e
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Feb 26 08:07:46 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Feb 26 08:09:16 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adb71346

media-libs/openexr: x86 stable wrt bug #770229

Package-Manager: Portage-3.0.13, Repoman-3.0.2
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-libs/openexr/openexr-2.5.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/openexr/openexr-2.5.5.ebuild 
b/media-libs/openexr/openexr-2.5.5.ebuild
index 8d759f9fc41..49858d2b3a8 100644
--- a/media-libs/openexr/openexr-2.5.5.ebuild
+++ b/media-libs/openexr/openexr-2.5.5.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/v${PV}.tar
 
 LICENSE="BSD"
 SLOT="0/25" # based on SONAME
-KEYWORDS="~amd64 ~arm arm64 ~hppa ~ia64 ppc ppc64 sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
+KEYWORDS="~amd64 ~arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
 IUSE="cpu_flags_x86_avx doc examples static-libs utils test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2021-02-25 Thread Sam James
commit: 4a5b7fe198b635d0cc1923e034064b2def5085de
Author: Sam James  gentoo  org>
AuthorDate: Thu Feb 25 18:59:31 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb 25 18:59:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a5b7fe1

media-libs/openexr: Stabilize 2.5.5 arm64, #770229

Signed-off-by: Sam James  gentoo.org>

 media-libs/openexr/openexr-2.5.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/openexr/openexr-2.5.5.ebuild 
b/media-libs/openexr/openexr-2.5.5.ebuild
index 7c679be07a3..8d759f9fc41 100644
--- a/media-libs/openexr/openexr-2.5.5.ebuild
+++ b/media-libs/openexr/openexr-2.5.5.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/v${PV}.tar
 
 LICENSE="BSD"
 SLOT="0/25" # based on SONAME
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
+KEYWORDS="~amd64 ~arm arm64 ~hppa ~ia64 ppc ppc64 sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
 IUSE="cpu_flags_x86_avx doc examples static-libs utils test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2021-02-25 Thread Sam James
commit: cb860676276ffd28910011d25b3d5e5a85883522
Author: Sam James  gentoo  org>
AuthorDate: Thu Feb 25 17:57:14 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb 25 17:57:14 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb860676

media-libs/openexr: Stabilize 2.5.5 ppc64, #770229

Signed-off-by: Sam James  gentoo.org>

 media-libs/openexr/openexr-2.5.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/openexr/openexr-2.5.5.ebuild 
b/media-libs/openexr/openexr-2.5.5.ebuild
index 210bba33a72..7c679be07a3 100644
--- a/media-libs/openexr/openexr-2.5.5.ebuild
+++ b/media-libs/openexr/openexr-2.5.5.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/v${PV}.tar
 
 LICENSE="BSD"
 SLOT="0/25" # based on SONAME
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ppc ~ppc64 sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
 IUSE="cpu_flags_x86_avx doc examples static-libs utils test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2021-02-25 Thread Sam James
commit: 99b1dd3742e89de31b4b2351182402987a46
Author: Sam James  gentoo  org>
AuthorDate: Thu Feb 25 14:02:34 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb 25 14:02:46 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99b1daaa

media-libs/openexr: Stabilize 2.5.5 ppc, #770229

Signed-off-by: Sam James  gentoo.org>

 media-libs/openexr/openexr-2.5.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/openexr/openexr-2.5.5.ebuild 
b/media-libs/openexr/openexr-2.5.5.ebuild
index 3029534f8c4..210bba33a72 100644
--- a/media-libs/openexr/openexr-2.5.5.ebuild
+++ b/media-libs/openexr/openexr-2.5.5.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/v${PV}.tar
 
 LICENSE="BSD"
 SLOT="0/25" # based on SONAME
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ppc ~ppc64 sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
 IUSE="cpu_flags_x86_avx doc examples static-libs utils test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2021-02-25 Thread Sam James
commit: 548ea7d0c24b43f163a1ad2359da9b7a0a441cbe
Author: Sam James  gentoo  org>
AuthorDate: Thu Feb 25 11:30:31 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb 25 11:30:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=548ea7d0

media-libs/openexr: Stabilize 2.5.5 sparc, #770229

Signed-off-by: Sam James  gentoo.org>

 media-libs/openexr/openexr-2.5.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/openexr/openexr-2.5.5.ebuild 
b/media-libs/openexr/openexr-2.5.5.ebuild
index 888a4b92902..3029534f8c4 100644
--- a/media-libs/openexr/openexr-2.5.5.ebuild
+++ b/media-libs/openexr/openexr-2.5.5.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/v${PV}.tar
 
 LICENSE="BSD"
 SLOT="0/25" # based on SONAME
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
 IUSE="cpu_flags_x86_avx doc examples static-libs utils test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2021-02-16 Thread Sam James
commit: a24be9405212a46b1bf14c5a3a4b57e090ef10c5
Author: Bernd Waibel  posteo  net>
AuthorDate: Sun Feb 14 14:44:49 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb 16 19:19:52 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a24be940

media-libs/openexr: bump to 2.5.5

Mostly security related fuzzer fixes.

Bug: https://bugs.gentoo.org/770229
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Bernd Waibel  posteo.net>
Signed-off-by: Sam James  gentoo.org>

 media-libs/openexr/Manifest |  1 +
 media-libs/openexr/openexr-2.5.5.ebuild | 62 +
 2 files changed, 63 insertions(+)

diff --git a/media-libs/openexr/Manifest b/media-libs/openexr/Manifest
index fa82ca253d3..0bbdabb16ae 100644
--- a/media-libs/openexr/Manifest
+++ b/media-libs/openexr/Manifest
@@ -1,3 +1,4 @@
 DIST openexr-2.3.0.tar.gz 18412067 BLAKE2B 
c73c4db4e414010ed8cc9f9631f3e8b17f47edf89b4ecb459aa00ff54a316b3bb1489e332bc029e0917ac4ffe7e152082244102029fd375f183da6741788dab7
 SHA512 
003f5bb3bd010be1ad9ff1798643ef711c683c8191625fe9b59070c9cb0c649c277cd506d890c6b239d9cbab80e83e16f1c1d1d74117c916ee3a80e061953123
 DIST openexr-2.5.2.tar.gz 27525326 BLAKE2B 
c48a61513457f2c04f3a512963ae27eaf154933ffe7c6ff3e2d71f27f246ae624a34dbe6f8ab500c51a56898ad0f61e6784f5cd3f9c3df591ce347b46ba4ac88
 SHA512 
62f98695cf56600303db9c2d13d34cacc1851a103d8ffb7e7ce8c6d9d14e6bf02804836c718ae03e8d685ef3dda0cf7b2130e2d363f8095b22a15bf30d706fab
 DIST openexr-2.5.4.tar.gz 27535491 BLAKE2B 
8951383d31ceea49202e3b77999d71c261bc9a17433fb65debd446aefd62cc1f6776a4b37fb1161196135a8883a397a94496a2295a2e0d22bc43c59e2ad0eaa5
 SHA512 
f0fe305987981e0c7e5a854367702585e4935ad37b0e8c10dcbc7468ae3a6d34bf963ec9ec75cc3abe4cf00e359644476b643978d0289dca46c9785a25d3f7f1
+DIST openexr-2.5.5.tar.gz 27536865 BLAKE2B 
d0c0b2fd39b2cfafb60b6d0de3960063ff62341cf22be519f874c0c83f05cb604c5d503bb8b88514c71c5a54a79afa80a7fd00c2df15ec2193f6b3cffdc117c6
 SHA512 
e511af26a8fe2175a641fd25d2dcc6ef807e00bee2aff06a4784125f916ffd47fe376fe0621d385b604180a239bbfee063f8ceee3f7b731fde3c38558e9fdcdf

diff --git a/media-libs/openexr/openexr-2.5.5.ebuild 
b/media-libs/openexr/openexr-2.5.5.ebuild
new file mode 100644
index 000..888a4b92902
--- /dev/null
+++ b/media-libs/openexr/openexr-2.5.5.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_ECLASS=cmake
+inherit cmake-multilib flag-o-matic toolchain-funcs
+
+DESCRIPTION="ILM's OpenEXR high dynamic-range image file format libraries"
+HOMEPAGE="https://www.openexr.com/;
+SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/v${PV}.tar.gz
 -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/25" # based on SONAME
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
+IUSE="cpu_flags_x86_avx doc examples static-libs utils test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   ~media-libs/ilmbase-${PV}:=[static-libs?,${MULTILIB_USEDEP}]
+   sys-libs/zlib[${MULTILIB_USEDEP}]
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+S="${WORKDIR}/${P}/OpenEXR"
+
+DOCS=( PATENTS README.md )
+
+src_prepare() {
+   # Fix path for testsuite
+   sed -i -e "s:/var/tmp/:${T}:" "${S}"/IlmImfTest/tmpDir.h || die "failed 
to set temp path for tests"
+
+   if use abi_x86_32 && use test; then
+   eapply 
"${FILESDIR}/${PN}-2.5.2-0001-IlmImfTest-main.cpp-disable-tests.patch"
+   fi
+
+   multilib_foreach_abi cmake_src_prepare
+}
+
+multilib_src_configure() {
+   local mycmakeargs=(
+   -DBUILD_TESTING=$(usex test)
+   -DINSTALL_OPENEXR_DOCS=$(usex doc)
+   -DINSTALL_OPENEXR_EXAMPLES=$(usex examples)
+   -DOPENEXR_BUILD_BOTH_STATIC_SHARED=$(usex static-libs)
+   -DOPENEXR_BUILD_UTILS=$(usex utils)
+   -DOPENEXR_INSTALL_PKG_CONFIG=ON
+   -DOPENEXR_USE_CLANG_TIDY=OFF# don't look for 
clang-tidy
+   )
+
+   cmake_src_configure
+}
+
+multilib_src_install_all() {
+   if use doc; then
+   DOCS+=( doc/*.pdf )
+   fi
+   einstalldocs
+
+   use examples && docompress -x /usr/share/doc/${PF}/examples
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2021-02-09 Thread Sergei Trofimovich
commit: e57d03aacc5f71d4ffaa8123a0908eba1fa892c7
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Tue Feb  9 14:01:17 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Tue Feb  9 14:11:29 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e57d03aa

media-libs/openexr: stable 2.5.4 for hppa/sparc, bug #762862

Package-Manager: Portage-3.0.13, Repoman-3.0.2
RepoMan-Options: --include-arches="hppa sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 media-libs/openexr/openexr-2.5.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/openexr/openexr-2.5.4.ebuild 
b/media-libs/openexr/openexr-2.5.4.ebuild
index 888a4b92902..56d1fff0c5b 100644
--- a/media-libs/openexr/openexr-2.5.4.ebuild
+++ b/media-libs/openexr/openexr-2.5.4.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/v${PV}.tar
 
 LICENSE="BSD"
 SLOT="0/25" # based on SONAME
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
+KEYWORDS="~amd64 ~arm ~arm64 hppa ~ia64 ~ppc ~ppc64 sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
 IUSE="cpu_flags_x86_avx doc examples static-libs utils test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2021-02-07 Thread Conrad Kostecki
commit: e9bacf894750fa91ff04cec8f87276fb882fad4b
Author: Bernd Waibel  posteo  net>
AuthorDate: Sun Feb  7 16:06:08 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Feb  7 17:07:38 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9bacf89

media-libs/openexr: fix metadata email

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Bernd Waibel  posteo.net>
Signed-off-by: Conrad Kostecki  gentoo.org>

 media-libs/openexr/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/openexr/metadata.xml b/media-libs/openexr/metadata.xml
index f72a455316a..451183e24bf 100644
--- a/media-libs/openexr/metadata.xml
+++ b/media-libs/openexr/metadata.xml
@@ -2,7 +2,7 @@
 http://www.gentoo.org/dtd/metadata.dtd;>
 

-   wae...@gmail.com
+   waebbl-gen...@posteo.net
Bernd Waibel





[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2021-01-23 Thread Sam James
commit: 918b36d2c8812022b83b25b234307af25725d9cd
Author: Bernd Waibel  gmail  com>
AuthorDate: Sun Jan  3 12:10:08 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan 24 01:48:06 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=918b36d2

media-libs/openexr: drop old 2.5.3

Bug: https://bugs.gentoo.org/746794
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Bernd Waibel  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 media-libs/openexr/Manifest |  1 -
 media-libs/openexr/openexr-2.5.3.ebuild | 61 -
 2 files changed, 62 deletions(-)

diff --git a/media-libs/openexr/Manifest b/media-libs/openexr/Manifest
index 281a3924bd8..fa82ca253d3 100644
--- a/media-libs/openexr/Manifest
+++ b/media-libs/openexr/Manifest
@@ -1,4 +1,3 @@
 DIST openexr-2.3.0.tar.gz 18412067 BLAKE2B 
c73c4db4e414010ed8cc9f9631f3e8b17f47edf89b4ecb459aa00ff54a316b3bb1489e332bc029e0917ac4ffe7e152082244102029fd375f183da6741788dab7
 SHA512 
003f5bb3bd010be1ad9ff1798643ef711c683c8191625fe9b59070c9cb0c649c277cd506d890c6b239d9cbab80e83e16f1c1d1d74117c916ee3a80e061953123
 DIST openexr-2.5.2.tar.gz 27525326 BLAKE2B 
c48a61513457f2c04f3a512963ae27eaf154933ffe7c6ff3e2d71f27f246ae624a34dbe6f8ab500c51a56898ad0f61e6784f5cd3f9c3df591ce347b46ba4ac88
 SHA512 
62f98695cf56600303db9c2d13d34cacc1851a103d8ffb7e7ce8c6d9d14e6bf02804836c718ae03e8d685ef3dda0cf7b2130e2d363f8095b22a15bf30d706fab
-DIST openexr-2.5.3.tar.gz 27534825 BLAKE2B 
4647b4aac074b10c0d1fb35ddb6b5acefca81c0f2debde04987b5df4e290b14b6406fc922949449aaeea7cf4be371a25c93f8fcb9f67c63d65276340bd586a21
 SHA512 
6da03193d4fea1e97e35008f59304ab408c521ead8495ba411cde5c172cf953be9771f57398b813d14f1af1d722539a6b74d5ee54b9e74769ea8258d36ba
 DIST openexr-2.5.4.tar.gz 27535491 BLAKE2B 
8951383d31ceea49202e3b77999d71c261bc9a17433fb65debd446aefd62cc1f6776a4b37fb1161196135a8883a397a94496a2295a2e0d22bc43c59e2ad0eaa5
 SHA512 
f0fe305987981e0c7e5a854367702585e4935ad37b0e8c10dcbc7468ae3a6d34bf963ec9ec75cc3abe4cf00e359644476b643978d0289dca46c9785a25d3f7f1

diff --git a/media-libs/openexr/openexr-2.5.3.ebuild 
b/media-libs/openexr/openexr-2.5.3.ebuild
deleted file mode 100644
index d1288a27aa5..000
--- a/media-libs/openexr/openexr-2.5.3.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-CMAKE_ECLASS=cmake
-inherit cmake-multilib flag-o-matic toolchain-funcs
-
-DESCRIPTION="ILM's OpenEXR high dynamic-range image file format libraries"
-HOMEPAGE="https://www.openexr.com/;
-SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/v${PV}.tar.gz
 -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0/25" # based on SONAME
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
-IUSE="cpu_flags_x86_avx doc examples static-libs utils test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   >=media-libs/ilmbase-${PV}:=[${MULTILIB_USEDEP}]
-   sys-libs/zlib[${MULTILIB_USEDEP}]
-"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-S="${WORKDIR}/${P}/OpenEXR"
-
-DOCS=( PATENTS README.md )
-
-src_prepare() {
-   cmake_src_prepare
-
-   # Fix path for testsuite
-   sed -i -e "s:/var/tmp/:${T}:" "${S}"/IlmImfTest/tmpDir.h || die "failed 
to set temp path for tests"
-
-   if use abi_x86_32 && use test; then
-   eapply 
"${FILESDIR}/${PN}-2.5.2-0001-IlmImfTest-main.cpp-disable-tests.patch"
-   fi
-}
-
-multilib_src_configure() {
-   local mycmakeargs=(
-   -DBUILD_TESTING=$(usex test)
-   -DINSTALL_OPENEXR_DOCS=$(usex doc)
-   -DINSTALL_OPENEXR_EXAMPLES=$(usex examples)
-   -DOPENEXR_BUILD_BOTH_STATIC_SHARED=$(usex static-libs)
-   -DOPENEXR_BUILD_UTILS=$(usex utils)
-   -DOPENEXR_INSTALL_PKG_CONFIG=ON # 
default
-   )
-
-   cmake_src_configure
-}
-
-multilib_src_install_all() {
-   if use doc; then
-   DOCS+=( doc/*.pdf )
-   fi
-   einstalldocs
-
-   use examples && docompress -x /usr/share/doc/${PF}/examples
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2021-01-23 Thread Sam James
commit: 0f49c50e51da2ea663ee68a683c07ae97f682f20
Author: Bernd Waibel  gmail  com>
AuthorDate: Sun Jan  3 09:50:25 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan 24 01:48:05 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f49c50e

media-libs/openexr: bump to 2.5.4

Bug: https://bugs.gentoo.org/656680
Bug: https://bugs.gentoo.org/762862
Bug: https://bugs.gentoo.org/746794
Closes: https://bugs.gentoo.org/762901
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Bernd Waibel  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 media-libs/openexr/Manifest |  1 +
 media-libs/openexr/openexr-2.5.4.ebuild | 62 +
 2 files changed, 63 insertions(+)

diff --git a/media-libs/openexr/Manifest b/media-libs/openexr/Manifest
index bad6b43ab08..281a3924bd8 100644
--- a/media-libs/openexr/Manifest
+++ b/media-libs/openexr/Manifest
@@ -1,3 +1,4 @@
 DIST openexr-2.3.0.tar.gz 18412067 BLAKE2B 
c73c4db4e414010ed8cc9f9631f3e8b17f47edf89b4ecb459aa00ff54a316b3bb1489e332bc029e0917ac4ffe7e152082244102029fd375f183da6741788dab7
 SHA512 
003f5bb3bd010be1ad9ff1798643ef711c683c8191625fe9b59070c9cb0c649c277cd506d890c6b239d9cbab80e83e16f1c1d1d74117c916ee3a80e061953123
 DIST openexr-2.5.2.tar.gz 27525326 BLAKE2B 
c48a61513457f2c04f3a512963ae27eaf154933ffe7c6ff3e2d71f27f246ae624a34dbe6f8ab500c51a56898ad0f61e6784f5cd3f9c3df591ce347b46ba4ac88
 SHA512 
62f98695cf56600303db9c2d13d34cacc1851a103d8ffb7e7ce8c6d9d14e6bf02804836c718ae03e8d685ef3dda0cf7b2130e2d363f8095b22a15bf30d706fab
 DIST openexr-2.5.3.tar.gz 27534825 BLAKE2B 
4647b4aac074b10c0d1fb35ddb6b5acefca81c0f2debde04987b5df4e290b14b6406fc922949449aaeea7cf4be371a25c93f8fcb9f67c63d65276340bd586a21
 SHA512 
6da03193d4fea1e97e35008f59304ab408c521ead8495ba411cde5c172cf953be9771f57398b813d14f1af1d722539a6b74d5ee54b9e74769ea8258d36ba
+DIST openexr-2.5.4.tar.gz 27535491 BLAKE2B 
8951383d31ceea49202e3b77999d71c261bc9a17433fb65debd446aefd62cc1f6776a4b37fb1161196135a8883a397a94496a2295a2e0d22bc43c59e2ad0eaa5
 SHA512 
f0fe305987981e0c7e5a854367702585e4935ad37b0e8c10dcbc7468ae3a6d34bf963ec9ec75cc3abe4cf00e359644476b643978d0289dca46c9785a25d3f7f1

diff --git a/media-libs/openexr/openexr-2.5.4.ebuild 
b/media-libs/openexr/openexr-2.5.4.ebuild
new file mode 100644
index 000..888a4b92902
--- /dev/null
+++ b/media-libs/openexr/openexr-2.5.4.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_ECLASS=cmake
+inherit cmake-multilib flag-o-matic toolchain-funcs
+
+DESCRIPTION="ILM's OpenEXR high dynamic-range image file format libraries"
+HOMEPAGE="https://www.openexr.com/;
+SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/v${PV}.tar.gz
 -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/25" # based on SONAME
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
+IUSE="cpu_flags_x86_avx doc examples static-libs utils test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   ~media-libs/ilmbase-${PV}:=[static-libs?,${MULTILIB_USEDEP}]
+   sys-libs/zlib[${MULTILIB_USEDEP}]
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+S="${WORKDIR}/${P}/OpenEXR"
+
+DOCS=( PATENTS README.md )
+
+src_prepare() {
+   # Fix path for testsuite
+   sed -i -e "s:/var/tmp/:${T}:" "${S}"/IlmImfTest/tmpDir.h || die "failed 
to set temp path for tests"
+
+   if use abi_x86_32 && use test; then
+   eapply 
"${FILESDIR}/${PN}-2.5.2-0001-IlmImfTest-main.cpp-disable-tests.patch"
+   fi
+
+   multilib_foreach_abi cmake_src_prepare
+}
+
+multilib_src_configure() {
+   local mycmakeargs=(
+   -DBUILD_TESTING=$(usex test)
+   -DINSTALL_OPENEXR_DOCS=$(usex doc)
+   -DINSTALL_OPENEXR_EXAMPLES=$(usex examples)
+   -DOPENEXR_BUILD_BOTH_STATIC_SHARED=$(usex static-libs)
+   -DOPENEXR_BUILD_UTILS=$(usex utils)
+   -DOPENEXR_INSTALL_PKG_CONFIG=ON
+   -DOPENEXR_USE_CLANG_TIDY=OFF# don't look for 
clang-tidy
+   )
+
+   cmake_src_configure
+}
+
+multilib_src_install_all() {
+   if use doc; then
+   DOCS+=( doc/*.pdf )
+   fi
+   einstalldocs
+
+   use examples && docompress -x /usr/share/doc/${PF}/examples
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/

2020-12-27 Thread Sam James
commit: 9324c5baba117066568e1101e2d5c376bdd1120a
Author: Sam James  gentoo  org>
AuthorDate: Sun Dec 27 21:46:55 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Dec 27 21:47:07 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9324c5ba

media-libs/openexr: restore ~arm

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 media-libs/openexr/openexr-2.5.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/openexr/openexr-2.5.3.ebuild 
b/media-libs/openexr/openexr-2.5.3.ebuild
index 97dce505548..d1288a27aa5 100644
--- a/media-libs/openexr/openexr-2.5.3.ebuild
+++ b/media-libs/openexr/openexr-2.5.3.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/v${PV}.tar
 
 LICENSE="BSD"
 SLOT="0/25" # based on SONAME
-KEYWORDS="~amd64 -arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-solaris"
 IUSE="cpu_flags_x86_avx doc examples static-libs utils test"
 RESTRICT="!test? ( test )"
 



  1   2   >