Commit graph

64 commits

Author SHA1 Message Date
Tom Dewey
76361b0cbf CMake: macOS: Reintroduce automated notarisation 2024-09-11 17:12:48 +01:00
Tom Dewey
676228f3a1 CMake: macOS: Sign as if we are going to notarise 2024-09-11 17:12:48 +01:00
Tom Dewey
fe0314287f CMake: Disable building test binaries
These are primarily gated in the dependencies - and not of interest to our build flow.
2024-09-11 17:12:48 +01:00
Tom Dewey
a806b89b25 CMake: macOS: Remove automatic notarisation
This doesn't work - notarisation can take up to an hour.
2024-09-11 17:12:48 +01:00
Tom Dewey
7685341db7 CMake: macOS: Build Universal Binaries 2024-09-11 17:12:48 +01:00
Tom Dewey
21bf00d1df macOS: Parameterise signing, notarising 2024-09-11 17:12:48 +01:00
Tom Dewey
15b162b824 cmake: Windows: Use wlanapi, remove windeploy flags
The wlanapi_delayed library invocation adds complexity to the build, with a tenous advantage in terms of load time.

With the upgrade of Qt to Qt6, WindeployQt now has different arguments - so drop the ones that don't exist or do the right thing.
2024-09-11 17:12:48 +01:00
Tom Dewey
480b787552 cmake: Windows: MINGW64_ROOT
Add an option for the MinGW64 root path.

This is used to find the supporting libraries for deployment on Windows.
2024-09-11 17:12:48 +01:00
Tom Dewey
941d8083ef cmake: Make Qt6_ROOT an option
You must manually specify your Qt6 install path.
2024-09-11 17:12:48 +01:00
Tom Dewey
bb30d38b77 cmake: Remove OpenSSL dependency 2024-09-11 17:12:48 +01:00
Tom Dewey
ff1ac4f08b cmake: Windows: Drop openSSL linkage, add Bcrypt. 2024-09-11 17:12:48 +01:00
Tom Dewey
e7dd0630a0 cmake: Windows: Remove OpenSSL dependency. 2024-09-11 17:12:48 +01:00
Tom Dewey
762ed2b940 deps: cURL: Set default SSL backends 2024-09-11 17:12:48 +01:00
Tom Dewey
d9082f8abd AcceleratedCryptographicHash: Use platform capabilities
Introduce a CNG version for Windows, a CommonCrypto
version for macOS and a GnuTLS version for Linux, as
we're using gnutls _anyway_.
2024-09-11 17:12:48 +01:00
Tom Dewey
7074a5e389 cmake: Use target names instead of paths 2024-09-11 17:12:48 +01:00
Tom Dewey
331381ba2e cmake: Fixup libcurl linking on Linux 2024-09-11 17:12:48 +01:00
Tom Dewey
2e42e914c9 meta: v1.9.0 2024-09-11 17:12:48 +01:00
Tom Dewey
844c44597e cmake: bump minimum to 3.15 2024-09-11 17:12:48 +01:00
Tom Dewey
7c3a958758 cmake: Use LIST_DIR rather than SOURCE_DIR, fix Curl filename 2024-09-11 17:12:48 +01:00
Tom Dewey
da720afc7e imager: Target Windows 10, as required by Qt6 2024-09-11 17:12:48 +01:00
Tom Dewey
1dabdde5f0 imager: CMake: Use vendored dependencies rather than system 2024-09-11 17:12:48 +01:00
Tom Dewey
64381d2dd3 deps: Remove unlabelled curl, xz
With very little version data, these area hard to reason about.
2024-09-11 17:12:48 +01:00
Tom Dewey
6b77ed7edc deps: zstd upgrade 1.5.4 -> 1.5.6 2024-09-11 17:12:48 +01:00
Tom Dewey
fc9423e65b deps: zlib upgrade 1.2.13 -> 1.3.1 2024-09-11 17:12:48 +01:00
Tom Dewey
61171a0db6 deps: Upgrade libarchive 3.6.2->3.7.4 2024-09-11 17:12:48 +01:00
MrSmör
a44b9ae856 Exposing 'DRIVELIST_FILTER_SYSTEM_DRIVES' as a cmake variable
Makes the filtering-behaviour userconfigureable during compile-time.
This way its easier to configure the imager for flashing SATA or NVME
Drives installed in your system (because of lack of adapters),
or if the drives are (accidentally) labled as systemdrives by drivelist.
2024-02-09 15:59:24 +00:00
Floris Bos
06abbadbb5 Linux: rename .desktop file to match DBus name
Fixes #785
2024-01-20 16:39:13 +01:00
Floris Bos
8c9de2d78c Embedded: fix network detection 2024-01-15 00:16:43 +01:00
Floris Bos
ebe72a4b16 Disable LTO (just in case it gives hard to debug compiler problems) 2024-01-15 00:15:49 +01:00
Floris Bos
b918a7ea6f Retry on HTTP/2 frame errors as long as it do is making progress
Ref #767
2023-12-26 16:09:21 +01:00
Floris Bos
26c9dc4dfb Add PL translation to CMakeLists.txt 2023-12-22 21:57:03 +01:00
Tom Dewey
30433d512f meta: Release 1.8.4 2023-12-22 15:37:36 +00:00
Tom Dewey
d729317c54 meta: v1.8.3 2023-11-16 15:01:20 +00:00
Tom Dewey
be814b92c7 meta: v1.8.2 2023-11-15 15:18:36 +00:00
Peter Dave Hello
253a9ced64 Add zh-TW Traditional Chinese translation 2023-10-21 20:50:14 +01:00
Floris Bos
457f2fdbed Linux: CMakeLists: only require libdrm on embedded platform
Closes #692
2023-10-20 09:24:34 +02:00
Floris Bos
6b918b448e Release 1.8.1 2023-10-19 20:23:46 +02:00
Tom Dewey tom.dewey@raspberrypi.com
1a6c683b55 version: Bump to 1.8.0
We've now modified the UI in a fairly major way - but no so much that
it's unrecognisable. As a result, bump the version number to the next
minor revision.
2023-10-18 14:57:14 +01:00
Floris Bos
f28b9d0d77 Windows: fix zstd
Closes #654
2023-10-17 00:00:18 +02:00
Floris Bos
25a028ca58 Embedded: deal with vc4-kms supplying multiple /dev/dri devices 2023-10-16 22:15:55 +02:00
Floris Bos
e8931b7b8f Local .xz files: parse uncompressed size for better progress reports 2023-09-25 21:13:22 +02:00
Floris Bos
a382f985f3 Add support for model selection filtering. Bump version number. 2023-09-23 19:51:45 +02:00
Floris Bos
9073e4fca2 Fix es/uk/fr translations 2023-09-22 20:32:02 +02:00
Floris Bos
60c53db98c Windows: fix handling of .zip files
If set(ZLIB_INCLUDE_PATH value) is called without setting cache,
and find_package(zlib) is called twice, the second call fails.
Behavior described here: https://gitlab.kitware.com/cmake/cmake/-/issues/21343

It seems that the new libcurl version also calls find_package(zlib)
so the second call by libarchive fails. And without zlib support
handling .zip files that use deflate compression does not work.

Only affected Windows, because we are only using a bundled zlib
there.
On Linux system libarchive and system zlib is used.
On Mac OS X bundled libarchive, but system zlib is used.

Ref #586
2023-05-22 10:50:20 +02:00
Floris Bos
64d271b092 Windows/NSIS installer: use signtool.exe found by CMake 2023-05-21 17:25:04 +02:00
Floris Bos
bb8b097c7d Windows: lazy load wlanapi.dll
Appearently wlanapi.dll (which we use to borrow the wlan password
from the computer running Imager) is not always present on the
server editions of Windows, so only load it if it exists.

Ref #584
2023-05-21 17:22:17 +02:00
Floris Bos
9e882b31c4 Add Russian translation to CMakelists.txt 2023-03-24 15:51:09 +01:00
Floris Bos
b93fe29617 Apply advanced settings prompt: offer "no" without clear options
By request.
When prompted if previous settings should be applied, offer a
"no" button that only applies this time, and does not clear
settings.
2023-03-24 14:26:43 +01:00
Floris Bos
50b017332f Update dependencies libarchive/zlib/liblzma/zstd
Update various bundled dependencies to handle archive formats.
(Only used on Windows and OSX. On Linux system libraries are used)
2023-03-24 14:05:29 +01:00
Floris Bos
ed15fcda46 CMakeLists.txt: add support for Qt 6 / Apple universal builds 2023-03-22 17:57:08 +01:00