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

Re: rawhide report: 20060227 changes - gtk2 circular dep



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)?



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