Commit Graph

72 Commits

Author SHA1 Message Date
Philipp Wolfer
5e3fa405af PICARD-2422: Removed packaging of AB streaming extractor 2022-02-16 11:46:21 +01:00
Philipp Wolfer
29ed9d79d2 PICARD-2395: Fixed building for macOS 2022-01-12 08:54:21 +01:00
Philipp Wolfer
c511137ef6 Revert "Removed Qt translations workaround no longer needed with current PyInstaller"
This reverts commit 5f0e598385.
2022-01-12 08:54:21 +01:00
Philipp Wolfer
197efffec1 packaging: Verify SHA256 hashes of downloaded Windows dependencies 2021-12-25 17:37:54 +01:00
Philipp Wolfer
42508ec5d3 Enclose command parameters in quotation marks 2021-12-24 14:15:17 +01:00
Philipp Wolfer
471065964c packaging: verify checksums for macOS downloaded dependencies 2021-12-24 12:30:06 +01:00
Laurent Monin
368221b840 Workaround hdiutil: create failed - Resource busy with a loop/delay 2021-12-03 12:54:52 +01:00
Philipp Wolfer
2f34f3cd2e Fixed appx signing 2021-11-10 15:05:56 +01:00
Philipp Wolfer
f22c3ea965 Use SecureString in Windows Powershell packaging script 2021-11-10 14:59:42 +01:00
Philipp Wolfer
52e64f16c0 macOS: Build with newer essentia extractor binary
Use the for now unofficial builds from https://github.com/phw/essentia-extractor-builds/releases/tag/v2.1_beta2_1 which are compiled with newer SDK. The official binaries cannot be used because they cannot be notarized.
2021-10-06 08:24:48 +02:00
Philipp Wolfer
2422d74cb3 macOS: Handle different command line syntax for xpath on Big Sur 2021-09-25 14:52:37 +02:00
Philipp Wolfer
5f0e598385 Removed Qt translations workaround no longer needed with current PyInstaller 2021-09-25 14:50:11 +02:00
a1346054
990bec0460 Fix whitespace 2021-08-29 15:02:06 +02:00
a1346054
f086f61575 Fix shellcheck warnings 2021-08-29 15:02:06 +02:00
Philipp Wolfer
d9d748e423 Skip bundling essentia-extractor in macOS builds for now
Workaround to fix macOS notarization until we get an essentia extractor build with macOS SDK 10.9 or later
2021-08-23 17:25:01 +02:00
Gabriel Ferreira
f42f78b0de AcousticBrainz feature extraction and submission support
Co-authored-by: Laurent Monin <github@norz.org>
Co-authored-by: Philipp Wolfer <ph.wolfer@gmail.com>
2021-08-22 12:46:57 +02:00
Philipp Wolfer
bba20a28ab Allow disabling graphical crash handler with --no-crash-dialog
This is mainly for running Picard in CI environments and debugging
2021-05-17 17:54:21 +02:00
Philipp Wolfer
6ac80aaf82 Double quote parameters in shell scripts 2021-04-06 17:58:19 +02:00
Philipp Wolfer
be7b578c75 PICARD-1943: Fix macOS app signature breaking on macOS 10.12/10.13
Avoid signature being written to extended file system attributes by moving resource files to Contents/Resources.
2020-12-31 20:15:54 +01:00
Philipp Wolfer
19bafa2999 macOS: Only test package after build if it was codesigned
Without code signing this will likely fail due to signature errors
2020-12-26 16:53:41 +01:00
Philipp Wolfer
3c50b3ea4e More verbose output in macOS build script 2020-12-26 16:41:54 +01:00
Philipp Wolfer
293c2c730f macos: build with Python 3.9.1 2020-12-26 15:30:13 +01:00
Philipp Wolfer
09aa1b7467 macos: verify notarization and code signature 2020-12-26 15:30:12 +01:00
Philipp Wolfer
8d8e8c186c Create separate builds for macOS 10.12+ and 10.14+ 2020-12-26 15:30:12 +01:00
Philipp Wolfer
1814a02313 Update macOS distribution certificate
Update the mechanism to work exactly as we do it for the Windows code signing.
2020-10-28 14:23:45 +01:00
Philipp Wolfer
0a5aba7c8f PICARD-1958: Add a symlink to /Applications to macOS DMG 2020-10-02 20:06:32 +02:00
Philipp Wolfer
d7b1dae98b macOS: Handle OS version 11.0 in package script (#1646) 2020-10-02 20:03:07 +02:00
Philipp Wolfer
a52f97b133 PICARD-1935: Include tests in sdist
Verify in CI the sdist package is complete and passes tests.
2020-09-04 13:38:27 +02:00
Philipp Wolfer
069428c8fc win_setup: Log versions of downloaded libdiscid / fpcalc 2020-06-18 10:19:13 +02:00
Philipp Wolfer
b50b14a093 Upgrade to fpcalc 1.5.0 for Windows and macOS builds 2020-04-17 22:00:29 +02:00
Philipp Wolfer
84e6322bc3 CI: Split building Windows packages into separate jobs
Upload separate artifacts and build in parallel.
2020-01-29 08:31:26 +01:00
Philipp Wolfer
d552063fdf Use updated builds of fpcalc for windows
For consistency with macOS version. Using updated builds with latest FFmpeg
2020-01-21 18:40:17 +01:00
Philipp Wolfer
e82767e0d8 PICARD-1707: Download updated macOS fpcalc build
Using a macOS fpcalc build from custom repository until an official new version build with newer macOS SDK is available.
2020-01-21 14:08:53 +01:00
Philipp Wolfer
af5440d516 Move changelog-for-version to separate scripts/tools folder 2020-01-14 22:36:11 +01:00
Philipp Wolfer
2d5a5375e3 Add XML doctype to entitlemens.plist 2020-01-14 22:15:31 +01:00
Philipp Wolfer
172df0a831 Do not use virtualenv on macOS builds
This fixes recent build errors and unifies the bild scripts with the Windows version.
2020-01-13 08:24:05 +01:00
Philipp Wolfer
1636fcb310 PICARD-1703: Upgrade to PyInstaller 3.6
Allows us to remove some Windows specific workarounds, fixes a CVE related to the portable onefile install.
2020-01-11 15:09:01 +01:00
Philipp Wolfer
e1354632d2 Wait longer initially for macOS notarization
Previously it could happen that the notarization request was not yet known when checking for the status and the service would respond with "Could not find the RequestUUID". Since the notaritzation process usually takes 2-5 minutes waiting for 1 minute initially should be fine.
2019-12-04 15:34:14 +01:00
Philipp Wolfer
e07c6a99c2 Github Actions: Cache libdiscid for macOS builds 2019-12-02 20:30:10 +01:00
Philipp Wolfer
d8d612e29f Update Github release from changelog 2019-12-02 13:55:05 +01:00
Philipp Wolfer
c267e17faa CI: Do not run rew update for macOS builds
If required this should be run outside the setup script.
2019-12-02 12:25:13 +01:00
Philipp Wolfer
2c21cc7898 Fixed linting issues in shell script reported by codacy. 2019-11-29 17:01:36 +01:00
Philipp Wolfer
4eb5b6084a macOS notarization: Print success message returned by notarization service 2019-11-28 21:12:33 +01:00
Philipp Wolfer
5ecf7b7320 macOS notarization: Faster polling, improved info output 2019-11-28 20:50:09 +01:00
Philipp Wolfer
4c7a93e7e2 Avoid spaces in filenames for binary builds 2019-11-26 16:41:15 +01:00
Philipp Wolfer
bb809846e6 macos-package-app: Run patch_version only on Travis
This is handled separately for Github Actions
2019-11-26 16:41:15 +01:00
Philipp Wolfer
7827b1bf16 Github Actions: Use Get-PfxCertificate to open code sign certificate
Import-PfxCertificate is not available on Github Actions.
2019-11-26 16:41:14 +01:00
Philipp Wolfer
e2e3c1d7cd Github Actions: Package Windows app 2019-11-26 16:41:14 +01:00
Philipp Wolfer
1ce769983f Github Actions: Package macOS app 2019-11-26 16:41:14 +01:00
Philipp Wolfer
05c695f8de Removed misleading output from build script 2019-11-21 14:33:45 +01:00