From 2df374573af6cd0e7b28af5fea58a010c3141370 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Sat, 4 Jun 2022 17:49:10 +0000 Subject: nextcloud-client: update to 3.5.1 --- nextcloud-client/build/nextcloud-client.SlackBuild | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/nextcloud-client/build/nextcloud-client.SlackBuild b/nextcloud-client/build/nextcloud-client.SlackBuild index 627c1a6d..e0b6139c 100755 --- a/nextcloud-client/build/nextcloud-client.SlackBuild +++ b/nextcloud-client/build/nextcloud-client.SlackBuild @@ -33,6 +33,8 @@ # Changelog: # 3.4.1-1: 25/jan/2022 by Eric Hameleers # * Initial build. +# 3.5.1-1: 04/jun/2022 by Eric Hameleers +# * Initial build. # # Run 'sh nextcloud-client.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=nextcloud-client SRCNAM=desktop -VERSION=${VERSION:-3.4.1} +VERSION=${VERSION:-3.5.1} BUILD=${BUILD:-1} NUMJOBS=${NUMJOBS:-" -j$(nproc) "} TAG=${TAG:-alien} @@ -155,10 +157,13 @@ for (( i = 0; i < ${#SOURCE[*]}; i++ )) ; do done cd ${SRCNAM}-${VERSION} -# Fix loading translations at runtime (solved in 3.5) -# See https://github.com/nextcloud/desktop/pull/4022 -cat $SRCDIR/patches/nextcloud-client_translations.patch | patch -p1 --verbose \ - 2>&1 | tee $OUTPUT/patch-${PRGNAM}.log +# For the time being, disable bulk upload capability which causes excessive CPU +# usage and non-finishing sync. Nextcloud server 23 has bulkupload disabled +# by default until the client and server devs fix the underlying issue. +# See https://github.com/nextcloud/desktop/issues/4241 +# Thanks to Arch for the sed command: +sed -i src/libsync/capabilities.cpp \ + -e '/bulkupload/s/return _.*;$/return false;/' chown -R root:root . chmod -R u+w,go+r-w,a+rX-st . @@ -176,6 +181,7 @@ cd build-${PRGNAM} -DMAN_INSTALL_DIR=/usr/man \ -DSYSCONF_INSTALL_DIR=/etc \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DBUILD_UPDATER=OFF \ -DWITH_CRASHREPORTER=OFF \ -DUNIT_TESTING=ON \ -DPLUGINDIR=lib${LIBDIRSUFFIX}/qt5/plugins \ -- cgit v1.2.3-65-gdbad