[pulseaudio-discuss] [PATCH] Add env vars for PA_ALSA_PATHS_DIR and PA_ALSA_PROFILE_SETS_DIR

Albert Astals Cid albert.astals at canonical.com
Thu Dec 1 13:47:06 UTC 2016

On Thu, Dec 1, 2016 at 1:54 PM, Felipe Sateler <fsateler at debian.org> wrote:
> On 25 November 2016 at 07:28, Albert Astals Cid
> <albert.astals at canonical.com> wrote:
>> On Thu, Nov 24, 2016 at 9:51 PM, Tanu Kaskinen <tanuk at iki.fi> wrote:
>>> On Wed, 2016-11-23 at 17:10 +0100, Albert Astals Cid wrote:
>>>> Helps making pulseaudio relocatable
>>> Could you provide more information in the commit message about what use
>>> case requires pulseaudio to be relocatable?
>> In this particular case is making pulseaudio part of a snap file [1]
> Isn't it possible to have bind mounts specified in a snap file?
> Alternatively, can't --datadir be specified at configure time? I don't
> know much about snap, but I hope apps can expect some sort of
> filesystem layout... So, I think it is worth considering if adding a
> configure option (if one is missing) instead of runtime detection
> might be better.

Yes, there is a configure option to set those values, but the benefit
of having an environment variable is that we can just use the regular
.deb package, drops its contents elsewhere and set the envvar, so no
recompilation is neeed (which is always a good thing)

Most software already works, since you only need to change
LD_LIBRARY_PATH, PATH, some XDG paths and they will find their
data/libs, it's hardcoded paths on build time that are a problem for
this, given the path is not very invasive i'd appreciate if it was


> --
> Saludos,
> Felipe Sateler
> _______________________________________________
> pulseaudio-discuss mailing list
> pulseaudio-discuss at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

More information about the pulseaudio-discuss mailing list