Am Donnerstag, 21. Juli 2016 um 16:32:14, schrieb racoon <xraco...@gmx.de> > On 21.07.2016 08:51, Kornel Benko wrote: > > Am Donnerstag, 21. Juli 2016 um 08:23:51, schrieb racoon <xraco...@gmx.de> > >> On 20.07.2016 14:02, Kornel Benko wrote: > >>> Am Mittwoch, 20. Juli 2016 um 11:26:47, schrieb racoon <xraco...@gmx.de> > >>>> Each time I build a number of .gmo-files, like ar.gmo, are generated > >>>> which takes some time. > >>>>
... > >>>> I can turn of the warning using the environment variable but that just > >>>> gets rid of the messages not the generating process. > >>>> > >>>> Does someone know what that is and whether I can do something about it? > >>>> > >>>> Daniel > >>> > >>> You use '-DLYX_NLS=ON', this is the default. > >>> > >>> *.po: Text files containing ui-translations (e.g. 'de.po' for German) > >>> *.gmo: the associated compiled files interpreted later by lyx. > >> > >> Thanks. Not sure I understood though. > >> > >> I disabled "LYX_NLS" in CMake (could not find any flags containing > >> "DLYX"). But when compiling the .gmo files are still generated. So the > >> flag seems to have no effect on this. > > > > This is because you use the cmake-GUI. > > From the command line your cmake call should contain '-DLYX_NLS=OFF'. > > > > The gmo-files are created (respectively copied from source if you don't > > have gettext executables) > > in the subdirectory po. But with NLS disabled, this directory will newer be > > entered. See CMakeLists.txt:713 > > > > But stop ... I see, that if you set LYX_INSTALL, then LYX_NLS will be set > > too. (CMakeLists.txt:190) > > You can't install with outdated .gmo files. > > Each time one of the gettext sources changes, the .gmo *may* be outdated. > > Thanks. Let me see whether I understood correctly: > > 1. "-DLYX_NLS=ON" is equivalent to disabling "LYX_NLS". > 2. I can't really disable "LYX_NLS" as long as I have LYX_INSTALL checked. > > Okay, so what happens if I disable "LYX_INSTALL" then? Why don't you try? > Daniel Kornel
signature.asc
Description: This is a digitally signed message part.