Re: LyX/Cygwin

2006-02-16 Thread Andre Poenitz
On Wed, Feb 15, 2006 at 02:56:28PM +, Angus Leeming wrote: > Enrico Forestieri <[EMAIL PROTECTED]> writes: > > > Make sense? > > Perfectly. But wait, are you saying that there is no way to achieve > > that by directly patching the .ui files? > > I may be a "sed master" but I'm a "Qt hacker" ;-

Re: LyX/Cygwin -- is wiki.lyx.org server down?

2006-02-15 Thread christian . ridderstrom
On Tue, 14 Feb 2006, Enrico Forestieri wrote: > > Now you can just use the file manager (username=lyx, password=LyXers) here > > Ach... I tried all possible combinations of lyx with lower and upper > case letters but didn't think of LyXers :( It's such a secure password... ;-) > I uploaded them

Re: LyX/Cygwin

2006-02-15 Thread Angus Leeming
Enrico Forestieri <[EMAIL PROTECTED]> writes: > > Make sense? > Perfectly. But wait, are you saying that there is no way to achieve > that by directly patching the .ui files? I may be a "sed master" but I'm a "Qt hacker" ;-) Having stated the disclaimer up front, I think that we are limited in wh

Re: LyX/Cygwin

2006-02-15 Thread Enrico Forestieri
Angus Leeming <[EMAIL PROTECTED]> writes: > > Enrico Forestieri ...> writes: > > > > > Angus Leeming ...> writes: > > > > > Well, given that these are generated files, it should be easy enough to > > > fix > > > them. Fancy putting together a patch? > > > > The _moc.C files are generated fr

Re: LyX/Cygwin

2006-02-15 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: >> I thought it was not needed when modifying CPPFLAGS (or rather >> CXXCPPFLAGS, I guess)... Angus> Correct. But modifying these flags is a band aid that's needed Angus> to fix broken code. All compiled files should #include Angus> . H

Re: LyX/Cygwin

2006-02-15 Thread Angus Leeming
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: > > > "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: > > Enrico> Angus Leeming ...> writes: > >> Well, given that these are generated files, it should be easy > >> enough to fix them. Fancy putting together a patch? > > Enrico> Th

Re: LyX/Cygwin

2006-02-15 Thread Angus Leeming
Enrico Forestieri <[EMAIL PROTECTED]> writes: > > Angus Leeming ...> writes: > > > Well, given that these are generated files, it should be easy enough to fix > > them. Fancy putting together a patch? > > The _moc.C files are generated from .h files that in turn are generated > form .ui files

Re: LyX/Cygwin

2006-02-15 Thread Jean-Marc Lasgouttes
> "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: Enrico> Angus Leeming <[EMAIL PROTECTED]> writes: >> Well, given that these are generated files, it should be easy >> enough to fix them. Fancy putting together a patch? Enrico> The _moc.C files are generated from .h files that in tu

Re: LyX/Cygwin

2006-02-15 Thread Enrico Forestieri
Angus Leeming <[EMAIL PROTECTED]> writes: > Well, given that these are generated files, it should be easy enough to fix > them. Fancy putting together a patch? The _moc.C files are generated from .h files that in turn are generated form .ui files that I don't grok (is it XML?). So, you will not

Re: LyX/Cygwin

2006-02-15 Thread Angus Leeming
Enrico Forestieri <[EMAIL PROTECTED]> writes: > > > this is just to inform you that defining Q_CYGWIN_WIN in src/config.h > > > is not sufficient to avoid X11 calls. I don't know why. > > > > That sounds as if some .C file doesn't #include > Yes, that's it! All (or at least a large part) of the

Re: LyX/Cygwin

2006-02-14 Thread Enrico Forestieri
Angus Leeming <[EMAIL PROTECTED]> writes: > > Enrico Forestieri ...> writes: > > this is just to inform you that defining Q_CYGWIN_WIN in src/config.h > > is not sufficient to avoid X11 calls. I don't know why. > > That sounds as if some .C file doesn't #include > > for file in `find . -name '

Re: LyX/Cygwin

2006-02-14 Thread Angus Leeming
Enrico Forestieri <[EMAIL PROTECTED]> writes: > this is just to inform you that defining Q_CYGWIN_WIN in src/config.h > is not sufficient to avoid X11 calls. I don't know why. That sounds as if some .C file doesn't #include for file in `find . -name '*.C'` do grep '^ *# *include *' >/dev/null

Re: LyX/Cygwin

2006-02-14 Thread Enrico Forestieri
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: > > > "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: > > Enrico> Yes, I am sure. It really is Q_CYGWIN_WIN and it is used in > Enrico> qglobal.h to discriminate between X11 and WIN. > > OK, I see now that you are right. I think it

Re: LyX/Cygwin -- is wiki.lyx.org server down?

2006-02-14 Thread Enrico Forestieri
<[EMAIL PROTECTED]> writes: > You're right that incoming/ can be used for downloading. As I think the > ftp server is down (uhm... not sure how you could upload then, now that I > think about it though), I think it is up. I simply did: ftp ftp.devel.lyx.org user: anonymous pass: cd pub/i

Re: LyX/Cygwin -- is wiki.lyx.org server down?

2006-02-13 Thread christian . ridderstrom
On Tue, 14 Feb 2006, Enrico Forestieri wrote: > <[EMAIL PROTECTED]> writes: > > > You're welcome, as this was quite quick work for me I put your stuff in > > a temporary location here: > > > > http://wiki.lyx.org/Playground/LyXOnCygwin > > > > You can just edit and play with this page...

Re: LyX/Cygwin -- is wiki.lyx.org server down?

2006-02-13 Thread Enrico Forestieri
<[EMAIL PROTECTED]> writes: > You're welcome, as this was quite quick work for me I put your stuff in > a temporary location here: > > http://wiki.lyx.org/Playground/LyXOnCygwin > > You can just edit and play with this page... when you're happy we can > come up with a better location fo

Re: LyX/Cygwin -- is wiki.lyx.org server down?

2006-02-13 Thread christian . ridderstrom
On Mon, 13 Feb 2006, Enrico Forestieri wrote: > <[EMAIL PROTECTED]> writes: > > > Would you like me to place the howto on a wiki page? If so, would say that > > the intended audience is more for user's than developers? Assuming that, > > perhaps placing it on this page would be useful: > > >

Re: LyX/Cygwin -- is wiki.lyx.org server down?

2006-02-13 Thread Enrico Forestieri
<[EMAIL PROTECTED]> writes: > Would you like me to place the howto on a wiki page? If so, would say that > the intended audience is more for user's than developers? Assuming that, > perhaps placing it on this page would be useful: > > LyX.LyXOnCygwinHowTo > > I can't do it right now si

Re: LyX/Cygwin -- is wiki.lyx.org server down?

2006-02-13 Thread christian . ridderstrom
On Mon, 13 Feb 2006, Enrico Forestieri wrote: > As regards the howto, I am attaching a revised version here. In the > previous version, step 5) can be safely skipped: it was a remnant of > another howto (how to compile a mingw LyX using cygwin). Would you like me to place the howto on a wiki page

Re: LyX/Cygwin

2006-02-12 Thread Enrico Forestieri
On Sun, 12 Feb 2006 14:47:10 -0800, Stephen Harris wrote: > > Hello Enrico, > > Thanks for your Howto, it looks like you did a lot of work on it! > I forwarded a copy to Shenghua and asked him to make notes. Maybe > the Cygwin maintainers will add LyX back into the downloadable > package list onc

Re: LyX/Cygwin

2006-02-12 Thread Stephen Harris
> On Sun, 12 Feb 2006 14:26:33 -0800, "Stephen Harris" On Sat, 11 Feb 2006 18:06:15 -0800, Stephen Harris wrote: > Hello Enrico, > > I am interested in your Cygwin Howto. Someone just asked > about this on the User list, and might appreciate a copy, > Shenghua Fan. --

Re: LyX/Cygwin

2006-02-12 Thread Jean-Marc Lasgouttes
> "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: Enrico> Yes, I am sure. It really is Q_CYGWIN_WIN and it is used in Enrico> qglobal.h to discriminate between X11 and WIN. OK, I see now that you are right. I think it will be possible later to define this automatically from the con

Re: LyX/Cygwin

2006-02-12 Thread Enrico Forestieri
On Sat, 11 Feb 2006 18:06:15 -0800, Stephen Harris wrote: > Hello Enrico, > > I am interested in your Cygwin Howto. Someone just asked > about this on the User list, and might appreciate a copy. > "Shenghua Fan" [EMAIL PROTECTED] Hi Stephen, here it is. I also take this opportunity for sending i

Re: LyX/Cygwin

2006-02-12 Thread Enrico Forestieri
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: > > > "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: > > Enrico> Well... I had to manually add -DQ_CYGWIN_WIN to the defines in > Enrico> the Makefiles in src/frontends/qt2, but only because I didn't > Enrico> want to reconfigure. >

Re: LyX/Cygwin

2006-02-12 Thread Jean-Marc Lasgouttes
> "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: Enrico> Well... I had to manually add -DQ_CYGWIN_WIN to the defines in Enrico> the Makefiles in src/frontends/qt2, but only because I didn't Enrico> want to reconfigure. I think this is something that should be set in qglobal.h. Are

Re: LyX/Cygwin

2006-02-11 Thread Enrico Forestieri
Georg Baum <[EMAIL PROTECTED]> writes: > > Am Freitag, 10. Februar 2006 17:17 schrieb Enrico Forestieri: > > I am trying to compile a LyX/Cygwin with native Qt support (no X11). > > Why? Because of the linker problems of mingw? Several reasons. Cygwin offers a posix compliant environment. It alr

Re: LyX/Cygwin

2006-02-11 Thread Enrico Forestieri
Kayvan A. Sylvan <[EMAIL PROTECTED]> writes: > > On Sun, Feb 12, 2006 at 12:08:16AM +, Angus Leeming wrote: > > Enrico is trying to push the code where it isn't meant to go > > > > He's essentially using the Cygwin build environment to build a native > > Window executable (ie, --without-x) b

Re: LyX/Cygwin

2006-02-11 Thread Kayvan A. Sylvan
On Sun, Feb 12, 2006 at 12:08:16AM +, Angus Leeming wrote: > Enrico is trying to push the code where it isn't meant to go ;-) > > He's essentially using the Cygwin build environment to build a native > Window executable (ie, --without-x) because Lars' insistence that we use > the latest and gr

Re: LyX/Cygwin

2006-02-11 Thread Angus Leeming
Kayvan A. Sylvan wrote: > On Sat, Feb 11, 2006 at 06:10:45PM +, Angus Leeming wrote: >> It's quite possible that the code in os_cygwin.C is buggy; Kayvan >> compiles this frontend I believe; he may have some experiences to >> share... > > I do compile this for both XForms and QT. I have no pr

Re: LyX/Cygwin

2006-02-11 Thread Kayvan A. Sylvan
On Sat, Feb 11, 2006 at 06:10:45PM +, Angus Leeming wrote: > It's quite possible that the code in os_cygwin.C is buggy; Kayvan compiles > this frontend I believe; he may have some experiences to share... I do compile this for both XForms and QT. I have no problems with the source as is. What,

Re: LyX/Cygwin

2006-02-11 Thread Georg Baum
Am Freitag, 10. Februar 2006 17:17 schrieb Enrico Forestieri: > I am trying to compile a LyX/Cygwin with native Qt support (no X11). Why? Because of the linker problems of mingw? > I tried using a native file dialog by the following patch: > > --- src/frontends/qt2/FileDialog.C.orig 2005-01-19 1

Re: LyX/Cygwin

2006-02-11 Thread Angus Leeming
Enrico Forestieri wrote: > I am trying to compile a LyX/Cygwin with native Qt support (no X11). [snip...] > With this patch I am able to see files and directories, but when choosing > a file I am presented with an empty document and the title bar shows > something like "LyX:.../C:\work\test.lyx"