<div class="gmail_quote">On Fri, Aug 17, 2012 at 4:09 PM, Martin Jansa <span dir="ltr"><<a href="mailto:martin.jansa@gmail.com" target="_blank">martin.jansa@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>On Fri, Aug 17, 2012 at 04:05:00PM +0300, Andrei Gherzan wrote:<br>
> Signed-off-by: Andrei Gherzan <<a href="mailto:andrei.gherzan@windriver.com" target="_blank">andrei.gherzan@windriver.com</a>><br>
> ---<br>
> meta/recipes-devtools/python/<a href="http://python-dbus_1.1.1.bb" target="_blank">python-dbus_1.1.1.bb</a> | 5 ++++-<br>
> 1 files changed, 4 insertions(+), 1 deletions(-)<br>
><br>
> diff --git a/meta/recipes-devtools/python/<a href="http://python-dbus_1.1.1.bb" target="_blank">python-dbus_1.1.1.bb</a> b/meta/recipes-devtools/python/<a href="http://python-dbus_1.1.1.bb" target="_blank">python-dbus_1.1.1.bb</a><br>
> index 51d5bc2..35149a0 100644<br>
> --- a/meta/recipes-devtools/python/<a href="http://python-dbus_1.1.1.bb" target="_blank">python-dbus_1.1.1.bb</a><br>
> +++ b/meta/recipes-devtools/python/<a href="http://python-dbus_1.1.1.bb" target="_blank">python-dbus_1.1.1.bb</a><br>
> @@ -4,7 +4,7 @@ HOMEPAGE = "<a href="http://www.freedesktop.org/Software/dbus" target="_blank">http://www.freedesktop.org/Software/dbus</a>"<br>
> LICENSE = "MIT"<br>
> LIC_FILES_CHKSUM = "file://COPYING;md5=f5612614133e9a2f2dad527d97554670"<br>
> DEPENDS = "expat dbus dbus-glib virtual/libintl python-pyrex-native"<br>
> -PR = "r0"<br>
> +PR = "r1"<br>
><br>
> SRC_URI = "<a href="http://dbus.freedesktop.org/releases/dbus-python/dbus-python-$%7BPV%7D.tar.gz" target="_blank">http://dbus.freedesktop.org/releases/dbus-python/dbus-python-${PV}.tar.gz</a>"<br>
><br>
> @@ -23,3 +23,6 @@ export STAGING_INCDIR<br>
> RDEPENDS_${PN} = "python-io python-logging python-stringold python-threading python-xml"<br>
><br>
> FILES_${PN}-dev += "${libdir}/pkgconfig"<br>
> +<br>
> +RDEPENDS_${PN}_virtclass-native = "python"<br>
<br>
</div>Does RDEPENDS_${PN} work for native recipes? I thought that R* vars are<br>
for runtime packages and native builds doesn't provide them imho.<br>
<br>
And if they do, why not explicitly ask for python-native, because target python wont help I guess.<br>
<div><div><br></div></div></blockquote><div> </div><div>The idea here was that rdepends should be overwritten as - python-io python-logging python-stringold python-threading python-xml - are not native packages. While compiling (python-dbus-native) build-system is looking for python-io-native for example which wrong and fails:</div>
<div>ERROR: Nothing RPROVIDES 'python-io-native'</div><div><br></div><div>Do you think of a better solution?</div><div><br></div><div>Thank you</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div>
> +BBCLASSEXTEND = "native"<br>
> --<br>
> 1.7.5.4<br>
><br>
><br>
> _______________________________________________<br>
> Openembedded-core mailing list<br>
> <a href="mailto:Openembedded-core@lists.openembedded.org" target="_blank">Openembedded-core@lists.openembedded.org</a><br>
> <a href="http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core" target="_blank">http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core</a><br>
<br>
</div></div><span><font color="#888888">--<br>
Martin 'JaMa' Jansa jabber: <a href="mailto:Martin.Jansa@gmail.com" target="_blank">Martin.Jansa@gmail.com</a><br>
</font></span><br>_______________________________________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org" target="_blank">Openembedded-core@lists.openembedded.org</a><br>
<a href="http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core" target="_blank">http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core</a><br>
<br></blockquote></div><br>