diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2010-06-02 15:04:25 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2010-06-03 07:33:27 +0200 |
commit | d4276bed389b7db06db58c7acebb83f92bff86a5 (patch) | |
tree | 2386574b6ab0c36a58a314a24d31f6b5c9291a65 /recipes/midpath | |
parent | 823aa270059259ca619e21a5d9b22e86afb12f3b (diff) |
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 <Martin.Jansa@gmail.com>
Acked-by: Koen Kooi <k-kooi@ti.com>
Diffstat (limited to 'recipes/midpath')
-rw-r--r-- | recipes/midpath/midpath-core_0.2+0.3rc2.bb | 2 | ||||
-rw-r--r-- | recipes/midpath/midpath-demos_0.2+0.3rc2.bb | 2 | ||||
-rw-r--r-- | recipes/midpath/midpath-maemo_0.2+0.3rc2.bb | 2 | ||||
-rw-r--r-- | recipes/midpath/midpath-openmoko_0.2+0.3rc2.bb | 2 | ||||
-rw-r--r-- | recipes/midpath/midpath.inc | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/recipes/midpath/midpath-core_0.2+0.3rc2.bb b/recipes/midpath/midpath-core_0.2+0.3rc2.bb index 4f63d6d3bc..9f28b47ce1 100644 --- a/recipes/midpath/midpath-core_0.2+0.3rc2.bb +++ b/recipes/midpath/midpath-core_0.2+0.3rc2.bb @@ -19,7 +19,7 @@ SRC_URI += "\ PROVIDES = "java-midp2.0" DEPENDS += "midpath-cldc midpath-backend-sdl midpath-backend-escher swt3.4-gtk kxml2 bluez-libs" -RDEPENDS += "libkxml2-java" +RDEPENDS_${PN} += "libkxml2-java" JAR = "midpath.jar" diff --git a/recipes/midpath/midpath-demos_0.2+0.3rc2.bb b/recipes/midpath/midpath-demos_0.2+0.3rc2.bb index 159e214f35..0a6443a06c 100644 --- a/recipes/midpath/midpath-demos_0.2+0.3rc2.bb +++ b/recipes/midpath/midpath-demos_0.2+0.3rc2.bb @@ -7,7 +7,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc2.tar.gz" S = "${WORKDIR}/midpath-0.3rc2" DEPENDS = "midpath-core midpath-location midpath-messaging midpath-svg midpath-opengles midpath-m3g" -RDEPENDS = "midpath midpath-location midpath-messaging midpath-svg-midp midpath-opengles midpath-m3g" +RDEPENDS_${PN} = "midpath midpath-location midpath-messaging midpath-svg-midp midpath-opengles midpath-m3g" DESCRIPTION = "Demonstration programs of the MIDPath library" diff --git a/recipes/midpath/midpath-maemo_0.2+0.3rc2.bb b/recipes/midpath/midpath-maemo_0.2+0.3rc2.bb index 07246e7e92..424ff24abd 100644 --- a/recipes/midpath/midpath-maemo_0.2+0.3rc2.bb +++ b/recipes/midpath/midpath-maemo_0.2+0.3rc2.bb @@ -13,7 +13,7 @@ PR = "r0" SRC_URI += "file://configuration_maemo.cfg" -RDEPENDS += "java2-runtime libswt3.4-gtk-java midpath-core-bluetooth" +RDEPENDS_${PN} += "java2-runtime libswt3.4-gtk-java midpath-core-bluetooth" CONFIGURATION = "configuration_maemo.cfg" diff --git a/recipes/midpath/midpath-openmoko_0.2+0.3rc2.bb b/recipes/midpath/midpath-openmoko_0.2+0.3rc2.bb index b8180134b1..3e524d8dd8 100644 --- a/recipes/midpath/midpath-openmoko_0.2+0.3rc2.bb +++ b/recipes/midpath/midpath-openmoko_0.2+0.3rc2.bb @@ -13,7 +13,7 @@ PR = "r0" SRC_URI += "file://configuration_openmoko.cfg" -RDEPENDS += "java2-runtime midpath-backend-alsa libswt3.4-gtk-java midpath-core-bluetooth" +RDEPENDS_${PN} += "java2-runtime midpath-backend-alsa libswt3.4-gtk-java midpath-core-bluetooth" CONFIGURATION = "configuration_openmoko.cfg" diff --git a/recipes/midpath/midpath.inc b/recipes/midpath/midpath.inc index 19b4179536..50fd8ef095 100644 --- a/recipes/midpath/midpath.inc +++ b/recipes/midpath/midpath.inc @@ -5,7 +5,7 @@ # RDEPENDS. require midpath-common.inc -RDEPENDS = "midpath-core midpath-core-bluetooth midpath-core-ogg ${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'midpath-core-mp3', d)}" +RDEPENDS_${PN} = "midpath-core midpath-core-bluetooth midpath-core-ogg ${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'midpath-core-mp3', d)}" PROVIDES = "midpath" RPROVIDES = "midpath" |