Am Tue, 29 Oct 2019 07:57:51 -0400 schrieb Vincent Lucarelli <vincent.lucare...@gmail.com>:
> Hi Scott, > > Happy to propose a patch. > > Couple of questions: > > - Are both autotools and cmake build systems fully supported for lyx or is one > deprecated? Both are fully supported. > - Why was LYX_PREFIX_INSTALL introduced instead of using CMAKE_PREFIX_INSTALL? Because CMAKE_PREFIX_INSTALL is a cmake-variable, and we like to have lyx-variables. > - What does NLS stand for? Native Language Support. > - Is the point of LYX_INSTALL is that for development, you don’t want to > spend the time > building extra things? If so, why wasn’t LYX_INSTALL the default and have a > flag for > developers? Yes. Sometimes (while bisecting for example) it is faster to test. > These are questions that cmake users might have and having answers to these in > INSTALL.cmake will help orient them with the lyx viewpoint of how cmake is > being used. > > Best, > > Vince Kornel > > On Oct 25, 2019, at 10:27 AM, Scott Kostyshak <skost...@lyx.org> wrote: > > > > That great it works for you now, Vincent. Do you have any specific > > suggestions for how to improve the information in INSTALL.cmake? Would > > you be interested in proposing a patch that clarifies things? It would > > be great to make that file as accessible as possible. > > > > Thanks, > > > > Scott > > > > > > On Wed, Oct 23, 2019 at 10:54:11PM -0400, Vincent Lucarelli wrote: > >> Thanks! That did it. > >> > >> I didn’t understand from INSTALL.cmake what the purpose of these variables > >> were. > >> > >> Best, > >> > >> Vince > >> > >> Sent from my iPhone > >> > >>> On Oct 23, 2019, at 4:02 AM, Kornel Benko <kor...@lyx.org> wrote: > >>> > >>> Am Tue, 22 Oct 2019 11:17:28 -0400 > >>> schrieb Vincent Lucarelli <vincent.lucare...@gmail.com>: > >>> > >>>> Hi, > >>>> > >>>> I tried: > >>>> > >>>> git checkout 2.3.3 > >>>> mkdir build > >>>> cd build > >>>> cmake -GNinga -DLYX_EXTERNAL_HUNSPELL=ON > >>>> -DLYX_INSTALL_PREFIX=/tmp/install .. > >>> > >>> I propose to use also -DLYX_NLS=ON -DLYX_INSTALL=ON > >>> LYX_NLS=ON should create translations, > >>> LYX_INSTALL=ON should create everything needed for installation. > >>> > >>>> ninja-build > >>>> ninja-build install > >>>> > >>>> This fails with > >>>> CMake Error at po/cmake_install.cmake:45 (file): > >>>> file INSTALL cannot find "/tmp/lyx/build/po/ar.gmo" > >>>> > >>>> So I tried > >>>> > >>>> ninja-build translations > >>>> ninja-build install > >>>> > >>>> This seems to work and lyx2.3 runs, but /tmp/install does not contain > >>>> UserGuide or any of the other help documentation. > >>>> > >>>> What am I missing? > >>>> > >>>> Thanks - Vince > >>>> > >>> > >>> Kornel > >>>
pgpiQyDUf4eh4.pgp
Description: Digitale Signatur von OpenPGP
-- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel