* [PATCH RFC v2] gtk-icon-cache.bbclass: add -f option to gtk-update-icon-cache in postinst
@ 2012-01-07 4:51 Steve Sakoman
2012-01-12 6:28 ` Saul Wold
0 siblings, 1 reply; 2+ messages in thread
From: Steve Sakoman @ 2012-01-07 4:51 UTC (permalink / raw)
To: openembedded-core; +Cc: Steve Sakoman
The gtk-update-icon-cache utility does not create a cache file if
one does not already exist. Since some packages (notably gnome-icon-theme)
do not ship a cache file by default, the results of the utility are
not saved. Adding the force option writes out the cache even if there
wasn't a default cache in the package.
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
meta/classes/gtk-icon-cache.bbclass | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/meta/classes/gtk-icon-cache.bbclass b/meta/classes/gtk-icon-cache.bbclass
index eac3061..0204fd3 100644
--- a/meta/classes/gtk-icon-cache.bbclass
+++ b/meta/classes/gtk-icon-cache.bbclass
@@ -14,7 +14,7 @@ GDK_PIXBUF_MODULEDIR=${libdir}/gdk-pixbuf-2.0/2.10.0/loaders gdk-pixbuf-query-lo
for icondir in /usr/share/icons/* ; do
if [ -d $icondir ] ; then
- gtk-update-icon-cache -qt $icondir
+ gtk-update-icon-cache -fqt $icondir
fi
done
}
--
1.7.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH RFC v2] gtk-icon-cache.bbclass: add -f option to gtk-update-icon-cache in postinst
2012-01-07 4:51 [PATCH RFC v2] gtk-icon-cache.bbclass: add -f option to gtk-update-icon-cache in postinst Steve Sakoman
@ 2012-01-12 6:28 ` Saul Wold
0 siblings, 0 replies; 2+ messages in thread
From: Saul Wold @ 2012-01-12 6:28 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer; +Cc: Steve Sakoman
On 01/06/2012 08:51 PM, Steve Sakoman wrote:
> The gtk-update-icon-cache utility does not create a cache file if
> one does not already exist. Since some packages (notably gnome-icon-theme)
> do not ship a cache file by default, the results of the utility are
> not saved. Adding the force option writes out the cache even if there
> wasn't a default cache in the package.
>
> Signed-off-by: Steve Sakoman<steve@sakoman.com>
> ---
> meta/classes/gtk-icon-cache.bbclass | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/meta/classes/gtk-icon-cache.bbclass b/meta/classes/gtk-icon-cache.bbclass
> index eac3061..0204fd3 100644
> --- a/meta/classes/gtk-icon-cache.bbclass
> +++ b/meta/classes/gtk-icon-cache.bbclass
> @@ -14,7 +14,7 @@ GDK_PIXBUF_MODULEDIR=${libdir}/gdk-pixbuf-2.0/2.10.0/loaders gdk-pixbuf-query-lo
>
> for icondir in /usr/share/icons/* ; do
> if [ -d $icondir ] ; then
> - gtk-update-icon-cache -qt $icondir
> + gtk-update-icon-cache -fqt $icondir
> fi
> done
> }
Seemed reasonable, so merged into OE-Core
Thanks
Sau!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-01-12 23:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-07 4:51 [PATCH RFC v2] gtk-icon-cache.bbclass: add -f option to gtk-update-icon-cache in postinst Steve Sakoman
2012-01-12 6:28 ` Saul Wold
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox