[liblouis-liblouisxml] Re: Tables directory

  • From: "John J. Boyer" <johnjboyer@xxxxxxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Wed, 17 Dec 2008 15:26:49 -0600

Eitan,

Thanks for your explanation. I thought /usr/share was just for
documentation and /etc was for data. That is basically what I had been
seeing in other projects. When I started work on liblouis I didn't have
much background in anything except braille and C. I've been learning
slowly. There seemed to b a lot of things that I should know, but the
people who did know them seemed unwibling to help me learn them quickly.
So I'm really happy that you and Christian have come forward.

I'll change the next liblouis tarball to put the tables directory in 
/user/share and also put the lbx_files directory in liblouisxml there. 

I don't know how I missed the post in which you gave instructions for 
svn and another post where you answered some questions about autotools. 
That is a communication failure that may have produced some 
misimpressions.

John

On Wed, Dec 17, 2008 at 11:04:07AM +0200, Eitan Isaacson wrote:
> Hi John,
> 
> One of the differences between our liblouis versions is that you opted
> to put the tables in /etc. I chose /usr/share.
> After looking again at the Filesystem Hierarchy Standard[1], I still
> think the tables belong under /usr/share.
> /etc is for host-specific configuration files[2], while /usr/share is
> for architecture-independent data files[3].
> 
> While a user might choose to tweak the files, this would not be
> typical use. She could either copy the table files,
> and create a personalized version, or she could modify it in-place
> with superuser privileges, just like editing a etc file.
> 
> Also, the /etc directory is problematic because it is outside of the
> standard install prefix,
> so exceptions sometimes need to be made if we are configured to an
> alternative prefix.
> 
> 1. http://www.pathname.com/fhs/pub/fhs-2.3.html
> 2. 
> http://www.pathname.com/fhs/pub/fhs-2.3.html#ETCHOSTSPECIFICSYSTEMCONFIGURATION
> 3. 
> http://www.pathname.com/fhs/pub/fhs-2.3.html#USRSHAREARCHITECTUREINDEPENDENTDATA
> For a description of the software and to download it go to
> http://www.jjb-software.com

-- 
My websites:
http://www.godtouches.org
http://www.jjb-software.com
Location: Madison, WI, USA

For a description of the software and to download it go to
http://www.jjb-software.com

Other related posts: