33
44## Repositories
55You must enable the following repositories to be able to install all the build dependencies:
6- | Distributions | Dependency | Installation | Notes |
7- | ---------------| ------------| --------------| -------|
8- | RHEL and clones| [ EPEL] ( https://docs.fedoraproject.org/en-US/epel/ ) | ` dnf install epel-release ` | use ` epel-next-release ` on CentOS stream|
9- | RHEL and clones| ` Power Tools ` | ` dnf config-manager --set-enabled powertools ` | also known as ` PowerTools ` on some variants / versions|
10- | RHEL 9 and clones| ` CRB ` | ` dnf config-manager --set-enabled crb ` |
11- | All| [ rpmfusion] ( https://rpmfusion.org/ ) | [ configuration] ( https://rpmfusion.org/Configuration ) |
126
13- ## Build requirements
14- ``` shell
15- dnf install gcc gcc-c++ \
16- libXtst-devel libXdamage-devel libxkbfile-devel \
17- python3-devel python3-Cython \
18- python3-gobject pygobject3-devel python3-cairo-devel \
19- gtk3-devel gobject-introspection-devel \
20- redhat-rpm-config \
21- pandoc
22- ```
23- You may also refer to the more generic list of [ dependencies] ( ./Dependencies.md )
7+ | Distributions | Dependency | Installation | Notes |
8+ | ---------------| ---------------------------------------------------| --------------| -------|
9+ | RHEL and clones| [ EPEL] ( https://docs.fedoraproject.org/en-US/epel/ ) | ` dnf install epel-release ` | use ` epel-next-release ` on CentOS stream|
10+ | RHEL and clones| ` Power Tools ` | ` dnf config-manager --set-enabled powertools ` | also known as ` PowerTools ` on some variants / versions|
11+ | RHEL 9 and clones| ` CRB ` | ` dnf config-manager --set-enabled crb ` |
12+ | All| [ rpmfusion] ( https://rpmfusion.org/ ) | [ configuration] ( https://rpmfusion.org/Configuration ) |
2413
25- ## Extra dependencies
26- <details >
27- <summary >Vfb command</summary >
28-
29- To use [ Xdummy] ( ../Usage/Xdummy.md ) :
30- ``` shell
31- dnf install xorg-x11-server-Xorg xorg-x11-drv-dummy xorg-x11-xauth xorg-x11-xkb-utils
32- ```
33- Otherwise, use ` Xvfb ` :
34- ``` shell
35- dnf install xorg-x11-server-Xvfb
36- ```
37- </details >
38- <details >
39- <summary >Video codecs</summary >
40-
41- For extra video encoding support, install the development headers:
42- ``` shell
43- dnf install libvpx-devel libyuv-devel x264-devel
44- ```
45- </details >
46- <details >
47- <summary >OpenGL</summary >
14+ ## Install Build Requirements
15+ The spec file can be found here:
16+ https://github.com/Xpra-org/xpra/tree/master/packaging/rpm/xpra.spec
4817
49- For [ OpenGL accelerated client rendering] ( ../Usage/Client-OpenGL.md ) support, add this runtime dependency:
5018``` shell
51- dnf install python3-pyopengl
19+ dnf builddep xpra.spec
5220```
53- </ details >
21+ You may also refer to the more generic list of [ dependencies ] ( ./Dependencies.md )
5422
5523## Build
5624``` shell
@@ -59,10 +27,6 @@ python3 ./setup.py install
5927</details >
6028
6129## ![ RPM] ( ../images/icons/rpm.png )
62- The spec file can be found here:
63- https://github.com/Xpra-org/xpra/tree/master/packaging/rpm/xpra.spec
64-
65-
6630The quick and easy way:
6731``` shell
6832mkdir -p ~ /rpmbuild/SOURCES/ >& /dev/null
0 commit comments