summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2022-06-04 17:49:10 +0000
committer Eric Hameleers <alien@slackware.com>2022-06-04 17:49:10 +0000
commit2df374573af6cd0e7b28af5fea58a010c3141370 (patch)
tree9ae540f99e79ef283197bf6437807e234d2d7ca7
parent20cbe56db4e0f265ec3f0b738fb84d2f6d01600d (diff)
downloadasb-2df374573af6cd0e7b28af5fea58a010c3141370.tar.gz
asb-2df374573af6cd0e7b28af5fea58a010c3141370.tar.xz
nextcloud-client: update to 3.5.1
-rwxr-xr-xnextcloud-client/build/nextcloud-client.SlackBuild16
1 files 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 <alien@slackware.com>
# * Initial build.
+# 3.5.1-1: 04/jun/2022 by Eric Hameleers <alien@slackware.com>
+# * 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 \