[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libexecdir/datadir used incorrectly
From: |
Eli Zaretskii |
Subject: |
Re: libexecdir/datadir used incorrectly |
Date: |
Fri, 11 Feb 2005 17:48:10 +0200 |
> Date: Thu, 10 Feb 2005 15:31:37 +0200
> From: Aharon Robbins <address@hidden>
> Cc: address@hidden, address@hidden, address@hidden
>
> I think Eli is referring to the idea of
>
> $(datarootdir)/package/machine-triple-version/pkg-version/
>
> which GCC uses.
Yes, mostly.
> IMHO, this is appropriate for things where architecture and/or OS make
> a difference, like GCC, and I guess Emacs. It's not necessary for packages
> where the data files are architecture and OS independent, like gawk. For
> such packages, a directory like
>
> $(datarootdir)/package/pkg-version/
>
> is not unreasonable. In the case of gawk, because the files change so little
> from release to release, and are usually usable by previous versions, I think
> it's reasonable to use gawk's current scheme of
>
> $(datarootdir)/package/
>
> I think Eli's concern is that the long directory name not get codified in
> the GCS and end up being used by programs that don't need such an
> over-specified
> location. I would agree.
What scares me more than anything else is that files installed by a
package start moving from release to release, hide in subdirectories,
etc. It is IMHO more important that a package sticks to some
reasonable convention than to have all packages agree on some uniform
standard.