[oe] [PATCH] opencv: Fix broken deps for opencv meta package
Burton, Ross
ross.burton at intel.com
Wed May 4 19:35:23 UTC 2016
On 4 May 2016 at 16:15, Jacob Stiffler <j-stiffler at ti.com> wrote:
> * The opencv meta package's RDEPENDS list is blindly populated with
> all non *-dev, *-dbg, and *-doc packages
>
> * This includes the non-existent opencv-locale package which is added
> to the list by default in oe-core/meta/conf/bitbake.conf
> * This issue was hidden as late as jethro as the distutils class was
> overwriting the PACKAGES list
> * Therefore add opencv-locale to the opencv meta package blacklist,
> and filter out all packages which contain "locale" in the package
> name to be safe.
>
> * Another issue with the meta package dependency generation logic is
> that it may add other empty, non-existent packages.
> * The existence of the opencv-java package depends on the
> PACKAGECONFIG, though it is added as a meta package dependency in
> all cases.
> * Therefore check the contents of PKGDEST to only add non-empty
> packages as RDEPENDS for the opencv meta package.
>
do_split_packages() returns the list of packages that it created, so the
output from the final call to do_split_packages (that creates lib%s) should
be exactly what you need to create a metapackage.
(it currently returns duplicates if multiple files are packages, but this
doesn't cause a problem for metapackage dependencies)
Ross
More information about the Openembedded-devel
mailing list