This is my long announced patch to remove the need to create
lyxrc.defaults and friends in the main support directory (and build
directory). I really would like to see some good testing of this one,
including on windows and osx. This one is for 1.5, I can provide a
1.4 version if needed.
This pat
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
> This is my long announced patch to remove the need to create
> lyxrc.defaults and friends in the main support directory (and build
> directory). I really would like to see some good testing of this one,
> including on windows and osx. This one is f
On Apr 26, 2006, at 10:22 AM, Jean-Marc Lasgouttes wrote:
This is my long announced patch to remove the need to create
lyxrc.defaults and friends in the main support directory (and build
directory). I really would like to see some good testing of this one,
including on windows and osx. This one
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
Angus> I'll also note that at the moment the installer modifies
Angus> configure to output a \path_prefix entry to lyxrc.defaults. As
Angus> and when the LyX 1.4 series moves to configure.py, this step
Angus> should either be changed to mo
> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
Jean-Marc> This is my long announced patch to remove the need to
Jean-Marc> create lyxrc.defaults and friends in the main support
Jean-Marc> directory (and build directory). I really would like to see
Jean-Marc> some good testin
> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes:
Bennett> On Apr 26, 2006, at 10:22 AM, Jean-Marc Lasgouttes wrote:
>> This is my long announced patch to remove the need to create
>> lyxrc.defaults and friends in the main support directory (and build
>> directory). I really would like
Jean-Marc Lasgouttes wrote:
> Comments and testing highly welcome.
Works perfectly here. Note that the spec file should be changed, too.
Georg
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
Angus> Thinking about it, LyX will still need to know where sh.exe and
Angus> python.exe are. That suggests that you're going to end up with
Angus> a chicken-and-egg type problem: You'll need to run configure.py
Angus> to generate lyxrc.defaults to r
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes:
Georg> Jean-Marc Lasgouttes wrote:
>> Comments and testing highly welcome.
Georg> Works perfectly here. Note that the spec file should be
Georg> changed, too.
That is what I meant with 'rpm installer' :)
JMarc
Jean-Marc Lasgouttes a écrit :
This is my long announced patch to remove the need to create
lyxrc.defaults and friends in the main support directory (and build
directory). I really would like to see some good testing of this one,
including on windows and osx. This one is for 1.5, I can provide a
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes:
Abdelrazak> Jean-Marc Lasgouttes a écrit :
>> This is my long announced patch to remove the need to create
>> lyxrc.defaults and friends in the main support directory (and build
>> directory). I really would like to see some good
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
Angus> Call it lyxrc.defaults and I'd agree with you I think ;-)
I'd like to separate lyxrc.dist and lyxrc.defaults because they are
not created by the same mechanism.
JMarc
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
> Angus> Call it lyxrc.defaults and I'd agree with you I think
> I'd like to separate lyxrc.dist and lyxrc.defaults because they are
> not created by the same mechanism.
I've changed my mind: I don't care what it's called actually ;-)
A.
Jean-Marc Lasgouttes a écrit :
"Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes:
Abdelrazak> Jean-Marc Lasgouttes a écrit :
This is my long announced patch to remove the need to create
lyxrc.defaults and friends in the main support directory (and build
directory). I really would li
Jean-Marc Lasgouttes a écrit :
"Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes:
[...]
Abdelrazak> The patch does not apply cleanly against latest revision
Abdelrazak> (configure.py and Makefile.am have changed). Could you
Abdelrazak> regenerate against trunk please?
I regenerate
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes:
>> I regenerated it, but it looks the same to me... Are you sure you
>> are up to date?
Abdelrazak> Yes, svn says:
What is your version of lib/configure.py?
JMarc
Jean-Marc Lasgouttes a écrit :
"Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes:
I regenerated it, but it looks the same to me... Are you sure you
are up to date?
Abdelrazak> Yes, svn says:
What is your version of lib/configure.py?
JMarc
svn property tab says 13757 (which is
Abdelrazak Younes wrote:
> svn property tab says 13757 (which is the last revision) and last
> modified at 13744.
That is correct.
> I erased the two files and svn updated again but the
> problem persist.
Does TourtoiseSVN not allow to apply the patch anyway? The commandline
client creates .re
Georg Baum a écrit :
Abdelrazak Younes wrote:
svn property tab says 13757 (which is the last revision) and last
modified at 13744.
That is correct.
I erased the two files and svn updated again but the
problem persist.
Does TourtoiseSVN not allow to apply the patch anyway?
No, it allows
Georg Baum a écrit :
Abdelrazak Younes wrote:
Please find attached my lib/configure.py and lib/Makefile.am so that you
can compare to your local version.
They are identical to mine, and the patch applies cleanly here. It looks
like a bug of TourtoiseSVN then.
I send you the patched files.
O
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes:
Abdelrazak> OK thanks. There's a new version of TortoiseSVN so I'll
Abdelrazak> try to upgrade and see to it.
Could it be an eol style problem?
JMarc
Jean-Marc Lasgouttes a écrit :
"Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes:
Abdelrazak> OK thanks. There's a new version of TortoiseSVN so I'll
Abdelrazak> try to upgrade and see to it.
Could it be an eol style problem?
Nope. I just upgraded TortoiseSVN and I could apply you
On Apr 26, 2006, at 11:13 AM, Jean-Marc Lasgouttes wrote:
Bennett> What testing in particular should I do?
See whether it still works and begin to look at what parts of your
installer
could be removed due to that (no reconfigure when starting up).
Something that is important with this patch
> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes:
Bennett> And no, I didn't see that patch -- what thread?
It is applied now anyway :) Please test that, with the proper language
setting, you can get non-english localization of the menus.
JMarc
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes:
Georg> Jean-Marc Lasgouttes wrote:
>> Comments and testing highly welcome.
Georg> Works perfectly here. Note that the spec file should be
Georg> changed, too.
So shall I apply it to branch and trunk, so that people can adapt
their installer
Jean-Marc Lasgouttes wrote:
> So shall I apply it to branch and trunk, so that people can adapt
> their installers and see what else is needed?
I'd say yes.
Georg
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes:
Georg> Jean-Marc Lasgouttes wrote:
>> So shall I apply it to branch and trunk, so that people can adapt
>> their installers and see what else is needed?
Georg> I'd say yes.
I did that. Packagers, please begin to update your installers to th
On Thu, Apr 27, 2006 at 12:59:53PM +0200, Abdelrazak Younes wrote:
> Jean-Marc Lasgouttes a écrit :
> >>"Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes:
> >
> [...]
> >Abdelrazak> The patch does not apply cleanly against latest revision
> >Abdelrazak> (configure.py and Makefile.am
Andre Poenitz a écrit :
On Thu, Apr 27, 2006 at 12:59:53PM +0200, Abdelrazak Younes wrote:
Jean-Marc Lasgouttes a écrit :
"Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes:
[...]
Abdelrazak> The patch does not apply cleanly against latest revision
Abdelrazak> (configure.py and Make
On Thu, Apr 27, 2006 at 09:03:42PM +0200, Abdelrazak Younes wrote:
> >>> I regenerated it, but it looks the same to me... Are you sure you are
> >>> up to date?
> >> I am up to date and I still cannot apply the patch (same error). I guess
> >> this an eol issue.
> >
> >Just out of curiosity: Is th
Andre Poenitz a écrit :
On Thu, Apr 27, 2006 at 09:03:42PM +0200, Abdelrazak Younes wrote:
I regenerated it, but it looks the same to me... Are you sure you are
up to date?
I am up to date and I still cannot apply the patch (same error). I guess
this an eol issue.
Just out of curiosity: Is thi
Jean-Marc Lasgouttes wrote:
This is my long announced patch to remove the need to create
lyxrc.defaults and friends in the main support directory (and build
directory). I really would like to see some good testing of this one,
including on windows and osx. This one is for 1.5, I can provide a
1.4
> "Joost" == Joost Verburg <[EMAIL PROTECTED]> writes:
Joost> The idea is to have no lyxrc.defaults, textclass.lst and
Joost> packages.lst in the LyX directory but only in the users
Joost> directory?
Yes.
Joost> It doesn't seem to work on Windows. When I start LyX for the
Joost> first time,
Jean-Marc Lasgouttes wrote:
"Joost" == Joost Verburg <[EMAIL PROTECTED]> writes:
Joost> The idea is to have no lyxrc.defaults, textclass.lst and
Joost> packages.lst in the LyX directory but only in the users
Joost> directory?
Yes.
Joost> It doesn't seem to work on Windows. When I start LyX fo
On Apr 26, 2006, at 11:13 AM, Jean-Marc Lasgouttes wrote:
"Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes:
Bennett> On Apr 26, 2006, at 10:22 AM, Jean-Marc Lasgouttes wrote:
This is my long announced patch to remove the need to create
lyxrc.defaults and friends in the main support direc
> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes:
Bennett> It seems to work fine, though accents do not show up
Bennett> properly. (That's been a long-standing bug.)
In the menus, right? Can you show me how locales look like on your
system? Here I have
fantomas: locale -a |grep fr_FR
f
On May 2, 2006, at 9:38 AM, Jean-Marc Lasgouttes wrote:
"Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes:
Bennett> It seems to work fine, though accents do not show up
Bennett> properly. (That's been a long-standing bug.)
In the menus, right?
Menus and dialogs. (In Preferences dialog, I
> "Joost" == Joost Verburg <[EMAIL PROTECTED]> writes:
Joost> The idea is to have no lyxrc.defaults, textclass.lst and
Joost> packages.lst in the LyX directory but only in the users
Joost> directory?
Joost> It doesn't seem to work on Windows. When I start LyX for the
Joost> first time, I woul
On Tue, May 02, 2006 at 09:23:20AM -0400, Bennett Helm wrote:
> On Apr 26, 2006, at 11:13 AM, Jean-Marc Lasgouttes wrote:
> >BTW, did you see the small patch about locale detection? Could you try
> >it out?
>
> It seems to work fine, though accents do not show up properly.
> (That's been a long
On May 2, 2006, at 1:04 PM, Enrico Forestieri wrote:
On Tue, May 02, 2006 at 09:23:20AM -0400, Bennett Helm wrote:
On Apr 26, 2006, at 11:13 AM, Jean-Marc Lasgouttes wrote:
BTW, did you see the small patch about locale detection? Could
you try
it out?
It seems to work fine, though accent
Jean-Marc Lasgouttes wrote:
Could you try one of the following patches? They make sure that
reconfiguration is done if lyxrc.defaults is not found.
JMarc
It still doesn't work on Windows. Again, when no configuration files
exist, I get the error "unable to find textclass file". It looks like
> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes:
Bennett> I have the same. (I've been accessing other languages by
Bennett> doing "export LANG=FR_fr" and running LyX from the same
Bennett> terminal session.
What happens if you do
export LANG=FR_fr.ISO-8859-1
?
JMarc
> "Joost" == Joost Verburg <[EMAIL PROTECTED]> writes:
Joost> Jean-Marc Lasgouttes wrote:
>> Could you try one of the following patches? They make sure that
>> reconfiguration is done if lyxrc.defaults is not found. JMarc
Joost> It still doesn't work on Windows. Again, when no configuration
J
Jean-Marc Lasgouttes wrote:
Try these updated patches. This is really embarassing, Georg pointed out the
bug a long time ago, but for some reason I did not look at it at the
time.
Still no difference, same error. Note that it does reconfigure when I
put some old textclass.lst in Resources\lyx
> "Joost" == Joost Verburg <[EMAIL PROTECTED]> writes:
Joost> Jean-Marc Lasgouttes wrote:
>> Try these updated patches. This is really embarassing, Georg
>> pointed out the bug a long time ago, but for some reason I did not
>> look at it at the time.
Joost> Still no difference, same error. No
Jean-Marc Lasgouttes wrote:
Weird. Could you send the result of "lyx -dbg init,tclass"?
Initializing LyX::init...
About to read lyxrc.dist... Found in c:/Program
Files/LyX14/Resources/lyxrc.dist
About to read lyxrc.defaults... Not found.
About to read preferences... Not found.
About to read e
On May 3, 2006, at 2:10 AM, Jean-Marc Lasgouttes wrote:
"Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes:
Bennett> I have the same. (I've been accessing other languages by
Bennett> doing "export LANG=FR_fr" and running LyX from the same
Bennett> terminal session.
What happens if you do
e
> "Joost" == Joost Verburg <[EMAIL PROTECTED]> writes:
Joost> Jean-Marc Lasgouttes wrote:
>> Try these updated patches. This is really embarassing, Georg
>> pointed out the bug a long time ago, but for some reason I did not
>> look at it at the time.
Joost> Still no difference, same error. No
Jean-Marc Lasgouttes wrote:
Joost> Still no difference, same error. Note that it does reconfigure
Joost> when I put some old textclass.lst in Resources\lyx. So it
Joost> probably looks for textclass.lst before it gets to this code in
Joost> lyx_main.C.
Is it that you have lyxrc.defaults, but not
> "Joost" == Joost Verburg <[EMAIL PROTECTED]> writes:
>> Is it that you have lyxrc.defaults, but not textclass.lst in your
>> user directory. In this case, the following should help.
Joost> No, see the debug output I mailed earlier today.
This one misses the ... part. Could you add it?
Jo
Jean-Marc Lasgouttes wrote:
Joost> No, see the debug output I mailed earlier today.
This one misses the ... part. Could you add it?
That part is totally normal, see below.
Joost> I have no configuration files (except lyxrc.dist) at all in
Joost> both the LyX Resources directory and the user
> "Joost" == Joost Verburg <[EMAIL PROTECTED]> writes:
>> And the users directory exists?
Joost> That makes no difference, it doesn't work in both cases. LyX
Joost> automatically creates the users directory for me.
Joost> I expect it to run configure, but it won't do so unless I put
Joost> s
Jean-Marc Lasgouttes wrote:
Is python available when you run LyX? It should be in the path at the
first run, I guess. If you added it to extra_path in lyxrc.dist, then
the fix would be to load lyxrc.dist before trying to reconfigure.
Does this make sense?
Python is available and has been add
> "Joost" == Joost Verburg <[EMAIL PROTECTED]> writes:
Joost> Python is available and has been added to path_prefix in
Joost> lyxrc.dist. What is the difference between path_prefix and
Joost> extra_path?
I meant path_prefix. The problem was that reconfiguration was done
before readong lyxrc.d
Jean-Marc Lasgouttes wrote:
I meant path_prefix. The problem was that reconfiguration was done
before readong lyxrc.dist.
Try the following (I did not test it).
There are still two major issues:
* The rest of the code doesn't wait for configure.py to complete. Since
this takes a few seconds,
> "Joost" == Joost Verburg <[EMAIL PROTECTED]> writes:
Joost> There are still two major issues:
Joost> * The rest of the code doesn't wait for configure.py to
Joost> complete. Since this takes a few seconds, it attempts to read
Joost> textclass.lst and friends before they are even generated.
Jean-Marc Lasgouttes wrote:
Wow! You always manage to both find new bugs...
I assume the problem is that system() does not wait for completion on
windows, right?
Yes, indeed.
So how do we execute a program and wait for termination?
Look how it is done in the Reconfigure function in lyx_cb.
> "Joost" == Joost Verburg <[EMAIL PROTECTED]> writes:
>> So how do we execute a program and wait for termination?
Joost> Look how it is done in the Reconfigure function in lyx_cb.C.
That is what I did at first, and I came up with the attached.
However, then I read systemcall.C, and saw tha
Jean-Marc Lasgouttes wrote:
Joost> Look how it is done in the Reconfigure function in lyx_cb.C.
That is what I did at first, and I came up with the attached.
Great, finally it works fine! Please put it in.
Joost
> "Joost" == Joost Verburg <[EMAIL PROTECTED]> writes:
Joost> Jean-Marc Lasgouttes wrote: Look how it is done in the
Joost> Reconfigure function in lyx_cb.C.
>> That is what I did at first, and I came up with the attached.
Joost> Great, finally it works fine! Please put it in.
I did so.
JMa
60 matches
Mail list logo