metainfo and cmake
Kornel Benko
kornel at lyx.org
Sun Oct 8 10:56:46 UTC 2023
Am Fri, 6 Oct 2023 14:30:24 +0200
schrieb Pavel Sanda <sanda at lyx.org>:
> On Fri, Oct 06, 2023 at 01:02:47PM +0200, Kornel Benko wrote:
> > > > I am using lyx2.3 and lyx2.4 in parallel installed. The problem will arise on
> > > > installing lyx2.5 later.
> > > >
> > > > Installing without using the suffix should be no problem for you (e.g. no change)
> > > > My proposal would rename it to "LyX.metainfo.xml".
> > > >
> > >
> > > This conflict is, I believe, also present in autoconf builds. The
> > > default there is to build without suffix. If I move to cmake for
> > > openSUSE packages, it's very likely I will continue to build without suffix.
> > >
> > > Cor
> > >
> >
> > Sure, good for you. But not for my use case.
>
> It's not exactly great idea to ship differently named metainfo files
> when using autoconf vs cmake.
> Did you have at least investigated the implications of stripping org.lyx.
> prefix in the default case?
>
> Pavel
I was not planing to strip that part. The propose was an example.
Plan is:
If lyx with cmake is configured with
-DLYX_PROGRAM_SUFFIX:BOOL=ON
the built executables have all a suffix. Only in this case should the rename happen.
org.lyx.LyX.metainfo.xml -> org.lyx.LyX2.4.metainfo.xml
In all other cmake-settings no rename is planed.
Kornel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20231008/efa8f863/attachment.asc>
More information about the lyx-devel
mailing list