From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/opencolorio/files/, media-libs/opencolorio/
Date: Sat, 10 Oct 2020 13:35:50 +0000 (UTC) [thread overview]
Message-ID: <1602336939.4751ed3cfef4736ce6684af0b677f744e3fffe0f.sam@gentoo> (raw)
commit: 4751ed3cfef4736ce6684af0b677f744e3fffe0f
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 10 13:35:26 2020 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Oct 10 13:35:39 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4751ed3c
media-libs/opencolorio: drop useless Boost check
We don't actually need Boost; upstream were checking
on behalf of yaml-cpp, which doesn't need Boost anymore
anyway, but it wouldn't have been opencolorio's responsibility
for it even if it did.
This test has since been dropped upstream.
Closes: https://bugs.gentoo.org/747553
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../opencolorio-1.1.1-yaml-cpp-boost-check.patch | 35 ++++++++++++++++++++++
media-libs/opencolorio/opencolorio-1.1.1.ebuild | 1 +
2 files changed, 36 insertions(+)
diff --git a/media-libs/opencolorio/files/opencolorio-1.1.1-yaml-cpp-boost-check.patch b/media-libs/opencolorio/files/opencolorio-1.1.1-yaml-cpp-boost-check.patch
new file mode 100644
index 00000000000..0f3c3e3ba19
--- /dev/null
+++ b/media-libs/opencolorio/files/opencolorio-1.1.1-yaml-cpp-boost-check.patch
@@ -0,0 +1,35 @@
+This check is redundant. The appropriate versions of yaml-cpp
+already had a dependency on Boost, but that's not even the case anymore.
+
+Check has been dropped upstream since.
+https://bugs.gentoo.org/747553
+----
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index eb20913..434e38b 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -272,24 +272,6 @@ if(USE_EXTERNAL_YAML)
+ mark_as_advanced(YAML_CPP_INCLUDE_DIR YAML_CPP_LIBRARY YAML-CPP_FOUND)
+
+ if(YAML_CPP_FOUND)
+- if(YAML_CPP_VERSION VERSION_GREATER "0.5.0")
+- # Need to also get the boost headers here, as yaml-cpp 0.5.0+ requires them.
+- # Don't bother doing this step if we are already including the boost headers for shared_ptr
+- if(NOT OCIO_USE_BOOST_PTR)
+- set(Boost_ADDITIONAL_VERSIONS "1.49" "1.45" "1.44" "1.43" "1.43.0" "1.42"
+- "1.42.0" "1.41" "1.41.0" "1.40"
+- "1.40.0" "1.39" "1.39.0" "1.38"
+- "1.38.0" "1.37" "1.37.0" "1.34.1"
+- "1_34_1")
+- set(Boost_USE_MULTITHREADED ON)
+- find_package(Boost 1.34)
+- if(NOT Boost_FOUND)
+- message(FATAL_ERROR "Error: Detected system yaml-cpp version ${YAML_CPP_VERSION} is greater than 0.5.0, and therefore requires boost, but a boost installation could not be found.")
+- endif()
+-
+- set(EXTERNAL_INCLUDE_DIRS ${EXTERNAL_INCLUDE_DIRS} ${Boost_INCLUDE_DIR})
+- endif()
+- endif()
+ set(EXTERNAL_INCLUDE_DIRS ${EXTERNAL_INCLUDE_DIRS} ${YAML_CPP_INCLUDE_DIRS})
+ else(YAML_CPP_FOUND)
+ message(FATAL_ERROR "ERROR: System yaml-cpp library was not found. Make sure the library is installed and the pkg-config file exists.")
diff --git a/media-libs/opencolorio/opencolorio-1.1.1.ebuild b/media-libs/opencolorio/opencolorio-1.1.1.ebuild
index 9b3802a51da..9b6bcb993be 100644
--- a/media-libs/opencolorio/opencolorio-1.1.1.ebuild
+++ b/media-libs/opencolorio/opencolorio-1.1.1.ebuild
@@ -51,6 +51,7 @@ PATCHES=(
"${FILESDIR}/${PN}-1.1.0-remove-building-of-bundled-programs.patch"
"${FILESDIR}/${PN}-1.1.0-yaml-cpp-0.6.patch"
"${FILESDIR}/${PN}-1.1.0-remove-Werror.patch"
+ "${FILESDIR}/${PN}-1.1.1-yaml-cpp-boost-check.patch"
)
pkg_setup() {
next reply other threads:[~2020-10-10 13:35 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-10 13:35 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-05 20:35 [gentoo-commits] repo/gentoo:master commit in: media-libs/opencolorio/files/, media-libs/opencolorio/ Sam James
2024-10-04 21:40 Andreas Sturmlechner
2023-10-28 21:46 Sam James
2023-09-26 20:48 Sam James
2022-02-12 3:55 Sam James
2021-06-07 17:26 Sam James
2020-11-18 19:21 Sam James
2019-05-19 17:54 Andreas Sturmlechner
2018-05-26 11:01 Johannes Huber
2018-05-20 22:36 Johannes Huber
2018-01-19 11:57 David Seifert
2018-01-19 11:57 David Seifert
2017-09-23 8:38 David Seifert
2016-11-02 14:44 Sergey Popov
2016-05-30 20:16 Sergey Popov
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=1602336939.4751ed3cfef4736ce6684af0b677f744e3fffe0f.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