Commit Graph

989 Commits

Author SHA1 Message Date
Richard Hughes
2dc6a7ef73 Remove fu_i2c_device_read_full()
Just use the version with the length specified.
2022-06-14 14:36:52 -05:00
Richard Hughes
bb577bdf04 f-fu_smbios_to_string 2022-06-14 14:36:52 -05:00
Richard Hughes
fc2da47b69 Remove fu_strtoull_full() 2022-06-14 14:36:52 -05:00
Richard Hughes
377bcb718f Remove the 'common' prefix from the volume creation methods 2022-06-14 14:36:52 -05:00
Richard Hughes
4105768a01 Remove the 'common' prefix when parsing version numbers 2022-06-14 14:36:52 -05:00
Richard Hughes
1d9d82ebc5 Use a common prefix for CPU-specific methods 2022-06-14 14:36:52 -05:00
Richard Hughes
3e0a4dc1c3 Be smarter and include less header files per source file 2022-06-14 14:36:52 -05:00
Richard Hughes
067d7d8088 Split out the path helpers to a new source file 2022-06-14 14:36:52 -05:00
Richard Hughes
770a452132 Unexport fu_common_error_array_get_best()
Plugins should not be using this.
2022-06-14 14:36:52 -05:00
Richard Hughes
7f86ffab6f Split out the dump helpers to a new source file 2022-06-14 14:36:52 -05:00
Richard Hughes
72ca59653e Unexport fu_common_uri_get_scheme()
We don't want plugins to be using this.
2022-06-14 14:36:52 -05:00
Richard Hughes
2c5e4ff3ab Unexport fu_common_firmware_builder()
We don't want plugins to be using this.
2022-06-14 14:36:52 -05:00
Richard Hughes
3f77af3cd4 Split out the kernel helpers to a new source file 2022-06-14 14:36:52 -05:00
Richard Hughes
25dccf09f7 Unexport fu_common_spawn_sync()
This isn't something we want plugins to use.
2022-06-14 14:36:52 -05:00
Richard Hughes
425fedcca1 trivial: Remove fu_byte_array_set_size_full() 2022-06-14 14:36:52 -05:00
Richard Hughes
ed1b13da28 Split out the memory helpers to a new source file 2022-06-14 14:36:52 -05:00
Richard Hughes
4b1313b406 Split out the GByte helpers to a new source file 2022-06-14 14:36:52 -05:00
Richard Hughes
9d33c29e92 Split out the string helpers to a new source file 2022-06-14 14:36:52 -05:00
Richard Hughes
3fe9c0de34 Split out the CRC and sum functions to new source files 2022-06-14 14:36:52 -05:00
Richard Hughes
06a2dcf62b Remove gtkdoc build option
We've seen that gi-docgen is active and other projects are switching to
it. Remove the legacy (and slow) gtk-doc build support.
2022-06-11 21:26:46 +01:00
Richard Hughes
9f8d75ad37 trivial: Disable the win32 msi install CI test
Wine 7.9 make installing and removing msi packages *intermittently*
fail, and that's now being shipped in Fedora updates. :/
2022-06-08 17:26:30 +01:00
Richard Hughes
7ce625fddd Fix windows CI using the latest meson version 2022-06-08 15:24:25 +01:00
Richard Hughes
3107bdc004 trivial: Remove no-longer-required msitools manual install step 2022-06-08 15:24:25 +01:00
Richard Hughes
0c8079b13c redfish: Never manually modprobe ipmi-devintf
This produces startup failures on images that do not ship that exact
module, e.g. guest-images.

Just rely on the kernel driver to be auto-loaded when required.

Fixes https://github.com/fwupd/fwupd/issues/4550
2022-06-06 08:20:21 -05:00
Richard Hughes
cfd128a649 Break libfwupdplugin ABI so we can tidy up some vfuncs and symbols 2022-06-03 13:47:11 -05:00
Lukas Märdian
8702600928 debian: debci: don't stderr-fail the autopkgtest on modprobe error
it's optional as tests can be skipped, if mtdram module isn't there

Signed-off-by: Lukas Märdian <slyon@ubuntu.com>
2022-05-18 06:56:02 -05:00
Lukas Märdian
16ef6a3a4a debian: debci: load the 'mtdram' module, to make it execute the mtd-self-test 2022-05-17 08:57:05 -05:00
Richard Hughes
3c30072b77 trivial: Use the packaged version of gi-docgen in Fedora CI 2022-05-17 09:46:17 +01:00
Richard Hughes
4a46376137 Always be arch-explicit for OS deps, harder
This fixes d8ba0bd178 to also add the
variant when the package name is not specfied.

Fixes https://github.com/fwupd/fwupd/issues/4636
2022-05-17 09:46:17 +01:00
Richard Hughes
0f89c48556 Build a dummy event message file for Windows
This means we don't get the 'No description found, please repair'
message when viewing messages in the Windows Event Viewer.
2022-05-13 15:08:39 +01:00
Richard Hughes
7ce3820b07 Use exe_wrapper = '/usr/bin/wine' when cross-compiling
This should probably move to /usr/share/mingw/toolchain-mingw64.meson
and this patch can be reverted when that happens.
2022-05-13 14:50:03 +01:00
Richard Hughes
7934b7ddb0 trivial: Include libgusb-2.dll in the local build too 2022-05-12 18:29:12 +01:00
Richard Hughes
bbd6010929 trivial: Remove ca-bundle.crt, harder 2022-05-11 10:11:06 -05:00
Richard Hughes
812562c6b4 Do not install ca-bundle.crt on win32 as it's no longer required 2022-05-11 09:07:48 -05:00
Mario Limonciello
9633e555e2 trivial: use double quote for motd sed statement 2022-05-10 18:57:17 +01:00
Mario Limonciello
00b115d85d trivial: don't run check-license on headers in dist/ 2022-05-10 18:57:17 +01:00
Mario Limonciello
23bead8a56 trivial: don't check for null/false returns on dist or subprojects 2022-05-10 18:57:17 +01:00
Mario Limonciello
20fb170607 trivial: ci: generate NEWS and VERSION after MSI is done
These files don't need to be in the MSI, they're just used for CI
to add to the release on Github.
2022-05-10 18:57:17 +01:00
Mario Limonciello
8253bd5d51 trivial: disable motd for local win32 build too 2022-05-10 18:57:17 +01:00
Richard Hughes
b149300a9f Download in-process when using fwupdtool
This also means we get progress completion.
2022-05-10 09:13:45 -05:00
Richard Hughes
6535a686a5 trivial: Reduce the size of the MSI by removing static libraries 2022-05-10 12:58:29 +01:00
Mario Limonciello
ebb5d7f6a7 trivial: add libgusb into dist package for Win32 2022-05-09 15:54:51 -05:00
Richard Hughes
77bb1ff479 Switch the Windows installer from NSIS to MSI
This means we get a few bugs fixed:

 * We appear in the Add/Remove Programs UI
 * We have an uninstaller that works on Windows 10
 * The installation is pretty, and scriptable
 * We actually install the translations
2022-05-09 15:49:40 +01:00
Richard Hughes
e76587ce95 Use ubuntu:rolling to fix longstanding CI issue 2022-05-09 11:33:38 +01:00
Richard Hughes
d8ba0bd178 Always be arch-explicit for OS deps
Before we were only being explcit for Debian and Ubuntu and that meant
the missing attribute meant different things depending on the OS.
2022-05-08 10:18:59 -05:00
Richard Hughes
ba08d6f276 Use the system-provided mingw64 cross file 2022-05-06 14:37:43 +01:00
Richard Hughes
517dc88f4f trivial: Fix the win32 CI tests 2022-05-06 13:55:51 +01:00
Mario Limonciello
5055c5e3e0 trivial: win32: disable compat cli tools 2022-05-05 15:38:43 -05:00
Mario Limonciello
532dfd54b1 trivial: install fwupd.exe into bindir for Windows
In Windows we'll be placing everything in the same directory so that
libraries can be resolved.
2022-05-05 15:38:43 -05:00
Mario Limonciello
97aa7b2eb6 trivial: build windows daemon too in CI
This won't actually work yet (and hence we won't package it), but we
can at least make sure we don't regress the support by any code
changes.
2022-05-05 11:51:22 -05:00