Xpra: Ticket #917: Use Msys2 for building Windows 32 and 64 bit builds

I've been trying out MSYS2 after you mentioned it in another ticket so far it looks promising as most of the packages of stuff are built and quite up to date already.

You can get the msys2 installer from here https://msys2.github.io/

I'm currently trying to use the 32bit version on windows 7 for the purposes of building/packaging xpra

It seems it should be possible to do 64bit easily afterwards too.



Thu, 16 Jul 2015 20:04:22 GMT - Smo: priority changed


Thu, 16 Jul 2015 20:18:02 GMT - Smo:

after following the instructions from the url above to install msys2 and update it you should be able to run these commands to install most of what we need.

There are some things missing and i'm hoping to make PKGBUILDS for them.

I've tried installing some of the python modules through easy_install some of them will install but others have issues for example like this https://pastee.org/4cfq9 could be an issue with setuptools?

pacman -S mingw-w64-i686-python2-pygtk \
mingw-w64-i686-cython2 \
mingw-w64-i686-python2-numpy \
mingw-w64-i686-python2-Pillow \
mingw-w64-i686-ffmpeg \
mingw-w64-i686-libvpx \
mingw-w64-i686-libwebp \
mingw-w64-i686-ca-certificates \
subversion
easy_install pyasn1

Many other things get pulled in with these packages many python modules we still need but this should be a good start. We can probably find PKGBUILD files already for some of the missing things and tailor them to work with windows.


Thu, 16 Jul 2015 20:28:26 GMT - Smo: type changed


Thu, 16 Jul 2015 20:35:06 GMT - Smo:

Looks like there are some PKGBUILD files being maintained here specifically for MSYS2

https://github.com/Alexpux/MSYS2-packages


Thu, 16 Jul 2015 20:52:27 GMT - Smo:

What we probably want are mingw packages. This url may be more useful.

https://github.com/Alexpux/MINGW-packages


Fri, 17 Jul 2015 06:33:08 GMT - Antoine Martin:

Some of my own MSYS2 notes:

Some C bits which need --prefix=/usr so the headers are found later:

The bigger problem:


Fri, 17 Jul 2015 20:20:45 GMT - Smo:

Okay I will work on making some PKGBUILD files for the things you have done by hand.

I think I remember the py2exe issue i'll let you know if I get it installed.


Wed, 16 Mar 2016 06:15:46 GMT - Antoine Martin: milestone changed


Sat, 14 May 2016 07:05:11 GMT - Antoine Martin:

There are 3 tickets that should be consolidated into one: #917, #678 and #300


Tue, 12 Jul 2016 16:52:22 GMT - Antoine Martin: milestone changed

Milestone renamed


Wed, 07 Sep 2016 10:04:33 GMT - Antoine Martin: milestone changed


Fri, 30 Dec 2016 11:20:16 GMT - Antoine Martin: status changed; resolution set

Will follow up in #678


Sat, 23 Jan 2021 05:09:44 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/917