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/openmoko-3rdparty | |
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/openmoko-3rdparty')
19 files changed, 19 insertions, 19 deletions
diff --git a/recipes/openmoko-3rdparty/advancedcaching_git.bb b/recipes/openmoko-3rdparty/advancedcaching_git.bb index f8f2fc2a2c..3cb7f95d23 100644 --- a/recipes/openmoko-3rdparty/advancedcaching_git.bb +++ b/recipes/openmoko-3rdparty/advancedcaching_git.bb @@ -3,7 +3,7 @@ SECTION = "devel/python" PRIORITY = "optional" LICENSE = "GPL" HOMEPAGE = "http://www.opkg.org/package_268.html" -RDEPENDS = "python-pygtk python-html python-image python-netclient python-misc python-sqlite3 python-mime python-json" +RDEPENDS_${PN} = "python-pygtk python-html python-image python-netclient python-misc python-sqlite3 python-mime python-json" SRCREV = "9c3661f5573d2dd712437f1590070153d12e4c02" PV = "0.1.2+gitr${SRCPV}" diff --git a/recipes/openmoko-3rdparty/babiloo-efl_2.0.9-10.bb b/recipes/openmoko-3rdparty/babiloo-efl_2.0.9-10.bb index 76f3b60ab0..1cbe45a9c7 100644 --- a/recipes/openmoko-3rdparty/babiloo-efl_2.0.9-10.bb +++ b/recipes/openmoko-3rdparty/babiloo-efl_2.0.9-10.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/openmoko-3rdparty/babiloo-efl_bzr.bb b/recipes/openmoko-3rdparty/babiloo-efl_bzr.bb index ce0e591e00..bfe8082bb8 100644 --- a/recipes/openmoko-3rdparty/babiloo-efl_bzr.bb +++ b/recipes/openmoko-3rdparty/babiloo-efl_bzr.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/openmoko-3rdparty/calc_0.0.4.bb b/recipes/openmoko-3rdparty/calc_0.0.4.bb index 1e261f88a6..b39d6d7888 100644 --- a/recipes/openmoko-3rdparty/calc_0.0.4.bb +++ b/recipes/openmoko-3rdparty/calc_0.0.4.bb @@ -2,7 +2,7 @@ DESCRIPTION = "A simple calculator which is elementary-themed" HOMEPAGE = "http://github.com/spaetz/calc" AUTHOR = "Sebastian Spaeth <Sebastian@SSpaeth.de>" LICENSE = "MIT" -RDEPENDS = "python-elementary python python-edbus" +RDEPENDS_${PN} = "python-elementary python python-edbus" SECTION = "x11/application" PR = "r0" diff --git a/recipes/openmoko-3rdparty/calc_git.bb b/recipes/openmoko-3rdparty/calc_git.bb index 9a21a2c26e..4976cdba4c 100644 --- a/recipes/openmoko-3rdparty/calc_git.bb +++ b/recipes/openmoko-3rdparty/calc_git.bb @@ -3,7 +3,7 @@ HOMEPAGE = "http://github.com/spaetz/calc" AUTHOR = "Sebastian Spaeth <Sebastian@SSpaeth.de>" SHR_RELEASE ?= "shr" LICENSE = "MIT" -RDEPENDS = "python-elementary python python-edbus" +RDEPENDS_${PN} = "python-elementary python python-edbus" SECTION = "x11/application" SRCREV = "cff7c833d4fce0d39de0812bfc9ed9e0eb8fac09" PV = "0.0.1+gitr${SRCPV}" diff --git a/recipes/openmoko-3rdparty/emtooth_svn.bb b/recipes/openmoko-3rdparty/emtooth_svn.bb index b1854fc5f1..5073aa4078 100644 --- a/recipes/openmoko-3rdparty/emtooth_svn.bb +++ b/recipes/openmoko-3rdparty/emtooth_svn.bb @@ -4,7 +4,7 @@ HOMEPAGE = "http://code.google.com/p/emtooth/" SECTION = "x11/applications" LICENSE = "GPLv2" DEPENDS = "elementary eina edbus" -RDEPENDS = "bluez4 obexd" +RDEPENDS_${PN} = "bluez4 obexd" SRCREV = "77" PV = "0.1+svnr${SRCPV}" diff --git a/recipes/openmoko-3rdparty/iliwi_git.bb b/recipes/openmoko-3rdparty/iliwi_git.bb index 63d61d1cba..67564f44d9 100644 --- a/recipes/openmoko-3rdparty/iliwi_git.bb +++ b/recipes/openmoko-3rdparty/iliwi_git.bb @@ -4,7 +4,7 @@ LICENSE = "GPLv3" AUTHOR = "Esben Damgaard <ebbe@hvemder.dk>" DEPENDS = "dbus-glib elementary" # killall and udhcpc from busybox are enough -RDEPENDS = "wireless-tools wpa-supplicant" +RDEPENDS_${PN} = "wireless-tools wpa-supplicant" SRCREV = "5be2b301033418fb9a33759047274b676034f096" PV = "0.0.1+gitr${SRCPV}" diff --git a/recipes/openmoko-3rdparty/neolight_svn.bb b/recipes/openmoko-3rdparty/neolight_svn.bb index 8568072d85..1b00a85d47 100644 --- a/recipes/openmoko-3rdparty/neolight_svn.bb +++ b/recipes/openmoko-3rdparty/neolight_svn.bb @@ -17,7 +17,7 @@ inherit distutils FILES_${PN} += "${datadir}/neolight ${datadir}/applications/neolight.desktop ${datadir}/pixmaps/neolight.png" -RDEPENDS += "python-edbus python-elementary" +RDEPENDS_${PN} += "python-edbus python-elementary" do_compile_prepend() { ${STAGING_BINDIR_NATIVE}/edje_cc -id ${S}/data ${S}/data/neolight.edc diff --git a/recipes/openmoko-3rdparty/neomis_svn.bb b/recipes/openmoko-3rdparty/neomis_svn.bb index 1af7619c6d..5a315f199b 100644 --- a/recipes/openmoko-3rdparty/neomis_svn.bb +++ b/recipes/openmoko-3rdparty/neomis_svn.bb @@ -24,4 +24,4 @@ do_configure_prepend_shr() { FILES_${PN} += "${datadir}/neomis ${datadir}/applications/neomis.desktop ${datadir}/pixmaps" -RDEPENDS += "python-audio python-pyalsaaudio python-elementary" +RDEPENDS_${PN} += "python-audio python-pyalsaaudio python-elementary" diff --git a/recipes/openmoko-3rdparty/numberx_svn.bb b/recipes/openmoko-3rdparty/numberx_svn.bb index 3deaf6a4eb..b5b93d6f20 100644 --- a/recipes/openmoko-3rdparty/numberx_svn.bb +++ b/recipes/openmoko-3rdparty/numberx_svn.bb @@ -17,6 +17,6 @@ SRC_URI = "svn://numberx.googlecode.com/svn;module=trunk;proto=http" inherit distutils -RDEPENDS += "python-math python-elementary" +RDEPENDS_${PN} += "python-math python-elementary" FILES_${PN} += "${datadir}" diff --git a/recipes/openmoko-3rdparty/om-neon_svn.bb b/recipes/openmoko-3rdparty/om-neon_svn.bb index 7e1f24ee4c..11318a663e 100644 --- a/recipes/openmoko-3rdparty/om-neon_svn.bb +++ b/recipes/openmoko-3rdparty/om-neon_svn.bb @@ -21,7 +21,7 @@ inherit distutils FILES_${PN} += "${datadir}/neon ${datadir}/applications/neon.desktop ${datadir}/pixmaps" -RDEPENDS += "python-textutils python-evas python-ecore python-edje" +RDEPENDS_${PN} += "python-textutils python-evas python-ecore python-edje" do_compile_prepend() { sed -i "s/\/opt\/bin\/edje_cc -v/${@"${STAGING_BINDIR_NATIVE}".replace('/', '\/')}\/edje_cc/g" ${S}/build_edje.py diff --git a/recipes/openmoko-3rdparty/openmoko-gps_0.0.1+svnr9.bb b/recipes/openmoko-3rdparty/openmoko-gps_0.0.1+svnr9.bb index 4772c735b8..e4f311c127 100644 --- a/recipes/openmoko-3rdparty/openmoko-gps_0.0.1+svnr9.bb +++ b/recipes/openmoko-3rdparty/openmoko-gps_0.0.1+svnr9.bb @@ -12,7 +12,7 @@ HOMEPAGE = "http://forge.bearstech.com/trac/wiki/OpenmokoGPS" SECTION = "base" LICENSE = "GPL" -RDEPENDS = "python-pygtk" +RDEPENDS_${PN} = "python-pygtk" PR = "r0" diff --git a/recipes/openmoko-3rdparty/pisi_0.5.3.bb b/recipes/openmoko-3rdparty/pisi_0.5.3.bb index 08d3bbeeeb..f82fa0b330 100644 --- a/recipes/openmoko-3rdparty/pisi_0.5.3.bb +++ b/recipes/openmoko-3rdparty/pisi_0.5.3.bb @@ -5,7 +5,7 @@ LICENSE = "GPL" HOMEPAGE = "http://freshmeat.net/projects/pisiom" SRCNAME = "pisi" DEPENDS = "python-native" -RDEPENDS = "python-vobject python-core python-pygtk python-pygobject python-pycairo\ +RDEPENDS_${PN} = "python-vobject python-core python-pygtk python-pygobject python-pycairo\ python-gdata python-webdav python-ldap python-epydoc python-core\ python-dateutil python-sqlite3 python-netserver python-netclient\ python-misc python-ctypes libsyncml" diff --git a/recipes/openmoko-3rdparty/podboy_svn.bb b/recipes/openmoko-3rdparty/podboy_svn.bb index 08c0655588..d633232ba9 100644 --- a/recipes/openmoko-3rdparty/podboy_svn.bb +++ b/recipes/openmoko-3rdparty/podboy_svn.bb @@ -19,7 +19,7 @@ inherit distutils FILES_${PN} += "${datadir}/podboy ${datadir}/applications/podboy.desktop ${datadir}/pixmaps/podboy.png" DEPENDS = "${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'gst-plugins-ugly', d)}" -RDEPENDS += "python-compression python-elementary python-gst python-html python-netclient python-netserver python-sqlite3 python-subprocess gst-plugin-alsa gst-plugin-audioconvert gst-plugin-audioresample gst-plugin-bluez ${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'gst-plugin-mad', d)} gst-plugin-ogg gst-plugin-volume gst-plugin-vorbis" +RDEPENDS_${PN} += "python-compression python-elementary python-gst python-html python-netclient python-netserver python-sqlite3 python-subprocess gst-plugin-alsa gst-plugin-audioconvert gst-plugin-audioresample gst-plugin-bluez ${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'gst-plugin-mad', d)} gst-plugin-ogg gst-plugin-volume gst-plugin-vorbis" do_compile_prepend() { ${STAGING_BINDIR_NATIVE}/edje_cc ${S}/data/podboy.edc diff --git a/recipes/openmoko-3rdparty/rtmom_0.1.3.bb b/recipes/openmoko-3rdparty/rtmom_0.1.3.bb index e858c730fb..f5c8f5dace 100644 --- a/recipes/openmoko-3rdparty/rtmom_0.1.3.bb +++ b/recipes/openmoko-3rdparty/rtmom_0.1.3.bb @@ -5,7 +5,7 @@ LICENSE = "GPL" HOMEPAGE = "http://freshmeat.net/projects/rtmom" SRCNAME = "rtmom" DEPENDS = "python python-elementary" -RDEPENDS = "python-core pyrtm" +RDEPENDS_${PN} = "python-core pyrtm" RSUGGESTS_${PN} = "python-simplejson" PACKAGE_ARCH = "all" diff --git a/recipes/openmoko-3rdparty/settingsgui_0.7+0.8-beta.bb b/recipes/openmoko-3rdparty/settingsgui_0.7+0.8-beta.bb index 65e17feda0..932f0a627b 100644 --- a/recipes/openmoko-3rdparty/settingsgui_0.7+0.8-beta.bb +++ b/recipes/openmoko-3rdparty/settingsgui_0.7+0.8-beta.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" diff --git a/recipes/openmoko-3rdparty/spojegui_svn.bb b/recipes/openmoko-3rdparty/spojegui_svn.bb index 6be74610cc..f1374ae19d 100644 --- a/recipes/openmoko-3rdparty/spojegui_svn.bb +++ b/recipes/openmoko-3rdparty/spojegui_svn.bb @@ -4,7 +4,7 @@ LICENSE = "GPLv3" AUTHOR = "Josef Jebavy <josef.jebavy@gmail.com>" SECTION = "x11/applications" PRIORITY = "optional" -RDEPENDS = "python-core python-elementary python-sqlite3 python-netclient" +RDEPENDS_${PN} = "python-core python-elementary python-sqlite3 python-netclient" SRCREV = "64" PV = "0.4.2+svnr${SRCPV}" diff --git a/recipes/openmoko-3rdparty/thone_0.7.bb b/recipes/openmoko-3rdparty/thone_0.7.bb index 1ab44b943a..6e71ab00b6 100644 --- a/recipes/openmoko-3rdparty/thone_0.7.bb +++ b/recipes/openmoko-3rdparty/thone_0.7.bb @@ -2,7 +2,7 @@ DESCRIPTION = "Terminal phone for OpenMoko/FSO" HOMEPAGE = "http://code.google.com/p/thone/" LICENSE = "GPLv3" AUTHOR = "pike" -RDEPENDS = "bash python python-dbus" +RDEPENDS_${PN} = "bash python python-dbus" PACKAGE_ARCH = "all" SRC_URI = "http://thone.googlecode.com/files/${P}.tgz;name=archive" diff --git a/recipes/openmoko-3rdparty/ventura_svn.bb b/recipes/openmoko-3rdparty/ventura_svn.bb index 6bfa4e4418..dbb4d0eadf 100644 --- a/recipes/openmoko-3rdparty/ventura_svn.bb +++ b/recipes/openmoko-3rdparty/ventura_svn.bb @@ -4,7 +4,7 @@ HOMEPAGE = "http://code.google.com/p/elm-browser/" SECTION = "e/apps" LICENSE = "GPLv2" DEPENDS = "elementary webkit-efl sqlite3" -RRECOMMENDS = "ca-certificates" +RRECOMMENDS_${PN} = "ca-certificates" PV = "0.2+svnr${SRCPV}" PR = "1" |