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