metainfo and cmake

Cor Blom cornelisbb at gmail.com
Fri Oct 6 10:30:53 UTC 2023


Op 06-10-2023 om 12:14 schreef Kornel Benko:
> Am Fri, 06 Oct 2023 10:53:25 +0100
> schrieb José Matos <jaomatos at gmail.com>:
> 
>> On Fri, 2023-10-06 at 11:09 +0200, Kornel Benko wrote:
>>> Should we rename this file on install to be able to install multiple
>>> lyx-versions?
>>> Like "org.lyx.LyX.metainfo.xml" -> "LyX2.4.metainfo.xml"
>>> if using versioned suffixes?
>>>
>>> 	Kornel
>>
>> Using my blue hat here (Fedora). :-)
>>
>> Although I am not using cmake (yet!) I prefer to have the simple
>> version. When I need to take care of another version I prefer to do it
>> myself.
>>
>> Looking into the system directory (/usr/share/metainfo/) I do not see
>> any versioned file.
>>
>> My two ¢.
> 
> 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



More information about the lyx-devel mailing list