From 6c11d25ca987e5cb70f5977f34760da169c4605e Mon Sep 17 00:00:00 2001 From: totaam Date: Wed, 15 Nov 2023 11:10:48 +0700 Subject: [PATCH] Cython in Debian is too old --- packaging/debian/xpra.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packaging/debian/xpra.sh b/packaging/debian/xpra.sh index b6422ba5b9..1495cdef69 100755 --- a/packaging/debian/xpra.sh +++ b/packaging/debian/xpra.sh @@ -33,6 +33,11 @@ mk-build-deps --install --tool='apt-get -o Debug::pkgProblemResolver=yes --no-in #mk-build-deps --install --tool='apt-get -o Debug::pkgProblemResolver=yes --yes' debian/control rm -f xpra-build-deps* + +#install latest cython since the one Debian / Ubuntu tends to be out of date: +DEBIAN_FRONTEND=noninteractive apt-get -y install python3-pip +PIP_BREAK_SYSTEM_PACKAGES=1 pip3 install cython + #add revision to version number to changelog REVISION=`PYTHONPATH=. python3 -c 'from xpra.src_info import REVISION;print(REVISION)'` if [ "${REVISION}" == "" ]; then