Gentoo Archives: gentoo-dev

From: Pacho Ramos <pacho@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] gnome-games.eclass: Eclass for installing all gnome-games
Date: Thu, 02 May 2013 15:35:14
Message-Id: 1367508903.21951.18.camel@localhost
In Reply to: Re: [gentoo-dev] gnome-games.eclass: Eclass for installing all gnome-games by hasufell
1 El jue, 02-05-2013 a las 17:16 +0200, hasufell escribió:
2 > On 05/02/2013 05:12 PM, Pacho Ramos wrote:
3 > > El jue, 02-05-2013 a las 15:54 +0200, hasufell escribió:
4 > >> On 05/02/2013 03:40 PM, Pacho Ramos wrote:
5 > >>> El jue, 02-05-2013 a las 14:34 +0200, hasufell escribió:
6 > >>>> On 05/02/2013 12:41 PM, Pacho Ramos wrote:
7 > >>>>> gnome-games was splitted in separate packages per game and, then, we
8 > >>>>> need an eclass to also set proper settings inherited from gnome2 and
9 > >>>>> games eclasses. This should also solve:
10 > >>>>> https://bugs.gentoo.org/show_bug.cgi?id=432848
11 > >>>>>
12 > >>>>> eclass and ebuild (games-puzzle/five-or-more) to try attached
13 > >>>>>
14 > >>>>
15 > >>>> This does not honour GAMES_DATADIR afais.
16 > >>>
17 > >>> They cannot honor it since installing all stuff under /usr/share/games
18 > >>> will lead to them even failing to start (I tried it before).
19 > >>>
20 > >>
21 > >> Why?
22 > >>
23 > >> It's a common problem that people hardcode data dir destination in their
24 > >> source files, assuming that people only want to install into /usr/share.
25 > >> That is simply a bug and needs to be fixed in the package (it also means
26 > >> it will probably fail for /usr/local and many other usecases, so this is
27 > >> not even a gentoo specific bug).
28 > >>
29 > >> You cannot fix that on eclass level and it is not a reason to drop
30 > >> supporting GAMES_DATADIR variable. That is inconsistent and does not
31 > >> make sense. You would even get mixed permissions unless you fix that up too.
32 > >>
33 > >
34 > > I don't understand why games team makes all this prefix work, isn't
35 > > changing permissions of installed files enough?
36 > >
37 > > I doubt if upstream will be ok with installing
38 > > schemas/translations/gtk-doc stuff under this prefix :/
39 > >
40 >
41 > schemas/translations/gtk-doc don't need to be installed under that
42 > prefix. Sometimes you have to seperate install locations, otherwise you
43 > would end up getting pixmaps in /usr/share/games/pixmaps and such.
44 >
45 > That sometimes needs some micro-management. Datafiles should _always_
46 > have a seperate switch to choose the destination.
47
48 This is another attempt, some pending problems are:
49 - localedir is wrongly chosen
50 - it installs /var stuff under /var/games/games instead of /var/games :S

Attachments

File name MIME type
gnome-games.eclass text/plain

Replies