Skip to contentSkip to conversation

libbonobo.inc: add libbonobo-bin package

PATCH Superseded Hongxu Jia 2 participants 3 messages Nov 11, 2014

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Hongxu Jia

author
#0 lore raw

cover libbonobo.inc: add libbonobo-bin package

The following changes since commit c78eca1ea7452a62f86b740ec59f1cd39e399d73:

postfix: create or update aliases.db when using systemd (2014-11-10 15:18:55 -0500)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib hongxu/fix-meta-oe
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=hongxu/fix-meta-oe

Hongxu Jia (1):
libbonobo.inc: add libbonobo-bin package

 meta-gnome/recipes-gnome/bonobo/libbonobo.inc | 3 +++
 1 file changed, 3 insertions(+)
Signature · 1 line
1.9.1
author
#1 lore raw

PATCH 1/1 libbonobo.inc: add libbonobo-bin package

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

---
 meta-gnome/recipes-gnome/bonobo/libbonobo.inc | 3 +++
 1 file changed, 3 insertions(+)
meta-gnome/recipes-gnome/bonobo/libbonobo.inc +3 -0
index 8b6007e..57e6986 100644
@@ -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}/*"
 FILES_${PN} += "${libdir}/orbit-2.0/*.so ${libdir}/bonobo/monikers/*.so"
 FILES_${PN}-dbg += "${libdir}/bonobo/monikers/.debug \
     ${libdir}/bonobo-2.0/samples/.debug ${libdir}/orbit-2.0/.debug"
Signature · 1 line
1.9.1
#2 lore raw

Hi Hongxu,

Quoted 17 lines · 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

---
 meta-gnome/recipes-gnome/bonobo/libbonobo.inc | 3 +++
 1 file changed, 3 insertions(+)
(quoted diff) +0 -0

b/meta-gnome/recipes-gnome/bonobo/libbonobo.inc index 8b6007e..57e6986 100644

meta-gnome/recipes-gnome/bonobo/libbonobo.inc inherit gnomebase gtk-doc · line 14

Quoted 6 lines
meta-gnome/recipes-gnome/bonobo/libbonobo.inc +3 -0
@@ -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

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre