extra apps and locales

Mario Sanchez Prada msanchez at gnome.org
Thu Feb 16 19:44:29 UTC 2017


Quick update on this:

On 16/02/17 10:32, Mario Sanchez Prada wrote:
> [...]
>> 3) Use LD_PRELOAD to intercept bindtextdomain() calls. Also pretty easy
>> to do, especially if as you have the libc sources.
> [...]
> In any case, I haven't thought of LD_PRELOAD until you mentioned it, and I
> think I will still give it a go in case we don't find another way to deal
> with this situation, so thanks again for mentioning it.

In the end I think we're going for this method as a short term solution, as
I just got it to work in a way that works exactly as we want, without
messing up the translations for the dependencies, which turns out to be what
other projects out there (e.g. help2man) were doing already, for similar
reasons apparently.

> Still, I think it would be nicer to have some kind of bind mount like the
> one Rob described, as that would allow us to solve this situation in a
> more generic way, right from the JSON file, so I'd like to investigate
> that a bit more, see if I can find a way. Thing is, I'm not very familiar
> with those kind of things, so any extra comment/suggestion on this regard
> will also be greatly appreciated, of course.

I devoted some time to experiment with this option as well today, only to
find out by myself, the hard way, that it won't ever work as I can't simply
mount stuff in /usr since it's mounted read-only (and even if it wasn't, I
couldn't either), and as Alex said no overlayfs solution will ever be
considered, so I dropped that effort.

Thanks again for the input here, it was really helpful
Mario



More information about the xdg-app mailing list