Gentoo Archives: gentoo-dev

From: "Rémi Cardona" <remi@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] [RFC] update to the gnome2.eclass
Date: Sun, 15 Apr 2007 12:09:38
Message-Id: 46220FF6.6050204@gentoo.org
1 Hi all,
2
3 A few months ago, Mike (pioto) proposed a patch for the gnome2.eclass so
4 that it stops reading from /var/db/* stuff. As of today, the current
5 eclass has not yet been patched.
6
7 The bug is here : https://bugs.gentoo.org/show_bug.cgi?id=155993
8
9 The current issue is with the gtk icon cache updater, which is used by
10 all gnome and xfce related apps, but by many others too (1101 individual
11 ebuilds). It should be called only when there are icon updates because
12 of performance issues.
13
14 The current eclass reads VDB CONTENTS to see if any icons are about to
15 be added or removed. The real solution would be to export an environment
16 variable but that doesn't work in portage as Zac pointed out (bugs 56407
17 and 56408).
18
19 Right now, the reworked patch saves a file in
20 /usr/share/gnome2-eclass/${PF}.icons
21
22 Since committing this will affect everybody including stable users, I
23 would like ebuild/eclass gurus to review this small patch and tell me if
24 there's anything wrong with it.
25
26 One issue right now is that I use "mkdir -p" which is probably wrong. I
27 did not yet try using dodir instead, if that's the proper solution.
28
29 Thanks for any advice.
30
31 Rémi
32 --
33 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] [RFC] update to the gnome2.eclass Donnie Berkholz <dberkholz@g.o>