#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: |
Description
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
Priority: | major → minor |
---|
comment:2 Changed 7 years ago by
comment:3 Changed 7 years ago by
Type: | defect → enhancement |
---|
comment:4 Changed 7 years ago by
Looks like there are some PKGBUILD files being maintained here specifically for MSYS2
comment:5 Changed 7 years ago by
What we probably want are mingw packages. This url may be more useful.
comment:6 Changed 7 years ago by
Some of my own MSYS2 notes:
- python distutils patch: https://www.ruby-forum.com/attachment/4841/cygwinccompiler.patch
- netifaces installed wrong egg name
- easy install: pyasn1, zope.interface, numpy
- by hand: lz4 (0.8.0), Cython, OpenGL, OpenGL_accelerate (which also used the wrong egg name)
- 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
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
Milestone: | 0.17 → 0.18 |
---|
comment:9 Changed 6 years ago by
comment:11 Changed 6 years ago by
Milestone: | 1.0 → 2.0 |
---|
comment:12 Changed 5 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Will follow up in #678
comment:13 Changed 16 months ago by
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/917
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?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.