Commit Graph

772 Commits

Author SHA1 Message Date
Mario Limonciello
5051614206 trivial: Update doc publishing CI for docgen changes 2021-06-11 14:14:53 +01:00
Richard Hughes
e48645f585 trivial: Add back accidentally removed jq dep 2021-06-10 11:22:58 +01:00
Mario Limonciello
1e17457b16 Allow building the documentation with gi-docgen and gtk-doc
Until gi-docgen is declared stable support either of them.
This effectively means that hand builds and CI builds will use
gi-docgen, but distro builds use gtk-doc-tools.
2021-06-09 22:21:53 +01:00
Mario Limonciello
6ab897f66b disable wrap mode for debian (if deps are missing we don't run packaging) 2021-06-09 21:21:06 +01:00
Mario Limonciello
48b3272392 trivial: fixup some TODOs 2021-06-09 21:20:47 +01:00
Mario Limonciello
7736460c49 trivial: fixup Dockerfile for arch 2021-06-08 20:17:35 -05:00
Mario Limonciello
723deed200 trivial: Fix dockerfile for Arch (Closes: #3296) 2021-06-08 08:17:51 -05:00
Richard Hughes
49a69fd0a2 trivial: Be smarter when trying to get the list of fuzz targets 2021-06-07 19:54:12 +01:00
Norbert Kamiński
dbece574ee Add FreeBSD package to the CI matrix
Signed-off-by: Norbert Kamiński <norbert.kaminski@3mdeb.com>
2021-06-05 11:05:33 -05:00
Crag Wang
d46bdb3788 trivial: fixup runtime path for fwupdtool and libraries 2021-06-04 22:31:18 -05:00
Mario Limonciello
d2dd986226 trivial: disable gusb doc generation in abi job 2021-06-04 13:21:41 -05:00
Richard Hughes
37a0448a99 Add FreeBSD to the CI matrix 2021-05-26 16:00:32 +01:00
Richard Hughes
7f2b2b5ce3 trivial: Don't include a leading black line in firmware_packager XML 2021-05-19 08:48:25 +01:00
Richard Hughes
b94a7b507b trivial: Do not generate fwupdplugin.vapi
We don't want applications to use libfwupdplugin, and we don't want to
support plugins written in Vala either.
2021-05-17 09:27:54 +01:00
Richard Hughes
ca2e1cc08c trivial: Add back pesign to the fwupd docker images
This is needed as fwupd-efi uses the fwupd images, and pesign is a
build-time dep of the Fedora package.
2021-05-14 17:10:32 +01:00
Richard Hughes
769cbbf8af Add support for the PHAT table
On Alterlake and newer hardware the Platform Health Assessment Record
data can be used by the IHV to debug why a specific capsule update
failed. Any custom firmware loaded by the OEM can be identified and
used to further debug the root cause.
2021-05-12 12:02:33 +01:00
Richard Hughes
45f834f0e2 trivial: Fix up flatpak docs to reflect reality 2021-05-10 13:58:32 +01:00
Richard Hughes
608992e25d Add 4 new runtime requirements to the win32 build
I guess we know how many people are using 1.6.0 on Windows now...
2021-05-04 12:51:52 +01:00
Richard Hughes
fdd507957a Switch from libproxy to GProxyResolver
GProxyResolver will use libproxy only when required. TIL.
2021-04-28 15:52:45 +01:00
Richard Hughes
32fd74289a trivial: Don't restart pesign in the example spec file 2021-04-28 14:53:19 +01:00
Richard Hughes
68c698ea60 trivial: Move the Fedora CI to a supported release 2021-04-28 10:07:04 +01:00
Richard Hughes
f992fb75cd Use libproxy to get the system proxy setting for a given URL 2021-04-26 16:30:13 +01:00
Richard Hughes
ba890cde46 Release fwupd 1.6.0 2021-04-26 10:46:50 +01:00
Mario Limonciello
99832622e1 uefi-capsule: Move EFI binary into a subproject
This will allow distributions to package and distribute the unsigned
EFI binary separately, similar to what has been done for GRUB.
2021-04-23 13:59:10 -05:00
Mario Limonciello
76bec1a137 trivial: fix debian package builds after commit 2021-04-23 13:59:10 -05:00
xtcui
0f7f7f2cb5 Add support for some Analogix hardware
With much help from:

 * Ricardo Cañuelo <ricardo.canuelo@collabora.com>
 * Richard Hughes <richard@hughsie.com>
2021-04-12 11:00:54 +01:00
Richard Hughes
848fb2c57f trivial: Add back help2man for arch as it uses the subproject libjcat 2021-04-12 09:55:44 +01:00
Richard Hughes
c4bc709359 Do not use help2man to build manual pages
This prevents problems when cross compiling. Using help2man is now also of
limited use; if we can just tell the user to use --help we do not need to keep
the manual in sync.

It also allows us to drop the several other supporting files that we use when
the help2man output isn't actually that useful.

Fixes https://github.com/fwupd/fwupd/issues/3025
2021-04-11 13:42:04 +01:00
Mario Limonciello
d0c6c4b323 trivial: install shellcheck from dependencies.xml 2021-04-09 11:15:27 -05:00
Mario Limonciello
681be2a0ed trivial: restore python3-pil build dependency for Ubuntu
Commit 13524af202 broke the ABI checker.
This is because it runs on the last released version, which still has
a dependency on python3-pil.

This commit can be dropped after the 1.6.x release.
2021-04-09 11:15:27 -05:00
Mario Limonciello
0b80c872b3 trivial: move all pre-commit checks into dedicated CI job
This one should launch faster than Fedora, and should fail all the jobs
way sooner.
2021-04-09 16:02:20 +01:00
Mario Limonciello
bb9390d45c trivial: Add pre-commit hooks for style 2021-04-09 16:02:20 +01:00
Mario Limonciello
1ed118d22f trivial: fixup black on a few more python files without python extensions 2021-04-09 16:02:20 +01:00
Mario Limonciello
433034d675 trivial: correct example vscode launch json parsing 2021-04-09 16:02:20 +01:00
Mario Limonciello
1f9c035788 trivial: fix some trailing whitespace problems across the project 2021-04-09 16:02:20 +01:00
Richard Hughes
13524af202 Write BMP data directly without using PIL
This allows us to drop a build-time dep.
2021-04-09 15:59:51 +01:00
Mario Limonciello
7064ec0227 trivial: ci: use black to check all python code in CI 2021-04-08 10:43:29 -05:00
Mario Limonciello
6d1afc3e87 trivial: reformat all python code with black 2021-04-08 10:43:29 -05:00
Richard Hughes
b5555003bb Detect files with CRLF line endings
Mixing Unix-style and Windows-style line endings causes some of our tools
heartache. Just standardize on the former.
2021-04-08 15:55:36 +01:00
Mario Limonciello
541a71b140 trivial: ci: disable LTO for clang (fixes: #3089) 2021-03-31 10:28:27 -05:00
Richard Hughes
2002bd5046 trivial: Fix a compile failure with new GLib versions
GLib now 'helpfully' includes type_traits in gmacros.h -- which now explodes
when compiling with a C++ compiler.
2021-03-21 20:18:34 +00:00
Richard Hughes
276baf12f9 trivial: Rename spi to intel-spi as it's all Intel specific
If we need to export the EFI symbols into libfwupdplugin for other plugins we
can do that when we need them.
2021-03-20 12:24:27 +00:00
Richard Hughes
a5966f7085 trivial: Codespell fixes 2021-03-19 16:42:33 +00:00
Richard Hughes
3b5523ebfc trivial: Build the spi plugin in arch CI 2021-03-15 12:07:30 +00:00
Richard Hughes
278c3998a5 Parse the IFD BIOS section into EFI FV and FFS2 sections 2021-03-15 10:46:39 +00:00
Richard Hughes
241f6cf3bb trivial: Make the fuzzer generators a little easier to understand 2021-03-15 09:45:17 +00:00
Richard Hughes
664226a350 spi: Move all the IFD parsing to the new 'spi' plugin
We do not want to export this unfinished API, and it's probably best just to
not compile it by default until it is actually useful.
2021-03-15 09:45:17 +00:00
Richard Hughes
2d84386034 Remove unused, unsafe and deprecated functions from libfwupdplugin
Keeping *internal* API and ABI compatibility makes working with an already
complex codebase more mentally demanding than it needs to be.

Remember: plugins should be in-tree and upstream! If your out of tree plugin
stops working then it should be upstream.

The public-facing libfwupd will remain API and ABI stable for obvious reasons.
2021-03-09 15:47:56 +00:00
Richard Hughes
e19ebe7177 Add an Intel Flash Descriptor parser 2021-03-05 10:51:34 +00:00
Mario Limonciello
5a832194f4 trivial: ci: fix windows build 2021-03-04 10:45:10 -06:00