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
xdg@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/xdg

Reply via email to