Laurent Monin
e5b28f21a5
Replace Version.to_string(short=True) by Version.short_str()
2024-04-01 12:10:05 +02:00
Philipp Wolfer
20271dd4cb
PICARD-2331: Removed macOS 10.12+ builds
...
Minimum supported version is now macOS 10.14.
2023-10-13 07:13:26 +02:00
Philipp Wolfer
fa200b4905
PICARD-2690: Consider po/constants in PyInstaller builds
2023-08-31 13:53:41 +02:00
Philipp Wolfer
45f1e1a21d
Use environment variable PICARD_BUILD_PORTABLE to trigger portable build
...
Fixes latest pyinstaller no longer accepting the --onefile parameter if called with a spec.
2022-07-22 10:19:28 +02:00
Philipp Wolfer
5e3fa405af
PICARD-2422: Removed packaging of AB streaming extractor
2022-02-16 11:46:21 +01:00
Philipp Wolfer
8b8ab160b3
Removed obsolete comment from picard.spec
2022-01-06 14:16:42 +01:00
Philipp Wolfer
fb37df7ef8
PICARD-2291: Fix DLL search path in Windows portable install
...
Move setting the PATH to include the package folder earlier in the PyInstaller hooks.
2021-10-17 11:52:14 +02:00
Philipp Wolfer
62c3c957c0
macOS: Set NSHighResolutionCapable as boolean flag
...
This was incorrectly defined as a string, but macOS expects a boolean.
2021-10-14 11:54:47 +02:00
Philipp Wolfer
8ebf5fe462
PICARD-2290: macOS: Explicitly set NSRequiresAquaSystemAppearance=False
...
Fixes dark/light theme not following the system settings.
2021-10-14 11:54:47 +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
cb5dfbc3c0
picard.spec: Ensure local picard module gets loaded
...
Otherwise a globally installed picard is preferred, resulting in wrong version information of the generated package.
2020-10-30 06:17:18 +01:00
Philipp Wolfer
04a771a2f9
macOS: Set LSMinimumSystemVersion based on MACOSX_DEPLOYMENT_TARGET
2020-02-17 23:56:41 +01:00
Philipp Wolfer
ffbf0f9509
macOS: Add LSApplicationCategoryType to Info.plist
2020-01-14 20:34:04 +01:00
Philipp Wolfer
b42fbddb68
PICARD-1402: Allow opening directories via FileOpen event
...
Allows dragging entire folders onto the app icon on macOS to open the containing files in Picard.
2020-01-14 20:31:30 +01:00
Philipp Wolfer
382d13c1d0
PICARD-1402: Register macOS app for supported file types
...
Allows opening these file types from Finder or by drag and drop on the dock icon.
2020-01-14 20:31:30 +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
ef638cb57e
picard.spec: Simplify macos version generation
...
Make use of new Version class functionality.
2020-01-03 14:42:45 +01:00
Philipp Wolfer
880682033c
Introduce DISPLAY_NAME constant for use in metadata
...
This allows us to use the same value on multiple places where we need to specify a product display name for Picard.
2019-12-03 23:08:18 +01:00
Philipp Wolfer
39eebe3e25
Use full version info in portable version filename
2019-11-14 14:51:40 +01:00
Philipp Wolfer
cb8c763ca1
Move macOS library location fix to pyinstaller hook
2019-11-06 17:03:41 +01:00
Philipp Wolfer
6cafb6f1ff
Renamed pyinstaller hook files
2019-11-06 17:03:41 +01:00
Philipp Wolfer
de3a6f46b4
Restructured the scripts folder
2019-11-05 08:44:27 +01:00
Philipp Wolfer
c55034edbf
PICARD-118: Allow building a portable version of Picard
...
The portable version is build in the form of a PyInstaller onefile build which stores config and plugin data next to the executable location.
2019-10-25 20:21:26 +02:00
Philipp Wolfer
2dcf546fc5
Move Windows AttachConsole handling to PyInstaller launch hook
...
For one this is only needed on Windows when running as GUI app, not when running directly from console. Also this should happen as eraly as possible before anything else gets initialized.
2019-10-15 16:00:13 +02:00
Philipp Wolfer
ccc6ddd5d1
picard.spec: Replaced tab with whitespace
2019-10-02 13:52:58 +02:00
Philipp Wolfer
87471b53ab
PICARD-1618: Include compiled astrcmp in macOS package
2019-10-01 14:22:31 +02:00
Philipp Wolfer
dc831950de
PICARD-1614: Set minimum macOS version to 10.12
...
Current macOS builds do not run on macOS < 10.12. Setting LSMinimumSystemVersion enforces that this package cannot be started on older macOS versions with a proper message to the user.
2019-09-27 13:22:04 +02:00
Philipp Wolfer
ee32c5b6eb
picard.spec: Use os_name variable instead of repeated platform.system()
2019-08-19 08:44:08 +02:00
Philipp Wolfer
10e17386a2
Load Qt SSL DLLs on Windows directly from Qt install location
...
With this the developer is no longer required to copy those files manually for packaging
2019-08-19 08:33:22 +02:00
Philipp Wolfer
fae4825630
Fixed Qt SSL packaging on Windows
2019-08-18 16:39:07 +02:00
Philipp Wolfer
adec42868c
Use PICARD_APP_ID also for CFBundleIdentifier
2019-04-09 11:38:21 +02:00
Philipp Wolfer
613e461d08
PICARD-792: Customized tiles for Windows 10 start menu
2018-10-07 12:32:42 +02:00
Philipp Wolfer
d2dec6ca6d
PICARD-1364: Write version information to picard.exe
2018-10-05 19:53:05 +02:00
Laurent Monin
c1d11ca6cc
PICARD-1281: Drop deprecated CFBundleGetInfoString from info.plist
...
https://tickets.metabrainz.org/browse/PICARD-1281
http://www.openradar.me/8600732
2018-09-16 17:37:19 +02:00
Laurent Monin
888249de97
Fix pyinstaller complaining about empty DEST
...
It is enforced by pyinstaller 3.4
Empty DEST not allowed when adding binary and data files. Maybe you want to used '.'.
Caused by 'discid.dll'.
https://github.com/pyinstaller/pyinstaller/issues/3066
2018-09-12 15:45:43 +02:00
Laurent Monin
718ab8627d
PICARD-1308: Set app version for macosx
...
Fix up info.plist and tidy up.
https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html#//apple_ref/doc/uid/20001431-111349
http://hboon.com/difference-between-cfbundleversion-and-cfbundleshortversionstring/
2018-08-27 10:16:24 +02:00
Sambhav Kothari
82a771cc03
PICARD-1286: Add SSL binaries to Windows dist
2018-07-21 18:46:56 +05:30
Sambhav Kothari
5752d9f7b1
PICARD-1290: Improve start-up times and packaging
2018-07-21 18:36:16 +05:30
Sambhav Kothari
22cb70a8cf
Fix OSX builds by adding libdiscid binaries
2018-02-06 19:22:06 +05:30
Sambhav Kothari
d13d257ade
Use pyinstaller to modify info.plist
2018-02-06 15:12:42 +05:30
Sambhav Kothari
b89f70bcd1
Enable high-dpi mode while building app
2018-02-05 22:02:57 +05:30
Sambhav Kothari
0d3cd674fe
Fix OSX builds
2018-02-05 22:02:57 +05:30
Sambhav Kothari
a8b355a901
Add discid to windows builds
2018-02-01 17:24:14 +05:30
Sambhav Kothari
9f3cb9ced8
Re-search for fpcalc path on each execution if running as a packaged distributable
2018-01-31 23:22:09 +05:30
Sambhav Kothari
f5632873e3
Use 64 bit binaries for fpcalc
2018-01-31 23:22:09 +05:30
Sambhav Kothari
bb0b04ec16
Add fpcalc to data files
2018-01-31 21:56:46 +05:30
Sambhav Kothari
8c006e05a0
Remove unnecessary path
2018-01-29 04:13:06 +05:30
Sambhav Kothari
e82c2bc573
Fix SSL errors in Windows 7
2018-01-29 04:07:00 +05:30
Sambhav Kothari
6eab0559c5
Use pyinstaller to package builds
2018-01-29 02:00:44 +05:30