On Sat, Feb 15, 2025 at 5:40 PM Damjan Jovanovic <dam...@apache.org> wrote:
> --------------------- > Instructions > --------------------- > To create the build environment: > 1. Install the very latest version of Wine. You'll need to compile the > latest Git from source, or wait for development version 10.2 to be released > on Friday 21 February 2025 (and possibly a few more days for Linux > distributions to package it). I've only used the 32 bit Wine. > 2. Export a WINEPREFIX variable set to some directory where the > environment will live: > export WINEPREFIX=/home/user/.wine-aoo-build > Make sure you do this in any new terminal/tab you open, where you plan to > run Wine on that environment. > 3. Create that WINEPREFIX by running any Wine tool, eg. "winecfg". When it > asks to install Mono, click "No", Mono isn't good enough to replace .NET 2 > for the Windows SDK. Configure any options in the winecfg window, then > click "OK" to close it. > 4. Get winetricks (Linux distribution packages usually have it), and > install .NET 2 with: > winetricks dotnet20 > It's needed for the Windows SDK. > 5. Install the Windows SDK. Loop mount the ISO file onto a directory, and > in that directory run: > wine setup.exe > 6. Install Cygwin. On https://cygwin.org/install.html scroll down, and > use the 32 bit Cygwin link, and these kind of options: > wine setup-x86.exe --no-verify --allow-unsupported-windows > and use one of the 32 bit URL links on that page. The setup screen looks > distorted on Wine, with widgets overlapping and sizes wrong, and is just > barely functional enough to select and install required packages. > Importantly, you need to use Cygwin 2.5.2's URL here, the one that's for "Windows XP SP3 / Windows Server 2003 / (NT 5.1)". More recent versions of Cygwin are too buggy on Wine.