Xpra: Ticket #2293: RHEL 8 / CentOS 8 support

It is based on Fedora 28 so it should be supported out of the box.

We just need a new switch for all the if / else in the specfile.

Ideally, done after #2040 - see also #1910



Fri, 10 May 2019 09:15:09 GMT - Antoine Martin: status, summary changed

Added to specfile in r22699.


Tue, 11 Jun 2019 09:10:01 GMT - Antoine Martin:

Probably worth waiting for the release to ensure the specfile is in working order.

CentOS 8 Rough Status Page.


Sun, 25 Aug 2019 11:38:38 GMT - Antoine Martin:

Minor tweaks in r23547, r23580


Tue, 24 Sep 2019 18:02:37 GMT - Antoine Martin:

Not sure they're all needed, but I've installed:

yum groupinstall 'Development Tools'

Then installing the build dependencies for xpra. Still seems to be missing quite a few packages:

error: Failed build dependencies:
	desktop-backgrounds-compat is needed by xpra-3.0-0.20190925r23930.el8_0.x86_64
	ffmpeg-xpra-devel is needed by xpra-3.0-0.20190925r23930.el8_0.x86_64
	gobject-introspection-devel is needed by xpra-3.0-0.20190925r23930.el8_0.x86_64
	js-jquery is needed by xpra-3.0-0.20190925r23930.el8_0.x86_64
	libfakeXinerama is needed by xpra-3.0-0.20190925r23930.el8_0.x86_64
	libxkbfile-devel is needed by xpra-3.0-0.20190925r23930.el8_0.x86_64
	libyuv-devel is needed by xpra-3.0-0.20190925r23930.el8_0.x86_64
	pygobject3-devel is needed by xpra-3.0-0.20190925r23930.el8_0.x86_64
	python2-cryptography is needed by xpra-3.0-0.20190925r23930.el8_0.x86_64
	python2-pyxdg is needed by xpra-3.0-0.20190925r23930.el8_0.x86_64
	python2-rencode is needed by xpra-3.0-0.20190925r23930.el8_0.x86_64
	python3-Cython is needed by xpra-3.0-0.20190925r23930.el8_0.x86_64
	python3-cairo-devel is needed by xpra-3.0-0.20190925r23930.el8_0.x86_64
	python3-rencode is needed by xpra-3.0-0.20190925r23930.el8_0.x86_64
	turbojpeg-devel is needed by xpra-3.0-0.20190925r23930.el8_0.x86_64
	uglify-js is needed by xpra-3.0-0.20190925r23930.el8_0.x86_64
	x264-xpra-devel is needed by xpra-3.0-0.20190925r23930.el8_0.x86_64
	xclip is needed by xpra-3.0-0.20190925r23930.el8_0.x86_64

(adding yum --enablerepo=extras install epel-release does not help) Downloading a bunch of packages directly from https://access.redhat.com/downloads/content/package-browser (why aren't those in the centos repos?) and applying some dependency updates in r23933 + r23935 + r23936, reduces the list of missing dependencies to:

error: Failed build dependencies:
	python2-cryptography is needed by xpra-3.0-0.20190925r23937.el8_0.x86_64
	python2-pyxdg is needed by xpra-3.0-0.20190925r23937.el8_0.x86_64
	python2-rencode is needed by xpra-3.0-0.20190925r23937.el8_0.x86_64
	python3-cairo-devel is needed by xpra-3.0-0.20190925r23937.el8_0.x86_64
	python3-rencode is needed by xpra-3.0-0.20190925r23937.el8_0.x86_64

So the python2 packages will need rencode in the repository. Difficult to build without python2-pbr... The python3 builds will fail without python3-cairo-devel. Not sure where to get hold of this yet.


Wed, 25 Sep 2019 09:27:24 GMT - Antoine Martin:

Updates:

Problems remaining:

Full list of packages downloaded from non-centos repositories:

boost-numpy3-1.66.0-6.el8.x86_64.rpm
boost-python3-1.66.0-6.el8.x86_64.rpm
boost-python3-devel-1.66.0-6.el8.x86_64.rpm
gobject-introspection-devel-1.56.1-1.el8.x86_64.rpm
gtest-1.8.0-5.el8.x86_64.rpm
gtest-devel-1.8.0-5.el8.x86_64.rpm
js-uglify-2.8.29-1.el8.noarch.rpm
lcms2-devel-2.9-2.el8.x86_64.rpm
libxkbfile-devel-1.0.9-9.el8.x86_64.rpm
nasm-2.13.03-2.el8.x86_64.rpm
pygobject3-devel-3.28.3-1.el8.x86_64.rpm
python2-pbr-4.1.0-2.el7ost.noarch.rpm
python2-pkgconfig-1.3.1-1.fc28.noarch.rpm
python3-cairo-1.16.3-6.el8.x86_64.rpm
python3-cryptography-2.3-3.el8ost.x86_64.rpm
python3-Cython-0.28.1-3.el8.x86_64.rpm
python3-pbr-3.1.1-8.fc28.noarch.rpm
turbojpeg-1.5.3-10.el8.x86_64.rpm
turbojpeg-devel-1.5.3-10.el8.x86_64.rpm
uglify-js-2.8.29-1.el8.noarch.rpm

Thu, 26 Sep 2019 08:55:54 GMT - Antoine Martin:

To get python3-cairo-devel, download the source RPM and rebuild the package.. This is also true for the packages downloaded from redhat. For some this is trivial, others have more dependencies. Some without source packages? ie: gtk-doc, which depends on dblatex and docbook-utils, none of which are available from centos, not even in source form?

Updates:

Remaining issues:


Fri, 27 Sep 2019 03:55:32 GMT - Antoine Martin:

Updates:

xorg-x11-server-devel

pycuda

Too difficult to build for python2 (no boost python2), so we now have a specfile just for python3: r23973.


Fri, 27 Sep 2019 15:50:21 GMT - Antoine Martin:

pillow

pyxdg

Added a specfile based on Fedora's: r24010


Sat, 28 Sep 2019 05:50:29 GMT - Antoine Martin:

pygtkglext

Fixed in r24011

python2-dbus


Sat, 28 Sep 2019 11:48:32 GMT - Antoine Martin: status changed; resolution set

Force python3 by default:


Mon, 20 Jan 2020 18:42:20 GMT - Antoine Martin:

CentOS 8.1: #2557


Sat, 23 Jan 2021 05:47:20 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2293