On Thu, Dec 1, 2016 at 1:54 PM, Felipe Sateler <fsate...@debian.org> wrote:
> On 25 November 2016 at 07:28, Albert Astals Cid
> <albert.ast...@canonical.com> wrote:
>> On Thu, Nov 24, 2016 at 9:51 PM, Tanu Kaskinen <ta...@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
accepted.

Cheers,
  Albert


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

Reply via email to