Le jeudi 01 juin 2006 à 07:38 +0200, Daniel Holbach a écrit :
> Package: debhelper
> Version: 5.0.35
> Severity: wishlist
> Tags: patch
> 
> The following patch will add functionality to debhelper to easily create
> a .postinst and .postrm to handle the GTK icon cache. It
> uses /usr/bin/gtk-update-icon-cache (of libgtk2.0-bin, if available) to
> manage an mmap()able file, which makes icon look up faster and shortens
> the amount of used memory for GTK processes by ~300k. XFCE and GNOME
> will benefit of this.
> 
> The implementation of GTK's icon cache wants to have a changed mtime in
> the directory above of the one where icons were added. As this doesn't
> happen automatically, using dh_iconcache makes this easier for package
> maintainers.

Maybe you should exclude at least the gnome and hicolor directories from
the generation, as there is no clean upgrade path for packages shipping
icons in these directories.
-- 
 .''`.           Josselin Mouette        /\./\
: :' :           [EMAIL PROTECTED]
`. `'                        [EMAIL PROTECTED]
  `-  Debian GNU/Linux -- The power of freedom

Attachment: signature.asc
Description: Ceci est une partie de message numériquement signée

Reply via email to