Because I neither haven't got an answer from JMarc nor have found the win32
announcement at lyx.org I do forward my Win32 patch to this list directly.

----- Original Message -----
From: "Claus Hentschel" <[EMAIL PROTECTED]>
To: "Jean-Marc Lasgouttes" <[EMAIL PROTECTED]>
Sent: Friday, June 21, 2002 12:07 PM
Subject: Win32 patch


> Hi Jean-Marc,
>
> I hope you've read my announcement last monday in lyx-users. The Win32
release
> is out since monday although that isn't mentioned in www.lyx.org!
>
> I am pleased to tell you that Lyx now seems to be ready to compile out of
the
> box. My first try show that many things were not recognized by
> autoconf/configure. But after deinstalling some obviously very old cygwin
> packages which are replaced by packages with new names but were not removed
> automatically all went like a charme ;-)
>
> So only one source should be changed with respect to the different path
> handling in Win32 and Unix. I've attached the patch file so it could be
merged
> into 1.2.0fix1 or 1.2.1. It also includes my original lyxwin32.c source
> taken from 1.1.6fix4. (BTW: I am missing the README.Win32!?)
>
> Due to the fact, that I've decided to use ImageMagick compiled for Cygwin
> there is no change necessary in
>     src/graphics/graphicsConverter.C
> where those shell script are build to convert images. We should keep this in
> mind for future releases.
>
> Two small 'bugs' I've mentioned, that maybe known aleady:
>
> 1) If you check 'Clip to bounding box' in an image dialog (tab 'Bounding
Box')
> then the /tmp/lyx_tmpdir... directory can't be removed because there are
some
> temp files not removed although created by Lyx. Those file are named
>     <image filename><id>
> e.g. nassi.eps1260001260 if you try to include a file named nassi.eps where
> <id> is a randomized id. It's the same on Linux, too!
>
> 2) make distclean doesn't work on Win32. It tells:
>     ...
>     make[1]: Leaving directory `/src/wlyx-1.2.0'
>     Making distclean in lib
>     make[1]: Entering directory `/src/wlyx-1.2.0/lib'
>     make[1]: *** No rule to make target `../config.status', needed by
> `Makefile'.  Stop.
>     make[1]: Leaving directory `/src/wlyx-1.2.0/lib'
>     make: *** [distclean-recursive] Error 1
> Obviously config.status will be removed too early? I'll check that the next
> days.
>
> Ruurd and me now are trying to build a native Win32 release using the MINGW
> environment of Cygwin and using the qt library for Windows. So we don't have
> to care about pathes named in different ways and we don't need an X-server
> anymore. Let's see if that is possible in an acceptable time ...
>
>
> Claus

Attachment: Win32_120.diff
Description: Binary data

Reply via email to