From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/openjpeg/
Date: Thu, 12 Dec 2024 05:15:15 +0000 (UTC) [thread overview]
Message-ID: <1733980468.9205c87cd59b362a6a25ed70ca0aa32c7a4e810a.sam@gentoo> (raw)
commit: 9205c87cd59b362a6a25ed70ca0aa32c7a4e810a
Author: Thomas Bracht Laumann Jespersen <t <AT> laumann <DOT> xyz>
AuthorDate: Tue Dec 10 09:16:15 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Dec 12 05:14:28 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9205c87c
media-libs/openjpeg: add 2.5.3
Signed-off-by: Thomas Bracht Laumann Jespersen <t <AT> laumann.xyz>
Closes: https://github.com/gentoo/gentoo/pull/39661
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-libs/openjpeg/Manifest | 2 +
media-libs/openjpeg/openjpeg-2.5.3.ebuild | 98 +++++++++++++++++++++++++++++++
2 files changed, 100 insertions(+)
diff --git a/media-libs/openjpeg/Manifest b/media-libs/openjpeg/Manifest
index b35ac21ae8ba..7ccd4bbc1907 100644
--- a/media-libs/openjpeg/Manifest
+++ b/media-libs/openjpeg/Manifest
@@ -1,4 +1,6 @@
DIST openjpeg-2.5.0.tar.gz 1867111 BLAKE2B 472d9998a7407574d3bc059d1c0b662a8a553cfe5cb7806a022cb35e14564417a8e06e9970f06d8e65ef149019bab747caefa8e29bc793d07ad86e076909d306 SHA512 08975a2dd79f1e29fd1824249a5fbe66026640ed787b3a3aa8807c2c69f994240ff33e2132f8bf15bbc2202bef7001f98e42d487231d4eebc8e503538658049a
DIST openjpeg-2.5.2.tar.gz 1871948 BLAKE2B 4c23eecd603c620d3555fa02055104d292cdf4bbb88ab3d8d8a8f62e3c21b52d3c6d9211d8dd6f11d76fb1ca6f2333a7305ae07b5883a62eb7fc28ec9dfafc0f SHA512 24c058b3e0710e689ba7fd6bce8a88353ce64e825b2e5bbf6b00ca3f2a2ec1e9c70a72e0252a5c89d10c537cf84d55af54bf2f16c58ca01db98c2018cf132e1a
+DIST openjpeg-2.5.3.tar.gz 2155188 BLAKE2B 170a425a9180b734ded086ee6c5292f246324260f948598d081c2c27e90328e2f48ad86990a918cf358e0affc5b87e6f973412fea239cafb8f78a71a97c54be3 SHA512 22378f5c38c1eb8ade853716897201d8a253024638bdf94fd9851d6a456601071e705c797c5ffeeb6924be14d7356f9a67f15c2b99e96f7d27fc375a9d94505a
DIST openjpeg-data_20210926.tar.gz 498600110 BLAKE2B 34a1c39379d9f8f4caad6c8263a4bc59e62a6a3b8db744eaeaa7047e58813636341b3fb7ee6a121b7dfcd4bc085f9884c3aef86605633ff0d84a1b77cf003624 SHA512 4444225ddb9c548d7753561188cd2d595ae13d7a45471240fac69c3de786a97fb899cd5bbc67cf1b54bfccff0dcd215ec6e83d1bd66982a44c802d163e365dae
DIST openjpeg-data_20230923.tar.gz 498600318 BLAKE2B cf595b9f8690ad0b9616f080c3bfdaf553802912cd41015f86766085c0bd021cead294372bd9925c2a569fabbd9a0f1684bcf6eb1b5ecdc14d64231a76401a3b SHA512 3e1e3bb489eac6047671395fbf92bbfb2ad7c7c0206c1a233c215ba3d5b5263a6ce65d523f98fdaa4949e28eaa179716264f89eebf73b44c71373a9c86313cc1
+DIST openjpeg-data_20241113.tar.gz 498662590 BLAKE2B 140c2fb2985a59413b1fb8ec52d2dd1e08f1795368b71565a801d425dc1c933b396f674a3c1aca194d4f7cac6574d181acb383fd72dc2083864ca6eee240c2d4 SHA512 5fa7eaa12eae88c0e3d0624f19a6c0aef4890d601d1e5d8aaf52db3e4d7387ae17ab9017cc4ed641283c616d9b440aaec6ca300cab11b4c245cb838f69d93237
diff --git a/media-libs/openjpeg/openjpeg-2.5.3.ebuild b/media-libs/openjpeg/openjpeg-2.5.3.ebuild
new file mode 100644
index 000000000000..fc91387b2c6f
--- /dev/null
+++ b/media-libs/openjpeg/openjpeg-2.5.3.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake-multilib flag-o-matic
+
+# Make sure that test data are not newer than release;
+# otherwise we will see "Found-But-No-Test" test failures!
+#
+# To update: Go to https://github.com/uclouvain/openjpeg-data and grab the hash
+# of the latest possible commit whose commit date is older than the release
+# date.
+MY_TESTDATA_COMMIT="39524bd3a601d90ed8e0177559400d23945f96a9"
+
+DESCRIPTION="Open-source JPEG 2000 library"
+HOMEPAGE="https://www.openjpeg.org"
+SRC_URI="https://github.com/uclouvain/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
+ test? ( https://github.com/uclouvain/openjpeg-data/archive/${MY_TESTDATA_COMMIT}.tar.gz -> ${PN}-data_20241113.tar.gz )"
+
+LICENSE="BSD-2"
+SLOT="2/7" # based on SONAME
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE="doc test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ media-libs/lcms:2
+ media-libs/libpng:0=
+ media-libs/tiff:=
+ sys-libs/zlib:=
+"
+DEPEND="${RDEPEND}"
+BDEPEND="doc? ( app-text/doxygen )"
+
+DOCS=( AUTHORS.md CHANGELOG.md NEWS.md README.md THANKS.md )
+
+src_prepare() {
+ if use test; then
+ mv "${WORKDIR}"/openjpeg-data-${MY_TESTDATA_COMMIT} "${WORKDIR}"/data ||
+ die "Failed to rename test data"
+ fi
+
+ cmake_src_prepare
+}
+
+multilib_src_configure() {
+ append-lfs-flags
+
+ local mycmakeargs=(
+ -DBUILD_TESTING="$(multilib_native_usex test)"
+ -DBUILD_DOC=$(multilib_native_usex doc ON OFF)
+ -DBUILD_CODEC=$(multilib_is_native_abi && echo ON || echo OFF)
+ -DBUILD_STATIC_LIBS=OFF
+ )
+
+ # Cheat a little bit and force disabling fixed point magic
+ # The test suite is extremely fragile to small changes
+ # bug #715130, bug #715422
+ # https://github.com/uclouvain/openjpeg/issues/1017
+ if multilib_is_native_abi && use test ; then
+ append-cflags "-ffp-contract=off"
+ fi
+
+ cmake_src_configure
+}
+
+multilib_src_test() {
+ if ! multilib_is_native_abi ; then
+ elog "Cannot run tests for non-multilib abi."
+ return 0
+ fi
+
+ pushd "${BUILD_DIR}" > /dev/null || die
+ [[ -e CTestTestfile.cmake ]] || die "Test suite not available! Check source!"
+
+ elog "Note: Upstream maintains a list of known test failures."
+ elog "We collect all the known failures and skip them."
+ elog
+
+ local toskip=( "${S}"/tools/travis-ci/knownfailures-all.txt )
+ if use amd64 ; then
+ toskip+=( "${S}"/tools/travis-ci/knownfailures-*x86_64*.txt )
+ elif use x86 || use arm || use arm64; then
+ toskip+=( "${S}"/tools/travis-ci/knownfailures-*i386*.txt )
+ fi
+
+ local exp=$(sort "${toskip[@]}" | uniq | tr '\n' '|'; assert)
+ popd > /dev/null || die
+
+ local myctestargs=()
+ if [[ -n ${TEST_VERBOSE} ]]; then
+ myctestargs+=( --extra-verbose --output-on-failure )
+ fi
+ myctestargs+=( -E "(${exp::-1})" )
+
+ cmake_src_test
+}
next reply other threads:[~2024-12-12 5:15 UTC|newest]
Thread overview: 135+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-12 5:15 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-10-08 11:07 [gentoo-commits] repo/gentoo:master commit in: media-libs/openjpeg/ Sam James
2024-09-24 15:03 Arthur Zamarin
2024-09-23 8:18 Arthur Zamarin
2024-09-23 7:13 Arthur Zamarin
2024-09-23 0:32 Sam James
2024-09-23 0:32 Sam James
2024-03-14 5:03 Sam James
2024-03-10 14:47 Sam James
2024-03-09 11:53 Yixun Lan
2023-12-23 20:00 Arthur Zamarin
2023-12-19 17:01 Arthur Zamarin
2023-12-18 7:10 Joonas Niilola
2023-12-18 4:51 Sam James
2023-12-18 0:11 Sam James
2023-12-18 0:11 Sam James
2023-12-18 0:11 Sam James
2023-12-18 0:11 Sam James
2023-07-11 18:43 Matt Turner
2023-04-13 10:52 David Seifert
2022-07-12 6:56 Sam James
2022-07-06 6:58 Arthur Zamarin
2022-07-05 8:05 Sam James
2022-07-05 7:09 Joonas Niilola
2022-07-05 6:04 Agostino Sarubbo
2022-07-05 6:04 Agostino Sarubbo
2022-07-05 6:02 Agostino Sarubbo
2022-07-05 0:01 Sam James
2022-07-04 11:39 Joonas Niilola
2022-07-04 11:20 Agostino Sarubbo
2022-05-13 12:19 WANG Xuerui
2022-04-18 21:01 Sam James
2022-04-07 3:37 Sam James
2021-10-15 10:22 Joonas Niilola
2021-09-20 14:09 James Le Cuirot
2021-02-11 8:14 Sam James
2021-01-23 18:13 Andreas Sturmlechner
2021-01-17 11:41 Sergei Trofimovich
2021-01-10 9:35 Sam James
2021-01-07 10:42 Sam James
2021-01-07 2:35 Sam James
2021-01-07 1:10 Sam James
2021-01-06 14:27 Fabian Groffen
2021-01-06 6:37 Sam James
2021-01-06 6:34 Sam James
2021-01-06 3:10 Sam James
2020-03-31 18:40 Thomas Deutschmann
2020-03-31 17:58 Thomas Deutschmann
2020-03-30 13:36 Agostino Sarubbo
2020-03-29 11:18 Mart Raudsepp
2020-03-26 18:01 Sergei Trofimovich
2020-03-26 12:04 Agostino Sarubbo
2020-03-26 10:24 Agostino Sarubbo
2020-03-26 10:22 Agostino Sarubbo
2020-03-26 10:21 Agostino Sarubbo
2020-03-26 10:20 Agostino Sarubbo
2020-03-26 10:17 Agostino Sarubbo
2019-08-11 21:55 Aaron Bauman
2019-07-05 15:43 Sergei Trofimovich
2019-06-14 9:00 Agostino Sarubbo
2019-06-13 14:52 Agostino Sarubbo
2019-06-13 14:31 Agostino Sarubbo
2019-06-13 14:19 Agostino Sarubbo
2019-06-13 14:17 Agostino Sarubbo
2019-06-13 14:12 Agostino Sarubbo
2019-06-13 4:28 Markus Meier
2019-06-11 22:15 Sergei Trofimovich
2019-06-11 2:23 Aaron Bauman
2019-06-10 19:50 Thomas Deutschmann
2019-04-11 11:40 Lars Wendler
2019-01-29 11:54 Mikle Kolyada
2019-01-17 23:15 Sergei Trofimovich
2019-01-04 0:46 Mart Raudsepp
2019-01-02 12:18 Markus Meier
2018-12-30 22:16 Matt Turner
2018-12-28 8:14 Mikle Kolyada
2018-12-27 18:48 Fabian Groffen
2018-12-26 17:23 Matt Turner
2018-12-26 11:46 Sergei Trofimovich
2018-12-25 11:11 Sergei Trofimovich
2018-12-20 1:30 Thomas Deutschmann
2018-12-20 1:10 Thomas Deutschmann
2018-11-03 21:46 Andreas Sturmlechner
2018-10-11 18:35 Andreas Sturmlechner
2018-10-11 18:35 Andreas Sturmlechner
2018-09-15 2:31 Andreas Sturmlechner
2018-09-14 8:28 Tobias Klausmann
2018-09-08 12:53 Mart Raudsepp
2018-09-03 17:40 Markus Meier
2018-09-01 23:26 Sergei Trofimovich
2018-09-01 23:22 Sergei Trofimovich
2018-09-01 23:18 Sergei Trofimovich
2018-08-30 8:48 Mikle Kolyada
2018-08-30 6:16 Sergei Trofimovich
2018-08-29 1:07 Thomas Deutschmann
2018-08-27 20:15 Sergei Trofimovich
2018-08-18 14:34 Andreas Sturmlechner
2018-06-22 9:56 Mikle Kolyada
2018-03-28 20:59 Sebastian Pipping
2018-03-23 23:42 Aaron Bauman
2018-03-03 12:29 Mart Raudsepp
2017-10-24 18:59 Sergei Trofimovich
2017-10-21 13:25 Tobias Klausmann
2017-10-14 6:19 Markus Meier
2017-10-13 9:09 Sergei Trofimovich
2017-10-13 0:13 Sergei Trofimovich
2017-10-12 21:19 Thomas Deutschmann
2017-10-11 17:59 Manuel Rüger
2017-10-10 23:04 Sergei Trofimovich
2017-10-05 10:44 Lars Wendler
2017-09-25 8:12 Sergei Trofimovich
2017-08-31 15:18 Matt Turner
2017-08-25 21:46 Mikle Kolyada
2017-08-25 4:44 Markus Meier
2017-08-21 17:31 Austin English
2017-08-20 20:20 Sergei Trofimovich
2017-08-20 19:16 Thomas Deutschmann
2017-08-10 15:28 Thomas Deutschmann
2017-03-28 22:29 Michael Weber
2017-01-29 19:15 Fabian Groffen
2016-12-11 19:21 Michał Górny
2016-12-07 23:12 Thomas Deutschmann
2016-09-29 13:28 Agostino Sarubbo
2016-09-29 13:14 Agostino Sarubbo
2016-09-29 12:35 Agostino Sarubbo
2016-09-29 9:41 Agostino Sarubbo
2016-09-28 20:39 Thomas Deutschmann
2016-09-27 8:24 Tobias Klausmann
2016-09-27 4:21 Jeroen Roovers
2016-09-26 18:58 Agostino Sarubbo
2016-09-26 18:56 Agostino Sarubbo
2016-09-26 18:38 Thomas Deutschmann
2016-09-26 14:07 Thomas Deutschmann
2015-11-20 1:23 Mike Frysinger
2015-09-01 19:55 Tobias Klausmann
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=1733980468.9205c87cd59b362a6a25ed70ca0aa32c7a4e810a.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