Xpra: Ticket #1883: packaging for mingw64 / MSYS2

We should be able to submit this as a package to MSYS2: https://github.com/msys2/msys2/wiki/Creating-Packages.



Thu, 21 Jun 2018 10:12:12 GMT - Antoine Martin: owner, summary changed

Python build changes mostly completed in r19684. We can now install xpra locally from an MSYS2 shell with:

rm -fr dist/*
python ./setup.py clean
python ./setup.py install --prefix=./dist --share=share/xpra --with-scripts
rsync -rplogt dist/* ${MINGW_PREFIX}/

Still TODO:

@smo: can you help with any of this?


Tue, 10 Jul 2018 15:14:36 GMT - Antoine Martin:

Update from the transition to python 3.7 (#1878) done by msys2:


Fri, 03 Aug 2018 13:50:03 GMT - Antoine Martin:


Sat, 04 Aug 2018 18:54:51 GMT - totaamwin32:


Sat, 25 Aug 2018 06:44:18 GMT - totaamwin32:

python-zeroconf (original feature ticket: #1644) dropped support for python2 in version 0.20 (see python2-zeroconf: updated to 0.20.0, but 0.20.0 dropped python2 support), but something is not right and using easy_install will pickup the latest (broken) version, so we have to be specific about it: r20193. No such problems with python3.


Sun, 26 Aug 2018 16:24:58 GMT - Antoine Martin:

Work in progress lives here: github thesmo MINGW-packages


Sat, 13 Oct 2018 07:28:18 GMT - Antoine Martin: milestone changed


Tue, 16 Oct 2018 05:28:04 GMT - Antoine Martin:

Here's a slightly more tricky one: pygtkglext as per ticket:678#comment:27 (2 patches and a workaround for the install step), it was MIA from my 64-bit build VM, fortunately the new "native" backend was working OK so I didn't notice!


Sun, 21 Oct 2018 18:34:32 GMT - Antoine Martin:

Minor update: rencode 1.0.6, see r20754


Tue, 13 Nov 2018 09:03:08 GMT - Antoine Martin:

@smo: see ticket:2004#comment:3 for libyuv.


Wed, 28 Nov 2018 15:29:58 GMT - Smo:

Still waiting on this merge. https://github.com/Alexpux/MINGW-packages/pull/4595


Wed, 28 Nov 2018 15:34:38 GMT - Antoine Martin:

Can you update what has been merged and replace easy_install with pacman in the setup and update scripts?


Thu, 29 Nov 2018 12:30:45 GMT - Antoine Martin:

Found that paramiko, comtypes, netifaces and rencode are available in MSYS2 now, so r21147 switches to that.


Fri, 18 Jan 2019 03:58:54 GMT - Smo:

Here is a link to all the closed merge requests.

https://github.com/Alexpux/MINGW-packages/pulls?q=is%3Apr+author%3Athesmo+is%3Aclosed

nvidia-ml-py seems to be the only open one still


Fri, 25 Jan 2019 09:39:16 GMT - Antoine Martin:

Useful link: thesmo pull requests

r21483 switches to MSYS2 packages for: websocket-client, setproctitle, pyu2f, ldap, ldap3, bcrypt and pynacl. Also zeroconf, but only for python3 (see below, comment:5).

Important libraries left to package / fix:


Sun, 27 Jan 2019 16:12:35 GMT - totaamwin32:

With the two build files above, I can generate a working installation of xpra.

Still TODO:


Thu, 31 Jan 2019 16:04:58 GMT - Antoine Martin:

Sent pull request for https://github.com/Alexpux/MINGW-packages/pull/4937.


Fri, 01 Feb 2019 14:56:58 GMT - Antoine Martin: owner, status changed

The pull request has been merged, I have made a new one for python-nvidia-ml - the one above was broken for python3.

Since 2.5 will drop websockify (#2121) and make "native" the default opengl backend (r21382), there aren't many important packages left to fix / add from comment:15:


Fri, 01 Feb 2019 16:15:37 GMT - Antoine Martin:

pull request for python-zeroconf: https://github.com/Alexpux/MINGW-packages/pull/4941 with one build file for each python version.


Mon, 04 Feb 2019 15:41:28 GMT - Antoine Martin:

As of r21532 + r21533 + r21534, minimal builds don't include anything at all, not even any python bits. Adding --with-data we get just the extra bits we need for packaging "xpra-common".


Tue, 05 Feb 2019 14:24:28 GMT - Antoine Martin:

Pull request for libyuv: https://github.com/Alexpux/MINGW-packages/pull/4948.


Tue, 05 Feb 2019 15:55:06 GMT - Antoine Martin:

Pull request for fixing pyopengl: https://github.com/Alexpux/MINGW-packages/pull/4949


Wed, 06 Feb 2019 05:25:07 GMT - Antoine Martin:

Merged upstream:


Thu, 07 Feb 2019 03:45:35 GMT - Antoine Martin:

pyopengl-accelerate pull request (added to pyopengl): https://github.com/Alexpux/MINGW-packages/pull/4954


Fri, 08 Feb 2019 04:52:47 GMT - Antoine Martin:

Merged upstream:

Updated setup and removed python update script: r21590.

Only things left for this ticket:


Wed, 13 Feb 2019 07:54:34 GMT - Antoine Martin:

The install changes caused a regression: ticket:2144#comment:1.


Sat, 23 Feb 2019 06:54:22 GMT - Antoine Martin:

For python-gssapi and winkerberos (#1691), moving to a new ticket: #2170


Tue, 26 Feb 2019 13:41:50 GMT - Antoine Martin:

libyuv has been merged upstream and we now use it: r21892


Fri, 08 Mar 2019 15:42:25 GMT - Antoine Martin:

Pull request for xpra package: https://github.com/msys2/MINGW-packages/pull/5037


Wed, 13 Mar 2019 06:13:42 GMT - Antoine Martin: status changed; resolution set

And finally, xpra is in MSYS2: commit d6fe4115fbc605a9684991ffef1a4085894320f3.


Wed, 20 Mar 2019 06:17:16 GMT - Antoine Martin:

Update to 2.5 release: https://github.com/msys2/MINGW-packages/pull/5095.


Sat, 23 Jan 2021 05:36:20 GMT - migration script:

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