Le 14/12/2011 18:32, Cor Blom a écrit :
The intention of "--with-version-suffix=xxx" is to be able to have two
lyx installations on the same system. That means own directory
(lyx[suffix]) and own binary (lyx[suffix] and lyxclient[suffix] and
tex2lyx[suffix]). For the desktop file and icons a similar solution is
necessary, because otherwise it is overwriting a previous lyx
installation. This mean that "Name", "Exec" and "Icon" should be changed
according to the version-suffix (don't know about "StartupWMClass", but
probably the same). Also the name of the desktop file and the app icons
should change accordingly: lyx[suffix].png/svg/desktop.
I did the necessary adjustments, please test. If we intend this desktop
entry to be useful for everybody, shall we add l10n to it (lifted from
debian or fedora packaging)?
I did not touch StartupWMClass since I do not know how to test this.
Also, is it necessary to update the Name entry? Of course "LyX-2.1.0svn"
or "LyX-snapshot", but I could provide a way to get rid of the leading
hyphen and have e.g. "LyX 2.1.0svn".
JMarc