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-calendar/gpe-calendar_0.72.bb | 2 +- recipes/gpe-calendar/gpe-calendar_0.90.bb | 2 +- recipes/gpe-calendar/gpe-calendar_0.91.bb | 2 +- recipes/gpe-calendar/gpe-calendar_0.92.bb | 2 +- recipes/gpe-calendar/gpe-calendar_svn.bb | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'recipes/gpe-calendar') diff --git a/recipes/gpe-calendar/gpe-calendar_0.72.bb b/recipes/gpe-calendar/gpe-calendar_0.72.bb index 3a165d5d0b..4b367eefcc 100644 --- a/recipes/gpe-calendar/gpe-calendar_0.72.bb +++ b/recipes/gpe-calendar/gpe-calendar_0.72.bb @@ -3,7 +3,7 @@ SECTION = "gpe" LICENSE = "GPL" DEPENDS = "dbus-glib libeventdb libschedule libxsettings-client libgpepimc libgpevtype" -RDEPENDS = "gpe-icons" +RDEPENDS_${PN} = "gpe-icons" PR = "r0" diff --git a/recipes/gpe-calendar/gpe-calendar_0.90.bb b/recipes/gpe-calendar/gpe-calendar_0.90.bb index e448e2d045..308560e3f9 100644 --- a/recipes/gpe-calendar/gpe-calendar_0.90.bb +++ b/recipes/gpe-calendar/gpe-calendar_0.90.bb @@ -3,7 +3,7 @@ SECTION = "gpe" LICENSE = "GPL" DEPENDS = "libhandoff libsoup libeventdb libschedule libxsettings libxsettings-client libgpepimc libdisplaymigration libgpevtype" -RDEPENDS = "gpe-icons" +RDEPENDS_${PN} = "gpe-icons" PR = "r0" diff --git a/recipes/gpe-calendar/gpe-calendar_0.91.bb b/recipes/gpe-calendar/gpe-calendar_0.91.bb index 870226d2f0..7a89d39167 100644 --- a/recipes/gpe-calendar/gpe-calendar_0.91.bb +++ b/recipes/gpe-calendar/gpe-calendar_0.91.bb @@ -3,7 +3,7 @@ SECTION = "gpe" LICENSE = "GPL" DEPENDS = "libhandoff libsoup libeventdb libschedule libxsettings libxsettings-client libgpepimc libdisplaymigration libgpevtype libsoundgen" -RDEPENDS = "gpe-icons" +RDEPENDS_${PN} = "gpe-icons" PR = "r0" diff --git a/recipes/gpe-calendar/gpe-calendar_0.92.bb b/recipes/gpe-calendar/gpe-calendar_0.92.bb index 155ce6e6c8..2e2101ccec 100644 --- a/recipes/gpe-calendar/gpe-calendar_0.92.bb +++ b/recipes/gpe-calendar/gpe-calendar_0.92.bb @@ -3,7 +3,7 @@ SECTION = "gpe" LICENSE = "GPL" DEPENDS = "libhandoff libsoup libeventdb libschedule libxsettings libxsettings-client libgpepimc libdisplaymigration libgpevtype libsoundgen" -RDEPENDS = "gpe-icons" +RDEPENDS_${PN} = "gpe-icons" PR = "r0" diff --git a/recipes/gpe-calendar/gpe-calendar_svn.bb b/recipes/gpe-calendar/gpe-calendar_svn.bb index 3462ebf631..cb18609d71 100644 --- a/recipes/gpe-calendar/gpe-calendar_svn.bb +++ b/recipes/gpe-calendar/gpe-calendar_svn.bb @@ -5,7 +5,7 @@ SECTION = "gpe" LICENSE = "GPL" DEPENDS = "libhandoff libsoup libeventdb libschedule libxsettings libxsettings-client libgpepimc libdisplaymigration libgpevtype libsoundgen" -RDEPENDS = "gpe-icons" +RDEPENDS_${PN} = "gpe-icons" inherit autotools gpe -- cgit v1.2.3