Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [git commit] gst1-plugins-bad: select all opencv modules needed
@ 2014-02-25 19:59 Peter Korsgaard
  2014-02-26 10:18 ` Vicente Olivert Riera
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Korsgaard @ 2014-02-25 19:59 UTC (permalink / raw)
  To: buildroot

commit: http://git.buildroot.net/buildroot/commit/?id=3324f4e8b69ab49783a233b27c9b2edeecedb5ce
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

gstopencv.c includes the old-style header opencv/cv.h which includes a
set of module's headers. To satisfy the opencv/cv.h requirements we need
to select the modules which provide the required headers.

Fixes:
   http://autobuild.buildroot.net/results/f5b/f5b248eb7be38d6eb3655cdc1ab6ee5e716b9b29/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Reviewed-by: Samuel Martin <smartin@aldebaran-robotics.com>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 package/gstreamer1/gst1-plugins-bad/Config.in |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/package/gstreamer1/gst1-plugins-bad/Config.in b/package/gstreamer1/gst1-plugins-bad/Config.in
index 3647e53..efad91e 100644
--- a/package/gstreamer1/gst1-plugins-bad/Config.in
+++ b/package/gstreamer1/gst1-plugins-bad/Config.in
@@ -418,6 +418,15 @@ config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPENCV
 	bool "opencv"
 	depends on BR2_INSTALL_LIBSTDCPP
 	select BR2_PACKAGE_OPENCV
+	# Remove the following opencv modules when gstreamer fixes the
+	# problem of including the old "cv.h" header
+	select BR2_PACKAGE_OPENCV_LIB_CALIB3D
+	select BR2_PACKAGE_OPENCV_LIB_FEATURES2D
+	select BR2_PACKAGE_OPENCV_LIB_FLANN
+	select BR2_PACKAGE_OPENCV_LIB_IMGPROC
+	select BR2_PACKAGE_OPENCV_LIB_LEGACY
+	select BR2_PACKAGE_OPENCV_LIB_OBJDETECT
+	select BR2_PACKAGE_OPENCV_LIB_VIDEO
 	help
 	  GStreamer OpenCV Plugins
 

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

* [Buildroot] [git commit] gst1-plugins-bad: select all opencv modules needed
  2014-02-25 19:59 [Buildroot] [git commit] gst1-plugins-bad: select all opencv modules needed Peter Korsgaard
@ 2014-02-26 10:18 ` Vicente Olivert Riera
  2014-02-26 10:23   ` Peter Korsgaard
  0 siblings, 1 reply; 3+ messages in thread
From: Vicente Olivert Riera @ 2014-02-26 10:18 UTC (permalink / raw)
  To: buildroot

On 02/25/2014 07:59 PM, Peter Korsgaard wrote:
> commit: http://git.buildroot.net/buildroot/commit/?id=3324f4e8b69ab49783a233b27c9b2edeecedb5ce
> branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
>
> gstopencv.c includes the old-style header opencv/cv.h which includes a
> set of module's headers. To satisfy the opencv/cv.h requirements we need
> to select the modules which provide the required headers.
>
> Fixes:
>     http://autobuild.buildroot.net/results/f5b/f5b248eb7be38d6eb3655cdc1ab6ee5e716b9b29/
>
> Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
> Reviewed-by: Samuel Martin <smartin@aldebaran-robotics.com>
> Reviewed-by: Samuel Martin <s.martin49@gmail.com>
> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
> ---
>   package/gstreamer1/gst1-plugins-bad/Config.in |    9 +++++++++
>   1 files changed, 9 insertions(+), 0 deletions(-)
>
> diff --git a/package/gstreamer1/gst1-plugins-bad/Config.in b/package/gstreamer1/gst1-plugins-bad/Config.in
> index 3647e53..efad91e 100644
> --- a/package/gstreamer1/gst1-plugins-bad/Config.in
> +++ b/package/gstreamer1/gst1-plugins-bad/Config.in
> @@ -418,6 +418,15 @@ config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPENCV
>   	bool "opencv"
>   	depends on BR2_INSTALL_LIBSTDCPP
>   	select BR2_PACKAGE_OPENCV
> +	# Remove the following opencv modules when gstreamer fixes the
> +	# problem of including the old "cv.h" header
> +	select BR2_PACKAGE_OPENCV_LIB_CALIB3D
> +	select BR2_PACKAGE_OPENCV_LIB_FEATURES2D
> +	select BR2_PACKAGE_OPENCV_LIB_FLANN
> +	select BR2_PACKAGE_OPENCV_LIB_IMGPROC
> +	select BR2_PACKAGE_OPENCV_LIB_LEGACY
> +	select BR2_PACKAGE_OPENCV_LIB_OBJDETECT
> +	select BR2_PACKAGE_OPENCV_LIB_VIDEO
>   	help
>   	  GStreamer OpenCV Plugins
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>

A bug has been reported upstream to fix this issue properly:

https://bugzilla.gnome.org/show_bug.cgi?id=725163

And good news, a GStreamer developer agreed with my proposal. Should we 
add the bug URL below the comments in the Config.in so the users who are 
interested on it can know all the reasons and follow the progress of 
this issue?

-- 
Vincent

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

* [Buildroot] [git commit] gst1-plugins-bad: select all opencv modules needed
  2014-02-26 10:18 ` Vicente Olivert Riera
@ 2014-02-26 10:23   ` Peter Korsgaard
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2014-02-26 10:23 UTC (permalink / raw)
  To: buildroot

>>>>> "Vicente" == Vicente Olivert Riera <Vincent.Riera@imgtec.com> writes:

Hi,

 > A bug has been reported upstream to fix this issue properly:

 > https://bugzilla.gnome.org/show_bug.cgi?id=725163

Thanks!

 > And good news, a GStreamer developer agreed with my proposal. Should
 > we add the bug URL below the comments in the Config.in so the users
 > who are interested on it can know all the reasons and follow the
 > progress of this issue?

Yes, that would be very good. Care to send a patch adding it?

-- 
Bye, Peter Korsgaard

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

end of thread, other threads:[~2014-02-26 10:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-25 19:59 [Buildroot] [git commit] gst1-plugins-bad: select all opencv modules needed Peter Korsgaard
2014-02-26 10:18 ` Vicente Olivert Riera
2014-02-26 10:23   ` Peter Korsgaard

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