summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/networking/nextcloud-client
diff options
context:
space:
mode:
authorIlan Joselevich <personal@ilanjoselevich.com>2021-11-30 22:56:50 +0200
committerIlan Joselevich <personal@ilanjoselevich.com>2021-11-30 23:00:09 +0200
commit5094edf7eca7e7e6e2f89bf3aa7427841b5f2a46 (patch)
treec4cc0bc4b4641a854191e7dec7dce95f27bdfb78 /pkgs/applications/networking/nextcloud-client
parent39b1caa278d8bd9d142dc4900e8ba2de78ddccc2 (diff)
nextcloud-client: 3.3.6 -> 3.4.0
Diffstat (limited to 'pkgs/applications/networking/nextcloud-client')
-rw-r--r--pkgs/applications/networking/nextcloud-client/0001-When-creating-the-autostart-entry-do-not-use-an-abso.patch28
-rw-r--r--pkgs/applications/networking/nextcloud-client/default.nix4
2 files changed, 15 insertions, 17 deletions
diff --git a/pkgs/applications/networking/nextcloud-client/0001-When-creating-the-autostart-entry-do-not-use-an-abso.patch b/pkgs/applications/networking/nextcloud-client/0001-When-creating-the-autostart-entry-do-not-use-an-abso.patch
index 73325791fc2b..d3bac6af08d2 100644
--- a/pkgs/applications/networking/nextcloud-client/0001-When-creating-the-autostart-entry-do-not-use-an-abso.patch
+++ b/pkgs/applications/networking/nextcloud-client/0001-When-creating-the-autostart-entry-do-not-use-an-abso.patch
@@ -1,26 +1,24 @@
-From bade623bb98c957d9a274df75b58296beb8ae6a7 Mon Sep 17 00:00:00 2001
-From: Marvin Dostal <maffinmaffinmaffinmaffin@gmail.com>
-Date: Sun, 17 Oct 2021 21:26:51 +0200
+From 54255deceaaaf118e9daadc3dd9f517c33bdd658 Mon Sep 17 00:00:00 2001
+From: Ilan Joselevich <personal@ilanjoselevich.com>
+Date: Tue, 30 Nov 2021 22:50:43 +0200
Subject: [PATCH] When creating the autostart entry, do not use an absolute
- path
---
src/common/utility_unix.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/common/utility_unix.cpp b/src/common/utility_unix.cpp
-index 010408395..16964c64f 100644
+index 887213f09..c66468306 100644
--- a/src/common/utility_unix.cpp
+++ b/src/common/utility_unix.cpp
-@@ -83,7 +83,7 @@ void setLaunchOnStartup_private(const QString &appName, const QString &guiName,
- ts << QLatin1String("[Desktop Entry]") << endl
- << QLatin1String("Name=") << guiName << endl
- << QLatin1String("GenericName=") << QLatin1String("File Synchronizer") << endl
-- << QLatin1String("Exec=\"") << executablePath << "\" --background" << endl
+@@ -88,7 +88,7 @@ void setLaunchOnStartup_private(const QString &appName, const QString &guiName,
+ ts << QLatin1String("[Desktop Entry]\n")
+ << QLatin1String("Name=") << guiName << QLatin1Char('\n')
+ << QLatin1String("GenericName=") << QLatin1String("File Synchronizer\n")
+- << QLatin1String("Exec=\"") << executablePath << "\" --background\n"
+ << QLatin1String("Exec=") << "nextcloud --background" << endl
- << QLatin1String("Terminal=") << "false" << endl
- << QLatin1String("Icon=") << APPLICATION_ICON_NAME << endl
- << QLatin1String("Categories=") << QLatin1String("Network") << endl
+ << QLatin1String("Terminal=") << "false\n"
+ << QLatin1String("Icon=") << APPLICATION_ICON_NAME << QLatin1Char('\n')
+ << QLatin1String("Categories=") << QLatin1String("Network\n")
--
-2.31.1
-
+2.33.1
diff --git a/pkgs/applications/networking/nextcloud-client/default.nix b/pkgs/applications/networking/nextcloud-client/default.nix
index 071f5adfd497..97a86055f399 100644
--- a/pkgs/applications/networking/nextcloud-client/default.nix
+++ b/pkgs/applications/networking/nextcloud-client/default.nix
@@ -21,13 +21,13 @@
mkDerivation rec {
pname = "nextcloud-client";
- version = "3.3.6";
+ version = "3.4.0";
src = fetchFromGitHub {
owner = "nextcloud";
repo = "desktop";
rev = "v${version}";
- sha256 = "sha256-HhFm8rIsDaV4QmvHplbj49gf1vYCZyBl8WH5bvRHT7I=";
+ sha256 = "sha256-+b+DJwbYegbeoQmcdBg5Y7rJmKwPjz2XRUroP55ZO+g=";
};
patches = [