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/openmoko2 | |
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/openmoko2')
-rw-r--r-- | recipes/openmoko2/neod_svn.bb | 2 | ||||
-rw-r--r-- | recipes/openmoko2/openmoko-appearance_svn.bb | 2 | ||||
-rw-r--r-- | recipes/openmoko2/openmoko-contacts2_svn.bb | 2 | ||||
-rw-r--r-- | recipes/openmoko2/openmoko-dates2_svn.bb | 2 | ||||
-rw-r--r-- | recipes/openmoko2/openmoko-mediaplayer2_svn.bb | 2 | ||||
-rw-r--r-- | recipes/openmoko2/openmoko-sound-system2_0.1.0.bb | 2 | ||||
-rw-r--r-- | recipes/openmoko2/openmoko-tasks2_svn.bb | 2 | ||||
-rw-r--r-- | recipes/openmoko2/openmoko-today2_svn.bb | 2 | ||||
-rw-r--r-- | recipes/openmoko2/settingsgui_0.8.bb | 2 |
9 files changed, 9 insertions, 9 deletions
diff --git a/recipes/openmoko2/neod_svn.bb b/recipes/openmoko2/neod_svn.bb index eebb154ecc..84f50f5209 100644 --- a/recipes/openmoko2/neod_svn.bb +++ b/recipes/openmoko2/neod_svn.bb @@ -3,7 +3,7 @@ SECTION = "openmoko/daemons" DISTRO_APM ?= "apm" DEPENDS = "gtk+ pulseaudio apmd" -RDEPENDS = "gpe-scap xrandr alsa-utils-amixer ${DISTRO_APM} dbus" +RDEPENDS_${PN} = "gpe-scap xrandr alsa-utils-amixer ${DISTRO_APM} dbus" SRCREV = "4617" PV = "0.1.0+svnr${SRCPV}" PR = "r7" diff --git a/recipes/openmoko2/openmoko-appearance_svn.bb b/recipes/openmoko2/openmoko-appearance_svn.bb index 850305b091..f7044ede60 100644 --- a/recipes/openmoko2/openmoko-appearance_svn.bb +++ b/recipes/openmoko2/openmoko-appearance_svn.bb @@ -1,7 +1,7 @@ DESCRIPTION = "The Openmoko Appearance Editor" SECTION = "openmoko/pim" DEPENDS = "libmokoui2 gconf gtk+" -RDEPENDS = "libedata-cal openmoko-today2-folders" +RDEPENDS_${PN} = "libedata-cal openmoko-today2-folders" SRCREV = "3262" PV = "0.1.0+svnr${SRCPV}" PR = "r0" diff --git a/recipes/openmoko2/openmoko-contacts2_svn.bb b/recipes/openmoko2/openmoko-contacts2_svn.bb index 82d3d85436..bcb0e8bc44 100644 --- a/recipes/openmoko2/openmoko-contacts2_svn.bb +++ b/recipes/openmoko2/openmoko-contacts2_svn.bb @@ -1,7 +1,7 @@ DESCRIPTION = "Legacy Om address book application." SECTION = "openmoko/pim" DEPENDS = "libmokoui2 libmokojournal2 dbus-glib" -RDEPENDS = "libedata-book" +RDEPENDS_${PN} = "libedata-book" SRCREV = "419" PV = "0.1.0+svnr${SRCPV}" PR = "r6" diff --git a/recipes/openmoko2/openmoko-dates2_svn.bb b/recipes/openmoko2/openmoko-dates2_svn.bb index 6f6ce93483..5f6f85801e 100644 --- a/recipes/openmoko2/openmoko-dates2_svn.bb +++ b/recipes/openmoko2/openmoko-dates2_svn.bb @@ -1,7 +1,7 @@ DESCRIPTION = "Legacy Om calendar application." SECTION = "openmoko/pim" DEPENDS = "libmokoui2 libmokojournal2 gtk+ libglade eds-dbus libjana" -RDEPENDS = "libedata-cal" +RDEPENDS_${PN} = "libedata-cal" SRCREV = "703" PV = "0.1.0+svnr${SRCPV}" PR = "r3" diff --git a/recipes/openmoko2/openmoko-mediaplayer2_svn.bb b/recipes/openmoko2/openmoko-mediaplayer2_svn.bb index 2fabcc926a..bf038e98fb 100644 --- a/recipes/openmoko2/openmoko-mediaplayer2_svn.bb +++ b/recipes/openmoko2/openmoko-mediaplayer2_svn.bb @@ -1,7 +1,7 @@ DESCRIPTION = "Om application for playing media files." SECTION = "openmoko/tools" DEPENDS = "libmokoui2 expat gstreamer libspiff curl" -RDEPENDS = "gst-meta-audio gconf gst-plugin-alsa" +RDEPENDS_${PN} = "gst-meta-audio gconf gst-plugin-alsa" SRCREV = "4750" PV = "0.1.0+svnr${SRCPV}" PR = "r6" diff --git a/recipes/openmoko2/openmoko-sound-system2_0.1.0.bb b/recipes/openmoko2/openmoko-sound-system2_0.1.0.bb index ec45bfa641..aa93cce79d 100644 --- a/recipes/openmoko2/openmoko-sound-system2_0.1.0.bb +++ b/recipes/openmoko2/openmoko-sound-system2_0.1.0.bb @@ -1,6 +1,6 @@ DESCRIPTION = "Openmoko Sound System" SECTION = "openmoko/base" -RDEPENDS = "\ +RDEPENDS_${PN} = "\ pulseaudio-server \ pulseaudio-module-alsa-sink \ pulseaudio-module-alsa-source \ diff --git a/recipes/openmoko2/openmoko-tasks2_svn.bb b/recipes/openmoko2/openmoko-tasks2_svn.bb index 934c8d88bd..5ba07db68a 100644 --- a/recipes/openmoko2/openmoko-tasks2_svn.bb +++ b/recipes/openmoko2/openmoko-tasks2_svn.bb @@ -1,7 +1,7 @@ DESCRIPTION = "The Openmoko Agenda" SECTION = "openmoko/pim" DEPENDS = "dbus-glib eds-dbus libmokoui2" -RDEPENDS = "libedata-cal" +RDEPENDS_${PN} = "libedata-cal" SRCREV = "404" PV = "0.1.0+svnr${SRCPV}" PR = "r1" diff --git a/recipes/openmoko2/openmoko-today2_svn.bb b/recipes/openmoko2/openmoko-today2_svn.bb index 2ff5b90e3c..2af2128fa1 100644 --- a/recipes/openmoko2/openmoko-today2_svn.bb +++ b/recipes/openmoko2/openmoko-today2_svn.bb @@ -1,7 +1,7 @@ DESCRIPTION = "The Openmoko Application Launcher" SECTION = "openmoko/pim" DEPENDS = "libmokoui2 libmokojournal2 libjana startup-notification dbus-glib libice libsm" -RDEPENDS = "libedata-cal openmoko-today2-folders" +RDEPENDS_${PN} = "libedata-cal openmoko-today2-folders" SRCREV = "4168" PV = "0.1.0+svnr${SRCPV}" PR = "r2" diff --git a/recipes/openmoko2/settingsgui_0.8.bb b/recipes/openmoko2/settingsgui_0.8.bb index cc5705257c..b010f333f6 100644 --- a/recipes/openmoko2/settingsgui_0.8.bb +++ b/recipes/openmoko2/settingsgui_0.8.bb @@ -1,7 +1,7 @@ DESCRIPTION = "Openmoko Settings GUI" AUTHOR = "Kristian M." SECTION = "openmoko/applications" -RDEPENDS = "python-pygtk python-subprocess python-threading" +RDEPENDS_${PN} = "python-pygtk python-subprocess python-threading" LICENSE = "GPL" PR = "r0" |