Subject: Re: use of share vs lib
To: None <root@garbled.net, tech-pkg@NetBSD.ORG>
From: Ignatios Souvatzis <ignatios@theory.cs.uni-bonn.de>
List: tech-pkg
Date: 07/31/1998 11:22:50
On Fri, Jul 31, 1998 at 02:09:10AM -0700, Tim Rightnour wrote:
> I'd like to bring this up now.. while the "bringin's good".
> 
> I've been compiling a ton of games lately (if you haven't noticed) and have
> been placing scorfiles and datafiles in $(X11BASE)/share.  However, it occurs
> to me that a few older pkgs, and some other non-game stuff is using lib.
> 
> It seems like we should standardize this behavior in some way.  I personally
> vote for the use of share.
> Why not lib?:
> 
> lib is a big, nasty heirarchy in the X11 tree, filled with all sorts of nasty
> things.  most of which are libraries.. (which actually *belong there* unlike
> the rest of it)
> 
> libraries belong in lib.. datafiles don't.
> 
> share fits the bill IMHO, most of what ends up in there is going to be MI, and
> it keeps it from making a big mess in your lib tree..  It also solves the
> little problem of "do files go in lib/foogame or lib/X11/foogame?"  Which isn't

Depends...

shareable datafiles (e.g., text format, or with defined endianness etc.):

share

nonshareable datafiles (e.g., binary format with whatever edndianesses or
long sizes or float formats happen to be around):

libdata

Regards,
	-is