Re: Debian XDG basedir compliance
On 12/10/13 00:52, Paul Wise wrote:
> On Sat, Oct 12, 2013 at 8:26 AM, Charles Plessy wrote:
>
>> I think that this would be more suitable for the Upstream Guide
>> (https://wiki.debian.org/UpstreamGuide). The Debian Policy focuses on how to
>> integrate works in Debian, so if being XDG-compliant or not does not make a
>> difference, then I think that there is no need to mention this standard.
>
> Good point. I've added a section on user home directories to the UG,
> pointing out the XDG spec and the libraries that support it.
GLib has a nice set of functions for this, see
https://developer.gnome.org/glib/stable/glib-Miscellaneous-Utility-Functions.html#g-get-user-cache-dir
Emilio
>
> https://wiki.debian.org/UpstreamGuide#User_home_directories
>
> I also put a paragraph about the HOME environment variable and falling
> back to getpwuid.
>
Reply to: