Base Directory Specification and plugins

Ryan Lortie desrt at desrt.ca
Sat Nov 20 23:28:20 PST 2010


Hi Gary,

On Sat, 2010-11-20 at 20:15 -0600, Gary Kramlich wrote:
> That leaves the data directory.  However, the data directory on a unix
> machine ends up being ~/.local/share and putting a native plugin under a
> share directory seems to be completely wrong to me.

Your concern here is misplaced.  You can logically claim that it is
either completely incorrect to place native binaries in the user home
directory or that it is safe to blindly do so without consideration of
the "share" vs. "lib" issue.  Which one you choose depends on your
assumption about the different sorts of computers that the user's home
directory might end up being used on.

Having a separate 'lib' directory doesn't automatically solve the
problem associated with trying to use a home directory that contains
binaries on multiple different architectures.  It's just a name.

Cheers



More information about the xdg mailing list