[fpc-pascal] fpmake: output directories

Giuliano Colla giuliano.colla at fastwebnet.it
Wed Jun 3 02:37:12 CEST 2009


Michael Van Canneyt ha scritto:
>
>
> On Tue, 2 Jun 2009, Graeme Geldenhuys wrote:
>
>> 2009/6/2 Michael Van Canneyt <michael at freepascal.org>:
>>>
>>> ~user/.fppkg/build/
>>>
>>> (or something like it)
>>
>>
>> Possibly the $HOME/.local/ directory.  I have the following structure
>> in there, but I tried to find out on freedesktop.org or linux
>> standands what is recommend regarding the ~/.local/ directory, but I
>> couldn't find any documentation on it.
>
> What is the .local directory ? I don't have one, and I never heard of it.
> If it is again a so-called standard by freedesktop, then it's a nono.
>
Sorry, but $HOME/.local IS a so-called standard by freedesktop:

http://standards.freedesktop.org/basedir-spec/latest/ar01s03.html

States that user specific data files should be stored in a directory 
which defaults to $HOME/.local/share :-( (as opposed to user specific 
configuration files which should go into $HOME/.config). But one must be 
careful to tell apart essential from non-essential data files, because 
user specific non-essential data files should be stored in $HOME/.cache.
I gather from the above that user specific useless data files should be 
stored in $HOME/.shit (if not otherwise specified in $XDG_SHIT_HOME). ;-)
It appears that they're facing the mission of "avoiding the $HOME 
directory cluttered by dot files" (as stated somewhere else), by the 
clever device of adding more dot files.
> So .fppkg it is by default, and it remains so. Good old unix custom.
>
Avery wise choice.

Giuliano




More information about the fpc-pascal mailing list