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/xfce-extras/gigolo_0.3.2.bb | 2 +- recipes/xfce-extras/mousepad_0.2.16.bb | 2 +- recipes/xfce-extras/orage_4.6.1.bb | 2 +- recipes/xfce-extras/ristretto_0.0.21.bb | 2 +- recipes/xfce-extras/squeeze_0.2.3.bb | 2 +- recipes/xfce-extras/xfce4-notifyd_0.1.0.bb | 2 +- recipes/xfce-extras/xfce4-power-manager_0.8.4.2.bb | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) (limited to 'recipes/xfce-extras') diff --git a/recipes/xfce-extras/gigolo_0.3.2.bb b/recipes/xfce-extras/gigolo_0.3.2.bb index c37cdfcfb5..4af76727d8 100644 --- a/recipes/xfce-extras/gigolo_0.3.2.bb +++ b/recipes/xfce-extras/gigolo_0.3.2.bb @@ -1,6 +1,6 @@ DESCRIPTION = "Gigolo is a frontend to easily manage connections to remote filesystems using GIO/GVfs." DEPENDS = "pkgconfig gtk+ gvfs" -RDEPENDS = "libxfce4util libxfcegui4 gvfs fuse-utils" +RDEPENDS_${PN} = "libxfce4util libxfcegui4 gvfs fuse-utils" SECTION = "x11" LICENSE = "GPL-2" diff --git a/recipes/xfce-extras/mousepad_0.2.16.bb b/recipes/xfce-extras/mousepad_0.2.16.bb index 40895c60ca..ad23b88d80 100644 --- a/recipes/xfce-extras/mousepad_0.2.16.bb +++ b/recipes/xfce-extras/mousepad_0.2.16.bb @@ -1,5 +1,5 @@ DESCRIPTION = "Text editor for Xfce based on Leafpad" -RDEPENDS = "libxfce4util hal" +RDEPENDS_${PN} = "libxfce4util hal" SECTION = "x11" PR = "r2" diff --git a/recipes/xfce-extras/orage_4.6.1.bb b/recipes/xfce-extras/orage_4.6.1.bb index 08d332dd5e..7d4bce7335 100644 --- a/recipes/xfce-extras/orage_4.6.1.bb +++ b/recipes/xfce-extras/orage_4.6.1.bb @@ -1,6 +1,6 @@ DESCRIPTION = "Calendar application for the Xfce Desktop Environment" DEPENDS = "libxfcegui4 exo xfce4-panel" -RDEPENDS = "xfce4-panel" +RDEPENDS_${PN} = "xfce4-panel" RREPLACES = "xfcalendar" SECTION = "x11" diff --git a/recipes/xfce-extras/ristretto_0.0.21.bb b/recipes/xfce-extras/ristretto_0.0.21.bb index d221d586ee..ab12b7beb0 100644 --- a/recipes/xfce-extras/ristretto_0.0.21.bb +++ b/recipes/xfce-extras/ristretto_0.0.21.bb @@ -1,6 +1,6 @@ DESCRIPTION = "Ristretto is a picture-viewer for XFCE" DEPENDS = "thunar libxfce4util libxfcegui4 libexif dbus" -RDEPENDS = "thunar libxfce4util libxfcegui4" +RDEPENDS_${PN} = "thunar libxfce4util libxfcegui4" SECTION = "x11" PR = "r1" diff --git a/recipes/xfce-extras/squeeze_0.2.3.bb b/recipes/xfce-extras/squeeze_0.2.3.bb index d68afc07b3..676d465c2d 100644 --- a/recipes/xfce-extras/squeeze_0.2.3.bb +++ b/recipes/xfce-extras/squeeze_0.2.3.bb @@ -1,6 +1,6 @@ DESCRIPTION = "Squeeze is an archive manager for the Xfce Desktop Environment" DEPENDS = "pkgconfig dbus gtk+ thunar" -RDEPENDS = "libxfce4util" +RDEPENDS_${PN} = "libxfce4util" SECTION = "x11" PR = "r1" diff --git a/recipes/xfce-extras/xfce4-notifyd_0.1.0.bb b/recipes/xfce-extras/xfce4-notifyd_0.1.0.bb index 24150cbf67..0a73eb09a7 100644 --- a/recipes/xfce-extras/xfce4-notifyd_0.1.0.bb +++ b/recipes/xfce-extras/xfce4-notifyd_0.1.0.bb @@ -1,6 +1,6 @@ DESCRIPTION = "Notification daemon for the Xfce desktop." DEPENDS = "pkgconfig dbus gtk+ libsexy" -RDEPENDS = "libxfce4util libxfcegui4 libnotify xfconf" +RDEPENDS_${PN} = "libxfce4util libxfcegui4 libnotify xfconf" SECTION = "x11" PR = "r1" diff --git a/recipes/xfce-extras/xfce4-power-manager_0.8.4.2.bb b/recipes/xfce-extras/xfce4-power-manager_0.8.4.2.bb index 728b564d2b..7eedc064d8 100644 --- a/recipes/xfce-extras/xfce4-power-manager_0.8.4.2.bb +++ b/recipes/xfce-extras/xfce4-power-manager_0.8.4.2.bb @@ -1,6 +1,6 @@ DESCRIPTION = "Xfce panel plugins for power management." DEPENDS = "libxfce4util libxfcegui4 libnotify xfconf xfce4-panel" -RDEPENDS = "libxfce4util libxfcegui4 libnotify xfce4-panel" +RDEPENDS_${PN} = "libxfce4util libxfcegui4 libnotify xfce4-panel" SECTION = "x11" PR = "r1" -- cgit v1.2.3