[arch-commits] Commit in nextcloud-client/trunk (PKGBUILD)

Caleb Maclennan alerque at gemini.archlinux.org
Sat Mar 19 09:11:45 UTC 2022


    Date: Saturday, March 19, 2022 @ 09:11:43
  Author: alerque
Revision: 1160513

upgpkg: nextcloud-client 2:3.4.4-2; disable bulk upload capability

Modified:
  nextcloud-client/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-19 08:47:28 UTC (rev 1160512)
+++ PKGBUILD	2022-03-19 09:11:43 UTC (rev 1160513)
@@ -14,7 +14,7 @@
 pkgver=3.4.4
 # curl https://api.github.com/repos/nextcloud/desktop/git/ref/tags/v$pkgver | jq -r .object.sha
 _tag=3f54326388167766db182c46ab2d310b710881be
-pkgrel=1
+pkgrel=2
 arch=(x86_64)
 url='https://nextcloud.com/'
 license=(GPL)
@@ -42,10 +42,14 @@
   # tmpdir for check()
   mkdir -p tmpdir
   cd $pkgbase
-  # Monkey patch that can work around infinite loop when using bulk upload
-  # feature, also disabled in server v23.0.3
+  # Monkey patch that disables bulk upload capability which causes infinite
+  # loops for many server/client combos. Feature is also disabled by default on
+  # server end in v23.0.3 because it was so problematic. This can abe re-enabled
+  # when underlying bug squashed:
   # https://github.com/nextcloud/desktop/issues/4241
-  # sed -i -e '221s/_.*/false;/' src/libsync/capabilities.cpp
+  sed -i -e '/bulkupload/s/return _.*;$/return false;/' src/libsync/capabilities.cpp
+  # Disable tests that touch on disabled feature
+  sed -i -e '/SyncEngine/s/^/#/' -e '/Capabilities/s/^/#/' test/CMakeLists.txt
 }
 
 build() {



More information about the arch-commits mailing list