1 |
David Leverton a écrit : |
2 |
> On Friday 14 March 2008 07:14:23 Rémi Cardona wrote: |
3 |
>> - the gnome2 eclass now has a pkg_preinst, if you do multiple |
4 |
>> inherits, make sure that gnome2_pkg_preinst is called too. The |
5 |
>> _games_eclass_ is one of those. |
6 |
> |
7 |
> Maybe worth adding a dummy to the current version of the eclass so that |
8 |
> ebuilds can be updated now, instead of suddenly all at once as soon as the |
9 |
> new eclass is committed? |
10 |
|
11 |
Good idea, I'll see what I can do there. |
12 |
|
13 |
> Are you referring to the need to call gnome2_gconf_savelist in pkg_preinst if |
14 |
> the ebuild/eclass wants to use the gconf functions? What I said above goes |
15 |
> here as well. |
16 |
|
17 |
That's basically it, along with gnome2_icons_savelist. |
18 |
|
19 |
>> #gnome2_pkg_prerm() { |
20 |
>> # gnome2_gconf_uninstall |
21 |
>> #} |
22 |
> |
23 |
> Should this really be commented out? If so, might be worth adding a comment |
24 |
> explaining why - it's not clear whether it's disabled because it's broken, or |
25 |
> not necessary, or whether ebuilds are expected to call gnome2_gconf_uninstall |
26 |
> explicitly if they need to. |
27 |
|
28 |
Yes, I'll add a comment, this functionality is broken, but we want to |
29 |
keep the code for future use. |
30 |
|
31 |
> SCROLLKEEPER_UPDATE_BIN=${SCROLLKEEPER_UPDATE_BIN:="${ROOT}usr/bin/scrollkeeper-update"} |
32 |
> |
33 |
> Those aren't going to work with cross-compilation (which isn't well-supported |
34 |
> by the current ebuild format, but best to be future-proof), since the |
35 |
> executables in ${ROOT} won't be able to run on the build machine. |
36 |
|
37 |
With Gnome 2.22 (app-text/rarian specifically), scrollkeeper-update is |
38 |
just a script (that's even just a no-op if I'm not mistaken). So all |
39 |
this scrollkeeper cruft will just become irrelevant as time goes on. |
40 |
|
41 |
>> export GCONF_CONFIG_SOURCE=$(${GCONFTOOL_BIN} --get-default-source) |
42 |
> |
43 |
> I confess I don't know much about gconf, but that looks as though it'll always |
44 |
> return a path in /, not ${ROOT}, so it'll install the schemas in the / |
45 |
> database. |
46 |
|
47 |
IIRC, the path returned in --get-default-source should contain $ROOT |
48 |
because gconf was installed using $ROOT. So it should be safe. So far, |
49 |
no one has complained :) |
50 |
|
51 |
Thanks a lot for your review. |
52 |
|
53 |
-- |
54 |
Rémi Cardona |
55 |
LRI, INRIA |
56 |
remi.cardona@×××.fr |
57 |
remi@g.o |
58 |
-- |
59 |
gentoo-dev@l.g.o mailing list |