User:Ploum

Obtain dbghelp.dll and gdiplus.dll from a Windows installation
There are multiple websites offering you to download those DLLs. Unfortunately, I don't know if it is allowed to redistribute those DLLs. Thus, I'm not putting a direct link here on this wiki.

First, we add the OpenSuse repository with all the Windows libraries.
Opensuse:

=
We install all the Windows libraries. This is completely crazy but it ensures that the build will not break because something is missing. Help to narrow down the number of packages to install is welcome.=====

Opensuse:

We need Java.
Opensuse:

We need to install the build dependancies
Opensuse:

Ubuntu/Debian:

Open the autogen.lastrun file (or create it at the root of the repository) and replace its content by:
(on Fedora, replace i686-w64-mingw32 by i686-pc-mingw32)

On Fedora, I remove libwpd, libwps and libwpg which are not useful anyway (wordperfect filters)

Generate config files
./autogen.sh

Copy the dll files
cp dbghelp.dll external/dbghelp chmod +x external/dbghelp/dbghelp.dll cp gdiplus.dll external/gdiplus.dll chmod +x external/gdiplus/gdiplus.dll

Build it!
make

Take a nap. When you wake up, you should have a Windows build on your Linux computer.

Building the installer
This is still work in progress. Lanedo is working on it.