On Tue, 10 May 2011 11:37:12 -0400
Jeff Licquia <[email protected]> wrote:

> On 05/10/2011 02:39 AM, Karl Goetz wrote:
> > I'm reworking the patch at the moment. It deletes all the game/
> > directories except /var/games/ where it notes its deprecated and to
> > use /var/lib/{games,gamename}/ instead. I still need to write a new
> > rationale.
> >
> > I hope we do a changes section where we can note the deletions, as
> > adding a 'this was deleted' text for each will make the standard
> > rather annoying to read.
> 
> I would advocate leaving the references in, but describing them as
> both optional and deprecated.  We can remove the references in a
> future version.

In that case the attached patch is my attempt. I've read it enough that
i can't focus on it anymore, so I'm throwing it to the list.
Does it look ok? if it gets positive comment i'll attach it to 
http://bugs.linux-foundation.org/show_bug.cgi?id=766 tomorrow my time.
(unless someone beats me to it).

> The goal is that systems compliant with FHS 2.3 should also be
> clearly compliant with FHS 3.0.  I don't want conflicts to cause
> people to think they have to choose, or that they have to rush
> changes.

Sounds like more of an FHS 2.4 then :)
kk

-- 
Karl Goetz, (Kamping_Kaiser / VK5FOSS)
Debian contributor / gNewSense Maintainer
http://www.kgoetz.id.au
No, I won't join your social networking group
=== modified file 'usr.xml'
--- usr.xml	2011-05-09 17:55:53 +0000
+++ usr.xml	2011-05-11 07:40:06 +0000
@@ -87,7 +87,7 @@
 
      <row>
        <entry><filename>games</filename></entry>
-       <entry>Games and educational binaries (optional)</entry>
+       <entry>Games and educational binaries (deprecated)</entry>
      </row>
 
      <row>
@@ -450,7 +450,7 @@
 
      <row>
        <entry><filename>games</filename></entry>
-       <entry>Local game binaries</entry>
+       <entry>Local game binaries (deprecated)</entry>
      </row>
 
 
@@ -607,11 +607,6 @@
 recommended that a subdirectory be used in
 <filename>/usr/share</filename> for this purpose.</para>
 
-<para>Game data stored in <filename>/usr/share/games</filename> must
-be purely static data.  Any modifiable files, such as score files,
-game play logs, and so forth, should be placed in
-<filename>/var/games</filename>.</para>
-
 </section>
 
 <section id='requirements11'><title>Requirements</title>
@@ -675,7 +670,7 @@
 
      <row>
        <entry><filename>games</filename></entry>
-       <entry>Static data files for /usr/games (optional)</entry>
+       <entry>Static data files for /usr/games (deprecated)</entry>
      </row>
 
      <row>
@@ -728,9 +723,12 @@
 <command>kbd</command> (Linux) or <command>syscons</command>
 (BSD).  They may, however, be placed in <filename>/usr/lib</filename>
 for backwards compatibility, at the distributor's discretion.
-Similarly, a <filename>/usr/lib/games</filename> hierarchy may be used
-in addition to the <filename>/usr/share/games</filename> hierarchy if
-the distributor wishes to place some game data there.</para>
+
+The usage of <filename>/usr/lib/games</filename> and
+<filename>/usr/share/games</filename> has been deprecated in favour of
+treating games like any other packages installed on the system and
+installing them to the standard directories under
+<filename>/usr</filename>.</para>
 
 </section>
 

=== modified file 'var.xml'
--- var.xml	2011-05-06 12:52:23 +0000
+++ var.xml	2011-05-11 07:43:48 +0000
@@ -145,7 +145,7 @@
 
      <row>
        <entry><filename>games</filename></entry>
-       <entry>Variable game data (optional)</entry>
+       <entry>Variable game data (deprecated)</entry>
      </row>
 
      <row>
@@ -370,28 +370,25 @@
 
 <section id='vargamesVariableGameData'>
 
-<title>/var/games : Variable game data (optional)</title>
+<title>/var/games : Variable game data (deprecated)</title>
 
 
 <section id='purpose37'><title>Purpose</title>
 
-<para>Any variable data relating to games in <filename>/usr</filename>
-should be placed here.  <filename>/var/games</filename> should hold
-the variable data previously found in <filename>/usr</filename>;
-static data, such as help text, level descriptions, and so on, must
-remain elsewhere, such as
-<filename>/usr/share/games</filename>.</para>
+<para>Historically, any variable data relating to games in
+<filename>/usr</filename> was placed here, but it is now superseded
+by placing per-package subdirectories in <filename>/var/lib</filename>.
+Static data, such as help text, level descriptions, and so on, must
+remain elsewhere, such as <filename>/usr/share</filename>.</para>
 
 
 <tip><title>Rationale</title>
 
-<para><filename>/var/games</filename> has been given a hierarchy of
-its own, rather than leaving it merged in with the old
-<filename>/var/lib</filename> as in release 1.2.  The separation
-allows local control of backup strategies, permissions, and disk
-usage, as well as allowing inter-host sharing and reducing clutter in
-<filename>/var/lib</filename>.  Additionally,
-<filename>/var/games</filename> is the path traditionally used by BSD.</para>
+<para>The new location for games data in <filename>/usr</filename> is
+intended to improve consistency for all software installed on a system
+by bringing games into line with packaging and deployment practices
+used for all other software.
+</para>
 
 </tip>
 </section>

Attachment: signature.asc
Description: PGP signature

_______________________________________________
fhs-discuss mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/fhs-discuss

Reply via email to