Commit graph

633 commits

Author SHA1 Message Date
Claudio Cambra
73432d1dac Add option to set product path in mac-crafter
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-19 16:57:23 +08:00
Claudio Cambra
b539861fcc Use default long arg type for build path
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-19 16:57:23 +08:00
Claudio Cambra
9fa27752f3 Allow setting of osx archs craft option in mac-crafter
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-19 16:57:23 +08:00
István Váradi
07f69133e4 Use a single OBS package for all Debian distributions
Signed-off-by: István Váradi <ivaradi@varadiistvan.hu>
2024-07-12 01:02:36 +08:00
István Váradi
5312d9a251 Determine the base version and build kind using the Debian build branch
Signed-off-by: István Váradi <ivaradi@varadiistvan.hu>
2024-07-12 01:02:36 +08:00
István Váradi
70873d19c3 Remove Ubuntu Mantic, add Oracular
Signed-off-by: István Váradi <ivaradi@varadiistvan.hu>
2024-07-11 23:20:11 +08:00
Claudio Cambra
db0c577321 Add offline flag to mac crafter
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
f0166b29ee Replace bool options with flags in mac crafter
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
942cc09e16 Add option to build tests or not in mac crafter
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
9025be29a4 When doing a full rebuild in mac crafter, delete old build folder
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
6a0fbaff1c Simplify dylib signing process and ensure resource libs are signed in mac crafter
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
099648825e Improve build mode flag handling in mac crafter
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
5ad1a60b9e Make mac-related build options configurable in mac crafter
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
6bca337321 Throw on failure of any shell commands to complete successfully in ma crafter
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
a1e3474743 Compile and install instead of full clean rebuild of client in mac crafter
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
d8afa2b36b Allow setting custom git clone command in mac crafter
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
7a74f68eb9 Always configure craft if first download and set to not reconfigure by default in mac crafter
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
6f1f0ba562 Use --options as recommended for configuring craft build in mac crafter
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
78b41e09a0 Make craft blueprint name adjustable in mac crafter
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
3ff8f83148 Add support for fetching and including Sparkle in mac crafter
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
f41d6e4788 Remove unused Build file in mac crafter
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
922748755f Extract app bundle codesigning procedure to separate file in mac crafter
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
a4fbf97f36 Directly sign plugins and frameworks within app bundle in mac crafter
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
11ebcca277 Add relevant files to mac crafter gitignore
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
503bd966f8 Add option to skip craft configuration in mac crafter
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
b0e167a4d0 Divide client app dir path construction in mac crafter
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
c47435150b Fix unused codesignidentity warning in mac crafter
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
495c85905e Throw if codesign binary not found in mac crafter
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
cec60201fb Fix buildtype argument for craft in mac crafter
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
a9196609b0 Add procedure to codesign app bundle in mac crafter
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
a73877cece Allow explicitly skipping code-signing of dependencies in mac crafter
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
9f88eb0376 Allow setting of build type in mac crafter
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
6c82430553 Remove previous craft client builder
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
fb582c4394 Fix paths in mac crafter
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
902a551e61 Fix mac-crafter abstract
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
11eb2bd714 Adjust arguments for mac crafter
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
0a699d6c3f Fix dependencies for mac-crafter
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
42c68082ab Make URLs adjustable in mac crafter
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
375020fa79 Make build path adjustable in mac crafter
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
4e37ec8b4c Move library check to separate file in mac crafter
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
82c46b7539 Codesign all crafted plugins in mac crafter
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
1dbde98598 Codesign all the crafted libraries with mac crafter
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
1ec7d0bb87 Make codesigning throw in mac crafter
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
41b62e2677 Make installIfMissing throwing in mac crafter
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
fc9c5650e0 Implement basic argumentparser in mac crafter
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
1bc7054fab Move functions of mac crafter into different files
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
01eba19d8d Add copyright header to main.swift
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
7b439967d3 Move build script into dedicated package
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
f45c30d3ff Add codesign function to macos builder
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00
Claudio Cambra
d15dd26bda Craft the desktop client in the mac builder script
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-08 15:41:45 +08:00