Commit Graph

63 Commits

Author SHA1 Message Date
Maximilian Bosch
c6913213eb
nextcloud-client: switch to libsecret and use it by default
This change makes it easier for users to setup the nextcloud client with
GNOME keyring support as discussed in the IRC[1][2].

Additionaly we now use `libsecret` instead of `libgnome-keyring` which
integrates better in a GNOME setup (libgnome-keyring defaults to the
Gnome2 library)[3].

[1] https://logs.nix.samueldr.com/nixos/2018-11-24#1745871;
[2] https://logs.nix.samueldr.com/nixos/2018-11-24#1746033;
[3] #38266
2018-11-25 21:47:32 +01:00
Maximilian Bosch
e75f922e91 nextcloud-client: 2.3.3 -> 2.5.0 (#50463)
Updates to the latest version of the desktop client available. Tested
the config migration from `nextcloud-client` 2.3.3 with a Nextcloud
14.0.3 instance (hosted using `services.nextcloud`).

Additionally the derivation required the following changes:

* Dropped `Qt5Sql` patch: this has been fixed upstream and isn't needed
  anymore (furthermore their CMake structure has changed and the patch
  wouldn't apply anymore on 2.5.0).

* Moved to a new upstream repository (nextcloud/desktop), kept
  `fetchgit` to properly fetch submodules.

* Added OpenSSL 1.1 integration: `libsync` (the syncing provided by this
  package) requires 1.1, furthermore the linking flags had to be fixed
  manually by passing `NIX_LDFLAGS` to the derivation.

Furthermore I moved the support for a Gnome3 keyring into its own
wrapper to avoid a full rebuild of the package whenever you alter
`withGnomeKeyring` in an override expressions.

It's still possible to enable keyring (now without recompile) like this:

```
nextcloud-client.override { withGnomeKeyring = true; }
```

To override the derivation itself you now have to use
`nextcloud-client-unwrapped`:

```
nextcloud-client-unwrapped.overrideAttrs (old: {
   src = yoursrc;
})
```
2018-11-23 02:31:31 -05:00
Badi Abdul-Wahid
b619881ae0
nextcloud-client: restrict platform to linux
Some dependencies fail to build on darwin.
2018-03-11 20:06:45 -04:00
Jan Tojnar
a31d98f312
tree-wide: autorename gnome packages to use dashes 2018-02-25 17:41:16 +01:00
Franz Pletz
53dc96c8b4
Merge pull request #32323 from caugner/nextcloud-2.3.3
nextcloud-client: 2.3.2 -> 2.3.3
2018-02-22 23:36:01 +00:00
Ruben Maher
3e952780eb nextcloud-client: fix icon name in desktop file
The desktop file bundled with nextcloud calls the icon `nextcloud`, but the
icons are named `Nextcloud` and so desktop environments won't find it.
2018-01-13 20:29:07 +10:30
Claas Augner
4a88a01dd3
nextcloud: 2.3.2 -> 2.3.3 2017-12-04 22:08:32 +01:00
Averell Dalton
cce47a6bf5 nextcloud-client: fix build after qt updates
Probably necessary after restructuring/updates in #31462
2017-11-20 08:10:40 +01:00
Ruben Maher
e828dcb5cd nextcloud-client: provide optional gnome-keyring integration
`qtkeyring` can use `gnome-keyring`, but it needs some help to find it.

I have not enabled this by default because not everyone who uses this will want
to pull in GNOME dependencies.
2017-09-14 08:42:55 +09:30
Ruben Maher
4ce18c8367 nextcloud-client: enable parallel building
So that the client can build faster.
2017-09-14 08:42:55 +09:30
Ruben Maher
e02f936b27 nextcloud-client: add inotify dependency when building on linux
This allows for more efficient change detection.
2017-09-14 08:42:55 +09:30
Ruben Maher
ebb6488e74 nextcloud-client: use cmakeDir and cmakeFlags attrs 2017-09-14 08:42:55 +09:30
Claas Augner
03b08fca66 nextcloud-client 2.3.2 (#28645)
* nextcloud-client: init at 2.3.2

* nextcloud-client: nitpicks
2017-08-28 21:33:51 +01:00