From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/
Date: Fri, 01 Aug 2025 08:23:41 +0000 (UTC) [thread overview]
Message-ID: <1754036579.3d45cacc0f970e6624efa8a11ba430bb3360a40a.sam@gentoo> (raw)
commit: 3d45cacc0f970e6624efa8a11ba430bb3360a40a
Author: Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
AuthorDate: Sun Jul 20 19:37:49 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Aug 1 08:22:59 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d45cacc
media-libs/openexr: add 3.3.4
Avoid running fuzzer tests by default.
Signed-off-by: Paul Zander <negril.nx+gentoo <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/43084
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-libs/openexr/Manifest | 1 +
media-libs/openexr/openexr-3.3.4.ebuild | 149 ++++++++++++++++++++++++++++++++
2 files changed, 150 insertions(+)
diff --git a/media-libs/openexr/Manifest b/media-libs/openexr/Manifest
index 987368b69924..b14c83a8e06b 100644
--- a/media-libs/openexr/Manifest
+++ b/media-libs/openexr/Manifest
@@ -1,3 +1,4 @@
DIST openexr-3.3.2.tar.gz 21324765 BLAKE2B 82e67953b75da0d27347260099ccae249f5b1946b78eccc383e9278f57565ed5cb9f0fa17385f0c5cdb3815d647197be3661372f9896e10596a8723ea3d8414b SHA512 0c43337fda2979b328202488a43711afb5d680781c933aa0d74970a3dcda1135fbd01228cb10e81e4628c0d19da2d3e5b781e147d609cdc8a796d2a51a90932f
DIST openexr-3.3.3.tar.gz 21211333 BLAKE2B 62831276081911efb7c112bbf6051bf5dc80cc20933b701d79a6574a55d4a8811716a3a0f7e7988989a727d9f4477dcdf7719460db8596d98952ce401b62d106 SHA512 ba77ce7826e2b327832807ea73073adbcb630009f6410b5db37e9b793187c7ebfd0153d0416029c8f7852e2ee44134b6e8667731d0553a40aa5cb2ab71ef2a96
+DIST openexr-3.3.4.tar.gz 21212943 BLAKE2B 6e166cf71919c49d52ea45380450e2ad0027e63d9aab3acdc55b6e911b4324b94638c6e2f94b1c359bea077fe08dafe7649756cbd8a4b9c6ba99743261bbec0e SHA512 9085def42a3c9194c98287ce48b28703b3e4811fe7c6a5f63289c5e44c2cfaaecbdcac3212d6412d7c765e72e27e3dc2422452ca802efa930351b2376afe9aae
DIST openexr-images-1.0.tar.gz 252222962 BLAKE2B d57c458dfbd1b08c964429022b6e08a3309bf11cbd43c64e271ebc620dae6dbe70636e5221f47dabd7fe2aa0806f2cf3f3c9b3f55fd7f45b0a34f3e62b6029e7 SHA512 c1c83a26cd326d0fcda824daccb0044abad46f29e1bd2ceb1c38bc62b3e71f0aeef126dddc4517eb1cb9f7c9d0fe234276a48a754bdb7c7823e9aee459d8670a
diff --git a/media-libs/openexr/openexr-3.3.4.ebuild b/media-libs/openexr/openexr-3.3.4.ebuild
new file mode 100644
index 000000000000..109bf786e743
--- /dev/null
+++ b/media-libs/openexr/openexr-3.3.4.ebuild
@@ -0,0 +1,149 @@
+# Copyright 1999-2025 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
+ test? (
+ utils? (
+ https://github.com/AcademySoftwareFoundation/openexr-images/archive/refs/tags/v1.0.tar.gz
+ -> openexr-images-1.0.tar.gz
+ )
+ )
+"
+
+LICENSE="BSD"
+SLOT="0/32" # 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 doc examples large-stack utils test threads"
+REQUIRED_USE="doc? ( utils )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ app-arch/libdeflate:=[zlib(+)]
+ >=dev-libs/imath-3.1.6:=
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ virtual/pkgconfig
+ doc? ( sys-apps/help2man )
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-3.2.1-bintests-iff-utils.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"
+
+ sed -e "s:if(INSTALL_DOCS):if(OPENEXR_INSTALL_DOCS):" \
+ -i docs/CMakeLists.txt || die
+
+ cmake_src_prepare
+
+ if use test && 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
+ MultiResolution/WavyLinesCube.exr
+ MultiResolution/WavyLinesLatLong.exr
+ MultiView/Adjuster.exr
+ TestImages/GammaChart.exr
+ TestImages/GrayRampsHorizontal.exr
+ v2/LeftView/Balls.exr
+ v2/Stereo/Trunks.exr
+ )
+
+ mkdir -p "${BUILD_DIR}/src/test/bin" || die
+
+ for image in "${IMAGES[@]}"; do
+ mkdir -p "${BUILD_DIR}/src/test/bin/$(dirname "${image}")" || die
+ cp -a "${WORKDIR}/openexr-images-1.0/${image}" "${BUILD_DIR}/src/test/bin/${image}" || die
+ done
+ fi
+
+}
+
+src_configure() {
+ if use x86; then
+ replace-cpu-flags native i686
+ fi
+
+ local mycmakeargs=(
+ -DOPENEXR_CXX_STANDARD="17"
+
+ -DBUILD_SHARED_LIBS="yes"
+ -DBUILD_TESTING="$(usex test)"
+ -DBUILD_WEBSITE="no"
+
+ -DOPENEXR_BUILD_EXAMPLES="$(usex examples)"
+ -DOPENEXR_BUILD_PYTHON="no"
+ -DOPENEXR_BUILD_TOOLS="$(usex utils)"
+ -DOPENEXR_ENABLE_LARGE_STACK="$(usex large-stack)"
+ -DOPENEXR_ENABLE_THREADING="$(usex threads)"
+
+ -DOPENEXR_INSTALL="yes"
+ -DOPENEXR_INSTALL_DOCS="$(usex doc)"
+ -DOPENEXR_INSTALL_PKG_CONFIG="yes"
+ -DOPENEXR_INSTALL_TOOLS="$(usex utils)"
+
+ -DOPENEXR_USE_CLANG_TIDY="no" # don't look for clang-tidy
+
+ -DOPENEXR_FORCE_INTERNAL_DEFLATE="no"
+ -DOPENEXR_FORCE_INTERNAL_IMATH="no"
+ )
+
+ if [[ "${EXPENSIVE_TESTS:-0}" -gt 0 ]]; then
+ if use test; then
+ # OPENEXR_RUN_FUZZ_TESTS depends on BUILD_TESTING, see
+ # - https://bugs.gentoo.org/925128
+ # - https://openexr.com/en/latest/install.html#component-options
+
+ # NOTE: the fuzz tests are very slow
+ mycmakeargs+=( -DOPENEXR_RUN_FUZZ_TESTS="ON" )
+ fi
+ fi
+
+ cmake_src_configure
+}
+
+src_test() {
+ local CMAKE_SKIP_TESTS=()
+
+ use arm64 && CMAKE_SKIP_TESTS+=(
+ # bug #922247
+ 'OpenEXRCore.testDWAACompression'
+ 'OpenEXRCore.testDWABCompression'
+ )
+ use x86 && CMAKE_SKIP_TESTS+=(
+ '^OpenEXR.testDwaLookups$'
+ )
+
+ cmake_src_test
+}
+
+src_install() {
+ use examples && docompress -x "/usr/share/doc/${PF}/examples"
+
+ cmake_src_install
+}
next reply other threads:[~2025-08-01 8:23 UTC|newest]
Thread overview: 125+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-01 8:23 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-06-22 16:13 [gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/ Sam James
2025-02-12 19:25 Arthur Zamarin
2025-02-12 19:25 Arthur Zamarin
2025-02-12 18:16 Sam James
2025-01-08 10:35 Michał Górny
2025-01-05 20:35 Sam James
2024-10-04 21:40 Andreas Sturmlechner
2024-09-23 8:21 Arthur Zamarin
2024-08-29 16:14 Mike Gilbert
2024-06-02 14:46 Sam James
2024-06-02 8:28 Joonas Niilola
2024-06-02 3:29 Sam James
2024-06-02 3:28 Sam James
2024-06-02 3:27 Sam James
2024-03-17 14:23 Florian Schmaus
2024-03-17 12:39 Sam James
2024-02-21 1:48 Sam James
2024-02-20 18:33 Arthur Zamarin
2023-12-22 11:41 Joonas Niilola
2023-12-21 15:15 Sam James
2023-10-27 3:20 Sam James
2023-10-27 2:59 Sam James
2023-10-27 2:34 Sam James
2023-09-08 7:17 Joonas Niilola
2023-09-08 7:17 Joonas Niilola
2023-04-10 7:37 Joonas Niilola
2023-01-13 0:20 Yixun Lan
2023-01-13 0:08 Yixun Lan
2023-01-11 8:32 Sam James
2023-01-11 8:23 Arthur Zamarin
2022-11-23 17:55 Joonas Niilola
2022-11-15 18:03 Joonas Niilola
2022-09-29 5:53 Joonas Niilola
2022-09-28 9:55 Joonas Niilola
2022-08-15 14:10 Andreas Sturmlechner
2022-07-03 23:54 Sam James
2022-06-22 16:59 Arthur Zamarin
2022-06-22 7:01 Joonas Niilola
2022-06-22 7:01 Joonas Niilola
2022-05-17 12:48 WANG Xuerui
2022-04-22 18:18 Arthur Zamarin
2022-04-21 13:00 Jakov Smolić
2022-04-19 6:41 Joonas Niilola
2022-04-15 6:18 Joonas Niilola
2022-03-31 18:45 Jakov Smolić
2022-03-01 1:12 Sam James
2022-03-01 0:02 Sam James
2022-02-28 23:58 Sam James
2022-02-28 5:21 Sam James
2022-02-15 19:51 Sam James
2022-02-07 5:49 Sam James
2022-02-05 6:34 Sam James
2022-02-02 7:54 Sam James
2022-01-28 7:53 Sam James
2022-01-09 15:48 Andreas Sturmlechner
2022-01-09 15:48 Andreas Sturmlechner
2022-01-08 13:57 Yixun Lan
2021-11-26 4:30 Sam James
2021-11-14 4:42 Sam James
2021-11-05 4:03 Sam James
2021-10-27 22:33 Sam James
2021-10-27 4:14 Sam James
2021-10-17 2:22 Sam James
2021-10-16 9:15 Sam James
2021-10-16 9:15 Sam James
2021-10-09 8:05 Sam James
2021-10-09 7:59 Sam James
2021-10-09 7:59 Sam James
2021-10-09 7:59 Sam James
2021-10-09 7:59 Sam James
2021-08-12 6:45 Joonas Niilola
2021-08-05 11:11 Sergei Trofimovich
2021-07-22 15:01 Sergei Trofimovich
2021-07-21 21:57 Marek Szuba
2021-07-10 15:40 Sam James
2021-07-10 12:37 John Helmert III
2021-07-10 10:43 Agostino Sarubbo
2021-06-17 15:56 Sergei Trofimovich
2021-06-05 9:45 Sergei Trofimovich
2021-06-03 16:26 Sam James
2021-06-02 19:01 Sam James
2021-06-02 19:01 Sam James
2021-06-01 0:28 Sam James
2021-05-04 22:02 Sam James
2021-02-27 16:38 Sam James
2021-02-27 16:38 Sam James
2021-02-26 17:34 Sergei Trofimovich
2021-02-26 15:18 Sam James
2021-02-26 8:09 Agostino Sarubbo
2021-02-25 19:00 Sam James
2021-02-25 17:57 Sam James
2021-02-25 14:02 Sam James
2021-02-25 11:31 Sam James
2021-02-16 19:19 Sam James
2021-02-09 14:11 Sergei Trofimovich
2021-02-07 17:07 Conrad Kostecki
2021-01-24 1:48 Sam James
2021-01-24 1:48 Sam James
2020-12-27 21:47 Sam James
2020-12-27 21:40 Sam James
2020-12-22 6:06 Sam James
2020-10-07 18:10 Sam James
2020-10-07 17:55 Sam James
2020-09-20 16:28 Thomas Deutschmann
2020-09-14 16:34 Sergei Trofimovich
2020-08-12 19:01 Sergei Trofimovich
2020-08-07 11:44 Agostino Sarubbo
2020-08-06 2:10 Sam James
2020-07-21 19:39 Andreas Sturmlechner
2020-06-28 20:57 Aaron Bauman
2019-06-15 21:06 Sergei Trofimovich
2019-04-28 13:03 Sergei Trofimovich
2019-04-28 7:42 Sergei Trofimovich
2019-04-24 21:33 Thomas Deutschmann
2019-04-23 0:46 Aaron Bauman
2019-04-20 18:08 Sergei Trofimovich
2019-04-20 13:57 Pacho Ramos
2019-04-07 22:15 Aaron Bauman
2019-03-26 22:38 Aaron Bauman
2018-03-26 13:51 Craig Andrews
2018-01-28 14:08 Mikle Kolyada
2017-12-10 21:28 Sergei Trofimovich
2017-01-29 19:15 Fabian Groffen
2015-11-18 9:32 Agostino Sarubbo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1754036579.3d45cacc0f970e6624efa8a11ba430bb3360a40a.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox