[gnome-continuous-yocto/gnomeostree-3.28-rocko: 4128/8267] gtk-icon-cache: Add PACKAGE_WRITE_DEPS for postinst



commit eae2dcd5742d9aaad743c7b9e954afe3605f4aec
Author: Richard Purdie <richard purdie linuxfoundation org>
Date:   Thu Jan 19 16:56:30 2017 +0000

    gtk-icon-cache: Add PACKAGE_WRITE_DEPS for postinst
    
    gdk-pixbuf-native and gtk-icon-utils-native are needed by the postinstall
    scripts so mark the dependency. The utils may be needed at icon build
    time too so DEPENDS is unchanged.
    
    (From OE-Core rev: d62e9fe21a47f5b38278a9b12b73d617c29d3c4f)
    
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 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 c5d8d7c..d87167a 100644
--- a/meta/classes/gtk-icon-cache.bbclass
+++ b/meta/classes/gtk-icon-cache.bbclass
@@ -2,6 +2,8 @@ FILES_${PN} += "${datadir}/icons/hicolor"
 
 DEPENDS += "${@['hicolor-icon-theme', '']['${BPN}' == 'hicolor-icon-theme']} gtk-icon-utils-native"
 
+PACKAGE_WRITE_DEPS += "gtk-icon-utils-native gdk-pixbuf-native"
+
 gtk_icon_cache_postinst() {
 if [ "x$D" != "x" ]; then
        $INTERCEPT_DIR/postinst_intercept update_icon_cache ${PKG} \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]