Looks like you may want to switch to pybuild: debian docs: dh_python.
The changelog for all the debian packaging lives here: log/xpra/trunk/debian
Done in r20693, tested on Ubuntu 18.10 and Debian Stretch.
Maybe split the html5 client too?
Lots of packaging pain: r20724 + r20725, r20722, r20702
More:
Still TODO:
/usr/bin/xpra*
scripts use python2.. ideally we should replace them with a shell script and run python2 or python3 based on which version is installed - the same problem applies to RPM packaging
(dh: what a mazy steaming pile...)
No amount of contortions would make dh do the right thing. It always ended up bundling some icons or systemd file in the xpra
package instead of xpra-common
, so r20735 (+r20739 fixup) gives up the battle and puts those files there.
xpra
is now what xpra-common
was meant to be: icons, html5 client, systemd files, etc
python2-xpra
python3-xpra
As for the scripts, r20736 (+r20738) removes xpra_browser
(saves us a man page to maintain) and r20737 tries the other python interpreter if we fail to import xpra with the current (ie default) one.
Still TODO:
Updates:
See also:
Works-for-me.
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1990