XDG_BASE_DIRECTORY specification

2024-05-02 Thread Julian Sikorski
Hello, I recently received a PR against mame, adding support for XDG_CONFIG_HOME, XDG_STATE_HOME and XDG_DATA_HOME [1]. It appears that these folders are not defined by default in Fedora, at least not in Gnome. Is this expected? If it is something which needs to be defined by the user regardl

Re: XDG_BASE_DIRECTORY specification

2024-05-02 Thread Artur Frenszek-Iwicki
The XDG spec [0] says that, if the env vars are unset, or set to an empty value, a compliant application should fall back to the default value given by the spec. So I guess the answer is that, since we don't need to use non-standard directories, setting the env vars to the same value as the fallb