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/obsolete | |
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/obsolete')
-rw-r--r-- | recipes/obsolete/antlr/antlr_2.7.5.bb | 2 | ||||
-rw-r--r-- | recipes/obsolete/ffalarms/ffalarms_0.2.2.bb | 2 | ||||
-rw-r--r-- | recipes/obsolete/maemo/osso-gnome-vfs2_2.8.4.4-1.bb | 2 | ||||
-rw-r--r-- | recipes/obsolete/openmoko-3rdparty/babiloo-efl_2.0.9-3.bb | 2 | ||||
-rw-r--r-- | recipes/obsolete/openmoko-3rdparty/babiloo-efl_2.0.9-4.bb | 2 | ||||
-rw-r--r-- | recipes/obsolete/python/python-efl.inc | 2 | ||||
-rw-r--r-- | recipes/obsolete/python/python-epsilon_svn.bb | 2 | ||||
-rw-r--r-- | recipes/obsolete/python/python-etk_svn.bb | 2 | ||||
-rw-r--r-- | recipes/obsolete/shr/etk-theme.inc | 2 | ||||
-rw-r--r-- | recipes/obsolete/shr/libframeworkd-phonegui-efl-theme-neo_git.bb | 2 | ||||
-rw-r--r-- | recipes/obsolete/tasks/task-bootstrap-unionroot.bb | 4 | ||||
-rw-r--r-- | recipes/obsolete/tasks/task-bootstrap.bb | 4 | ||||
-rw-r--r-- | recipes/obsolete/xorg-xserver/xserver-xorg_1.6.1.bb | 2 | ||||
-rw-r--r-- | recipes/obsolete/zd1211/zd1211_r77.bb | 2 | ||||
-rw-r--r-- | recipes/obsolete/zd1211/zd1211_r83.bb | 2 |
15 files changed, 17 insertions, 17 deletions
diff --git a/recipes/obsolete/antlr/antlr_2.7.5.bb b/recipes/obsolete/antlr/antlr_2.7.5.bb index fceb96597e..3b273ee77c 100644 --- a/recipes/obsolete/antlr/antlr_2.7.5.bb +++ b/recipes/obsolete/antlr/antlr_2.7.5.bb @@ -6,7 +6,7 @@ LICENSE = "PD" PRIORITY = "optional" SECTION = "devel" # DEPENDS += "virtual/java" -RDEPENDS += "java-virtual-machine" +RDEPENDS_${PN} += "java-virtual-machine" SRC_URI = "http://www.antlr.org/download/antlr-${PV}.tar.gz \ file://install.patch" diff --git a/recipes/obsolete/ffalarms/ffalarms_0.2.2.bb b/recipes/obsolete/ffalarms/ffalarms_0.2.2.bb index 292c25a152..70a35a1fa2 100644 --- a/recipes/obsolete/ffalarms/ffalarms_0.2.2.bb +++ b/recipes/obsolete/ffalarms/ffalarms_0.2.2.bb @@ -16,7 +16,7 @@ inherit distutils FILES_${PN} += "${datadir}/${PN} ${datadir}/applications/ffalarms.desktop ${datadir}/pixmaps" -RDEPENDS += "python-re python-datetime python-edje python-ecore \ +RDEPENDS_${PN} += "python-re python-datetime python-edje python-ecore \ atd-over-fso alsa-utils-amixer alsa-utils-alsactl \ ttf-dejavu-sans" diff --git a/recipes/obsolete/maemo/osso-gnome-vfs2_2.8.4.4-1.bb b/recipes/obsolete/maemo/osso-gnome-vfs2_2.8.4.4-1.bb index 392c8bcd4d..c0ae618fa5 100644 --- a/recipes/obsolete/maemo/osso-gnome-vfs2_2.8.4.4-1.bb +++ b/recipes/obsolete/maemo/osso-gnome-vfs2_2.8.4.4-1.bb @@ -8,7 +8,7 @@ RPROVIDES = "gnome-vfs" inherit gnome pkgconfig DEPENDS = "libxml2 gconf-osso dbus-0.23.1-osso5 bzip2 gnome-mime-data zlib samba osso-gwconnect" -RRECOMMENDS = "gnome-vfs-plugin-file shared-mime-info" +RRECOMMENDS_${PN} = "gnome-vfs-plugin-file shared-mime-info" SRC_URI = "http://repository.maemo.org/pool/maemo/ossw/source/o/${PN}/${PN}_${PV}.tar.gz \ file://gconftool-lossage.patch" diff --git a/recipes/obsolete/openmoko-3rdparty/babiloo-efl_2.0.9-3.bb b/recipes/obsolete/openmoko-3rdparty/babiloo-efl_2.0.9-3.bb index 4bff706b6d..e9b0a56752 100644 --- a/recipes/obsolete/openmoko-3rdparty/babiloo-efl_2.0.9-3.bb +++ b/recipes/obsolete/openmoko-3rdparty/babiloo-efl_2.0.9-3.bb @@ -4,7 +4,7 @@ PRIORITY = "optional" LICENSE = "GPL" AUTHOR = "Luca Vaudano <vaudano@gmail.com>" HOMEPAGE = "http://babiloo-project.org" -RDEPENDS = "python-elementary python-compression python-misc python-netclient" +RDEPENDS_${PN} = "python-elementary python-compression python-misc python-netclient" PACKAGE_ARCH = "all" diff --git a/recipes/obsolete/openmoko-3rdparty/babiloo-efl_2.0.9-4.bb b/recipes/obsolete/openmoko-3rdparty/babiloo-efl_2.0.9-4.bb index 29645845d9..32ca643833 100644 --- a/recipes/obsolete/openmoko-3rdparty/babiloo-efl_2.0.9-4.bb +++ b/recipes/obsolete/openmoko-3rdparty/babiloo-efl_2.0.9-4.bb @@ -4,7 +4,7 @@ PRIORITY = "optional" LICENSE = "GPL" AUTHOR = "Luca Vaudano <vaudano@gmail.com>" HOMEPAGE = "http://babiloo-project.org" -RDEPENDS = "python-elementary python-compression python-misc python-netclient" +RDEPENDS_${PN} = "python-elementary python-compression python-misc python-netclient" PACKAGE_ARCH = "all" diff --git a/recipes/obsolete/python/python-efl.inc b/recipes/obsolete/python/python-efl.inc index 9ed7a4cb98..d8559eab5b 100644 --- a/recipes/obsolete/python/python-efl.inc +++ b/recipes/obsolete/python/python-efl.inc @@ -6,7 +6,7 @@ HOMEPAGE = "http://www.enlightenment.org" # we need to build pyrex otherwise cython doesn't get called to build # the extension modules. DEPENDS = "python-cython-native python-pyrex-native python-numeric eina" -RDEPENDS += "python-lang" +RDEPENDS_${PN} += "python-lang" PV = "0.3.1+svnr${SRCPV}" PR = "ml0" diff --git a/recipes/obsolete/python/python-epsilon_svn.bb b/recipes/obsolete/python/python-epsilon_svn.bb index e70d4ec602..8ef7220b71 100644 --- a/recipes/obsolete/python/python-epsilon_svn.bb +++ b/recipes/obsolete/python/python-epsilon_svn.bb @@ -1,6 +1,6 @@ require python-efl.inc DEPENDS += "epsilon python-ecore" -RDEPENDS += "python-ecore" +RDEPENDS_${PN} += "python-ecore" SRCREV = "${EFL_SRCREV}" SRC_URI = "svn://svn.enlightenment.org/svn/e/OLD/BINDINGS/python;module=${PN};proto=http" diff --git a/recipes/obsolete/python/python-etk_svn.bb b/recipes/obsolete/python/python-etk_svn.bb index bc0ad9846e..54f9c6e3cd 100644 --- a/recipes/obsolete/python/python-etk_svn.bb +++ b/recipes/obsolete/python/python-etk_svn.bb @@ -1,6 +1,6 @@ require python-efl.inc DEPENDS += "etk python-evas python-ecore" -RDEPENDS += "python-evas python-ecore python-edje python-numeric python-math etk-themes" +RDEPENDS_${PN} += "python-evas python-ecore python-edje python-numeric python-math etk-themes" PV = "0.1.1+svnr${SRCPV}" PR = "ml1" diff --git a/recipes/obsolete/shr/etk-theme.inc b/recipes/obsolete/shr/etk-theme.inc index 6e8b33db27..b7adb6a7e3 100644 --- a/recipes/obsolete/shr/etk-theme.inc +++ b/recipes/obsolete/shr/etk-theme.inc @@ -1,6 +1,6 @@ SECTION = "e/utils" DEPENDS = "edje-native" -RDEPENDS = "etk" +RDEPENDS_${PN} = "etk" S = "${WORKDIR}/git/etk/${PN}/" diff --git a/recipes/obsolete/shr/libframeworkd-phonegui-efl-theme-neo_git.bb b/recipes/obsolete/shr/libframeworkd-phonegui-efl-theme-neo_git.bb index b94914e3ef..637aa36d26 100644 --- a/recipes/obsolete/shr/libframeworkd-phonegui-efl-theme-neo_git.bb +++ b/recipes/obsolete/shr/libframeworkd-phonegui-efl-theme-neo_git.bb @@ -1,7 +1,7 @@ DESCRIPTION = "nEo libframeworkd-phonegui-efl - a very fast, high contrast etk theme" HOMEPAGE = "http://jmccloud.jm.funpic.de" AUTHOR = "Jesus McCloud <bernd.pruenster@gmail.com" -RDEPENDS = "libframeworkd-phonegui-efl" +RDEPENDS_${PN} = "libframeworkd-phonegui-efl" RSUGGESTS = "elementary-theme-neo e-wm-theme-illume-neo gtk-theme-neo etk-theme-neo gpe-theme-neo icon-theme-neo" LICENSE = "unknown" diff --git a/recipes/obsolete/tasks/task-bootstrap-unionroot.bb b/recipes/obsolete/tasks/task-bootstrap-unionroot.bb index a4340eb4e8..c7809790fc 100644 --- a/recipes/obsolete/tasks/task-bootstrap-unionroot.bb +++ b/recipes/obsolete/tasks/task-bootstrap-unionroot.bb @@ -16,7 +16,7 @@ require task-bootstrap.inc HOTPLUG ?= "linux-hotplug" -RDEPENDS = 'base-files base-passwd busybox \ +RDEPENDS_${PN} = 'base-files base-passwd busybox \ initscripts \ netbase sysvinit sysvinit-pidof tinylogin \ modutils-initscripts \ @@ -28,6 +28,6 @@ RDEPENDS = 'base-files base-passwd busybox \ unionroot \ unionroot-utils' -RRECOMMENDS = 'dropbear portmap \ +RRECOMMENDS_${PN} = 'dropbear portmap \ ${BOOTSTRAP_EXTRA_RRECOMMENDS}' LICENSE = "MIT" diff --git a/recipes/obsolete/tasks/task-bootstrap.bb b/recipes/obsolete/tasks/task-bootstrap.bb index ebe78058b2..af2a37df98 100644 --- a/recipes/obsolete/tasks/task-bootstrap.bb +++ b/recipes/obsolete/tasks/task-bootstrap.bb @@ -13,7 +13,7 @@ require task-bootstrap.inc HOTPLUG ?= "linux-hotplug" -RDEPENDS = 'base-files base-passwd busybox \ +RDEPENDS_${PN} = 'base-files base-passwd busybox \ initscripts \ netbase sysvinit sysvinit-pidof tinylogin \ modutils-initscripts fuser setserial\ @@ -21,6 +21,6 @@ RDEPENDS = 'base-files base-passwd busybox \ ${BOOTSTRAP_EXTRA_RDEPENDS} \ ${@bootstrap_modutils_rdepends(d)}' -RRECOMMENDS = 'dropbear portmap \ +RRECOMMENDS_${PN} = 'dropbear portmap \ ${BOOTSTRAP_EXTRA_RRECOMMENDS}' LICENSE = "MIT" diff --git a/recipes/obsolete/xorg-xserver/xserver-xorg_1.6.1.bb b/recipes/obsolete/xorg-xserver/xserver-xorg_1.6.1.bb index c2f2c065d9..4d0c0a2a43 100644 --- a/recipes/obsolete/xorg-xserver/xserver-xorg_1.6.1.bb +++ b/recipes/obsolete/xorg-xserver/xserver-xorg_1.6.1.bb @@ -2,7 +2,7 @@ require xorg-xserver-common.inc DESCRIPTION = "the X.Org X server" DEPENDS += "pixman libpciaccess openssl xineramaproto libxinerama" -RDEPENDS += "hal" +RDEPENDS_${PN} += "hal" PE = "2" PR = "${INC_PR}.1" diff --git a/recipes/obsolete/zd1211/zd1211_r77.bb b/recipes/obsolete/zd1211/zd1211_r77.bb index c04e3db460..54c938ef34 100644 --- a/recipes/obsolete/zd1211/zd1211_r77.bb +++ b/recipes/obsolete/zd1211/zd1211_r77.bb @@ -3,7 +3,7 @@ PRIORITY = "optional" SECTION = "kernel/modules" LICENSE = "GPL" PR = "r3" -RDEPENDS = "wireless-tools" +RDEPENDS_${PN} = "wireless-tools" SRC_URI = "http://zd1211.ath.cx/download/zd1211-driver-${PV}.tgz \ file://makefile.patch \ diff --git a/recipes/obsolete/zd1211/zd1211_r83.bb b/recipes/obsolete/zd1211/zd1211_r83.bb index ad710daf3b..8237682a38 100644 --- a/recipes/obsolete/zd1211/zd1211_r83.bb +++ b/recipes/obsolete/zd1211/zd1211_r83.bb @@ -3,7 +3,7 @@ HOMEPAGE = "http://zd1211.ath.cx/" SECTION = "kernel/modules" PRIORITY = "optional" LICENSE = "GPL" -RDEPENDS = "wireless-tools" +RDEPENDS_${PN} = "wireless-tools" PR = "r1" SRC_URI = "http://zd1211.ath.cx/download/zd1211-driver-${PV}.tgz \ |