mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00
gtk-icon-cache: rename intercept to update_gtk_icon_cache
The intercept is called update_icon_cache which is vague: rename to update_gtk_icon_cache to make it clearer what it is for, and add a comment explaining what class caused it to be used. (From OE-Core rev: 3158adbe684890adc56af11e19af872e90e09d41) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
b111ac57ae
commit
e58f930df5
|
@ -6,7 +6,7 @@ PACKAGE_WRITE_DEPS += "gtk+3-native gdk-pixbuf-native"
|
||||||
|
|
||||||
gtk_icon_cache_postinst() {
|
gtk_icon_cache_postinst() {
|
||||||
if [ "x$D" != "x" ]; then
|
if [ "x$D" != "x" ]; then
|
||||||
$INTERCEPT_DIR/postinst_intercept update_icon_cache ${PKG} \
|
$INTERCEPT_DIR/postinst_intercept update_gtk_icon_cache ${PKG} \
|
||||||
mlprefix=${MLPREFIX} \
|
mlprefix=${MLPREFIX} \
|
||||||
libdir_native=${libdir_native}
|
libdir_native=${libdir_native}
|
||||||
else
|
else
|
||||||
|
@ -24,7 +24,7 @@ fi
|
||||||
|
|
||||||
gtk_icon_cache_postrm() {
|
gtk_icon_cache_postrm() {
|
||||||
if [ "x$D" != "x" ]; then
|
if [ "x$D" != "x" ]; then
|
||||||
$INTERCEPT_DIR/postinst_intercept update_icon_cache ${PKG} \
|
$INTERCEPT_DIR/postinst_intercept update_gtk_icon_cache ${PKG} \
|
||||||
mlprefix=${MLPREFIX} \
|
mlprefix=${MLPREFIX} \
|
||||||
libdir=${libdir}
|
libdir=${libdir}
|
||||||
else
|
else
|
||||||
|
|
|
@ -2,10 +2,11 @@
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
#
|
#
|
||||||
|
# Post-install intercept for gtk-icon-cache.bbclass
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# update native pixbuf loaders
|
# Update native pixbuf loaders
|
||||||
$STAGING_DIR_NATIVE/${libdir_native}/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders --update-cache
|
$STAGING_DIR_NATIVE/${libdir_native}/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders --update-cache
|
||||||
|
|
||||||
for icondir in $D/usr/share/icons/*/ ; do
|
for icondir in $D/usr/share/icons/*/ ; do
|
Loading…
Reference in New Issue
Block a user