gtk2 create/maintain icon cache (bug #170335)

Rex Dieter rdieter at math.unl.edu
Thu Dec 21 13:58:20 UTC 2006


Matthias Clasen wrote:

> I have proposed a solution in the bug. But instead of working on that,
> people preferred to opt for the magical xdg bullet...

Your suggestion was a good one (thanks), but it appears that relying 
100% on %posttrans isn't a reliable (or ideal) option either (see also 
fedora-packagers list for another thread on that).

So, here are the questions that remain to be answered:

0 (premise) Relying solely upon rpm scriptlet hooks to keep icon cache 
fresh is problematic (all it takes is one package/instance of not 
calling gtk2-update-icon-cache) and inefficient.  Agree/disagree?

1.  gtk2 should include a %post scriptlet to (re)generate (possibly 
missing) initial icon cache.  Agree/disagree?

2.  gtk2 should include some mechanism to keep cache fresh.  Agree/disagree?


0. Can be addressed by updating packaging guidelines to not mandate 
gtk2-update-icon-cache in scriptlets.  I hope we can all agree at this 
point there are better ways of doing it.

1. Easy, should (imo) be a no-brainer to include in gtk2 package.

2. My proposed cron job is one way to address this, but many folks seem 
to cringe at that suggestion.  Fine, come up with something better.

-- Rex





More information about the Fedora-maintainers mailing list