Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v3 1/2] package/opencv: add inter-module dependencies
@ 2016-04-18 20:17 Bernd Kuhls
  2016-04-18 20:17 ` [Buildroot] [PATCH v3 2/2] package/freeswitch: select OpenCV modules for needed mod_cv Bernd Kuhls
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Bernd Kuhls @ 2016-04-18 20:17 UTC (permalink / raw)
  To: buildroot

As stated by Samuel the opencv2 package lacks inter-module dependencies:
http://lists.busybox.net/pipermail/buildroot/2016-April/158902.html

This patch adds the necessary code for freeswitch's mod_cv to compile.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
v3: add more dependencies
v2: initial release (Samuel)

 package/opencv/Config.in | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/package/opencv/Config.in b/package/opencv/Config.in
index 8bc6c34..b563312 100644
--- a/package/opencv/Config.in
+++ b/package/opencv/Config.in
@@ -23,6 +23,13 @@ config BR2_PACKAGE_OPENCV_LIB_CALIB3D
 config BR2_PACKAGE_OPENCV_LIB_CONTRIB
 	bool "contrib"
 	default y
+	# modules/contrib/CMakeLists.txt
+	select BR2_PACKAGE_OPENCV_LIB_CALIB3D
+	select BR2_PACKAGE_OPENCV_LIB_FEATURES2D
+	select BR2_PACKAGE_OPENCV_LIB_IMGPROC
+	select BR2_PACKAGE_OPENCV_LIB_ML
+	select BR2_PACKAGE_OPENCV_LIB_OBJDETECT
+	select BR2_PACKAGE_OPENCV_LIB_VIDEO
 	help
 	  Include opencv_contrib module into the OpenCV build.
 
@@ -46,6 +53,8 @@ config BR2_PACKAGE_OPENCV_LIB_GPU
 config BR2_PACKAGE_OPENCV_LIB_HIGHGUI
 	bool "highgui"
 	default y
+	# modules/highgui/CMakeLists.txt
+	select BR2_PACKAGE_OPENCV_LIB_IMGPROC
 	help
 	  Include opencv_highgui module into the OpenCV build.
 
@@ -58,6 +67,10 @@ config BR2_PACKAGE_OPENCV_LIB_IMGPROC
 config BR2_PACKAGE_OPENCV_LIB_LEGACY
 	bool "legacy"
 	default y
+	# modules/legacy/CMakeLists.txt
+	select BR2_PACKAGE_OPENCV_LIB_CALIB3D
+	select BR2_PACKAGE_OPENCV_LIB_ML
+	select BR2_PACKAGE_OPENCV_LIB_VIDEO
 	help
 	  Include opencv_legacy module into the OpenCV build.
 
@@ -75,6 +88,8 @@ config BR2_PACKAGE_OPENCV_LIB_NONFREE
 config BR2_PACKAGE_OPENCV_LIB_OBJDETECT
 	bool "objdetect"
 	default y
+	# modules/objdetect/CMakeLists.txt
+	select BR2_PACKAGE_OPENCV_LIB_IMGPROC
 	help
 	  Include opencv_objdetect module into the OpenCV build.
 
-- 
2.8.0.rc3

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-04-19 16:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-18 20:17 [Buildroot] [PATCH v3 1/2] package/opencv: add inter-module dependencies Bernd Kuhls
2016-04-18 20:17 ` [Buildroot] [PATCH v3 2/2] package/freeswitch: select OpenCV modules for needed mod_cv Bernd Kuhls
2016-04-18 22:11   ` Samuel Martin
2016-04-19 16:32     ` Bernd Kuhls
2016-04-18 21:28 ` [Buildroot] [PATCH v3 1/2] package/opencv: add inter-module dependencies Samuel Martin
2016-04-18 21:41   ` Thomas Petazzoni
2016-04-18 22:07     ` Samuel Martin
2016-04-18 22:12 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox