commit: 5be3d521b85f9db06dd6c4311841aeea69c70cf5 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> AuthorDate: Mon Oct 19 15:08:05 2020 +0000 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> CommitDate: Tue Oct 20 09:51:57 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5be3d521
dev-ros/compressed_depth_image_transport: only pull needed ocv components Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org> .../compressed_depth_image_transport-1.14.0.ebuild | 1 + .../compressed_depth_image_transport-9999.ebuild | 1 + .../compressed_depth_image_transport/files/ocv_leak.patch | 13 +++++++++++++ 3 files changed, 15 insertions(+) diff --git a/dev-ros/compressed_depth_image_transport/compressed_depth_image_transport-1.14.0.ebuild b/dev-ros/compressed_depth_image_transport/compressed_depth_image_transport-1.14.0.ebuild index 97f465fd487..ee76a3e1f2b 100644 --- a/dev-ros/compressed_depth_image_transport/compressed_depth_image_transport-1.14.0.ebuild +++ b/dev-ros/compressed_depth_image_transport/compressed_depth_image_transport-1.14.0.ebuild @@ -26,3 +26,4 @@ DEPEND="${RDEPEND} dev-cpp/gtest ) " +PATCHES=( "${FILESDIR}/ocv_leak.patch" ) diff --git a/dev-ros/compressed_depth_image_transport/compressed_depth_image_transport-9999.ebuild b/dev-ros/compressed_depth_image_transport/compressed_depth_image_transport-9999.ebuild index 97f465fd487..ee76a3e1f2b 100644 --- a/dev-ros/compressed_depth_image_transport/compressed_depth_image_transport-9999.ebuild +++ b/dev-ros/compressed_depth_image_transport/compressed_depth_image_transport-9999.ebuild @@ -26,3 +26,4 @@ DEPEND="${RDEPEND} dev-cpp/gtest ) " +PATCHES=( "${FILESDIR}/ocv_leak.patch" ) diff --git a/dev-ros/compressed_depth_image_transport/files/ocv_leak.patch b/dev-ros/compressed_depth_image_transport/files/ocv_leak.patch new file mode 100644 index 00000000000..8e1f81ae32f --- /dev/null +++ b/dev-ros/compressed_depth_image_transport/files/ocv_leak.patch @@ -0,0 +1,13 @@ +Index: compressed_depth_image_transport/CMakeLists.txt +=================================================================== +--- compressed_depth_image_transport.orig/CMakeLists.txt ++++ compressed_depth_image_transport/CMakeLists.txt +@@ -5,7 +5,7 @@ if (CMAKE_COMPILER_IS_GNUCC OR CMAKE_COM + # set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Werror") + endif() + +-find_package(OpenCV REQUIRED) ++find_package(OpenCV REQUIRED COMPONENTS opencv_core opencv_imgcodecs opencv_highgui) + find_package(catkin REQUIRED cv_bridge dynamic_reconfigure image_transport) + + # generate the dynamic_reconfigure config file