[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How do I change LOCALEDIR?
From: |
Werner LEMBERG |
Subject: |
Re: How do I change LOCALEDIR? |
Date: |
Mon, 02 Mar 2020 07:14:56 +0100 (CET) |
> how do I set LOCALEDIR (in this case, to match the packaged app
> bundle rather than the build-time path)? Unlike everything else of
> this nature, neither the .reloc files nor environment variables work
> (and I've tried setting both LOCALEDIR and LILYPOND_LOCALEDIR in
> both places): when I use the .reloc file, it clearly finds the
> setting in the file, but then later blithely prints out
> LOCALEDIR="the/old/value/I/didn't/want".
What exactly do you want to achieve? If I understand the code
correctly (in file `relocate.cc`), the two calls to `bindtextdomain`
happen before relocation files are read.[*] In other words, the
`LILYPOND_LOCALEDIR` environment variable is honoured but a
corresponding assignment in relocation files are ignored (for the
lilypond binary itself – child programs do get the updated environment
variable).
Maybe this approach should be changed?
Werner
[*] The first call uses the compile-time value `LOCALEDIR`, the second
call shortly thereafter the `LILYPOND_LOCALDIR` environment
variable.
- How do I change LOCALEDIR?, Marnen Laibow-Koser, 2020/03/01
- Re: How do I change LOCALEDIR?, Hans Åberg, 2020/03/01
- Re: How do I change LOCALEDIR?,
Werner LEMBERG <=
- Re: How do I change LOCALEDIR?, Marnen Laibow-Koser, 2020/03/02
- Re: How do I change LOCALEDIR?, Werner LEMBERG, 2020/03/03
- Re: How do I change LOCALEDIR?, Marnen Laibow-Koser, 2020/03/03
- Re: How do I change LOCALEDIR?, Werner LEMBERG, 2020/03/03
- Re: How do I change LOCALEDIR?, Marnen Laibow-Koser, 2020/03/03
- Re: How do I change LOCALEDIR?, Werner LEMBERG, 2020/03/03
- Re: How do I change LOCALEDIR?, Marnen Laibow-Koser, 2020/03/03
- Re: How do I change LOCALEDIR?, Werner LEMBERG, 2020/03/03
- Re: How do I change LOCALEDIR?, Marnen Laibow-Koser, 2020/03/04
- Re: How do I change LOCALEDIR?, Werner LEMBERG, 2020/03/04