bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [GNUstep-packagers] patch for observance of $HOME


From: Sheldon Gill
Subject: Re: [GNUstep-packagers] patch for observance of $HOME
Date: Sun, 8 Aug 2004 13:22:07 +0800
User-agent: KMail/1.6.2

On Sat, 7 Aug 2004 18:23, Richard Frith-Macdonald wrote:
> I think my postings may have been a little unclear, what I'm advocating
> is this ...
> [SNIP]
> My area of uncertainly here is how to improve the format of the
> .GNUsteprc files ... we want them simple to understand and easy to
> parse.  In particular, it would be important to have them in a format
> in which it's easy for the make system to parse them or to use a simple
> C program or shell script to parse them, set values in it's
> environment, and re-invoke make.
> We may also want to allow for more sophisticated control of per-user
> setting of paths in these files, but I'm not sure that this would be
> worth the effort/complexity - so I'd prefer to leave any complex code
> out and add it at a later date if/when there is
> a definite requirement.
> Maybe the current format is already good for this (it's certainly
> usable) ... I'm not sure.

I thought it best to modify the format somewhat. I posted some examples a 
while ago along with a discussion about how it works.
Basically, it makes the file a little easier to understand and allows 
configuring additional things.
Rather than have the FORCE_ flag to prevent per user configs, you instead 
specify the USER_GNUSTEP_RC to be the empty string (ie. source no file)

It means the file ends up like this:
----<GNUstep.conf>----
# System paths
GNUSTEP_SYSTEM_ROOT  = /usr/local/GNUstep/System
GNUSTEP_NETWORK_ROOT = /usr/local/GNUstep/Network
GNUSTEP_LOCAL_ROOT  = /usr/local/GNUstep/

# GNUstep preferences
USER_GNUSTEP_DIR = GNUstep
USER_GNUSTEP_DEFAULTS = Defaults
USER_GNUSTEP_RC  = .GNUsteprc
----<end>----

Nice and simple but providing all the flexibility required.


Regards,
Sheldon




reply via email to

[Prev in Thread] Current Thread [Next in Thread]