Re: [PATCH 0/2] XDG basedir bin dirs

Simon McVittie <[email protected]>
Newsgroups gmane.linux.xdg.devel
Message-ID <[email protected]>
On Wed, 02 May 2018 at 13:02:51 -0700, Josh Triplett wrote:
> On Wed, May 02, 2018 at 09:52:44PM +0200, Lennart Poettering wrote:
> > However, I really don't see the benefit of adding individual
> > configurability for each of the home dirs, because you should already
> > have that anyway though the prefix dir you use when configuring your
> > package...
> 
> This would provide a standardized way to *configure* that prefix,
> because not all the world's a ./configure --prefix. The motivating use
> case for this, for instance, was Rust's Cargo package manager, which
> would like to have a sensible default for where `cargo install` should
> install binaries.

Does `cargo install` have an equivalent of Autoconf --prefix, CMake
CMAKE_INSTALL_PREFIX and Meson --prefix? If not, it should, and it can
without freedesktop.org needing to standardize anything.

Other build systems like Autoconf, CMake and Meson don't default to
installing in a per-user location. Should cargo really be different?

I don't think the developers of Autoconf, CMake and Meson are going to
change their default prefix from /usr/local to some sort of XDG_PREFIX
any time soon...

    smcv
_______________________________________________
xdg mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/xdg
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.