Skip to content

Commit 06496de

Browse files
committed
Xpra-org#4244 refer to 'dev-env' in the documentation
1 parent daaf45e commit 06496de

File tree

2 files changed

+39
-9
lines changed

2 files changed

+39
-9
lines changed

docs/Build/Debian.md

Lines changed: 31 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,28 @@ Debian and Ubuntu also ships xpra packages, though their _stable_ versions are c
66

77
For general information, see [building](./README.md).
88

9-
## Build and runtime requirements
9+
## Build requirements
10+
The easiest way to install the build dependencies
11+
is using the `dev-env` build subcommand which will honour setup arguments. ie:
12+
```shell
13+
./setup.py dev-env --minimal --with-openh264
14+
```
15+
_(available in xpra v6.1 onwards)_
16+
17+
18+
Alternatively, you can install these sets yourself:
19+
<details>
20+
<summary>Common dependencies</summary>
21+
22+
To be able to run xpra, you are likely to need:
23+
```shell
24+
apt-get install xvfb python3-cairo python3-gi-cairo \
25+
python3-opengl python3-pil
26+
```
27+
</details>
28+
<details>
29+
<summary>X11</summary>
30+
1031
```shell
1132
apt-get install libx11-dev libxtst-dev libxcomposite-dev libxdamage-dev libxres-dev \
1233
libxkbfile-dev \
@@ -15,19 +36,20 @@ apt-get install libx11-dev libxtst-dev libxcomposite-dev libxdamage-dev libxres-
1536
libsystemd-dev \
1637
liblz4-dev
1738
```
18-
GTK3 for the server and GUI client:
19-
```shell
20-
apt-get install libgtk-3-dev python3-dev python3-cairo-dev python-gi-dev cython3
21-
```
22-
Also install some X11 utilities if not installed already:
39+
40+
These X11 utilities are usually required at runtime:
2341
```shell
2442
apt-get install xauth x11-xkb-utils
2543
```
26-
To be able to run xpra, you are likely to need:
44+
</details>
45+
<details>
46+
<summary>GTK3</summary>
47+
48+
GTK3 toolkit for the server and GUI client:
2749
```shell
28-
apt-get install xvfb python3-cairo python3-gi-cairo \
29-
python3-opengl python3-pil
50+
apt-get install libgtk-3-dev python3-dev python3-cairo-dev python-gi-dev cython3
3051
```
52+
</details>
3153

3254
### Optional:
3355
<details>

docs/Build/RPM.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,14 @@ dnf builddep xpra.spec
2020
```
2121
You may also refer to the more generic list of [dependencies](./Dependencies.md)
2222

23+
Alternatively, if you want to install a more limited set of build dependencies,
24+
you can use the `dev-env` build subcommand which will honour setup arguments. ie:
25+
```shell
26+
./setup.py dev-env --minimal --with-openh264
27+
```
28+
_(available in xpra v6.1 onwards)_
29+
30+
2331
## Build
2432
```shell
2533
python3 ./setup.py install

0 commit comments

Comments
 (0)