From d4276bed389b7db06db58c7acebb83f92bff86a5 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Wed, 2 Jun 2010 15:04:25 +0200 Subject: recipes: conform to OE packaging guidelines with RDEPENDS/RRECOMMENDS * there is probably very few cases when it's needed without _${PN}, if you find one in attached patch, please enlighten me * usually we want those only for ${PN} not for all ${PACKAGES} ie ${PN}-dev, ${PN)-doc etc * there is a check for this in recipe-sanity.bclass * there is maybe few possible fixes also in bbclasses cpan-base.bbclass:RDEPENDS += "${@["perl", ""][(bb.data.inherits_class('native', d))]}" distutils-base.bbclass:RDEPENDS += "python-core" gtk-icon-cache.bbclass:RDEPENDS += "hicolor-icon-theme" image.bbclass:RDEPENDS += "${IMAGE_INSTALL} ${IMAGE_BOOT}" module.bbclass:RDEPENDS += "kernel (${KERNEL_VERSION}) update-modules" ?opie_i18n.bbclass: rdepends = bb.data.getVar("RDEPENDS", d, 1) ?opie_i18n.bbclass: bb.data.setVar('RDEPENDS_%s' % x[0].lower(), pn, d) ?opie_i18n.bbclass: bb.data.setVar('RDEPENDS', rdepends, d) rubyextension.bbclass:RDEPENDS += "ruby" Signed-off-by: Martin Jansa Acked-by: Koen Kooi --- recipes/gpe-beam/gpe-beam_0.2.3.bb | 2 +- recipes/gpe-beam/gpe-beam_0.2.6.bb | 2 +- recipes/gpe-beam/gpe-beam_0.2.7.bb | 2 +- recipes/gpe-beam/gpe-beam_0.2.8.bb | 2 +- recipes/gpe-beam/gpe-beam_0.2.9.bb | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'recipes/gpe-beam') diff --git a/recipes/gpe-beam/gpe-beam_0.2.3.bb b/recipes/gpe-beam/gpe-beam_0.2.3.bb index b5cbeec9f7..eae5a3cd18 100644 --- a/recipes/gpe-beam/gpe-beam_0.2.3.bb +++ b/recipes/gpe-beam/gpe-beam_0.2.3.bb @@ -1,6 +1,6 @@ require ${PN}.inc -RDEPENDS = "libopenobex-1.0-1" +RDEPENDS_${PN} = "libopenobex-1.0-1" inherit gpe pkgconfig diff --git a/recipes/gpe-beam/gpe-beam_0.2.6.bb b/recipes/gpe-beam/gpe-beam_0.2.6.bb index 6252ed91af..6d6569eea3 100644 --- a/recipes/gpe-beam/gpe-beam_0.2.6.bb +++ b/recipes/gpe-beam/gpe-beam_0.2.6.bb @@ -1,6 +1,6 @@ require ${PN}.inc -RDEPENDS = "libopenobex-1.0-1 irda-utils" +RDEPENDS_${PN} = "libopenobex-1.0-1 irda-utils" PR = "r1" SRC_URI += "file://vcard-send.patch;striplevel=0" diff --git a/recipes/gpe-beam/gpe-beam_0.2.7.bb b/recipes/gpe-beam/gpe-beam_0.2.7.bb index 19fcbd3bc2..2effb37721 100644 --- a/recipes/gpe-beam/gpe-beam_0.2.7.bb +++ b/recipes/gpe-beam/gpe-beam_0.2.7.bb @@ -1,6 +1,6 @@ require ${PN}.inc -RDEPENDS = "libopenobex-1.0-1 irda-utils" +RDEPENDS_${PN} = "libopenobex-1.0-1 irda-utils" PR = "r1" SRC_URI += "file://decl.patch;striplevel=0" diff --git a/recipes/gpe-beam/gpe-beam_0.2.8.bb b/recipes/gpe-beam/gpe-beam_0.2.8.bb index 99e8db1e7c..7a535093f5 100644 --- a/recipes/gpe-beam/gpe-beam_0.2.8.bb +++ b/recipes/gpe-beam/gpe-beam_0.2.8.bb @@ -1,6 +1,6 @@ require ${PN}.inc -RDEPENDS = "irda-utils" +RDEPENDS_${PN} = "irda-utils" SRC_URI += "file://dbus-new-api.patch" diff --git a/recipes/gpe-beam/gpe-beam_0.2.9.bb b/recipes/gpe-beam/gpe-beam_0.2.9.bb index 216c40c522..335a3f3ef4 100644 --- a/recipes/gpe-beam/gpe-beam_0.2.9.bb +++ b/recipes/gpe-beam/gpe-beam_0.2.9.bb @@ -1,6 +1,6 @@ require ${PN}.inc -RDEPENDS = "irda-utils" +RDEPENDS_${PN} = "irda-utils" inherit gpe -- cgit 1.2.3-korg