xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.

Opened 7 years ago

Closed 5 years ago

Last modified 16 months ago

#917 closed enhancement (duplicate)

Use Msys2 for building Windows 32 and 64 bit builds

Reported by: Smo Owned by: Smo
Priority: minor Milestone: 2.0
Component: packaging Version: trunk
Keywords: Cc:


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.

Change History (13)

comment:1 Changed 7 years ago by Smo

Priority: majorminor

comment:2 Changed 7 years ago by 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 \

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.

comment:3 Changed 7 years ago by Smo

Type: defectenhancement

comment:4 Changed 7 years ago by Smo

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


comment:5 Changed 7 years ago by Smo

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


comment:6 Changed 7 years ago by Antoine Martin

Some of my own MSYS2 notes:

  • pywin32: important but how? pip install wheel?

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

  • x264: disable-thread (conflict with msvc thread lib with win32threads, pthread error otherwise..), building 32-bit only for now...
  • ffmpeg: needs diffutils
  • py2exe: no go?

The bigger problem:

  • running under msys gives: sys.platform=="msys"

comment:7 Changed 7 years ago by 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.

comment:8 Changed 6 years ago by Antoine Martin

Milestone: 0.170.18

comment:9 Changed 6 years ago by Antoine Martin

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

comment:10 Changed 6 years ago by Antoine Martin

Milestone: 0.181.0

Milestone renamed

comment:11 Changed 6 years ago by Antoine Martin

Milestone: 1.02.0

comment:12 Changed 5 years ago by Antoine Martin

Resolution: duplicate
Status: newclosed

Will follow up in #678

comment:13 Changed 16 months ago by migration script

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

Note: See TracTickets for help on using tickets.