rawhide report: 20060227 changes - gtk2 circular dep
Orion Poplawski
orion at cora.nwra.com
Tue Feb 28 17:19:50 UTC 2006
Erwin Rol wrote:
>
> Why do icons require a toolkit like GTK ?
>
> - Erwin
>
>
Perhaps:
# rpm -qp --scripts hicolor-icon-theme-0.9-1.noarch.rpm
postinstall scriptlet (using /bin/sh):
touch --no-create /usr/share/icons/hicolor
if [ -x /usr/bin/gtk-update-icon-cache ]; then
gtk-update-icon-cache --quiet /usr/share/icons/hicolor
fi
exit 0
postuninstall scriptlet (using /bin/sh):
touch --no-create /usr/share/icons/hicolor
if [ -x /usr/bin/gtk-update-icon-cache ]; then
gtk-update-icon-cache --quiet /usr/share/icons/hicolor
fi
exit 0
So it really should be:
Requires(post): /usr/bin/gtk-update-icon-cache
but not sure if this helps the circular dep.
And it's not even a hard requires there as at least the script works
without gtk-update-icon-cache. Perhaps a trigger (he says not knowing
anything about triggers)?
More information about the devel
mailing list