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-filemanager/gpe-filemanager_0.23.bb | 4 ++-- recipes/gpe-filemanager/gpe-filemanager_0.24.bb | 4 ++-- recipes/gpe-filemanager/gpe-filemanager_0.25.bb | 4 ++-- recipes/gpe-filemanager/gpe-filemanager_0.30.bb | 4 ++-- recipes/gpe-filemanager/gpe-filemanager_0.31.bb | 4 ++-- recipes/gpe-filemanager/gpe-filemanager_svn.bb | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) (limited to 'recipes/gpe-filemanager') diff --git a/recipes/gpe-filemanager/gpe-filemanager_0.23.bb b/recipes/gpe-filemanager/gpe-filemanager_0.23.bb index 995c1f7b77..7388bc5ca8 100644 --- a/recipes/gpe-filemanager/gpe-filemanager_0.23.bb +++ b/recipes/gpe-filemanager/gpe-filemanager_0.23.bb @@ -6,8 +6,8 @@ LICENSE = "GPL" DESCRIPTION = "GPE file manager" DEPENDS = "libgpewidget gnome-vfs dbus-glib" SECTION = "gpe" -RDEPENDS = "gpe-icons" -RRECOMMENDS = "gnome-vfs-plugin-file" +RDEPENDS_${PN} = "gpe-icons" +RRECOMMENDS_${PN} = "gnome-vfs-plugin-file" FILES_${PN} += " ${datadir}/gpe" diff --git a/recipes/gpe-filemanager/gpe-filemanager_0.24.bb b/recipes/gpe-filemanager/gpe-filemanager_0.24.bb index c6702bab1c..8d919e5d67 100644 --- a/recipes/gpe-filemanager/gpe-filemanager_0.24.bb +++ b/recipes/gpe-filemanager/gpe-filemanager_0.24.bb @@ -6,8 +6,8 @@ LICENSE = "GPL" DESCRIPTION = "GPE file manager" DEPENDS = "libgpewidget gnome-vfs dbus-glib" SECTION = "gpe" -RDEPENDS = "gpe-icons" -RRECOMMENDS = "gnome-vfs-plugin-file" +RDEPENDS_${PN} = "gpe-icons" +RRECOMMENDS_${PN} = "gnome-vfs-plugin-file" FILES_${PN} += " ${datadir}/gpe" diff --git a/recipes/gpe-filemanager/gpe-filemanager_0.25.bb b/recipes/gpe-filemanager/gpe-filemanager_0.25.bb index 9c24b38062..beddbf7f91 100644 --- a/recipes/gpe-filemanager/gpe-filemanager_0.25.bb +++ b/recipes/gpe-filemanager/gpe-filemanager_0.25.bb @@ -6,8 +6,8 @@ LICENSE = "GPL" DESCRIPTION = "GPE file manager" DEPENDS = "libgpewidget gnome-vfs dbus-glib" SECTION = "gpe" -RDEPENDS = "gpe-icons" -RRECOMMENDS = "gnome-vfs-plugin-file gnome-vfs-plugin-smb gnome-vfs-plugin-ftp gnome-vfs-plugin-computer gnome-vfs-plugin-network gnome-vfs-plugin-sftp gnome-vfs-plugin-http" +RDEPENDS_${PN} = "gpe-icons" +RRECOMMENDS_${PN} = "gnome-vfs-plugin-file gnome-vfs-plugin-smb gnome-vfs-plugin-ftp gnome-vfs-plugin-computer gnome-vfs-plugin-network gnome-vfs-plugin-sftp gnome-vfs-plugin-http" FILES_${PN} += " ${datadir}/gpe" diff --git a/recipes/gpe-filemanager/gpe-filemanager_0.30.bb b/recipes/gpe-filemanager/gpe-filemanager_0.30.bb index 944fa82e0f..25f5e7d061 100644 --- a/recipes/gpe-filemanager/gpe-filemanager_0.30.bb +++ b/recipes/gpe-filemanager/gpe-filemanager_0.30.bb @@ -7,8 +7,8 @@ LICENSE = "GPL" DESCRIPTION = "GPE file manager" DEPENDS = "libgpewidget gnome-vfs dbus-glib" SECTION = "gpe" -RDEPENDS = "gpe-icons" -RRECOMMENDS = "gnome-vfs-plugin-file gnome-vfs-plugin-smb gnome-vfs-plugin-ftp gnome-vfs-plugin-computer gnome-vfs-plugin-network gnome-vfs-plugin-sftp gnome-vfs-plugin-http" +RDEPENDS_${PN} = "gpe-icons" +RRECOMMENDS_${PN} = "gnome-vfs-plugin-file gnome-vfs-plugin-smb gnome-vfs-plugin-ftp gnome-vfs-plugin-computer gnome-vfs-plugin-network gnome-vfs-plugin-sftp gnome-vfs-plugin-http" FILES_${PN} += " ${datadir}/gpe" diff --git a/recipes/gpe-filemanager/gpe-filemanager_0.31.bb b/recipes/gpe-filemanager/gpe-filemanager_0.31.bb index 26a3769f8a..ab33a9ae4f 100644 --- a/recipes/gpe-filemanager/gpe-filemanager_0.31.bb +++ b/recipes/gpe-filemanager/gpe-filemanager_0.31.bb @@ -7,8 +7,8 @@ LICENSE = "GPL" DESCRIPTION = "GPE file manager" DEPENDS = "libgpewidget gnome-vfs dbus-glib" SECTION = "gpe" -RDEPENDS = "gpe-icons" -RRECOMMENDS = "gnome-vfs-plugin-file gnome-vfs-plugin-smb gnome-vfs-plugin-ftp gnome-vfs-plugin-computer gnome-vfs-plugin-network gnome-vfs-plugin-sftp gnome-vfs-plugin-http" +RDEPENDS_${PN} = "gpe-icons" +RRECOMMENDS_${PN} = "gnome-vfs-plugin-file gnome-vfs-plugin-smb gnome-vfs-plugin-ftp gnome-vfs-plugin-computer gnome-vfs-plugin-network gnome-vfs-plugin-sftp gnome-vfs-plugin-http" FILES_${PN} += " ${datadir}/gpe" diff --git a/recipes/gpe-filemanager/gpe-filemanager_svn.bb b/recipes/gpe-filemanager/gpe-filemanager_svn.bb index fb9929cffd..184a9415e6 100644 --- a/recipes/gpe-filemanager/gpe-filemanager_svn.bb +++ b/recipes/gpe-filemanager/gpe-filemanager_svn.bb @@ -2,8 +2,8 @@ DESCRIPTION = "GPE file manager" SECTION = "gpe" LICENSE = "GPL" DEPENDS = "libgpewidget gnome-vfs dbus-glib" -RDEPENDS = "gpe-icons" -RRECOMMENDS = "gnome-vfs-plugin-file gnome-vfs-plugin-smb gnome-vfs-plugin-ftp gnome-vfs-plugin-computer gnome-vfs-plugin-network gnome-vfs-plugin-sftp gnome-vfs-plugin-http" +RDEPENDS_${PN} = "gpe-icons" +RRECOMMENDS_${PN} = "gnome-vfs-plugin-file gnome-vfs-plugin-smb gnome-vfs-plugin-ftp gnome-vfs-plugin-computer gnome-vfs-plugin-network gnome-vfs-plugin-sftp gnome-vfs-plugin-http" PR = "r1" PV = "0.25+svn-${SRCDATE}" -- cgit 1.2.3-korg