[oe] [meta-oe][PATCH 1/1] opencv: fix runtime dependencies.

Martin Jansa martin.jansa at gmail.com
Fri Oct 20 16:21:18 UTC 2017


Follow the README and put [pyro] in the subject.

I've noticed this only because this doesn't apply to master where 3.2
version was removed 3 months ago with:
commit 31fceb560c0b81cff3aa439e3f43fd7a04dc477f
Author:     Ismo Puustinen <ismo.puustinen at intel.com>
AuthorDate: Thu Aug 10 12:58:18 2017 +0300
Commit:     Martin Jansa <Martin.Jansa at gmail.com>
CommitDate: Sun Aug 13 13:21:02 2017 +0200

    opencv: update to version 3.3.

and this commit is already in master.

On Thu, Oct 19, 2017 at 7:40 PM, Anselmo L. S. Melo <anselmo.melo at intel.com>
wrote:

> From: Ismo Puustinen <ismo.puustinen at intel.com>
>
> The newly split "libopencv-ts" package is empty (and thus not created),
> because all ts files are installed in the development package. So, do
> not add a runtime dependency to libopencv-ts.
>
> Signed-off-by: Ismo Puustinen <ismo.puustinen at intel.com>
> Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
> ---
>  meta-oe/recipes-support/opencv/opencv_3.2.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta-oe/recipes-support/opencv/opencv_3.2.bb
> b/meta-oe/recipes-support/opencv/opencv_3.2.bb
> index 535c761fa..fc62e9975 100644
> --- a/meta-oe/recipes-support/opencv/opencv_3.2.bb
> +++ b/meta-oe/recipes-support/opencv/opencv_3.2.bb
> @@ -126,7 +126,7 @@ python populate_packages_prepend () {
>
>      metapkg =  pn
>      d.setVar('ALLOW_EMPTY_' + metapkg, "1")
> -    blacklist = [ metapkg ]
> +    blacklist = [ metapkg, "libopencv-ts" ]
>      metapkg_rdepends = [ ]
>      for pkg in packages[1:]:
>          if not pkg in blacklist and not pkg in metapkg_rdepends and not
> pkg.endswith('-dev') and not pkg.endswith('-dbg') and not
> pkg.endswith('-doc') and not pkg.endswith('-locale') and not
> pkg.endswith('-staticdev'):
> --
> 2.14.2
>
>



More information about the Openembedded-devel mailing list