Gentoo Archives: gentoo-project

From: Daniel Campbell <zlg@g.o>
To: "Michał Górny" <mgorny@g.o>
Cc: gentoo-project@l.g.o
Subject: Re: [gentoo-project] Call for Agenda Items -- Council Meeting 2015-10-11
Date: Sun, 18 Oct 2015 22:28:21
Message-Id: 56241D0C.9070808@gentoo.org
In Reply to: Re: [gentoo-project] Call for Agenda Items -- Council Meeting 2015-10-11 by "Michał Górny"
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA256
3
4 On 10/18/2015 02:28 PM, Michał Górny wrote:
5 > On Sun, 18 Oct 2015 22:58:31 +0200 Ulrich Mueller <ulm@g.o>
6 > wrote:
7 >
8 >> Following up to this. I think the choice is between the two
9 >> extremes of keeping the status quo and of changing all non-FHS
10 >> locations, or some intermediate solution.
11 >>
12 >> 1. Keep status quo:
13 >>
14 >> /usr/games/bin games binaries /usr/games/lib* games
15 >> libraries /usr/share/games static games data /etc/games games
16 >> configuration /var/games variable game data
17 >> /var/log/games games logs
18 >
19 > This is no longer 'status quo', rather 'past status quo' which is
20 > slowly removed in favor of whatever upstream uses.
21 >
22 >> 2. Change all locations that are not conforming to FHS 3.0:
23 >>
24 >> /usr/bin games binaries Rationale: The FHS has
25 >> /usr/games as an optional directory for binaries, but we cannot
26 >> use it because it is blocked by the current directory layout
27 >> with /usr/games/{bin,lib*}.
28 >>
29 >> /usr/lib* games libraries
30 >>
31 >> /usr/share static games data Rationale: The FHS also
32 >> allows an optional /usr/share/games but its description says
33 >> "Static data files for /usr/games". So if the binaries are
34 >> installed in /usr/bin then (as I read it) the data should go to
35 >> /usr/share (i.e., to /usr/share/${PN} really).
36 >
37 > I'd say we shouldn't take FHS this strongly, and use whatever
38 > upstream uses. If upstream uses /usr/share/games, so be it. If it
39 > uses /usr/share directly, so be it. Otherwise, we end up patching
40 > stuff and unnecessary patching is no fun at all. I still remember
41 > how much code I had to patch to make random games comply to
42 > 'gentoo' locations.
43 >
44 >> /etc games configuration
45 >>
46 >> /var/games variable game data Rationale: FHS section
47 >> 5.7.: "Any variable data relating to games in /usr should be
48 >> placed here." This could also be used for logs previously placed
49 >> in /var/log/games, when for some reason they cannot got to
50 >> /var/log (but AFAICS it would affect only two packages in the
51 >> tree).
52 >
53 (Replying normally and CCing the list since Tbird didn't give me a
54 "Reply to List" option)
55
56
57 I'm in favor of sticking to upstream where possible. Keeping a bunch
58 of patches around would make the already-arduous work of games
59 maintenance even worse. I can appreciate the interest in keeping games
60 in one place, though, since some users would want their games to
61 perform well and put a specific path on an SSD or something. The key
62 part, imo, is whatever we decide on is realistic to implement and
63 doesn't ruin the filesystem structure. Some upstreams could be
64 considered less-than-ideal in their care (or lack thereof) when
65 dealing with directories and install locations.
66
67 Maybe we should take an inventory of some common games and determine
68 where upstream wants to put them in the first place.
69
70 - --
71 Daniel Campbell - Gentoo Developer
72 OpenPGP Key: 0x1EA055D6 @ hkp://keys.gnupg.net
73 fpr: AE03 9064 AE00 053C 270C 1DE4 6F7A 9091 1EA0 55D6
74 -----BEGIN PGP SIGNATURE-----
75 Version: GnuPG v2
76
77 iQIcBAEBCAAGBQJWJB0LAAoJEAEkDpRQOeFwxIcP/Rt8/zUejhuCgVatnD+KFhqg
78 lNrTgkesuTRCl1Q5c2Fyjs6XaXoGxv0G+eVL3V0zlM8haHNY6bJL4+XnnthBD1qI
79 WyRT07xpFPbNPCXiBaYb2z4EaYugMjugHgmpYg6JFny4YNvOsTHGKDxwTqHegdB0
80 qmzkOVKj2k6gYGHs10mRHpVuDFF4kAvahafkKC41moD1LNcoJLzVALwT/UwZlB6s
81 hvWuwYiYcfOuDbyQXmYg5zuWP+77lfcLh1oUtcTzJW/L7H2EQCF4d+aREP1mUEnG
82 5q7LvIIUsdNyV8L7u0CifoHezK7Er23fn5LnSgvYXgBq0n+Efx9HWqSgcb/fuSfI
83 qTi4Gs6LMDt0PSRyetrI0/0DcthfVzsDuHyRxdiEMNHvZPJsRimNqm/6gm2B+n3h
84 /nglbx3IHLp0t0jkwHNA2DyGwFROlf59OQyPHlJ58gR7Mu5TbzoV9Ep5GJrE3pSg
85 31zkkoefLVGOgTWimsvKMbEZVqI0iA+3fQoJqrH3dXT756vfs45Pm0bFcjL+V93c
86 WWZrK+UByPTb2Xww6FVvnx04n+k/UQXus8FDRhcuiCqvZ2IsPDx4QUSsr0oylCMe
87 jDsnFktRWOPzvKzoRkW2FSfWRkR/nR2hYQVJRaFzHF07lOuYkAYnOIJ1GaEtz88U
88 yXRylZIf1mf4YsOl1GD3
89 =6avU
90 -----END PGP SIGNATURE-----

Replies