Open mckinney-subgraph opened 7 years ago
Notes on building an Xpra deb.
Attempted to build package from trunk per https://www.xpra.org/trac/wiki/Packaging.
Build failed. Reasons and fixes:
compilation of gtk c code fails on default hard enforcement of strict-prototypes To fix: in /setup.py set: strict_ENABLED = False
Warning: brotli did not create '/home/user/dev/Xpra/trunk/src/debian/tmp/usr/share/xpra/www/js/lib/aurora/flac.js.br' error running (['brotli', '-k', '/home/user/dev/Xpra/trunk/src/debian/tmp/usr/share/xpra/www/js/lib/aurora/aac.js.map'],),{'stderr': -1, 'stdout': -1}: [Errno 2] No such file or directory Fix: install brotli
dh_install fail: dh_install dh_install: Cannot find (any matches for) "usr/share/xpra/cuda/" (tried in "." and "debian/tmp") dh_install: xpra missing files: usr/share/xpra/cuda/ dh_install: missing files, aborting
Missing debian/tmp/usr/share/xpra/cuda/ and all files in it (??): To fix: Remove usr/share/xpra/cuda/* from debian/install.xpra (probably a bad fix)
Produced a test .deb.
Couple of issues with it:
Link to .deb to test: https://support.subgraph.com/xpra_2.2-1_amd64.deb
47cbaa1708901689057b9df3eb057dedb8bf180387a569f10dc831274ec46d83 xpra_2.2-1_amd64.deb
Patch to trunk (xpra/client/): https://support.subgraph.com/wmclass_override.patch
Package patched xpra to support WM_CLASS