metainfo wrong target dir?

Yu Jin technikmagma at gmail.com
Fri May 24 16:09:47 UTC 2024


Am Fr., 24. Mai 2024 um 09:00 Uhr schrieb Kornel Benko:

> Am Thu, 23 May 2024 22:14:37 -0400
> schrieb Richard Kimberly Heck:
>
> > On 5/23/24 16:22, Yu Jin wrote:
> > > Am Do., 23. Mai 2024 um 22:06 Uhr schrieb Yu Jin:
> > >
> > >     Am Do., 23. Mai 2024 um 10:05 Uhr schrieb Kornel Benko:
> > >
> > >         Am Wed, 22 May 2024 19:09:05 +0200
> > >         schrieb Yu Jin:
> > >         > It would be no problem for me, but I think that this still
> > >         should be
> > >         > addressed and solved.
> > >         > Kornel, did you find anything useful in the output?
> > >
> > >         No relevant differences. This implies (for me) that the
> > >         created CMakeCache.txt files
> > >         don't differ.
> > >
> > >     Just checked to be sure, the CMakeCache.txt files are identical.
> > >
> > >         So I have no idea, why the created project files could be
> > >         different.
> > >
> > >
> > > I found the issue. SYSTEM_DATADIR is set
> > > (
> https://git.lyx.org/gitweb/?p=lyx.git;a=blob;f=CMakeLists.txt;h=228ef34a2e431e8b9be724eab05fdb09c13c5937;hb=HEAD#l537)
>
> > > before CMAKE_INSTALL_PREFIX is set
> > > (
> https://git.lyx.org/gitweb/?p=lyx.git;a=blob;f=CMakeLists.txt;h=228ef34a2e431e8b9be724eab05fdb09c13c5937;hb=HEAD#l573).
>
> > > Then metainfo file is installed into the wrong SYSTEM_DATADIR here
> > >
> https://git.lyx.org/gitweb/?p=lyx.git;a=blob;f=development/cmake/Install.cmake;h=a901942b4adb88e92cd9663f091c826db37a60fa;hb=HEAD#l191
> >
> > Good work! Do you have a patch?
> >
> > Riki
> >
>
> Eugene, could you try this?


Works and 2.4.x compiles successfully now.
-- 
  Eugene
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20240524/16374d35/attachment-0001.html>


More information about the lyx-devel mailing list