Mailinglist Archive: opensuse-buildservice (142 mails)

< Previous Next >
Re: [opensuse-buildservice] /usr/lib -> /usr/share in build package

On Wednesday 2013-08-14 12:04, Miroslav Suchý wrote:

On 08/13/2013 09:33 PM, Brian K. White wrote:
To me that means that an icon goes in /usr/share and a shell function
goes in /usr/lib.

Nope.
FHS is saying: if it is binary (or library), which should not be executed
directly by user, it should got into /usr/lib.
But if it is architecture independent (eg. perl/python script) it should go to
/usr/share. Yes, icons are arch independent so it should go to /usr/share as
well.

Blame FHS for creating this confusion. And then blame distros
actually implementing that.

libexecdir used to be in a past FHS version, and originally(?)
came from the GNU "HS" - if you want to call it such. Fedora
still has libexecdir thankfully. And it's quite clear what it was:

* libexecdir: auxiliary programs not to be directly executed by the user.
Follows /usr/bin, i.e. "just one bitness".
* libdir: arch-dependent pieces, may have multiple bitnesses arranged
in some arbitrary fashion (Debian multiarch looks good;
Perl is one of the layouts used historically)
* datadir: arch-independent, no questions asked.
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups