1 |
El jue, 02-05-2013 a las 15:54 +0200, hasufell escribió: |
2 |
> On 05/02/2013 03:40 PM, Pacho Ramos wrote: |
3 |
> > El jue, 02-05-2013 a las 14:34 +0200, hasufell escribió: |
4 |
> >> On 05/02/2013 12:41 PM, Pacho Ramos wrote: |
5 |
> >>> gnome-games was splitted in separate packages per game and, then, we |
6 |
> >>> need an eclass to also set proper settings inherited from gnome2 and |
7 |
> >>> games eclasses. This should also solve: |
8 |
> >>> https://bugs.gentoo.org/show_bug.cgi?id=432848 |
9 |
> >>> |
10 |
> >>> eclass and ebuild (games-puzzle/five-or-more) to try attached |
11 |
> >>> |
12 |
> >> |
13 |
> >> This does not honour GAMES_DATADIR afais. |
14 |
> > |
15 |
> > They cannot honor it since installing all stuff under /usr/share/games |
16 |
> > will lead to them even failing to start (I tried it before). |
17 |
> > |
18 |
> |
19 |
> Why? |
20 |
> |
21 |
> It's a common problem that people hardcode data dir destination in their |
22 |
> source files, assuming that people only want to install into /usr/share. |
23 |
> That is simply a bug and needs to be fixed in the package (it also means |
24 |
> it will probably fail for /usr/local and many other usecases, so this is |
25 |
> not even a gentoo specific bug). |
26 |
> |
27 |
> You cannot fix that on eclass level and it is not a reason to drop |
28 |
> supporting GAMES_DATADIR variable. That is inconsistent and does not |
29 |
> make sense. You would even get mixed permissions unless you fix that up too. |
30 |
> |
31 |
|
32 |
I don't understand why games team makes all this prefix work, isn't |
33 |
changing permissions of installed files enough? |
34 |
|
35 |
I doubt if upstream will be ok with installing |
36 |
schemas/translations/gtk-doc stuff under this prefix :/ |
37 |
|
38 |
> >> |
39 |
> >> "prepgamesdirs" is missing completely too. |
40 |
> >> |
41 |
> >> So those games will not be compliant with the games.eclass standard. |
42 |
> >> |
43 |
> > |
44 |
> > In games.eclass I see you have prepgamesdirs but don't call it on any |
45 |
> > exported phase from games.eclass :-/, how are other games calling it? |
46 |
> > |
47 |
> > |
48 |
> |
49 |
> You call it explicitly. |
50 |
> |
51 |
|
52 |
In src_install, no? |