Commit Graph

282 Commits

Author SHA1 Message Date
Claudio Cambra
5e9b74594b fix: Update upstream URL for Extra CMake Modules
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-10-06 16:46:18 +02:00
Claudio Cambra
87275ec495 feat: Use upstream extra cmake modules
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-10-06 16:46:18 +02:00
Matthieu Gallien
af4ff615a7 chore: always produces systemd service and install it when possible
if possible we detect systemd and enable install of the user service

try to improve user feedback when configure is run such that people may
be able to figure out what is hapenning

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-08-28 16:29:56 +02:00
Rello
31c4c2601d fix: use NOT for account migration option 2025-08-22 13:53:08 +02:00
Iva Horn
99e760363a fix(macOS): Enable debugger to attach to process.
- Disable hardened runtime for debug builds.
- Add required get-task-allow entitlement conditionally.

Signed-off-by: Iva Horn <iva.horn@icloud.com>
2025-07-21 14:11:16 +02:00
Jyrki Gadinger
83d6bbcb50 remove no longer required CMake modules
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-05-14 14:55:27 +02:00
Rello
5cd1b384dc Update CMakeLists.txt
Signed-off-by: Rello <Rello@users.noreply.github.com>
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-05-14 14:55:27 +02:00
Rello
0aa2377ad7 Update CMakeLists.txt
Signed-off-by: Rello <Rello@users.noreply.github.com>
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-05-14 14:55:27 +02:00
Andy Scherzinger
7655efa230 docs(reuse): Migrate to SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2025-05-06 09:49:30 +02:00
Jyrki Gadinger
2bbbacb8dc fix(mac): bump deployment target to 12.0
Qt 6.8 now requires macOS 12.0 as per https://doc.qt.io/qt-6.8/macos.html

for comparison, Qt 6.7 supported 11.0 and newer: https://doc.qt.io/qt-6.7/macos.html

also update the Packages project to refuse to install on anything older
than Monterey (12.0)

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-04-04 12:28:04 +02:00
Andrea Pappacoda
f3696ba0aa Add systemd user service
Signed-off-by: Andrea Pappacoda <andrea@pappacoda.it>
2025-03-25 14:42:58 +01:00
Matthieu Gallien
046d539206 require std c++ 20 ISO standard
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-03-14 11:10:16 +01:00
Matthieu Gallien
2a52ec33b0 add support to use PKCS#11 harware token to store certifice for e2ee
Close #5685

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-02-07 09:12:29 +01:00
Matthieu Gallien
3659bfebfb
require Qt 6.8.0
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-01-27 10:03:39 +01:00
Camila Ayres
5456ed107a Move option APPLICATION_DISPLAY_LEGACY_IMPORT_DIALOG to CMakeLists.txt.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-12-09 16:42:40 +01:00
Matthieu Gallien
0ec73cb885 we require Qt 6.7 release to build
we use new API from Qt6.7

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-11-22 11:14:38 +01:00
Claudio Cambra
b27d360cb6 Add xml-escaped version of application vendor variable in CMakeLists
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-10-31 18:39:13 +08:00
Claudio Cambra
f2f16a5f24 Downgrade deployment target variables to 11.0 as 12.0 is not necessary
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-09-23 10:32:34 +02:00
Matthieu Gallien
7a979c732a properly detect and enable Qt6 WebEngine integration
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-08-28 11:35:04 +02:00
Matthieu Gallien
4566400ee6 streamline find_package calls to really find Qt6
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-04-26 09:05:12 +02:00
Matthieu Gallien
aa76de9b68 allow detection of qt5 or qt6
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-04-26 09:05:12 +02:00
Matthieu Gallien
d3442d137a disable qt apis deprecated before qt 5.12, enable warnings
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-04-26 09:05:12 +02:00
Camila Ayres
63b0a9f94d Add cmake NEXTCLOUD_DEV so debug client can run in parallel to release client.
- Defaults to OFF.

Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-04-11 15:42:54 +02:00
Matthieu Gallien
ba78942209 Revert "Allow installation to close shell extension DLLs via the custom action. Disable reboot prompt in case of the version with this change was previously already installed."
Close #6566

This reverts commit c1719bc817.
2024-03-27 09:56:45 +01:00
alex-z
c1719bc817 Allow installation to close shell extension DLLs via the custom action. Disable reboot prompt in case of the version with this change was previously already installed.
Signed-off-by: alex-z <blackslayer4@gmail.com>
2024-03-19 13:56:07 +01:00
Matthieu Gallien
5dfeb55e0f we require c++-17
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-03-12 23:30:02 +01:00
Camila Ayres
7fb8eb3b79 Set min OSX version via cmake.
It should now only use the CMAKE_OSX_DEPLOYMENT_TARGET set when building.

Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-03-11 15:20:51 +01:00
Matthieu Gallien
ad14e10fbb globally enable use of the xcode hardened runtime
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-01-24 12:12:43 +01:00
Camila
02e4f05358
Use a new FindSQLite3 cmake module.
Add find sqlite to the root CMakeLists.txt.

Signed-off-by: Camila <hello@camila.codes>
2023-12-11 11:50:33 +01:00
Matthieu Gallien
68763fa577
add a cmake flag to not build with Qt5 WebEngine
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-12-04 16:29:52 +01:00
Claudio Cambra
4d359bdb2a Fix optional compile of File Provider module
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-07-24 12:12:29 +02:00
Claudio Cambra
fdbd5e40cc Don't build file provider module by default (yet)
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-06-06 20:49:31 +08:00
Claudio Cambra
a85d93450a
Make CMake BUILD_FILE_PROVIDER_MODULE option only available on Apple
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-05-12 13:29:53 +08:00
Claudio Cambra
23e623ef0a
Make it possible to disable building file provider module
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-05-12 13:28:45 +08:00
Matthieu Gallien
94c1c02a11
disable by default the use of clang-tidy
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-04-25 17:23:58 +02:00
Matthieu Gallien
6df6c8d44c
sets clang-tidy configuration in cmake to get automatic checking
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-02-22 16:50:19 +01:00
Matthieu Gallien
602b8db5e2
handle case clash conflicts in a similar way to content conflicts
introduce a new type of conflict for case clash filename conflicts

add proper handling including a new utility class to solve them and a
new dialog for the user to pick a fix

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-01-25 16:37:35 +01:00
allexzander
289a641d74 VFS Windows: Display the sharing state and lock state in the 'Status' column of Windows Explorer
Signed-off-by: allexzander <blackslayer4@gmail.com>
2022-10-04 18:32:51 +02:00
alex-z
35721cf746 Set CXX Standard 17.
Signed-off-by: alex-z <blackslayer4@gmail.com>
2022-09-17 09:47:15 +02:00
allexzander
9270d401e8 Move URI scheme variable from Nextcloud.cmake to root CmakeListst.
Signed-off-by: allexzander <blackslayer4@gmail.com>
2022-08-04 11:50:58 +03:00
alex-z
3400df461d Move CFAPI shell extensions variables to root CMakeLists.
Signed-off-by: alex-z <blackslayer4@gmail.com>
2022-08-03 14:55:31 +03:00
Claudio Cambra
9dd9c46493 Do not compile things that require the app bundle when building the client without the app bundle on macOS
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-06-10 10:43:36 +02:00
Matthieu Gallien
75bcc9a24e require cmake 3.16
close #3572

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-03-09 13:07:48 +00:00
alex-z
0776df65c3 Always build with updater. Use 'beta/stable' channel seletor in 'General Settins' dialog with default 'stable'.
Signed-off-by: alex-z <blackslayer4@gmail.com>
2022-02-02 10:46:11 +00:00
nextch
b4d6c90c62
Merge branch 'master' into bug/4153-cloudproviders-dbus-build 2022-01-24 15:21:39 +02:00
Matthieu Gallien
18be0e88dc do not activate quick compiler by default
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-01-12 11:37:13 +00:00
nextch
e48879555b
Check for dbus-1 when building with cloudproviders
Resolves: 4153
Signed-off-by: nextch <97217716+nextch@users.noreply.github.com>
2022-01-08 16:56:40 +02:00
Claudio Cambra
044cf7ee13 Add QUICK_COMPILER option to drone builds, set quick compiler on by default
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-01-07 17:48:31 +00:00
Claudio Cambra
a1d42b4177 Make compiler required when option is on, removed unused def
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-01-07 17:48:31 +00:00
Claudio Cambra
e25140d72e Add option of enabling QtQuick compiler
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-01-07 17:48:31 +00:00