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/xorg-driver | |
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/xorg-driver')
-rw-r--r-- | recipes/xorg-driver/xf86-input-tslib_0.0.5.bb | 2 | ||||
-rw-r--r-- | recipes/xorg-driver/xf86-video-glamo_git.bb | 2 | ||||
-rw-r--r-- | recipes/xorg-driver/xf86-video-intel_2.10.0.bb | 2 | ||||
-rw-r--r-- | recipes/xorg-driver/xf86-video-vesa_2.2.0.bb | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/recipes/xorg-driver/xf86-input-tslib_0.0.5.bb b/recipes/xorg-driver/xf86-input-tslib_0.0.5.bb index 693c70363d..11c39c8fe2 100644 --- a/recipes/xorg-driver/xf86-input-tslib_0.0.5.bb +++ b/recipes/xorg-driver/xf86-input-tslib_0.0.5.bb @@ -1,7 +1,7 @@ require xorg-driver-input.inc DESCRIPTION = "X.Org X server -- tslib input driver" -RRECOMMENDS += "hal tslib-calibrate" +RRECOMMENDS_${PN} += "hal tslib-calibrate" DEPENDS += "tslib" PR = "r8" diff --git a/recipes/xorg-driver/xf86-video-glamo_git.bb b/recipes/xorg-driver/xf86-video-glamo_git.bb index 98e6a7b891..60aac908e4 100644 --- a/recipes/xorg-driver/xf86-video-glamo_git.bb +++ b/recipes/xorg-driver/xf86-video-glamo_git.bb @@ -8,7 +8,7 @@ PV = "1.0.0+gitr${SRCPV}" PE = "2" PR = "r5" -RDEPENDS = "xserver-xorg-extension-dri xserver-xorg-extension-dri2 xserver-xorg-extension-glx mesa-dri" +RDEPENDS_${PN} = "xserver-xorg-extension-dri xserver-xorg-extension-dri2 xserver-xorg-extension-glx mesa-dri" DEPENDS += "libdrm" DESCRIPTION = "X.Org X server -- Glamo display driver with KMS support" diff --git a/recipes/xorg-driver/xf86-video-intel_2.10.0.bb b/recipes/xorg-driver/xf86-video-intel_2.10.0.bb index baac57b430..74b4f5bd54 100644 --- a/recipes/xorg-driver/xf86-video-intel_2.10.0.bb +++ b/recipes/xorg-driver/xf86-video-intel_2.10.0.bb @@ -2,7 +2,7 @@ require xorg-driver-video.inc DESCRIPTION = "X.Org X server -- Intel i8xx, i9xx display driver" DEPENDS += " virtual/libx11 libxvmc drm xf86driproto " -RDEPENDS += "xserver-xorg-extension-dri \ +RDEPENDS_${PN} += "xserver-xorg-extension-dri \ xserver-xorg-extension-dri2 \ xserver-xorg-extension-glx" PE = "1" diff --git a/recipes/xorg-driver/xf86-video-vesa_2.2.0.bb b/recipes/xorg-driver/xf86-video-vesa_2.2.0.bb index b5ffdfe6d1..363f15bf80 100644 --- a/recipes/xorg-driver/xf86-video-vesa_2.2.0.bb +++ b/recipes/xorg-driver/xf86-video-vesa_2.2.0.bb @@ -6,7 +6,7 @@ SRC_URI += "file://fix-includepath.patch \ #DESCRIPTION = "" -RDEPENDS += "xserver-xorg-module-libint10 " +RDEPENDS_${PN} += "xserver-xorg-module-libint10 " PR = "r2" SRC_URI[archive.md5sum] = "9a86b683f73f3806f55d05cd804a6f4a" SRC_URI[archive.sha256sum] = "8b3e077d2534722033d7b1c647aa7f31fc7fbb5014da096b7a53170005e80226" |