[PATCH 1/2] configure: Move path to modules to /usr/lib/pulseaudio/modules-x.y

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2014-10-15 at 09:10 +0200, David Henningsson wrote:
> The path /usr/lib/pulse-x.y is non-standard, both considering that
> other software more often than not have a non-versioned directory
> under /usr/lib, and that we ourselves don't use "pulse-x.y" anywhere
> else.
> 
> It could still be reasonable to have more than one version of PA
> installed, so let's have the x.y at the module directory instead.

Thanks, this is a good change. I don't entirely agree with the commit
message, however. It's not reasonable to have multiple PA versions
installed under the same prefix. Modules are only a part of the set of
the files we install, so if we wanted to support multiple versions under
the same prefix, we'd have to include a version number in all file
paths. I'm not sure if we have very good reasons to use the version
number in any paths. I guess it somewhat reduces the chance of linking
to modules of an earlier PA installation, but if you don't build PA from
source, the distro will remove the old modules anyway, and if you do
build PA from source, then there's still risk of linking to old and
incompatible modules if you install a new version during the same
development cycle, since the version number hasn't changed between the
old and new version.

I think it's reasonable to keep the version number in the module
directory name just because of the "if it ain't broken, don't fix it"
principle - we have had the version number there before, and it hasn't
caused trouble.

-- 
Tanu



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux