Commit Graph

719 Commits

Author SHA1 Message Date
Andy Scherzinger
49038ade94
docs(reuse): Migrate to SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2025-04-25 17:27:21 +02:00
Andy Scherzinger
00994aa9e8
docs(reuse): Migrate to SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2025-04-16 15:19:26 +02:00
Jyrki Gadinger
88d62aed40 fix(msi): allow custom installation directory
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-04-15 16:18:52 +02:00
Jyrki Gadinger
e6c9c5477a fix: move array to correct value in dict
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-04-07 14:56:42 +02:00
Claudio Cambra
0ac8eefa52 fix(mac-crafter): Work around broken consecutive shell integration builds
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-04-04 15:32:16 +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
Jyrki Gadinger
a6a17e324a feat: build installer with translations for DE, FR, IT, ES
building all the translated installers takes about ~1 minute each, so
keep that in mind when adding extra translations ...

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-04-04 11:33:20 +02:00
Jyrki Gadinger
d2474d9f45 feat: build translated MSI installer
the base translations come from WixUI itself

There are still some untranslated strings in Nextcloud.wxs, we need to
take care of them at a later point.  As a first step this is good
enough.

This commit serves as a proof-of-concept, the languages I used here will
change depending on what we want to support.

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-04-04 11:33:20 +02:00
Claudio Cambra
6735288308
feat(mac-crafter): Improve readme
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-04-03 15:38:24 +08:00
István Váradi
1026c56f5f Fix version detection by the Ubuntu/Debian build script
Signed-off-by: István Váradi <ivaradi@varadiistvan.hu>
2025-03-13 00:09:24 +08:00
Claudio Cambra
2d40ab607b mac-crafter: Improve dmg window aesthetics
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-03-07 10:35:47 +01:00
Claudio Cambra
960dd9db9a mac-crafter: Only try to install create-dmg in command run
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-03-07 10:35:47 +01:00
Claudio Cambra
31c5ccde85 mac-crafter: Add command to create DMGs for app bundle
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-03-07 10:35:47 +01:00
Claudio Cambra
92223f8107 mac-crafter: Add DMG creation procedure
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-03-07 10:35:47 +01:00
István Váradi
ef1fc3caa8 Add Ubuntu Plucky
Signed-off-by: István Váradi <ivaradi@varadiistvan.hu>
2025-01-29 10:42:45 +01:00
Jyrki Gadinger
868e233131
replace drone PR appimage setup with GitHub Actions
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-01-24 09:08:02 +01:00
Jyrki Gadinger
9411837b6c
modify appimage build script to work with an EL8 base
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-01-24 09:07:56 +01:00
Claudio Cambra
d16efb0727 mac-crafter: Apply code-signing procedure on Sparkle as recommended by Sparkle docs
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-01-15 09:21:19 +01:00
Claudio Cambra
51ffdb2a53 mac-crafter: Update Sparkle version to 2.6.4
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-01-15 09:21:19 +01:00
Claudio Cambra
582beeec6c Close isExecutable command outpipe file handle after use
Prevents exhaustion of fds

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-12-10 08:52:37 +01:00
Claudio Cambra
154cb1cdc6 mac-crafter: Only attempt sparkle codesign if it exists in the app bundle
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-12-09 09:08:58 +01:00
Claudio Cambra
f3e4fe9846 mac-crafter: Check if path to trecursively codesign exists and throw error if it doesn't
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-12-09 09:08:58 +01:00
cmuck
410091ce85 Fix login regression on linux
Signed-off-by: cmuck <cmuckmuck@gmail.com>
2024-11-22 11:13:28 +01:00
cmuck
71163b77a4 Fix login regression on linux
Signed-off-by: cmuck <cmuckmuck@gmail.com>
2024-11-22 11:13:28 +01:00
Claudio Cambra
bd7c78300a
Skip main executable during first binary codesign round
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-22 02:30:04 +08:00
Claudio Cambra
cc37aa14bc
Add ability to skip certain files in recursive codesign
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-22 02:29:49 +08:00
Claudio Cambra
07d6456d5b
Ensure we sign the app bundle's main executable last
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-22 00:36:25 +08:00
Claudio Cambra
d4b9405870
Only define enumeratedItemPath once
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-22 00:36:12 +08:00
Claudio Cambra
8d01462c80
Ensure path passed to codesigning is absolute when using mac-crafter codesign
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-21 23:09:13 +08:00
Claudio Cambra
119883965a
Do not take current dir pth for filemanager for recursive codesign executable path check
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-21 23:08:38 +08:00
Claudio Cambra
a8c0eca6ba
Do not do final bundle codesign
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-21 18:47:32 +08:00
Claudio Cambra
e8ac221769
Do not rely on FileManager's isExecutableFile, check manually for Mach-O executable type
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-21 18:47:32 +08:00
Claudio Cambra
92f0cd96ef
Allow using an external task for running commands in mac-crafter run command
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-21 18:46:59 +08:00
Claudio Cambra
da581e2b0e
Do not treat bundles as executables in codesign check
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-21 16:24:52 +08:00
Claudio Cambra
87a5b245fe Do a codesign of the app bundle itself as final step
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-21 13:18:20 +08:00
Claudio Cambra
2ea991228e Also sign executables during recursive codesign
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-21 13:18:20 +08:00
Claudio Cambra
16c177cf4d Do not do deep codesign as default
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-21 13:18:20 +08:00
Claudio Cambra
0239ee3eae Escape code sign entitlement paths in mac crafter
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-20 18:16:51 +08:00
Claudio Cambra
4d15f47e09
Fix codesign path for app bundle main binaries
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-20 18:03:33 +08:00
Claudio Cambra
f5d91953bf
Use recursive codesign instead of broken wildcard path for sparkle Autoupdate app
Broken when we starting escaping paths in codesign arguments

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-20 16:34:09 +08:00
Claudio Cambra
7c171b8e20
Also add options to recursive codesign function
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-20 16:33:36 +08:00
Claudio Cambra
f6eb3f9b79
Also escape codesign call with saving entitlements
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-20 16:11:32 +08:00
Claudio Cambra
533b04baf9 Ensure paths are passed properly escaped into codesign command in mac-crafter
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-20 12:13:25 +08:00
Camila Ayres
a82b0e96cc Update url to dowload linuxdeploy-plugin-qt tool latest version.
Fix https://github.com/linuxdeploy/linuxdeploy-plugin-qt/pull/186 for Qt6 has been released.

Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-11-19 14:07:42 +01:00
Claudio Cambra
62bc088ea1 Add option to create developer builds of client via mac crafter
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-15 13:32:30 +08:00
Camila Ayres
817a161211 Update share link for AppImage tool.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-10-31 11:23:39 +01:00
Camila Ayres
d24f3e1220
Fix the list of steps order.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-10-08 14:35:01 +02:00
Claudio Cambra
aaa6dad3a5 Match the universal build instructions with what we actually do with mac-crafter and make_universal
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-10-08 14:32:37 +02:00
Claudio Cambra
a2f07866f8 Clarify architecture setting has automatic default in mac-crafter readme
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-10-08 14:32:37 +02:00
Claudio Cambra
7b53352969 Simplify build instructions in mac-crafter README
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-10-08 14:32:37 +02:00