Le mardi 10 février 2009 à 19:27 +0100, Michael Biebl a écrit : > Josselin Mouette wrote: > > For update-icon-caches, that was the plan when introducing it. However > > it can only apply to the hicolor and gnome themes. Other themes will > > still need to call dh_icons. This also means dh_icons will have to > > special-case these directories. > > Could you elaborate a bit more on that, which directories precisely and why > other themes still need dh_icons?
update-icon-caches needs to be run once for each icon directory where a package installs icons. As triggers can’t tell you which subdirectory was modified, a global trigger for /usr/share/icons is not the way to go. Therefore, there must be a trigger for /usr/share/icons/hicolor and one for /usr/share/icons/gnome. Other icon themes are generally the matter of only one package, so they can be made to run update-icon-caches using dh_icons just as they do currently. > If I can get a clear picture what exactly needs to be done, I don't think it > would that hard to provide patches (and I'd be willingly to do so). One thing that should not be forgotten (among others): update-icon-caches must be made unconditional in the same version of libgtk2.0-bin the trigger is added. (Currently it only refreshes existing caches.) Cheers, -- .''`. : :' : We are debian.org. Lower your prices, surrender your code. `. `' We will add your hardware and software distinctiveness to `- our own. Resistance is futile.
signature.asc
Description: Ceci est une partie de message numériquement signée