Github messages for voidlinux
 help / color / mirror / Atom feed
From: mdkcore0 <mdkcore0@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] nextcloud-client: update to 3.6.1
Date: Fri, 28 Oct 2022 18:21:53 +0200	[thread overview]
Message-ID: <20221028162153.VGoQgP-cA9h_VEeTkHBnpzDP34p0S_ZXcudBG0smjUs@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-40192@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 659 bytes --]

There is an updated pull request by mdkcore0 against master on the void-packages repository

https://github.com/mdkcore0/void-packages update-nextcloud-client
https://github.com/void-linux/void-packages/pull/40192

nextcloud-client: update to 3.6.1
Also updated the testfolderman patch.

#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-libc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - armv7l (crossbuild)


A patch file from https://github.com/void-linux/void-packages/pull/40192.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-update-nextcloud-client-40192.patch --]
[-- Type: text/x-diff, Size: 4331 bytes --]

From 2aa35f94b8db603285f80c6e0f2334a2ce26f377 Mon Sep 17 00:00:00 2001
From: Rodrigo Oliveira <mdkcore@qtrnn.io>
Date: Tue, 25 Oct 2022 16:00:03 -0300
Subject: [PATCH] nextcloud-client: update to 3.6.1

Also:
- update testfolderman patch
- add patch to disable update check by default
  this affects new installations only
---
 ...heck-for-updates-disabled-as-default.patch | 24 +++++++++++++++++++
 .../patches/testfolderman-within-chroot.patch | 12 +++++-----
 srcpkgs/nextcloud-client/template             |  4 ++--
 3 files changed, 32 insertions(+), 8 deletions(-)
 create mode 100644 srcpkgs/nextcloud-client/patches/check-for-updates-disabled-as-default.patch

diff --git a/srcpkgs/nextcloud-client/patches/check-for-updates-disabled-as-default.patch b/srcpkgs/nextcloud-client/patches/check-for-updates-disabled-as-default.patch
new file mode 100644
index 000000000000..4c3d22586c94
--- /dev/null
+++ b/srcpkgs/nextcloud-client/patches/check-for-updates-disabled-as-default.patch
@@ -0,0 +1,24 @@
+This does not change any current user config (nextcloud.cfg file)
+
+--- a/src/gui/generalsettings.ui
++++ b/src/gui/generalsettings.ui
+@@ -114,7 +114,7 @@
+            <string>&amp;Automatically check for Updates</string>
+           </property>
+           <property name="checked">
+-           <bool>true</bool>
++           <bool>false</bool>
+           </property>
+          </widget>
+         </item>
+--- a/src/libsync/configfile.cpp
++++ b/src/libsync/configfile.cpp
+@@ -631,7 +631,7 @@ bool ConfigFile::autoUpdateCheck(const QString &connection) const
+     if (connection.isEmpty())
+         con = defaultConnection();
+ 
+-    QVariant fallback = getValue(QLatin1String(autoUpdateCheckC), con, true);
++    QVariant fallback = getValue(QLatin1String(autoUpdateCheckC), con, false);
+     fallback = getValue(QLatin1String(autoUpdateCheckC), QString(), fallback);
+ 
+     QVariant value = getPolicySetting(QLatin1String(autoUpdateCheckC), fallback);
diff --git a/srcpkgs/nextcloud-client/patches/testfolderman-within-chroot.patch b/srcpkgs/nextcloud-client/patches/testfolderman-within-chroot.patch
index 956a9cc221d2..0d88f6a18a75 100644
--- a/srcpkgs/nextcloud-client/patches/testfolderman-within-chroot.patch
+++ b/srcpkgs/nextcloud-client/patches/testfolderman-within-chroot.patch
@@ -2,14 +2,14 @@ is wrong if running within a user's chroot
 
 --- a/test/testfolderman.cpp	2020-09-24 14:51:48.000000000 +0200
 +++ b/test/testfolderman.cpp	2020-10-02 20:33:32.248359240 +0200
-@@ -119,10 +119,6 @@
+@@ -127,10 +127,6 @@
          // Subfolder of links
-         QVERIFY(folderman->checkPathValidityForNewFolder(dirPath + "/link1/subfolder").isNull());
-         QVERIFY(folderman->checkPathValidityForNewFolder(dirPath + "/link2/free/subfolder").isNull());
+         QVERIFY(folderman->checkPathValidityForNewFolder(dirPath + "/link1/subfolder").second.isNull());
+         QVERIFY(folderman->checkPathValidityForNewFolder(dirPath + "/link2/free/subfolder").second.isNull());
 -
 -        // Should not have the rights
--        QVERIFY(!folderman->checkPathValidityForNewFolder("/").isNull());
--        QVERIFY(!folderman->checkPathValidityForNewFolder("/usr/bin/somefolder").isNull());
+-        QVERIFY(!folderman->checkPathValidityForNewFolder("/").second.isNull());
+-        QVERIFY(!folderman->checkPathValidityForNewFolder("/usr/bin/somefolder").second.isNull());
  #endif
  
-         // Invalid paths
+ #ifdef Q_OS_WIN // drive-letter tests
diff --git a/srcpkgs/nextcloud-client/template b/srcpkgs/nextcloud-client/template
index 3a233ce58192..ab516014ff8d 100644
--- a/srcpkgs/nextcloud-client/template
+++ b/srcpkgs/nextcloud-client/template
@@ -1,6 +1,6 @@
 # Template file for 'nextcloud-client'
 pkgname=nextcloud-client
-version=3.6.0
+version=3.6.1
 revision=1
 wrksrc="desktop-${version}"
 build_style=cmake
@@ -20,7 +20,7 @@ license="GPL-2.0-or-later"
 homepage="https://nextcloud.com/clients/"
 changelog="https://github.com/nextcloud/desktop/releases"
 distfiles="https://github.com/nextcloud/desktop/archive/v${version}.tar.gz"
-checksum=d7c1d3f6a867566c1f9a629c8c0d954ba69ebc4107c0faa975a1ccf42842d0df
+checksum=c7ea1ed2d0f44a3b8b645a67f21af164bf1024b6872570a61c62994d2a8c1b5b
 # https://github.com/void-linux/void-packages/pull/33358#discussion_r724518549
 make_check=ci-skip
 

  parent reply	other threads:[~2022-10-28 16:21 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-27 19:30 [PR PATCH] " mdkcore0
2022-10-27 19:44 ` paper42
2022-10-27 19:52 ` mdkcore0
2022-10-27 19:56 ` mdkcore0
2022-10-27 20:05 ` paper42
2022-10-27 20:30 ` mdkcore0
2022-10-27 20:31 ` mdkcore0
2022-10-27 21:01 ` mdkcore0
2022-10-28 16:21 ` mdkcore0 [this message]
2022-10-28 16:25 ` mdkcore0
2022-10-28 16:44 ` [PR PATCH] [Updated] " mdkcore0
2022-10-28 20:34 ` paper42
2022-10-28 20:34 ` [PR PATCH] [Merged]: " paper42

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221028162153.VGoQgP-cA9h_VEeTkHBnpzDP34p0S_ZXcudBG0smjUs@z \
    --to=mdkcore0@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).