Am 02.09.2013 um 17:50 schrieb Jean-Marc Lasgouttes <lasgout...@lyx.org>:

> 02/09/2013 17:38, Vincent van Ravesteijn:
>> This code apparently only works when version suffix is set to -2.0 and
>> -1.6. In some sense, this is rather arbitrary and the use might have any
>> suffix he wants. On Windows the user dir looks like: "LyX2.0".
> 
> Yes, I forgot this part :) This needs to be a bit more general...
> 
> A solution would be as I proposed to call some python script when the user 
> directory does not exist. This python script would be provided by the 
> packager (at least for now). Nothing would happen if there is no script.
> 
> That would IMO be a good short-term solution, allowing Stephan to hardcode 
> for now according to the usual mac naming conventions…

I'd like to reanimate this issue. The problem mentioned in this thread is not 
solved.

For Mac users hardcoded version suffixes are no problem. They are -1.6 resp. 
-2.0, period.

For Linux or Windows users the attached patch has no effect.

Latest findings regarding python versions and LyX's problematic path_prefix 
makes me think
it's complicated enough to call python once in a correct way. I'm not convinced 
it's worth
to make a second call of a python configure script to be provided by the 
packager. If it needs to
be done for other platforms it can easily be adjusted. If it needs to be a 
separate script
I prefer to test for it and call it directly from the general configure.py.

Stephan

Attachment: 0007-configure-migrate.diff
Description: Binary data

Reply via email to