tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
nextcloud-client: 3.3.6 -> 3.4.0
Ilan Joselevich
4 years ago
5094edf7
39b1caa2
+15
-17
2 changed files
expand all
collapse all
unified
split
pkgs
applications
networking
nextcloud-client
0001-When-creating-the-autostart-entry-do-not-use-an-abso.patch
default.nix
+13
-15
pkgs/applications/networking/nextcloud-client/0001-When-creating-the-autostart-entry-do-not-use-an-abso.patch
···
1
1
-
From bade623bb98c957d9a274df75b58296beb8ae6a7 Mon Sep 17 00:00:00 2001
2
2
-
From: Marvin Dostal <maffinmaffinmaffinmaffin@gmail.com>
3
3
-
Date: Sun, 17 Oct 2021 21:26:51 +0200
1
1
+
From 54255deceaaaf118e9daadc3dd9f517c33bdd658 Mon Sep 17 00:00:00 2001
2
2
+
From: Ilan Joselevich <personal@ilanjoselevich.com>
3
3
+
Date: Tue, 30 Nov 2021 22:50:43 +0200
4
4
Subject: [PATCH] When creating the autostart entry, do not use an absolute
5
5
-
path
6
5
7
6
---
8
7
src/common/utility_unix.cpp | 2 +-
9
8
1 file changed, 1 insertion(+), 1 deletion(-)
10
9
11
10
diff --git a/src/common/utility_unix.cpp b/src/common/utility_unix.cpp
12
12
-
index 010408395..16964c64f 100644
11
11
+
index 887213f09..c66468306 100644
13
12
--- a/src/common/utility_unix.cpp
14
13
+++ b/src/common/utility_unix.cpp
15
15
-
@@ -83,7 +83,7 @@ void setLaunchOnStartup_private(const QString &appName, const QString &guiName,
16
16
-
ts << QLatin1String("[Desktop Entry]") << endl
17
17
-
<< QLatin1String("Name=") << guiName << endl
18
18
-
<< QLatin1String("GenericName=") << QLatin1String("File Synchronizer") << endl
19
19
-
- << QLatin1String("Exec=\"") << executablePath << "\" --background" << endl
14
14
+
@@ -88,7 +88,7 @@ void setLaunchOnStartup_private(const QString &appName, const QString &guiName,
15
15
+
ts << QLatin1String("[Desktop Entry]\n")
16
16
+
<< QLatin1String("Name=") << guiName << QLatin1Char('\n')
17
17
+
<< QLatin1String("GenericName=") << QLatin1String("File Synchronizer\n")
18
18
+
- << QLatin1String("Exec=\"") << executablePath << "\" --background\n"
20
19
+ << QLatin1String("Exec=") << "nextcloud --background" << endl
21
21
-
<< QLatin1String("Terminal=") << "false" << endl
22
22
-
<< QLatin1String("Icon=") << APPLICATION_ICON_NAME << endl
23
23
-
<< QLatin1String("Categories=") << QLatin1String("Network") << endl
20
20
+
<< QLatin1String("Terminal=") << "false\n"
21
21
+
<< QLatin1String("Icon=") << APPLICATION_ICON_NAME << QLatin1Char('\n')
22
22
+
<< QLatin1String("Categories=") << QLatin1String("Network\n")
24
23
--
25
25
-
2.31.1
26
26
-
24
24
+
2.33.1
+2
-2
pkgs/applications/networking/nextcloud-client/default.nix
···
21
21
22
22
mkDerivation rec {
23
23
pname = "nextcloud-client";
24
24
-
version = "3.3.6";
24
24
+
version = "3.4.0";
25
25
26
26
src = fetchFromGitHub {
27
27
owner = "nextcloud";
28
28
repo = "desktop";
29
29
rev = "v${version}";
30
30
-
sha256 = "sha256-HhFm8rIsDaV4QmvHplbj49gf1vYCZyBl8WH5bvRHT7I=";
30
30
+
sha256 = "sha256-+b+DJwbYegbeoQmcdBg5Y7rJmKwPjz2XRUroP55ZO+g=";
31
31
};
32
32
33
33
patches = [