From bb547e225870376936d4ff3f66864ac28bdd2c17 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Tue, 26 Oct 2021 13:40:14 +0000 Subject: frescobaldi: rebuilt against Python 3.10 --- frescobaldi/build/frescobaldi.SlackBuild | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'frescobaldi') diff --git a/frescobaldi/build/frescobaldi.SlackBuild b/frescobaldi/build/frescobaldi.SlackBuild index 1b583e75..7a0b4a7c 100755 --- a/frescobaldi/build/frescobaldi.SlackBuild +++ b/frescobaldi/build/frescobaldi.SlackBuild @@ -33,6 +33,8 @@ # Changelog: # 3.1.3-1: 26/jun/2021 by Eric Hameleers # * Initial build. +# 3.1.3-2: 26/oct/2021 by Eric Hameleers +# * Rebuilt against Python 3.10 in -current. # # Run 'sh frescobaldi.SlackBuild' to build a Slackware package. # The package (.t?z) and .txt file as well as build logs are created in /tmp . @@ -42,7 +44,7 @@ PRGNAM=frescobaldi VERSION=${VERSION:-3.1.3} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} NUMJOBS=${NUMJOBS:-" -j$(nproc) "} TAG=${TAG:-alien} @@ -153,6 +155,13 @@ cd ${PRGNAM}-${VERSION} # Fix the manpage installation location: sed -i setup.py -e "s,share/man/,man/," +# Address incompatibilities with Python 3.10: +touch $OUTPUT/patch-${PRGNAM}.log +cat $SRCDIR/patches/frescobaldi_python310_qpageview.patch \ + | patch -p1 --verbose 2>&1 | tee -a $OUTPUT/patch-${PRGNAM}.log +cat $SRCDIR/patches/frescobaldi_python310_progressbar_floats.patch \ + | patch -p1 --verbose 2>&1 | tee -a $OUTPUT/patch-${PRGNAM}.log + chown -R root:root . chmod -R u+w,go+r-w,a+rX-st . -- cgit v1.2.3-65-gdbad