Gentoo Archives: gentoo-dev

From: Daniel Campbell <zlg@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [QA] Official support for migrating ebuilds out of games.eclass
Date: Wed, 29 Jun 2016 22:47:59
Message-Id: eaa3f015-a814-a5c9-fb62-d9abca0c97eb@gentoo.org
In Reply to: [gentoo-dev] [QA] Official support for migrating ebuilds out of games.eclass by "Michał Górny"
1 On 06/29/2016 10:11 AM, Michał Górny wrote:
2 > Hello, everyone.
3 >
4 > Over half a year has passed since Council decided upon the fate of
5 > games in Gentoo. Over that period, the games team has neither showed
6 > any will to respect the Council decisions, nor officially appealed to
7 > them.
8 >
9 > For this reason, the QA team would like to officially start supporting
10 > the migration of ebuilds out of games.eclass. Any developer wishing to
11 > help is more than welcome to take any games.eclass ebuild, bump its
12 > revision and remove the games.eclass-specific bits from it. Updating to
13 > EAPI 6 would also be welcome. A short update guide is provided at
14 > the end of mail.
15 >
16 > Please note that since this is considered a matter of QA action with
17 > a long waiting period, no explicit approval from games team is
18 > necessary to commit the conversion, nor games team is allowed to reject
19 > or revert such commits as long as they are valid.
20 >
21 > If you need any help doing that and the games team refuses to provide
22 > it, please do not hesitate to contact me or ask in #gentoo-qa. If you
23 > are interested in helping out with games, feel free to join games team
24 > since it still lacks new members.
25 >
26 > Thank you for all the help.
27 >
28 >
29 > Migration notes
30 > ---------------
31 >
32 > TL;DR: nothing special required, remove games.eclass and all
33 > unnecessary games.eclass customization, and follow upstream. Make sure
34 > not to break stuff.
35 >
36 >
37 > The Council decisions can be summarized the following way:
38 >
39 > 1. The 'games' group, formerly used to control access to games, must
40 > not be used. Games should be executable for all users like any other
41 > program [1].
42 >
43 > 1a. For score files and similar writable shared data, the 'gamestat'
44 > group (enewgroup gamestat 36) can be used. The old 'games' group is not
45 > appropriate since sysadmins were expected to add users to it which
46 > defeated its purpose.
47 >
48 > 2. Gentoo path customization for games must be removed and regular
49 > install locations (without explicit control via GAMES_* variables)
50 > should be used [2]:
51 >
52 > 2a. /usr/games and /etc/games directories are forbidden,
53 >
54 > 2b. /usr/share/games can be used for data if that directory is used
55 > upstream,
56 >
57 > 2c. /var/games can be used for shared writable data.
58 >
59 >
60 > This is mostly achieved through removing games.eclass inherit,
61 > customization specific to it and replacing the helpers with generic PMS
62 > helpers (e.g. egamesconf -> econf, dogamesbin -> dobin).
63 > The 'gamesowners', 'gamesperms', 'prepgamesdirs' calls should be
64 > removed altogether.
65 >
66 > In some cases it will also be beneficial to remove patching added to
67 > support non-standard locations.
68 >
69 > Please remember to always rev-bump and not edit in place, to ensure
70 > proper upgrade. When dealing with dependencies, please make sure to
71 > check if the package does not rely on dependency installing data in
72 > a specific location. If that is the case, then you need to use
73 > appropriate >= deps to ensure clean upgrade.
74 >
75 > If you would like to report bugs requesting games.eclass removal,
76 > please make them block the tracker [3].
77 >
78 >
79 > [1]:https://projects.gentoo.org/council/meeting-logs/20151011-summary.txt
80 > [2]:https://projects.gentoo.org/council/meeting-logs/20151213-summary.txt
81 > [3]:https://bugs.gentoo.org/show_bug.cgi?id=574082
82 >
83 I'm glad to see some reach-out here and taking responsibility for
84 decisions. However, what does the QA team have to say about systems that
85 want games on other media (such as an SSD or separate HDD), or wish to
86 restrict the use of games on their system to certain accounts?
87
88 Bumping EAPI won't magically allow those to happen, and removing the
89 eclass *will* break those use cases. What's the "blessed" way to do those?
90
91 --
92 Daniel Campbell - Gentoo Developer
93 OpenPGP Key: 0x1EA055D6 @ hkp://keys.gnupg.net
94 fpr: AE03 9064 AE00 053C 270C 1DE4 6F7A 9091 1EA0 55D6

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies