[oe] [PATCH 1/1] libbonobo.inc: add libbonobo-bin package

Paul Eggleton paul.eggleton at linux.intel.com
Tue Nov 11 13:15:28 UTC 2014


Hi Hongxu,

On Tuesday 11 November 2014 20:16:10 Hongxu Jia wrote:
> The previous libbonobo package contains perl scripts, while installing
> libbonobo, package management detected perl required, but it actually
> not needed as lib. So add libbonobo-bin package to contain these scripts.
> It refers debian:
> https://packages.debian.org/sid/libbonobo2-bin
> 
> Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
> ---
>  meta-gnome/recipes-gnome/bonobo/libbonobo.inc | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/meta-gnome/recipes-gnome/bonobo/libbonobo.inc
> b/meta-gnome/recipes-gnome/bonobo/libbonobo.inc index 8b6007e..57e6986
> 100644
> --- a/meta-gnome/recipes-gnome/bonobo/libbonobo.inc
> +++ b/meta-gnome/recipes-gnome/bonobo/libbonobo.inc
> @@ -9,6 +9,9 @@ inherit gnomebase gtk-doc
> 
>  ORBIT_IDL_SRC = "${STAGING_BINDIR_NATIVE}/orbit-idl-2"
> 
> +PACKAGES =+ "${PN}-bin"
> +RDEPENDS_${PN}-bin = "${PN} perl"
> +FILES_${PN}-bin = "${bindir}/* ${sbindir}/*"

We do have a lib-package class to handle this, although it doesn't do much we 
should probably use it here for consistency - then you can drop the PACKAGES 
and FILES lines above.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the Openembedded-devel mailing list