ScriptletSnippets: desktop-database,mimeinfo

Enrico Scholz enrico.scholz at informatik.tu-chemnitz.de
Fri Feb 3 18:05:57 UTC 2006


rdieter at math.unl.edu (Rex Dieter) writes:

> respectively, but the "GTK+ icon cache" section says (rightfully)
> "Note that no dependencies should be added for this".

This section is wrong. Instead of, it should state that:

* 'Requires(post): gtk2' shall be added for packages shipping icons and
  requiring gtk2 (e.g. typical Gnome2 applications)

* a '%trigger -- gtk2' with gtk-update-icon-cache shall be added for
  packages shipping icons and NOT requiring gtk2 (e.g. KDE applications)

* no additional deps should be added (as stated currently)


Else, when you have a installation sequence of

1. package-A
2. gtk2

with package-A shipping icons, you will get a 5-10 startup penalty
for every gtk2 application because the icon cache is outdated and
'gtk-update-icon-cache' was not executed.




Enrico
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 480 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-extras-list/attachments/20060203/cde7d7f3/attachment.sig>


More information about the fedora-extras-list mailing list