subgraph-os-issues
subgraph-os-issues copied to clipboard
Package patched xpra to support WM_CLASS
Package patched xpra to support WM_CLASS
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:
- Removed share/xpra/cuda/* from debian/xpra.install because I couldn't seem to fix it in setup.py within my limit of patience. Not sure what the consequence of not having /usr/share/xpra/cuda/ is..
- /usr/bin/xpra --version returns 2.1.2. This deb is built from trunk, which is 2.2-1 (this is what's in the filename). The patch is in there as well. Need to investigate further.
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