Hi all,

A few months ago, Mike (pioto) proposed a patch for the gnome2.eclass so that it stops reading from /var/db/* stuff. As of today, the current eclass has not yet been patched.

The bug is here : https://bugs.gentoo.org/show_bug.cgi?id=155993

The current issue is with the gtk icon cache updater, which is used by all gnome and xfce related apps, but by many others too (1101 individual ebuilds). It should be called only when there are icon updates because of performance issues.

The current eclass reads VDB CONTENTS to see if any icons are about to be added or removed. The real solution would be to export an environment variable but that doesn't work in portage as Zac pointed out (bugs 56407 and 56408).

Right now, the reworked patch saves a file in /usr/share/gnome2-eclass/${PF}.icons

Since committing this will affect everybody including stable users, I would like ebuild/eclass gurus to review this small patch and tell me if there's anything wrong with it.

One issue right now is that I use "mkdir -p" which is probably wrong. I did not yet try using dodir instead, if that's the proper solution.

Thanks for any advice.

Rémi
--
[EMAIL PROTECTED] mailing list

Reply via email to