[OE-core] [PATCH] gtk-icon-cache: add hicolor-icon-theme to DEPENDS

Richard Purdie richard.purdie at linuxfoundation.org
Fri Aug 5 16:25:50 UTC 2011


On Fri, 2011-08-05 at 16:18 +0200, Koen Kooi wrote:
> This fixes do_rootfs breaking because OE didn't resolve the RDEPENDS added with python
> 
> Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
> ---
>  meta/classes/gtk-icon-cache.bbclass |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/meta/classes/gtk-icon-cache.bbclass b/meta/classes/gtk-icon-cache.bbclass
> index 4981aec..8436cd3 100644
> --- a/meta/classes/gtk-icon-cache.bbclass
> +++ b/meta/classes/gtk-icon-cache.bbclass
> @@ -1,5 +1,7 @@
>  FILES_${PN} += "${datadir}/icons/hicolor"
>  
> +DEPENDS += "${@['hicolor-icon-theme', '']['${BPN}' == 'hicolor-icon-theme']}"
> +
>  # This could run on the host as icon cache files are architecture independent,
>  # but there is no gtk-update-icon-cache built natively.
>  gtk_icon_cache_postinst() {

Merged to master, thanks.

Richard





More information about the Openembedded-core mailing list