diff options
Diffstat (limited to 'frescobaldi')
-rwxr-xr-x | frescobaldi/build/frescobaldi.SlackBuild | 11 |
1 files changed, 10 insertions, 1 deletions
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 <alien@slackware.com> # * Initial build. +# 3.1.3-2: 26/oct/2021 by Eric Hameleers <alien@slackware.com> +# * 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 . |