diff options
author | Alexis Ballier <aballier@gentoo.org> | 2020-10-19 17:10:59 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2020-10-20 11:51:57 +0200 |
commit | 3b80c67d37b12a652718b88cbb45dbfc00389029 (patch) | |
tree | 4c4c4473096ecc7e933a5bc9e87778d88ebf5219 /dev-ros | |
parent | dev-ros/compressed_depth_image_transport: only pull needed ocv components (diff) | |
download | gentoo-3b80c67d37b12a652718b88cbb45dbfc00389029.tar.gz gentoo-3b80c67d37b12a652718b88cbb45dbfc00389029.tar.bz2 gentoo-3b80c67d37b12a652718b88cbb45dbfc00389029.zip |
dev-ros/image_proc: only link to required ocv components
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ros')
-rw-r--r-- | dev-ros/image_proc/files/ocv_leak.patch | 13 | ||||
-rw-r--r-- | dev-ros/image_proc/image_proc-1.15.2-r1.ebuild (renamed from dev-ros/image_proc/image_proc-1.15.2.ebuild) | 1 | ||||
-rw-r--r-- | dev-ros/image_proc/image_proc-9999.ebuild | 1 |
3 files changed, 15 insertions, 0 deletions
diff --git a/dev-ros/image_proc/files/ocv_leak.patch b/dev-ros/image_proc/files/ocv_leak.patch new file mode 100644 index 000000000000..79722625d327 --- /dev/null +++ b/dev-ros/image_proc/files/ocv_leak.patch @@ -0,0 +1,13 @@ +Index: image_proc/CMakeLists.txt +=================================================================== +--- image_proc.orig/CMakeLists.txt ++++ image_proc/CMakeLists.txt +@@ -4,7 +4,7 @@ project(image_proc) + find_package(catkin REQUIRED) + + find_package(catkin REQUIRED cv_bridge dynamic_reconfigure image_geometry image_transport nodelet nodelet_topic_tools roscpp sensor_msgs) +-find_package(OpenCV REQUIRED) ++find_package(OpenCV REQUIRED COMPONENTS opencv_core opencv_imgproc opencv_highgui) + find_package(Boost REQUIRED COMPONENTS thread) + + if(cv_bridge_VERSION VERSION_GREATER "1.12.0") diff --git a/dev-ros/image_proc/image_proc-1.15.2.ebuild b/dev-ros/image_proc/image_proc-1.15.2-r1.ebuild index e38214ace5bb..ee3903c63127 100644 --- a/dev-ros/image_proc/image_proc-1.15.2.ebuild +++ b/dev-ros/image_proc/image_proc-1.15.2-r1.ebuild @@ -33,3 +33,4 @@ DEPEND="${RDEPEND} dev-ros/camera_calibration_parsers ) " +PATCHES=( "${FILESDIR}/ocv_leak.patch" ) diff --git a/dev-ros/image_proc/image_proc-9999.ebuild b/dev-ros/image_proc/image_proc-9999.ebuild index e38214ace5bb..ee3903c63127 100644 --- a/dev-ros/image_proc/image_proc-9999.ebuild +++ b/dev-ros/image_proc/image_proc-9999.ebuild @@ -33,3 +33,4 @@ DEPEND="${RDEPEND} dev-ros/camera_calibration_parsers ) " +PATCHES=( "${FILESDIR}/ocv_leak.patch" ) |