desktop/xpra: Updated for version 4.4.3.

Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2023-01-12 14:17:12 -05:00 committed by Willy Sudiarto Raharjo
parent 193525b1f5
commit 644b0e3fa8
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 27 additions and 8 deletions

View file

@ -12,7 +12,7 @@ source ./xpra.info
OUTDIR=xpra-$VERSION-prebuilt-docs
TARBALL=$OUTDIR.tar.xz
RPMFILE=xpra-common-4.3-10.el8.noarch.rpm
RPMFILE=xpra-common-4.4.3-10.el8.noarch.rpm
URL=https://www.xpra.org/dists/CentOS/8/x86_64/$RPMFILE
# only download the file if we don't already have it.

View file

@ -6,14 +6,15 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
# 20230112 bkw: update for v4.4.3.
# 20221217 bkw: BUILD=2.
# - fix paths in config file (do not include $PKG).
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=xpra
VERSION=${VERSION:-4.3}
BUILD=${BUILD:-2}
VERSION=${VERSION:-4.4.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -51,11 +52,16 @@ chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
# setup.py is slightly broken...
patch -p1 < $CWD/setup_cuda_bin.diff
sed -i 's,"share/man","man",' setup.py
# without-strict turns off -Werror. without-docs because we don't want
# pandoc *and its 139 deps* as a dependency. Include prebuilt docs
# instead.
# 20230112 bkw: pandoc now has 196 deps... Could use pandoc-bin, but
# it doesn't do 32-bit. Still using prebuilt docs for now.
python3 setup.py install \
--root=$PKG \
--without-docs \
@ -65,6 +71,19 @@ python3 setup.py install \
# 20221217 bkw: grrr. $PKG getting hardcoded in config file.
sed -i "s,$PKG,,g" $PKG/etc/xpra/conf.d/55_server_x11.conf
# 20230112 bkw: a few things are getting installed in the wrong place.
mkdir -p $PKG/lib
mv $PKG/usr/lib/udev $PKG/lib
if [ -d $PKG/usr/lib64 ]; then
mv $PKG/usr/lib/cups $PKG/usr/lib64
fi
# /usr/lib/{sysusers.d,tmpfiles.d} are for systemd. Apparently they
# are in the correct place, I'll leave them there (they won't hurt
# anything and apparently there are Slackware derivatives that use
# systemd).
# rm -rf $PKG/usr/lib/{sysusers.d,tmpfiles.d}
# This is *much* faster than using 'file' to classify them.
find $PKG/usr/lib* -name '*.so' | xargs strip --strip-unneeded

View file

@ -1,10 +1,10 @@
PRGNAM="xpra"
VERSION="4.3"
VERSION="4.4.3"
HOMEPAGE="https://www.xpra.org/"
DOWNLOAD="https://github.com/Xpra-org/xpra/archive/v4.3/xpra-4.3.tar.gz \
https://slackware.uk/~urchlay/src/xpra-4.3-prebuilt-docs.tar.xz"
MD5SUM="ef0ce6127936088ee2df6e49c4b3d116 \
bd0f11b58bc4f02d798af1568b78bb1b"
DOWNLOAD="https://github.com/Xpra-org/xpra/archive/v4.4.3/xpra-4.4.3.tar.gz \
https://slackware.uk/~urchlay/src/xpra-4.4.3-prebuilt-docs.tar.xz"
MD5SUM="ea3902b22ff8e8e644bfed1234111ce0 \
bba809186bfc781c8a8e676c0fed79bb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""