Re: r37243 - in lyx-devel/trunk/src: . frontends/qt4

2011-01-18 Thread Joost Verburg
On 1/18/2011 3:11 PM, Vincent van Ravesteijn wrote: Do you think this can be handled easily by CMake ? Does it already generate lyxrc.dist for the installer ? The Windows installer generates lyxrc.dist because it needs to contain absolute paths which depend on the installation directory. With

Re: r37243 - in lyx-devel/trunk/src: . frontends/qt4

2011-01-18 Thread Enrico Forestieri
On Tue, Jan 18, 2011 at 03:02:53PM +0100, Vincent van Ravesteijn wrote: > But I need to specify where to find the python executable. I can do > that in the LyX preferences, but that got broken now. Add the python executable to the system PATH env var and be done with it. Right click on Start->Comp

Re: r37243 - in lyx-devel/trunk/src: . frontends/qt4

2011-01-18 Thread Jean-Marc Lasgouttes
Le 18 janv. 2011 à 15:33, Richard Heck a écrit : >> I don't know where lyxrc.dist does come from, but in principle we could >> write any file with cmake. >> > There's a lyxrc.dist file under development/MacOSX/ and also under > development/cygwin/. I assume that make does something with them. Mo

Re: r37243 - in lyx-devel/trunk/src: . frontends/qt4

2011-01-18 Thread Stephan Witt
Am 18.01.2011 um 15:33 schrieb Richard Heck: > On 01/18/2011 09:30 AM, Peter Kümmel wrote: >> On 18.01.2011 15:11, Vincent van Ravesteijn wrote: Note that this is only an issue because your preferences file was out of date, in the sense that it doesn't have a "Format 1" tag at the beginn

Re: r37243 - in lyx-devel/trunk/src: . frontends/qt4

2011-01-18 Thread Richard Heck
On 01/18/2011 09:30 AM, Peter Kümmel wrote: On 18.01.2011 15:11, Vincent van Ravesteijn wrote: Note that this is only an issue because your preferences file was out of date, in the sense that it doesn't have a "Format 1" tag at the beginning. But, as far as this issue is concerned, you can als

Re: r37243 - in lyx-devel/trunk/src: . frontends/qt4

2011-01-18 Thread Peter Kümmel
On 18.01.2011 15:11, Vincent van Ravesteijn wrote: Note that this is only an issue because your preferences file was out of date, in the sense that it doesn't have a "Format 1" tag at the beginning. But, as far as this issue is concerned, you can also simply put the \path_prefix line into a lyxrc

Re: r37243 - in lyx-devel/trunk/src: . frontends/qt4

2011-01-18 Thread Vincent van Ravesteijn
> Note that this is only an issue because your preferences file was out of > date, in the sense that it doesn't have a "Format 1" tag at the beginning. > But, as far as this issue is concerned, you can also simply put the > \path_prefix line into a lyxrc.dist file. You don't have to have copy the >

Re: r37243 - in lyx-devel/trunk/src: . frontends/qt4

2011-01-18 Thread Richard Heck
On 01/17/2011 05:49 PM, Vincent van Ravesteijn wrote: Does the user have to set this himself, or is it set by the installer, or? As I said in a previous message, JMarc and Stephan seemed to suggest that it ought to be set in lyxrc.dist or lyxrc.defaults, which we do not try to convert. Yes,

Re: r37243 - in lyx-devel/trunk/src: . frontends/qt4

2011-01-18 Thread Vincent van Ravesteijn
> If I build and debug LyX with cmake on Mac it's the first I have to do... > ...copy the resources from source to build stage. It doesn't work > out of the box. I know that feeling. Well, can you explain me then what I should do ? There is no such file like lyxrc.dist in the source directory. So

Re: r37243 - in lyx-devel/trunk/src: . frontends/qt4

2011-01-17 Thread Stephan Witt
Am 17.01.2011 um 23:49 schrieb Vincent van Ravesteijn: >> Does the user have to set this himself, or is it set by the installer, >> or? As I said in a previous message, JMarc and Stephan seemed to suggest >> that it ought to be set in lyxrc.dist or lyxrc.defaults, which we do not try >> to con

Re: r37243 - in lyx-devel/trunk/src: . frontends/qt4

2011-01-17 Thread Vincent van Ravesteijn
> Does the user have to set this himself, or is it set by the installer, > or? As I said in a previous message, JMarc and Stephan seemed to suggest > that it ought to be set in lyxrc.dist or lyxrc.defaults, which we do not try > to convert. > Yes, it should be in lyxrc.dist if you use the inst

Re: r37243 - in lyx-devel/trunk/src: . frontends/qt4

2011-01-17 Thread Richard Heck
On 01/17/2011 04:53 PM, Vincent van Ravesteijn wrote: On Mon, Jan 17, 2011 at 10:53 PM, Richard Heck wrote: On 01/17/2011 04:45 PM, Richard Heck wrote: Can you put some debugging code into runcommand() and find out what it is we're failing to start? Or run with -dbg files, which will write t

Re: r37243 - in lyx-devel/trunk/src: . frontends/qt4

2011-01-17 Thread Vincent van Ravesteijn
On Mon, Jan 17, 2011 at 10:53 PM, Richard Heck wrote: > On 01/17/2011 04:45 PM, Richard Heck wrote: >> >> Can you put some debugging code into runcommand() and find out what it is >> we're failing to start? >> > Or run with -dbg files, which will write the command we're trying to run. > > rh > >

Re: r37243 - in lyx-devel/trunk/src: . frontends/qt4

2011-01-17 Thread Richard Heck
On 01/17/2011 04:45 PM, Richard Heck wrote: Can you put some debugging code into runcommand() and find out what it is we're failing to start? Or run with -dbg files, which will write the command we're trying to run. rh

Re: r37243 - in lyx-devel/trunk/src: . frontends/qt4

2011-01-17 Thread Richard Heck
On 01/17/2011 11:40 AM, Vincent van Ravesteijn wrote: On Mon, Jan 17, 2011 at 4:57 PM, Richard Heck wrote: On 01/17/2011 10:54 AM, rgh...@lyx.org wrote: Author: rgheck Date: Mon Jan 17 16:54:51 2011 New Revision: 37243 URL: http://www.lyx.org/trac/changeset/37243 Log: Don't try to convert any

Re: r37243 - in lyx-devel/trunk/src: . frontends/qt4

2011-01-17 Thread Vincent van Ravesteijn
Op 17-1-2011 22:41, Richard Heck schreef: On 01/17/2011 02:21 PM, Pavel Sanda wrote: Vincent van Ravesteijn wrote: Now the problem is that a lot of my shortcuts are broken. huh, we are running the conversion by default without users ok? we must ask, probably with the don't ask me again dialog

Re: r37243 - in lyx-devel/trunk/src: . frontends/qt4

2011-01-17 Thread Richard Heck
On 01/17/2011 02:21 PM, Pavel Sanda wrote: Vincent van Ravesteijn wrote: Now the problem is that a lot of my shortcuts are broken. huh, we are running the conversion by default without users ok? we must ask, probably with the don't ask me again dialog. No, this is the same as with layouts. We

Re: r37243 - in lyx-devel/trunk/src: . frontends/qt4

2011-01-17 Thread Pavel Sanda
Vincent van Ravesteijn wrote: > Now the problem is that a lot of my shortcuts are broken. huh, we are running the conversion by default without users ok? we must ask, probably with the don't ask me again dialog. pavel

Re: r37243 - in lyx-devel/trunk/src: . frontends/qt4

2011-01-17 Thread Vincent van Ravesteijn
On Mon, Jan 17, 2011 at 4:57 PM, Richard Heck wrote: > On 01/17/2011 10:54 AM, rgh...@lyx.org wrote: >> >> Author: rgheck >> Date: Mon Jan 17 16:54:51 2011 >> New Revision: 37243 >> URL: http://www.lyx.org/trac/changeset/37243 >> >> Log: >> Don't try to convert any of the preference files except t

Re: r37243 - in lyx-devel/trunk/src: . frontends/qt4

2011-01-17 Thread Richard Heck
On 01/17/2011 10:54 AM, rgh...@lyx.org wrote: Author: rgheck Date: Mon Jan 17 16:54:51 2011 New Revision: 37243 URL: http://www.lyx.org/trac/changeset/37243 Log: Don't try to convert any of the preference files except the user's own. So does this solve the problem on Windows? Richard Modifi