[oe] [PATCH] opencv: Add missing dependencies

Martin Jansa martin.jansa at gmail.com
Wed Mar 23 10:12:40 UTC 2016


On Mon, Mar 21, 2016 at 11:31:36AM +0100, Ricardo Ribalda Delgado wrote:
> opencv-3.1+gitAUTOINC+92387b1ef8: libopencv-videoio rdepends on
> libgphotoport, but it isn't a build dependency, missing libgphoto2 in
> DEPENDS or PACKAGECONFIG? [build-deps]
> opencv-3.1+gitAUTOINC+92387b1ef8: libopencv-videoio rdepends on
> libgphoto2, but it isn't a build dependency, missing libgphoto2 in
> DEPENDS or PACKAGECONFIG? [build-deps]
> opencv-3.1+gitAUTOINC+92387b1ef8: libopencv-dnn rdepends on protobuf,
> but it isn't a build dependency, missing protobuf in DEPENDS or
> PACKAGECONFIG? [build-deps]

Still shows:
WARN: opencv: libopencv-dnn rdepends on protobuf, but it isn't a build
dependency?

protobuf support in dnn probably depends on something else which is also autodetected.

> Credit-to: Martin Jansa <martin.jansa at gmail.com>
> Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda at gmail.com>
> ---
>  meta-oe/recipes-support/opencv/opencv_3.1.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta-oe/recipes-support/opencv/opencv_3.1.bb b/meta-oe/recipes-support/opencv/opencv_3.1.bb
> index 87338cad4a4b..e9e85fe2af0a 100644
> --- a/meta-oe/recipes-support/opencv/opencv_3.1.bb
> +++ b/meta-oe/recipes-support/opencv/opencv_3.1.bb
> @@ -10,7 +10,7 @@ ARM_INSTRUCTION_SET_armv5 = "arm"
>  
>  DEFAULT_PREFERENCE = "-1"
>  
> -DEPENDS = "python-numpy libtool swig swig-native python bzip2 zlib glib-2.0 libwebp"
> +DEPENDS = "python-numpy libtool swig swig-native python bzip2 zlib glib-2.0 libwebp libgphoto2 protobuf"
>  
>  SRCREV_opencv = "92387b1ef8fad15196dd5f7fb4931444a68bc93a"
>  SRCREV_contrib = "5409d5ad560523c85c6796cc5a009347072d883c"
> -- 
> 2.7.0
> 

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20160323/3553c958/attachment-0002.sig>


More information about the Openembedded-devel mailing list