Collection of PKGBUILDs for cross-building GTK+2 and GTK+3 applications on ArchLinux using a mingw-w64 system. Think of it as a spur of AUR.
I badly needed a MinGW environment for cross-compiling my GTK+ applications on Windows platforms but the PKGBUILDs found in AUR at that time were a mess, i.e. the toolchain was not working out of the box and required a lot of manual work to be put on the road. It was clear nobody was really using it.
Submitting patches and waiting them to be accepted was feasible but really slow and time consuming, so I decided to develop my own PKGBUILDs basing the code on the Fedora MinGW environment as it seems to be the best maintained MinGW toolchain available. As far as I know, also OpenSUSE based its toolchain on the Fedora one.
I am trying to keep these packages in sync with Fedora and, although not mapped exactly 1:1, they are quite close.
Features and limits
Here is the list of (potential) packages provided by this project:
Some additional package are not based on the Fedora ones. They are developed internally and prefixed with afm (AUR Fedora MinGW) to differentiate them from the others:
build-all helper script can be used as a one-line solution to build all
from scratch. It uses yaourt for
pulling it the required dependencies either from Archlinux community or from
If you intend to build the toolchain in your own way, refer to
know the exact order of build, so check it out to see the most up to date
list and order of packages.
To keep the dependecies as low as possible, this toolchain does not contain some image format I do not use, most notably SVG and tiff.
The following dependencies need to be pulled in directly from the Archlinux community repository:
The following dependencies need to be compiled from AUR:
- mingw-w64-tools (required for building cairo)
The code provided by this project is free software released under the MIT
COPYING for details.
This license is not extended to the sources of the packages. Every package fetched by this project is free software but you need to hunt inside the source tree to know the exact license.