aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/jakarta-commons
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2010-06-02 15:04:25 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2010-06-03 07:33:27 +0200
commitd4276bed389b7db06db58c7acebb83f92bff86a5 (patch)
tree2386574b6ab0c36a58a314a24d31f6b5c9291a65 /recipes/jakarta-commons
parent823aa270059259ca619e21a5d9b22e86afb12f3b (diff)
downloadopenembedded-d4276bed389b7db06db58c7acebb83f92bff86a5.tar.gz
openembedded-d4276bed389b7db06db58c7acebb83f92bff86a5.tar.bz2
openembedded-d4276bed389b7db06db58c7acebb83f92bff86a5.zip
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/jakarta-commons')
-rw-r--r--recipes/jakarta-commons/commons-beanutils_1.8.0.bb2
-rw-r--r--recipes/jakarta-commons/commons-configuration_1.5.bb2
-rw-r--r--recipes/jakarta-commons/commons-digester_1.8.bb2
-rw-r--r--recipes/jakarta-commons/commons-discovery_0.4.bb2
-rw-r--r--recipes/jakarta-commons/commons-el_1.0.bb2
-rw-r--r--recipes/jakarta-commons/commons-fileupload_1.2.1.bb2
-rw-r--r--recipes/jakarta-commons/commons-httpclient_3.1.bb2
-rw-r--r--recipes/jakarta-commons/commons-jxpath_1.3.bb2
-rw-r--r--recipes/jakarta-commons/commons-net-native_1.4.1.bb2
-rw-r--r--recipes/jakarta-commons/commons-net_1.4.1.bb2
10 files changed, 10 insertions, 10 deletions
diff --git a/recipes/jakarta-commons/commons-beanutils_1.8.0.bb b/recipes/jakarta-commons/commons-beanutils_1.8.0.bb
index 915ab17b99..500937df96 100644
--- a/recipes/jakarta-commons/commons-beanutils_1.8.0.bb
+++ b/recipes/jakarta-commons/commons-beanutils_1.8.0.bb
@@ -5,7 +5,7 @@ DESCRIPTION = "Static utility methods useful in manipulating Java classes that c
SRC_URI = "http://www.apache.org/dist/commons/beanutils/source/${BP}-src.tar.gz"
DEPENDS += "commons-collections3 commons-logging"
-RDEPENDS = "libcommons-collections3-java libcommons-logging-java"
+RDEPENDS_${PN} = "libcommons-collections3-java libcommons-logging-java"
CP = "commons-collections3 commons-logging"
diff --git a/recipes/jakarta-commons/commons-configuration_1.5.bb b/recipes/jakarta-commons/commons-configuration_1.5.bb
index edba5ad2cb..00c98b97bc 100644
--- a/recipes/jakarta-commons/commons-configuration_1.5.bb
+++ b/recipes/jakarta-commons/commons-configuration_1.5.bb
@@ -8,7 +8,7 @@ SRC_URI = "\
"
DEPENDS += "commons-logging commons-collections3 commons-beanutils commons-codec commons-digester commons-jxpath commons-lang servlet2.4"
-RDEPENDS = "libcommons-logging-java libcommons-collections3-java libcommons-beanutils-java libcommons-codec-java libcommons-digester-java libcommons-jxpath-java libcommons-lang-java libservlet2.4-java"
+RDEPENDS_${PN} = "libcommons-logging-java libcommons-collections3-java libcommons-beanutils-java libcommons-codec-java libcommons-digester-java libcommons-jxpath-java libcommons-lang-java libservlet2.4-java"
CP = "commons-logging commons-collections3 commons-beanutils commons-codec commons-digester commons-jxpath commons-lang servlet-api-2.4"
diff --git a/recipes/jakarta-commons/commons-digester_1.8.bb b/recipes/jakarta-commons/commons-digester_1.8.bb
index 2b39b9ccac..feb078687e 100644
--- a/recipes/jakarta-commons/commons-digester_1.8.bb
+++ b/recipes/jakarta-commons/commons-digester_1.8.bb
@@ -5,7 +5,7 @@ DESCRIPTION = "Converts XML to a Java object by a set of mapping rules."
SRC_URI = "http://www.apache.org/dist/commons/digester/source/${BP}-src.tar.gz"
DEPENDS += "commons-logging commons-beanutils"
-RDEPENDS = "libcommons-logging-java libcommons-beanutils-java"
+RDEPENDS_${PN} = "libcommons-logging-java libcommons-beanutils-java"
CP = "commons-logging commons-beanutils"
diff --git a/recipes/jakarta-commons/commons-discovery_0.4.bb b/recipes/jakarta-commons/commons-discovery_0.4.bb
index 9c31f28bdd..0de4c5c944 100644
--- a/recipes/jakarta-commons/commons-discovery_0.4.bb
+++ b/recipes/jakarta-commons/commons-discovery_0.4.bb
@@ -5,7 +5,7 @@ DESCRIPTION = "discovering, or finding, implementations for pluggable interfaces
SRC_URI = "http://www.apache.org/dist/commons/discovery/source/${BP}-src.tar.gz"
DEPENDS += "commons-logging"
-RDEPENDS = "libcommons-logging-java"
+RDEPENDS_${PN} = "libcommons-logging-java"
CP = "commons-logging"
diff --git a/recipes/jakarta-commons/commons-el_1.0.bb b/recipes/jakarta-commons/commons-el_1.0.bb
index 46a83b8b4f..3ba21eea6f 100644
--- a/recipes/jakarta-commons/commons-el_1.0.bb
+++ b/recipes/jakarta-commons/commons-el_1.0.bb
@@ -5,7 +5,7 @@ DESCRIPTION = "Implementation of the JSP2.0 Expression Language API"
SRC_URI = "http://www.apache.org/dist/commons/el/source/${BP}-src.tar.gz"
DEPENDS += "jsp2.0 servlet2.4"
-RDEPENDS = "libjsp2.0-java libservlet2.4-java"
+RDEPENDS_${PN} = "libjsp2.0-java libservlet2.4-java"
CP = "jsp-api-2.0 servlet-api-2.4"
diff --git a/recipes/jakarta-commons/commons-fileupload_1.2.1.bb b/recipes/jakarta-commons/commons-fileupload_1.2.1.bb
index dc59dae665..34ff2c15cd 100644
--- a/recipes/jakarta-commons/commons-fileupload_1.2.1.bb
+++ b/recipes/jakarta-commons/commons-fileupload_1.2.1.bb
@@ -5,7 +5,7 @@ DESCRIPTION = "Robust, high-performance, file upload capability for Java servlet
SRC_URI = "http://www.apache.org/dist/commons/fileupload/source/${BP}-src.tar.gz"
DEPENDS += "commons-beanutils commons-io servlet2.3"
-RDEPENDS = "libcommons-beanutils-java libcommons-io-java libservlet2.3-java"
+RDEPENDS_${PN} = "libcommons-beanutils-java libcommons-io-java libservlet2.3-java"
CP = "commons-beanutils commons-io servlet-2.3"
diff --git a/recipes/jakarta-commons/commons-httpclient_3.1.bb b/recipes/jakarta-commons/commons-httpclient_3.1.bb
index 5e23f58bbb..64f80f6d80 100644
--- a/recipes/jakarta-commons/commons-httpclient_3.1.bb
+++ b/recipes/jakarta-commons/commons-httpclient_3.1.bb
@@ -7,7 +7,7 @@ SRC_URI = "http://www.apache.org/dist/httpcomponents/commons-httpclient/source/$
S = "${WORKDIR}/${BP}"
DEPENDS += "commons-logging commons-codec"
-RDEPENDS = "libcommons-logging-java libcommons-codec-java"
+RDEPENDS_${PN} = "libcommons-logging-java libcommons-codec-java"
CP = "commons-logging commons-codec"
diff --git a/recipes/jakarta-commons/commons-jxpath_1.3.bb b/recipes/jakarta-commons/commons-jxpath_1.3.bb
index be76d00909..9e612b2142 100644
--- a/recipes/jakarta-commons/commons-jxpath_1.3.bb
+++ b/recipes/jakarta-commons/commons-jxpath_1.3.bb
@@ -5,7 +5,7 @@ DESCRIPTION = "JXPath interpreter for Java"
SRC_URI = "http://www.apache.org/dist/commons/jxpath/source/${BP}-src.tar.gz"
DEPENDS += "commons-logging commons-collections3 commons-beanutils servlet2.3 jdom"
-RDEPENDS = "libcommons-logging-java libcommons-collections3-java libcommons-beanutils-java libservlet2.3-java libjdom-java"
+RDEPENDS_${PN} = "libcommons-logging-java libcommons-collections3-java libcommons-beanutils-java libservlet2.3-java libjdom-java"
CP = "commons-logging commons-collections3 commons-beanutils servlet-2.3 jdom"
diff --git a/recipes/jakarta-commons/commons-net-native_1.4.1.bb b/recipes/jakarta-commons/commons-net-native_1.4.1.bb
index f1d39ea8c2..d2a4b7dda4 100644
--- a/recipes/jakarta-commons/commons-net-native_1.4.1.bb
+++ b/recipes/jakarta-commons/commons-net-native_1.4.1.bb
@@ -3,5 +3,5 @@ require commons-net_${PV}.bb
inherit java-native
DEPENDS = "fastjar-native oro-native"
-RDEPENDS = ""
+RDEPENDS_${PN} = ""
diff --git a/recipes/jakarta-commons/commons-net_1.4.1.bb b/recipes/jakarta-commons/commons-net_1.4.1.bb
index a5c64777b1..8790449f26 100644
--- a/recipes/jakarta-commons/commons-net_1.4.1.bb
+++ b/recipes/jakarta-commons/commons-net_1.4.1.bb
@@ -7,7 +7,7 @@ SRC_URI = "http://www.apache.org/dist/commons/net/source/${BP}-src.tar.gz"
S = "${WORKDIR}/${BP}"
DEPENDS += "oro"
-RDEPENDS = "liboro-java"
+RDEPENDS_${PN} = "liboro-java"
CP = "oro"