Re: Patch: automatic reconfiguration

2002-10-21 Thread Jean-Marc Lasgouttes
> "Dekel" == Dekel Tsur <[EMAIL PROTECTED]> writes: I see you applied the patch. This was probably a good decision :) Dekel> Therefore, we do an automatic update only if the file Dekel> ~/.lyx/lyxrc.defaults exists, and this file is older than Dekel> LYXLIBDIR/configure. That is indeed fine.

Re: Patch: automatic reconfiguration

2002-10-16 Thread Dekel Tsur
On Tue, Oct 15, 2002 at 12:20:57PM +0200, Jean-Marc Lasgouttes wrote: > Dekel> The attached patch fixes this. > > Could you describe what the new logic is? I have problems to make > sense of it by looking at the patch (I know I should apply it, sorry) If the user don't have the file ~/.lyx/lyxr

Re: Patch: automatic reconfiguration

2002-10-15 Thread Jean-Marc Lasgouttes
> "Dekel" == Dekel Tsur <[EMAIL PROTECTED]> writes: Dekel> There is a bug in the automatic reconfiguration code: If the Dekel> user don't have ~/.lyx/lyxrc.default file, then the configure Dekel> script is invoked. This is wrong: if the user environment is Dekel> equal to the system environme

Re: Patch: automatic reconfiguration

2002-10-11 Thread Dekel Tsur
On Wed, Oct 09, 2002 at 04:12:21PM +0200, Dekel Tsur wrote: > There is a bug in the automatic reconfiguration code: > If the user don't have ~/.lyx/lyxrc.default file, then the configure > script is invoked. > This is wrong: if the user environment is equal to the system environment, > then runnin

Patch: automatic reconfiguration

2002-10-09 Thread Dekel Tsur
There is a bug in the automatic reconfiguration code: If the user don't have ~/.lyx/lyxrc.default file, then the configure script is invoked. This is wrong: if the user environment is equal to the system environment, then running the configure script does not create a ~/.lyx/lyxrc.default file. In

Re: [PATCH] automatic reconfiguration

2002-10-07 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> I thought we agreed to apply it? OK, I applied it. Note that more cleanup is possible/needed. JMarc

Re: [PATCH] automatic reconfiguration

2002-09-24 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: >> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: > | Jean-Marc> The appended patch automatically runs lyxdir/configure if | Jean-Marc> the user's .lyx/lyxrc.defaults file does not exist or is | Jean-Marc> older than the config

Re: [PATCH] automatic reconfiguration

2002-09-23 Thread Jean-Marc Lasgouttes
> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: Jean-Marc> The appended patch automatically runs lyxdir/configure if Jean-Marc> the user's .lyx/lyxrc.defaults file does not exist or is Jean-Marc> older than the configure script. The effect is that the Jean-Marc> users' setup

Re: [PATCH] automatic reconfiguration

2002-09-18 Thread Jean-Marc Lasgouttes
> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: Jean-Marc> The appended patch automatically runs lyxdir/configure if Jean-Marc> the user's .lyx/lyxrc.defaults file does not exist or is Jean-Marc> older than the configure script. The effect is that the Jean-Marc> users' setup

Re: [PATCH] automatic reconfiguration

2002-09-17 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> I didn't really look at the patch... Tell me what you think, then. Note that there is explicit use of ::system here, which is probably frown upon. It is not my fault, I promise :) JMarc

Re: [PATCH] automatic reconfiguration

2002-09-17 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: >> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: > | Lars> | - this does not catch _all_ the cases where reconfiguring is | Lars> needed. | However, it catches 90% of the cases, I think > | Lars> this is what worries me most. > | At

Re: [PATCH] automatic reconfiguration

2002-09-17 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> | - this does not catch _all_ the cases where reconfiguring is Lars> needed. | However, it catches 90% of the cases, I think Lars> this is what worries me most. At worst, it does nothing and behaves as it used to (i.e. every

Re: [PATCH] automatic reconfiguration

2002-09-17 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | - it may be that this scheme does not work well in some setups (cases | where people have setup their system in a way I have not thought of) This and ... | - this does not catch _all_ the cases where reconfiguring is needed. | However, it c

[PATCH] automatic reconfiguration

2002-09-17 Thread Jean-Marc Lasgouttes
The appended patch automatically runs lyxdir/configure if the user's .lyx/lyxrc.defaults file does not exist or is older than the configure script. The effect is that the users' setup is kept up to date when lyx is upgraded Pros: - people have asked for some scheme for a long time. We have a lo