Compiling Wine
Refer to the Official Documentation if you encounter any issues while building Wine.
Getting ElementalWarrior's Wine fork
Clone the Repository:
Change to your desired directory and clone ElementalWarrior's fork:
git clone https://gitlab.winehq.org/ElementalWarrior/wine.git ElementalWarrior-wine
Navigate into the Cloned Directory:
cd ElementalWarrior-wine
At this point, you'll have the
master
branch of Wine 8.3 with ElementalWarrior's fixes and implementations.Switch to Wine 9.13 with Fixes:
git switch affinity-photo3-wine9.13-part3
I'll try to keep this up to date, but watch the forum.
Building Wine
We will now build Wine using the new experimental WoW64 implemented in 8.0 and improved since. If you encounter issues with this build method, you can find the previous guide using the "Shared WoW64" method explained on a previous version of this guide and on the winehq build page under the same name.
We will also specify an "install" path with --prefix=[PATH]
so it doesn't install system-wide, as it would interfere with the Wine files distributed by your package manager.
Create Two Directories:
mkdir winewow64-build/ wine-install/
Configure and Compile Wine:
cd winewow64-build/
../configure --prefix="$HOME/Documents/ElementalWarrior-wine/wine-install" --enable-archs=i386,x86_64
Compile Wine Using
make
:You can now compile it using
make
. We will also add--jobs
to utilize more CPU cores:make --jobs 4
man make
tells us: "-j [jobs], --jobs[=jobs] Specifies the number of jobs (commands) to run simultaneously." You may set it to around (+/- 1) the number of threads your CPU has.Install Wine to the
wine-install
Folder:make install --jobs 4