Cross-build for Windows with meson internal dependencies
Hi,
every time I have to use Windows I miss Evince there, SumatraPDF is OK (https://github.com/sumatrapdfreader/sumatrapdf) but I am more used to Evince.
There used to be an MSI installer for evince 2.32 on http://ftp.gnome.org/pub/GNOME/binaries/win32/evince/2.32/ but the file is no longer there and it was an ancient version anyway.
So I thought that with meson now in place it would be possible (eventually) to cross-build evince from linux to Windows using mingw32, maybe cross-building all the dependencies too using meson subprojects.
I started experimenting with this idea and got some progress but there are still a few missing pieces to be able to build an executable.
So I am opening this issue as a TODO list, a meta-issue if you will, a place to collect all the missing bits. I hope that's OK.
This is the current TODO:
-
fix pixman to build with MinGW(https://github.com/centricular/pixman/pull/1 merged) - fix cairo to build with MinGW (https://github.com/centricular/cairo/pull/2)
fix gdk-pixbuf to build as an internal meson dependency- fix gtk to build for windows with meson
- fix evince to use fallback dependency and cross-build for windows (!131)
- make backends dependencies (e.g. poppler) build with meson
- create a MSI intaller
Thank you, Antonio