Xpra-org / xpra

Persistent remote applications for X11; screen sharing for X11, MacOS and MSWindows.
https://xpra.org/
GNU General Public License v2.0
1.98k stars 169 forks source link

make it easier to setup a development environment #4244

Closed totaam closed 5 months ago

totaam commented 5 months ago

I keep having to do this myself every time I have to try to reproduce and debug an issue on a specific distro. This is documented here https://github.com/Xpra-org/xpra/tree/master/docs/Build But this requires firing up a browser - or looking at the documentation markdown, then cut & pasting commands. It should be automated in a similar way to dnf builddep, but we can also do better and honour the --without-XXX flags and install only the minimum required.

totaam commented 5 months ago

Done in the commits above, tested on Fedora and Ubuntu 24.04:

./setup.py dev-env

This honours all setup options, ie:

./setup.py dev-env --minimal --with-openh264