Commit Graph

134 Commits

Author SHA1 Message Date
Philipp Wolfer
fc87a788a9 fix-header.py: Update alias list 2020-02-24 15:44:26 +01:00
Laurent Monin
6b5e852a60 Run fix-header on *.py 2020-02-24 10:25:09 +01:00
Laurent Monin
9093abdff7 fix-header.py: output progress message (to stderr) 2020-02-24 10:07:53 +01:00
Laurent Monin
2f8985a478 fix-header.py: Fix IndexError when file is empty 2020-02-24 10:07:05 +01:00
Laurent Monin
8dce9b1342 Add support for fix-header: skip, to ignore a file
Comment formats supported:
#
/* */
//
2020-02-22 13:52:36 +01:00
Philipp Wolfer
a319513410 fix-header.py: Preserve shebang
Preserve shebang at start of file. Also ran fix-header.py on itself.
2020-02-22 12:46:48 +01:00
Laurent Monin
5a0abcf156 Add few more entries to aliases 2020-02-22 12:46:48 +01:00
Laurent Monin
6f61574d5f fix-header.py: Fixed merging years from log and file 2020-02-22 12:46:48 +01:00
Philipp Wolfer
3e3713ea82 fix-header.py: Added shebang and moved to scripts/tools 2020-02-22 12:46:48 +01:00
Philipp Wolfer
e2b979e734 fix_header.py: Fixed merging of authors from file and log 2020-02-22 12:46:48 +01:00
Laurent Monin
10a019091b Ignore codacy warnings about subprocess 2020-02-22 12:46:48 +01:00
Laurent Monin
66c19491a3 Add a script to maintain license in source files
It uses existing copyrights and authors from git log.
2020-02-22 12:46:48 +01: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
775db88649 PICARD-1665: Normalize plugin and const paths for better comparisson
Without this path comparisson to check wheter a plugin is installed in the user plugin dir fails on Windows.
2019-12-31 17:17:54 +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
ce41927f00 PICARD-1675: Disable autoupdate works for pyinstaller and local builds
Generate tagger.py from tagger.py.in
2019-11-21 19:16:18 +01:00
Philipp Wolfer
05c695f8de Removed misleading output from build script 2019-11-21 14:33:45 +01:00
Philipp Wolfer
c3477bc326 PICARD-1669: Use "unplated" taskbar icon for MSIX package
This will Windows use the unmodified Picard icon in the taskbar instead of automatically adding a padding and background. This does not affect the appearance of the start menu tiles.

See https://docs.microsoft.com/en-us/windows/msix/desktop/desktop-to-uwp-manual-conversion#optional-add-target-based-unplated-assets
2019-11-19 07:44:52 +01:00
Philipp Wolfer
f4e58fe24c win builds: Only sign MSIX package if certificate was supplied 2019-11-17 11:02:42 +01:00
Philipp Wolfer
fc6c052fbb appveyor: build improvements
- ensure failing build if tests fail
- always build msix, even if unsigned
2019-11-16 21:43:54 +01:00
Philipp Wolfer
16b34de7de win builds: split packaging into separate scripts
Allows building installer, portable app and Windows 10 app package separately.
2019-11-15 19:44:41 +01:00
Philipp Wolfer
210d22d509 win builds: use appveyor build number for versioning 2019-11-15 17:45:02 +01:00
Philipp Wolfer
b247766614 PICARD-1669: Build Win 10 app package 2019-11-15 17:44:50 +01:00
Philipp Wolfer
95decbabc1 PICARD-1467: Include building portable app in win packagings script
Simplifies error and certificate handling.
2019-11-15 16:35:48 +01:00
Philipp Wolfer
8483febac6 PICARD-1467: Codesign Windows Picard binaries 2019-11-15 16:35:48 +01:00
Philipp Wolfer
81c67b4aff Revert "macOS build: Replace + sign in DMG file name with underscore"
This reverts commit 5767a21d0a.
2019-11-14 14:51:41 +01:00
Philipp Wolfer
57b06c9272 macOS build: Ensure keychain stays unlocked during build 2019-11-13 19:53:28 +01:00
Philipp Wolfer
5767a21d0a macOS build: Replace + sign in DMG file name with underscore 2019-11-13 19:45:22 +01:00
Philipp Wolfer
f943876d32 travisci: fix codesign hanging on macOS 2019-11-13 12:35:57 +01:00
Philipp Wolfer
303959825e macOS packaging: Output about starting upload 2019-11-13 11:23:11 +01:00
Philipp Wolfer
7fddcc689c Generate valid version number with setup.py patch_version
The extra version information must be a valid local version identifier (see https://www.python.org/dev/peps/pep-0440/#local-version-identifiers)
2019-11-12 21:16:33 +01:00
Philipp Wolfer
a65b756480 ci: Moved windows packaging code into PowerShell script 2019-11-12 21:16:33 +01:00
Philipp Wolfer
8e190f13c9 Unified naming of macOS packaging scripts 2019-11-10 14:24:19 +01:00