diff --git a/0001-Fix-compiling-with-new-versions-of-efivar.patch b/0001-Fix-compiling-with-new-versions-of-efivar.patch deleted file mode 100644 index 3d8e792e59b6f472505e7b825396b02624856408..0000000000000000000000000000000000000000 --- a/0001-Fix-compiling-with-new-versions-of-efivar.patch +++ /dev/null @@ -1,58 +0,0 @@ -From e74d38bfd3097471fe60dbe843a68c16516a78da Mon Sep 17 00:00:00 2001 -From: Richard Hughes -Date: Mon, 17 Jan 2022 14:50:47 +0000 -Subject: [PATCH] Fix compiling with new versions of efivar - -Fixes https://github.com/fwupd/fwupd/issues/4181 ---- - meson.build | 5 +++++ - plugins/uefi-capsule/fu-uefi-common.h | 3 +++ - 2 files changed, 8 insertions(+) - -diff --git a/meson.build b/meson.build -index 86e7057..0c768a2 100644 ---- a/meson.build -+++ b/meson.build -@@ -354,6 +354,11 @@ if build_standalone and get_option('plugin_uefi_capsule') - readelf = find_program ('readelf') - genpeimg = find_program ('genpeimg', required: false) - -+ efivar = dependency('efivar') -+ if cc.has_header_symbol('efivar/efivar-types.h', 'efi_time_t', dependencies : efivar) -+ conf.set('HAVE_EFI_TIME_T', '1') -+ endif -+ - efi_app_location = join_paths(libexecdir, 'fwupd', 'efi') - conf.set_quoted ('EFI_APP_LOCATION', efi_app_location) - -diff --git a/plugins/uefi-capsule/fu-uefi-common.h b/plugins/uefi-capsule/fu-uefi-common.h -index c7e3996..91b6c99 100644 ---- a/plugins/uefi-capsule/fu-uefi-common.h -+++ b/plugins/uefi-capsule/fu-uefi-common.h -@@ -7,6 +7,7 @@ - - #pragma once - -+#include - #include - - #include "fwupd-common.h" -@@ -17,6 +18,7 @@ - #define EFI_CAPSULE_HEADER_FLAGS_POPULATE_SYSTEM_TABLE 0x00020000 - #define EFI_CAPSULE_HEADER_FLAGS_INITIATE_RESET 0x00040000 - -+#ifndef HAVE_EFI_TIME_T - typedef struct __attribute__((__packed__)) { - guint16 year; - guint8 month; -@@ -30,6 +32,7 @@ typedef struct __attribute__((__packed__)) { - guint8 daylight; - guint8 pad2; - } efi_time_t; -+#endif - - typedef struct __attribute__((__packed__)) { - fwupd_guid_t guid; --- -2.33.0 - diff --git a/1.8.6.tar.gz b/1.8.6.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..0d0d3aecdfefcab44d5e543aaf0356a729c15864 Binary files /dev/null and b/1.8.6.tar.gz differ diff --git a/DBXUpdate-20100307-x64.cab b/DBXUpdate-20100307-x64.cab new file mode 100644 index 0000000000000000000000000000000000000000..b9159889515ee4691a86914c8d2a3d59b12bc585 Binary files /dev/null and b/DBXUpdate-20100307-x64.cab differ diff --git a/DBXUpdate-20140413-x64.cab b/DBXUpdate-20140413-x64.cab new file mode 100644 index 0000000000000000000000000000000000000000..646b53e3a3f7f0a90b6af877e67f5fe9f4f98208 Binary files /dev/null and b/DBXUpdate-20140413-x64.cab differ diff --git a/DBXUpdate-20160809-x64.cab b/DBXUpdate-20160809-x64.cab new file mode 100644 index 0000000000000000000000000000000000000000..c2b1e0a721ae51234749079b02c7c3038cbde0c5 Binary files /dev/null and b/DBXUpdate-20160809-x64.cab differ diff --git a/DBXUpdate-20200729-aa64.cab b/DBXUpdate-20200729-aa64.cab new file mode 100644 index 0000000000000000000000000000000000000000..cc8220493512b18e8aaced2292f989c3f677eb88 Binary files /dev/null and b/DBXUpdate-20200729-aa64.cab differ diff --git a/DBXUpdate-20200729-ia32.cab b/DBXUpdate-20200729-ia32.cab new file mode 100644 index 0000000000000000000000000000000000000000..c394f75c1498749219a8b1f5ebe70118f0d164c5 Binary files /dev/null and b/DBXUpdate-20200729-ia32.cab differ diff --git a/DBXUpdate-20200729-x64.cab b/DBXUpdate-20200729-x64.cab new file mode 100644 index 0000000000000000000000000000000000000000..cfb272a49af72fb7817818144dd4264dc0e15105 Binary files /dev/null and b/DBXUpdate-20200729-x64.cab differ diff --git a/centos-ca-secureboot.der b/centos-ca-secureboot.der new file mode 100644 index 0000000000000000000000000000000000000000..44a2563dee3f8eeecd5026306be46d2a8d89970d Binary files /dev/null and b/centos-ca-secureboot.der differ diff --git a/centossecureboot001.der b/centossecureboot001.der new file mode 100644 index 0000000000000000000000000000000000000000..e8216b1db725cd132b515a277368fc89a9d8fa3d Binary files /dev/null and b/centossecureboot001.der differ diff --git a/centossecureboot203.der b/centossecureboot203.der new file mode 100644 index 0000000000000000000000000000000000000000..5df41c254e31fd3a0f878bed4db4e851729e6ec5 Binary files /dev/null and b/centossecureboot203.der differ diff --git a/centossecurebootca2.der b/centossecurebootca2.der new file mode 100644 index 0000000000000000000000000000000000000000..42bdfcfbcda649796099fdc87bbe9dc58e2348d5 Binary files /dev/null and b/centossecurebootca2.der differ diff --git a/fwupd-1.5.8.tar.xz b/fwupd-1.5.8.tar.xz deleted file mode 100644 index ee925afaa003a6110fb8dc4e79bfa293dde3b9be..0000000000000000000000000000000000000000 Binary files a/fwupd-1.5.8.tar.xz and /dev/null differ diff --git a/fwupd-efi-1.1.tar.xz b/fwupd-efi-1.1.tar.xz new file mode 100644 index 0000000000000000000000000000000000000000..d06352623a22e2d03848f8628470f0b431e3bb1a Binary files /dev/null and b/fwupd-efi-1.1.tar.xz differ diff --git a/fwupd-efi.patch b/fwupd-efi.patch new file mode 100644 index 0000000000000000000000000000000000000000..4692efa952a3125ef289a863333d7abe4124a4ed --- /dev/null +++ b/fwupd-efi.patch @@ -0,0 +1,3196 @@ +diff -urN fwupd-1.8.6-0/contrib/flatpak/flathub.json fwupd-1.8.6/contrib/flatpak/flathub.json +--- fwupd-1.8.6-0/contrib/flatpak/flathub.json 1970-01-01 00:00:00.000000000 +0000 ++++ fwupd-1.8.6/contrib/flatpak/flathub.json 2022-11-08 05:41:54.000000000 +0000 +@@ -0,0 +1,3 @@ ++{ ++ "skip-appstream-check": true ++} +diff -urN fwupd-1.8.6-0/contrib/flatpak/org.freedesktop.fwupd.json fwupd-1.8.6/contrib/flatpak/org.freedesktop.fwupd.json +--- fwupd-1.8.6-0/contrib/flatpak/org.freedesktop.fwupd.json 1970-01-01 00:00:00.000000000 +0000 ++++ fwupd-1.8.6/contrib/flatpak/org.freedesktop.fwupd.json 2022-11-08 05:41:54.000000000 +0000 +@@ -0,0 +1,220 @@ ++{ ++ "app-id": "org.freedesktop.fwupd", ++ "runtime": "org.gnome.Platform", ++ "runtime-version": "3.30", ++ "branch": "stable", ++ "sdk": "org.gnome.Sdk", ++ "command": "/app/libexec/fwupd/fwupdtool", ++ "finish-args": [ ++ "--device=all", ++ "--filesystem=/boot", ++ "--filesystem=/sys", ++ "--filesystem=xdg-download", ++ "--share=network", ++ "--system-talk-name=org.freedesktop.fwupd", ++ "--system-talk-name=org.freedesktop.UPower" ++ ], ++ "cleanup": [ ++ "*.a", ++ "*.la", ++ "/include", ++ "/lib/girepository-1.0", ++ "/lib/pkgconfig", ++ "/share/bash-completion", ++ "/share/dbus-1/system-services", ++ "/share/gir-1.0", ++ "/share/gtk-doc", ++ "/share/info", ++ "/share/man", ++ "/share/pkgconfig" ++ ], ++ "modules": [ ++ "shared-modules/udev/udev-175.json", ++ { ++ "name": "libusb", ++ "config-opts": [ ++ "--disable-static" ++ ], ++ "sources": [ ++ { ++ "type": "archive", ++ "url": "https://github.com/libusb/libusb/releases/download/v1.0.22/libusb-1.0.22.tar.bz2", ++ "sha256": "75aeb9d59a4fdb800d329a545c2e6799f732362193b465ea198f2aa275518157" ++ } ++ ] ++ }, ++ { ++ "name": "gusb", ++ "buildsystem": "meson", ++ "config-opts": [ ++ "-Ddocs=false", ++ "-Dvapi=false", ++ "-Dtests=false" ++ ], ++ "cleanup": [ ++ "/bin/gusbcmd" ++ ], ++ "sources": [ ++ { ++ "type": "archive", ++ "url": "https://people.freedesktop.org/~hughsient/releases/libgusb-0.3.0.tar.xz", ++ "sha256": "d8e7950f99b6ae4c3e9b8c65f3692b9635289e6cff8de40c4af41b2e9b348edc" ++ } ++ ] ++ }, ++ { ++ "name": "efivar", ++ "buildsystem": "simple", ++ "build-commands": [ ++ "make prefix=/app libdir=/app/lib", ++ "make install prefix=/app libdir=/app/lib" ++ ], ++ "cleanup": [ ++ "/bin/efivar" ++ ], ++ "sources": [ ++ { ++ "type": "archive", ++ "url": "https://github.com/rhboot/efivar/releases/download/35/efivar-35.tar.bz2", ++ "sha256": "1e033dc5d099a44fd473b0887dbcc4b105613efab0fb3c5df9f111ea5d147394" ++ } ++ ] ++ }, ++ { ++ "name": "libsmbios_c", ++ "only-arches": [ ++ "x86_64" ++ ], ++ "config-opts": [ ++ "--disable-doxygen", ++ "--disable-graphviz", ++ "--disable-python" ++ ], ++ "cleanup": [ ++ "/sbin/smbios*", ++ "/share/locale/*/LC_MESSAGES/libsmbios.mo" ++ ], ++ "sources": [ ++ { ++ "type": "archive", ++ "url": "https://github.com/dell/libsmbios/archive/v2.4.2.tar.gz", ++ "sha256": "ebfe18415e24bbec06d0a9ea1066c8dcd82982555373712713d7e194138650de" ++ } ++ ] ++ }, ++ { ++ "name": "gnu-efi", ++ "only-arches": [ ++ "aarch64", ++ "x86_64" ++ ], ++ "buildsystem": "simple", ++ "build-commands": [ ++ "make", ++ "make PREFIX=/app install" ++ ], ++ "no-autogen": true, ++ "cleanup": [ ++ "/bin/efivar" ++ ], ++ "sources": [ ++ { ++ "type": "archive", ++ "url": "http://superb-dca2.dl.sourceforge.net/project/gnu-efi/gnu-efi-3.0.9.tar.bz2", ++ "sha256": "6715ea7eae1c7e4fc5041034bd3f107ec2911962ed284a081e491646b12277f0" ++ } ++ ] ++ }, ++ { ++ "name": "python3-olefile", ++ "only-arches": [ ++ "aarch64", ++ "x86_64" ++ ], ++ "buildsystem": "simple", ++ "build-commands": [ ++ "pip3 install --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} olefile" ++ ], ++ "sources": [ ++ { ++ "type": "file", ++ "url": "https://pypi.python.org/packages/35/17/c15d41d5a8f8b98cc3df25eb00c5cee76193114c78e5674df6ef4ac92647/olefile-0.44.zip", ++ "sha256": "61f2ca0cd0aa77279eb943c07f607438edf374096b66332fae1ee64a6f0f73ad" ++ } ++ ] ++ }, ++ { ++ "name": "python3-pillow", ++ "only-arches": [ ++ "aarch64", ++ "x86_64" ++ ], ++ "buildsystem": "simple", ++ "build-commands": [ ++ "pip3 install --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} Pillow" ++ ], ++ "cleanup": [ ++ "/bin/*.py" ++ ], ++ "sources": [ ++ { ++ "type": "file", ++ "url": "https://pypi.python.org/packages/93/73/66854f63b1941aad9af18a1de59f9cf95ad1a87c801540222e332f6688d7/Pillow-4.1.1.tar.gz", ++ "sha256": "00b6a5f28d00f720235a937ebc2f50f4292a5c7e2d6ab9a8b26153b625c4f431" ++ } ++ ] ++ }, ++ { ++ "name": "fwupd", ++ "buildsystem": "meson", ++ "config-opts": [ ++ "-Dconsolekit=false", ++ "-Ddaemon=false", ++ "-Dgpg=false", ++ "-Dgtkdoc=false", ++ "-Dintrospection=false", ++ "-Dman=false", ++ "-Dpkcs7=false", ++ "-Dsystemd=false", ++ "-Dtests=false", ++ "-Defi-includedir=/app/include/efi", ++ "-Defi-ldsdir=/app/lib", ++ "-Defi-libdir=/app/lib", ++ "--sysconfdir=/app/etc", ++ "--localstatedir=/var/data" ++ ], ++ "build-options" : { ++ "arch": { ++ "i386": { ++ "config-opts": [ ++ "-Dplugin_dell=false", ++ "-Dplugin_uefi=false" ++ ] ++ }, ++ "arm": { ++ "config-opts": [ ++ "-Dplugin_dell=false", ++ "-Dplugin_uefi=false" ++ ] ++ }, ++ "aarch64": { ++ "config-opts": [ ++ "-Dplugin_dell=false" ++ ] ++ } ++ } ++ }, ++ "cleanup": [ ++ "/etc/dbus-1/system.d/org.freedesktop.fwupd.conf", ++ "/share/fwupd/remotes.d/vendor" ++ ], ++ "sources": [ ++ { ++ "type": "archive", ++ "url": "https://people.freedesktop.org/~hughsient/releases/fwupd-1.1.3.tar.xz", ++ "sha256": "474568a98af8ae82255c18da90ce2e4d290875da98638c4b1c44632c758314af" ++ } ++ ] ++ } ++ ] ++} +diff -urN fwupd-1.8.6-0/contrib/flatpak/shared-modules/.git fwupd-1.8.6/contrib/flatpak/shared-modules/.git +--- fwupd-1.8.6-0/contrib/flatpak/shared-modules/.git 1970-01-01 00:00:00.000000000 +0000 ++++ fwupd-1.8.6/contrib/flatpak/shared-modules/.git 2022-11-08 05:41:54.000000000 +0000 +@@ -0,0 +1 @@ ++gitdir: ../../../.git/modules/contrib/flatpak/modules/shared-modules +diff -urN fwupd-1.8.6-0/contrib/flatpak/shared-modules/README.md fwupd-1.8.6/contrib/flatpak/shared-modules/README.md +--- fwupd-1.8.6-0/contrib/flatpak/shared-modules/README.md 1970-01-01 00:00:00.000000000 +0000 ++++ fwupd-1.8.6/contrib/flatpak/shared-modules/README.md 2022-11-08 05:41:54.000000000 +0000 +@@ -0,0 +1,22 @@ ++This repository contains commonly shared modules and is intended to be used as a git submodule. ++ ++To use shared modules for packaging an application, add the submodule: ++ ++``` ++git submodule add https://github.com/flathub/shared-modules.git ++``` ++ ++Then modules from this repository can be specified in a manifest JSON file like this: ++ ++```json ++"modules": [ ++ "shared-modules/SDL/SDL-1.2.15.json", ++ { ++ "name": "foo" ++ } ++] ++``` ++ ++[See the description in the Flathub wiki](https://github.com/flathub/flathub/wiki/App-Requirements#shared-modules) for more information. ++ ++Please do not request adding modules unless they have many users in the Flathub repository. +diff -urN fwupd-1.8.6-0/contrib/flatpak/shared-modules/SDL/SDL-1.2.15.json fwupd-1.8.6/contrib/flatpak/shared-modules/SDL/SDL-1.2.15.json +--- fwupd-1.8.6-0/contrib/flatpak/shared-modules/SDL/SDL-1.2.15.json 1970-01-01 00:00:00.000000000 +0000 ++++ fwupd-1.8.6/contrib/flatpak/shared-modules/SDL/SDL-1.2.15.json 2022-11-08 05:41:54.000000000 +0000 +@@ -0,0 +1,36 @@ ++{ ++ "name": "SDL1", ++ "rm-configure": true, ++ "config-opts": ["--disable-static"], ++ "cleanup": [ ++ "/bin", ++ "/share/man", ++ "/share/aclocal", ++ "/include", ++ "/lib/pkgconfig", ++ "/lib/*.la", ++ "/lib/*.a" ++ ], ++ "sources": [ ++ { ++ "type": "archive", ++ "url": "https://www.libsdl.org/release/SDL-1.2.15.tar.gz", ++ "sha256": "d6d316a793e5e348155f0dd93b979798933fb98aa1edebcc108829d6474aad00" ++ }, ++ { ++ "type": "patch", ++ "path": "sdl-libx11-build.patch" ++ }, ++ { ++ "type": "script", ++ "dest-filename": "autogen.sh", ++ "commands": [ ++ "sed -i -e 's/.*AM_PATH_ESD.*//' configure.in", ++ "cp -p /usr/share/automake-*/config.{sub,guess} build-scripts", ++ "aclocal", ++ "libtoolize", ++ "autoconf" ++ ] ++ } ++ ] ++} +diff -urN fwupd-1.8.6-0/contrib/flatpak/shared-modules/SDL/SDL_Pango-0.1.2-API-adds.patch fwupd-1.8.6/contrib/flatpak/shared-modules/SDL/SDL_Pango-0.1.2-API-adds.patch +--- fwupd-1.8.6-0/contrib/flatpak/shared-modules/SDL/SDL_Pango-0.1.2-API-adds.patch 1970-01-01 00:00:00.000000000 +0000 ++++ fwupd-1.8.6/contrib/flatpak/shared-modules/SDL/SDL_Pango-0.1.2-API-adds.patch 2022-11-08 05:41:54.000000000 +0000 +@@ -0,0 +1,118 @@ ++diff -Naupr SDL_Pango-0.1.2.orig/src/SDL_Pango.c SDL_Pango-0.1.2/src/SDL_Pango.c ++--- SDL_Pango-0.1.2.orig/src/SDL_Pango.c 2004-12-10 10:06:33.000000000 +0100 +++++ SDL_Pango-0.1.2/src/SDL_Pango.c 2006-09-29 17:42:09.000000000 +0200 ++@@ -723,13 +723,8 @@ SDLPango_CopyFTBitmapToSurface( ++ SDL_UnlockSurface(surface); ++ } ++ ++-/*! ++- Create a context which contains Pango objects. ++- ++- @return A pointer to the context as a SDLPango_Context*. ++-*/ ++ SDLPango_Context* ++-SDLPango_CreateContext() +++SDLPango_CreateContext_GivenFontDesc(const char* font_desc) ++ { ++ SDLPango_Context *context = g_malloc(sizeof(SDLPango_Context)); ++ G_CONST_RETURN char *charset; ++@@ -743,8 +738,7 @@ SDLPango_CreateContext() ++ pango_context_set_language (context->context, pango_language_from_string (charset)); ++ pango_context_set_base_dir (context->context, PANGO_DIRECTION_LTR); ++ ++- context->font_desc = pango_font_description_from_string( ++- MAKE_FONT_NAME (DEFAULT_FONT_FAMILY, DEFAULT_FONT_SIZE)); +++ context->font_desc = pango_font_description_from_string(font_desc); ++ ++ context->layout = pango_layout_new (context->context); ++ ++@@ -762,6 +756,17 @@ SDLPango_CreateContext() ++ } ++ ++ /*! +++ Create a context which contains Pango objects. +++ +++ @return A pointer to the context as a SDLPango_Context*. +++*/ +++SDLPango_Context* +++SDLPango_CreateContext() +++{ +++ SDLPango_CreateContext_GivenFontDesc(MAKE_FONT_NAME(DEFAULT_FONT_FAMILY, DEFAULT_FONT_SIZE)); +++} +++ +++/*! ++ Free a context. ++ ++ @param *context [i/o] Context to be free ++@@ -1053,6 +1058,20 @@ SDLPango_SetMarkup( ++ pango_layout_set_font_description (context->layout, context->font_desc); ++ } ++ +++void +++SDLPango_SetText_GivenAlignment( +++ SDLPango_Context *context, +++ const char *text, +++ int length, +++ SDLPango_Alignment alignment) +++{ +++ pango_layout_set_attributes(context->layout, NULL); +++ pango_layout_set_text (context->layout, text, length); +++ pango_layout_set_auto_dir (context->layout, TRUE); +++ pango_layout_set_alignment (context->layout, alignment); +++ pango_layout_set_font_description (context->layout, context->font_desc); +++} +++ ++ /*! ++ Set plain text to context. ++ Text must be utf-8. ++@@ -1067,11 +1086,7 @@ SDLPango_SetText( ++ const char *text, ++ int length) ++ { ++- pango_layout_set_attributes(context->layout, NULL); ++- pango_layout_set_text (context->layout, text, length); ++- pango_layout_set_auto_dir (context->layout, TRUE); ++- pango_layout_set_alignment (context->layout, PANGO_ALIGN_LEFT); ++- pango_layout_set_font_description (context->layout, context->font_desc); +++ SDLPango_SetText_GivenAlignment(context, text, length, SDLPANGO_ALIGN_LEFT); ++ } ++ ++ /*! ++diff -Naupr SDL_Pango-0.1.2.orig/src/SDL_Pango.h SDL_Pango-0.1.2/src/SDL_Pango.h ++--- SDL_Pango-0.1.2.orig/src/SDL_Pango.h 2004-12-10 10:06:33.000000000 +0100 +++++ SDL_Pango-0.1.2/src/SDL_Pango.h 2006-09-29 17:42:09.000000000 +0200 ++@@ -109,12 +109,20 @@ typedef enum { ++ SDLPANGO_DIRECTION_NEUTRAL /*! Neutral */ ++ } SDLPango_Direction; ++ ++- +++/*! +++ Specifies alignment of text. See Pango reference for detail +++*/ +++typedef enum { +++ SDLPANGO_ALIGN_LEFT, +++ SDLPANGO_ALIGN_CENTER, +++ SDLPANGO_ALIGN_RIGHT +++} SDLPango_Alignment; ++ ++ extern DECLSPEC int SDLCALL SDLPango_Init(); ++ ++ extern DECLSPEC int SDLCALL SDLPango_WasInit(); ++ +++extern DECLSPEC SDLPango_Context* SDLCALL SDLPango_CreateContext_GivenFontDesc(const char* font_desc); ++ extern DECLSPEC SDLPango_Context* SDLCALL SDLPango_CreateContext(); ++ ++ extern DECLSPEC void SDLCALL SDLPango_FreeContext( ++@@ -157,6 +165,12 @@ extern DECLSPEC void SDLCALL SDLPango_Se ++ const char *markup, ++ int length); ++ +++extern DECLSPEC void SDLCALL SDLPango_SetText_GivenAlignment( +++ SDLPango_Context *context, +++ const char *text, +++ int length, +++ SDLPango_Alignment alignment); +++ ++ extern DECLSPEC void SDLCALL SDLPango_SetText( ++ SDLPango_Context *context, ++ const char *markup, +diff -urN fwupd-1.8.6-0/contrib/flatpak/shared-modules/SDL/SDL_image-1.2.12.json fwupd-1.8.6/contrib/flatpak/shared-modules/SDL/SDL_image-1.2.12.json +--- fwupd-1.8.6-0/contrib/flatpak/shared-modules/SDL/SDL_image-1.2.12.json 1970-01-01 00:00:00.000000000 +0000 ++++ fwupd-1.8.6/contrib/flatpak/shared-modules/SDL/SDL_image-1.2.12.json 2022-11-08 05:41:54.000000000 +0000 +@@ -0,0 +1,19 @@ ++{ ++ "name": "SDL_image", ++ "config-opts": ["--disable-static"], ++ "rm-configure": true, ++ "sources": [ ++ { ++ "type": "archive", ++ "url": "https://www.libsdl.org/projects/SDL_image/release/SDL_image-1.2.12.tar.gz", ++ "sha256": "0b90722984561004de84847744d566809dbb9daf732a9e503b91a1b5a84e5699" ++ }, ++ { ++ "type": "script", ++ "dest-filename": "autogen.sh", ++ "commands": [ ++ "AUTOMAKE=\"automake --foreign\" autoreconf -vfi" ++ ] ++ } ++ ] ++} +diff -urN fwupd-1.8.6-0/contrib/flatpak/shared-modules/SDL/SDL_mixer-1.2.12.json fwupd-1.8.6/contrib/flatpak/shared-modules/SDL/SDL_mixer-1.2.12.json +--- fwupd-1.8.6-0/contrib/flatpak/shared-modules/SDL/SDL_mixer-1.2.12.json 1970-01-01 00:00:00.000000000 +0000 ++++ fwupd-1.8.6/contrib/flatpak/shared-modules/SDL/SDL_mixer-1.2.12.json 2022-11-08 05:41:54.000000000 +0000 +@@ -0,0 +1,22 @@ ++{ ++ "name": "SDL_mixer", ++ "config-opts": ["--disable-static"], ++ "rm-configure": true, ++ "sources": [ ++ { ++ "type": "archive", ++ "url": "https://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-1.2.12.tar.gz", ++ "sha256": "1644308279a975799049e4826af2cfc787cad2abb11aa14562e402521f86992a" ++ }, ++ { ++ "type": "script", ++ "dest-filename": "autogen.sh", ++ "commands": [ ++ "rm acinclude/libtool.m4", ++ "rm acinclude/lt*", ++ "AUTOMAKE=\"automake --foreign\" autoreconf -vfi -I acinclude", ++ "cp -p /usr/share/automake-*/config.{sub,guess} build-scripts" ++ ] ++ } ++ ] ++} +diff -urN fwupd-1.8.6-0/contrib/flatpak/shared-modules/SDL/SDL_net-1.2.8.json fwupd-1.8.6/contrib/flatpak/shared-modules/SDL/SDL_net-1.2.8.json +--- fwupd-1.8.6-0/contrib/flatpak/shared-modules/SDL/SDL_net-1.2.8.json 1970-01-01 00:00:00.000000000 +0000 ++++ fwupd-1.8.6/contrib/flatpak/shared-modules/SDL/SDL_net-1.2.8.json 2022-11-08 05:41:54.000000000 +0000 +@@ -0,0 +1,19 @@ ++{ ++ "name": "SDL_net", ++ "config-opts": ["--disable-static"], ++ "rm-configure": true, ++ "sources": [ ++ { ++ "type": "archive", ++ "url": "https://www.libsdl.org/projects/SDL_net/release/SDL_net-1.2.8.tar.gz", ++ "sha256": "5f4a7a8bb884f793c278ac3f3713be41980c5eedccecff0260411347714facb4" ++ }, ++ { ++ "type": "script", ++ "dest-filename": "autogen.sh", ++ "commands": [ ++ "AUTOMAKE=\"automake --foreign\" autoreconf -vfi" ++ ] ++ } ++ ] ++} +diff -urN fwupd-1.8.6-0/contrib/flatpak/shared-modules/SDL/SDL_pango-0.1.2.json fwupd-1.8.6/contrib/flatpak/shared-modules/SDL/SDL_pango-0.1.2.json +--- fwupd-1.8.6-0/contrib/flatpak/shared-modules/SDL/SDL_pango-0.1.2.json 1970-01-01 00:00:00.000000000 +0000 ++++ fwupd-1.8.6/contrib/flatpak/shared-modules/SDL/SDL_pango-0.1.2.json 2022-11-08 05:41:54.000000000 +0000 +@@ -0,0 +1,23 @@ ++{ ++ "name": "SDL_pango", ++ "config-opts": ["--disable-static"], ++ "rm-configure": true, ++ "sources": [ ++ { ++ "type": "archive", ++ "url": "https://downloads.sourceforge.net/project/sdlpango/SDL_Pango/0.1.2/SDL_Pango-0.1.2.tar.gz", ++ "sha256": "7f75d3b97acf707c696ea126424906204ebfa07660162de925173cdd0257eba4" ++ }, ++ { ++ "type": "patch", ++ "path": "SDL_Pango-0.1.2-API-adds.patch" ++ }, ++ { ++ "type": "script", ++ "dest-filename": "autogen.sh", ++ "commands": [ ++ "autoreconf -vfi" ++ ] ++ } ++ ] ++} +diff -urN fwupd-1.8.6-0/contrib/flatpak/shared-modules/SDL/SDL_ttf-2.0.11.json fwupd-1.8.6/contrib/flatpak/shared-modules/SDL/SDL_ttf-2.0.11.json +--- fwupd-1.8.6-0/contrib/flatpak/shared-modules/SDL/SDL_ttf-2.0.11.json 1970-01-01 00:00:00.000000000 +0000 ++++ fwupd-1.8.6/contrib/flatpak/shared-modules/SDL/SDL_ttf-2.0.11.json 2022-11-08 05:41:54.000000000 +0000 +@@ -0,0 +1,19 @@ ++{ ++ "name": "SDL_ttf", ++ "config-opts": ["--disable-static"], ++ "rm-configure": true, ++ "sources": [ ++ { ++ "type": "archive", ++ "url": "https://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-2.0.11.tar.gz", ++ "sha256": "724cd895ecf4da319a3ef164892b72078bd92632a5d812111261cde248ebcdb7" ++ }, ++ { ++ "type": "script", ++ "dest-filename": "autogen.sh", ++ "commands": [ ++ "AUTOMAKE=\"automake --foreign\" autoreconf -vfi" ++ ] ++ } ++ ] ++} +diff -urN fwupd-1.8.6-0/contrib/flatpak/shared-modules/SDL/sdl-libx11-build.patch fwupd-1.8.6/contrib/flatpak/shared-modules/SDL/sdl-libx11-build.patch +--- fwupd-1.8.6-0/contrib/flatpak/shared-modules/SDL/sdl-libx11-build.patch 1970-01-01 00:00:00.000000000 +0000 ++++ fwupd-1.8.6/contrib/flatpak/shared-modules/SDL/sdl-libx11-build.patch 2022-11-08 05:41:54.000000000 +0000 +@@ -0,0 +1,59 @@ ++ ++# HG changeset patch ++# User Azamat H. Hackimov ++# Date 1370184533 -21600 ++# Node ID 91ad7b43317a6387e115ecdf63a49137f47e42c8 ++# Parent f7fd5c3951b9ed922fdf696f7182e71b58a13268 ++Fix compilation with libX11 >= 1.5.99.902. ++ ++These changes fixes bug #1769 for SDL 1.2 ++(http://bugzilla.libsdl.org/show_bug.cgi?id=1769). ++ ++diff -r f7fd5c3951b9 -r 91ad7b43317a configure.in ++--- a/configure.in Wed Apr 17 00:56:53 2013 -0700 +++++ b/configure.in Sun Jun 02 20:48:53 2013 +0600 ++@@ -1169,6 +1169,17 @@ ++ if test x$definitely_enable_video_x11_xrandr = xyes; then ++ AC_DEFINE(SDL_VIDEO_DRIVER_X11_XRANDR) ++ fi +++ AC_MSG_CHECKING(for const parameter to _XData32) +++ have_const_param_xdata32=no +++ AC_TRY_COMPILE([ +++ #include +++ extern int _XData32(Display *dpy,register _Xconst long *data,unsigned len); +++ ],[ +++ ],[ +++ have_const_param_xdata32=yes +++ AC_DEFINE(SDL_VIDEO_DRIVER_X11_CONST_PARAM_XDATA32) +++ ]) +++ AC_MSG_RESULT($have_const_param_xdata32) ++ fi ++ fi ++ } ++diff -r f7fd5c3951b9 -r 91ad7b43317a include/SDL_config.h.in ++--- a/include/SDL_config.h.in Wed Apr 17 00:56:53 2013 -0700 +++++ b/include/SDL_config.h.in Sun Jun 02 20:48:53 2013 +0600 ++@@ -283,6 +283,7 @@ ++ #undef SDL_VIDEO_DRIVER_WINDIB ++ #undef SDL_VIDEO_DRIVER_WSCONS ++ #undef SDL_VIDEO_DRIVER_X11 +++#undef SDL_VIDEO_DRIVER_X11_CONST_PARAM_XDATA32 ++ #undef SDL_VIDEO_DRIVER_X11_DGAMOUSE ++ #undef SDL_VIDEO_DRIVER_X11_DYNAMIC ++ #undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT ++diff -r f7fd5c3951b9 -r 91ad7b43317a src/video/x11/SDL_x11sym.h ++--- a/src/video/x11/SDL_x11sym.h Wed Apr 17 00:56:53 2013 -0700 +++++ b/src/video/x11/SDL_x11sym.h Sun Jun 02 20:48:53 2013 +0600 ++@@ -165,7 +165,11 @@ ++ */ ++ #ifdef LONG64 ++ SDL_X11_MODULE(IO_32BIT) +++#if SDL_VIDEO_DRIVER_X11_CONST_PARAM_XDATA32 +++SDL_X11_SYM(int,_XData32,(Display *dpy,register _Xconst long *data,unsigned len),(dpy,data,len),return) +++#else ++ SDL_X11_SYM(int,_XData32,(Display *dpy,register long *data,unsigned len),(dpy,data,len),return) +++#endif ++ SDL_X11_SYM(void,_XRead32,(Display *dpy,register long *data,long len),(dpy,data,len),) ++ #endif ++ ++ +diff -urN fwupd-1.8.6-0/contrib/flatpak/shared-modules/cld2/CMakeLists.txt fwupd-1.8.6/contrib/flatpak/shared-modules/cld2/CMakeLists.txt +--- fwupd-1.8.6-0/contrib/flatpak/shared-modules/cld2/CMakeLists.txt 1970-01-01 00:00:00.000000000 +0000 ++++ fwupd-1.8.6/contrib/flatpak/shared-modules/cld2/CMakeLists.txt 2022-11-08 05:41:54.000000000 +0000 +@@ -0,0 +1,155 @@ ++cmake_minimum_required(VERSION 2.8) ++project (cld2) ++enable_language(CXX) ++ ++set (VERSION "0.0.197") ++set (common_SOURCE_FILES ++ internal/cldutil.cc ++ internal/cldutil_shared.cc ++ internal/compact_lang_det.cc ++ internal/compact_lang_det_hint_code.cc ++ internal/compact_lang_det_impl.cc ++ internal/debug.cc ++ internal/fixunicodevalue.cc ++ internal/generated_entities.cc ++ internal/generated_language.cc ++ internal/generated_ulscript.cc ++ internal/getonescriptspan.cc ++ internal/lang_script.cc ++ internal/offsetmap.cc ++ internal/scoreonescriptspan.cc ++ internal/tote.cc ++ internal/utf8statetable.cc ++ ) ++ ++set (cld2_SOURCE_FILES ++ internal/generated_distinct_bi_0.cc ++ internal/cld_generated_cjk_uni_prop_80.cc ++ internal/cld2_generated_cjk_compatible.cc ++ internal/cld_generated_cjk_delta_bi_4.cc ++ internal/cld2_generated_quadchrome_2.cc ++ internal/cld2_generated_deltaoctachrome.cc ++ internal/cld2_generated_distinctoctachrome.cc ++ internal/cld_generated_score_quad_octa_2.cc ++ ) ++ ++set (cld2_full_SOURCE_FILES ++ internal/generated_distinct_bi_0.cc ++ internal/cld_generated_cjk_uni_prop_80.cc ++ internal/cld2_generated_cjk_compatible.cc ++ internal/cld_generated_cjk_delta_bi_32.cc ++ internal/cld2_generated_quad0122.cc ++ internal/cld2_generated_deltaocta0122.cc ++ internal/cld2_generated_distinctocta0122.cc ++ internal/cld_generated_score_quad_octa_0122.cc ++ ) ++ ++set (cld2_dynamic_SOURCE_FILES ++ internal/cld2_dynamic_data.cc ++ internal/cld2_dynamic_data_loader.cc ++ ) ++ ++add_library(cld2 SHARED ${common_SOURCE_FILES} ${cld2_SOURCE_FILES}) ++set_target_properties(cld2 PROPERTIES ++ ENABLE_EXPORTS On ++ OUTPUT_NAME cld2 ++ VERSION ${VERSION} ++ SOVERSION 0 ++ ) ++add_library(cld2_full SHARED ${cld2_full_SOURCE_FILES}) ++set_target_properties(cld2_full PROPERTIES ++ ENABLE_EXPORTS On ++ OUTPUT_NAME cld2_full ++ VERSION ${VERSION} ++ SOVERSION 0 ++ ) ++ ++add_library(cld2_dynamic SHARED ${cld2_dynamic_SOURCE_FILES}) ++set_target_properties(cld2_dynamic PROPERTIES ++ ENABLE_EXPORTS On ++ OUTPUT_NAME cld2_dynamic ++ VERSION ${VERSION} ++ SOVERSION 0 ++ COMPILE_FLAGS "-DCLD2_DYNAMIC_MODE" ++ ) ++install(TARGETS cld2 DESTINATION lib/${CMAKE_LIBRARY_ARCHITECTURE}) ++install(TARGETS cld2_full DESTINATION lib/${CMAKE_LIBRARY_ARCHITECTURE}) ++install(TARGETS cld2_dynamic DESTINATION lib/${CMAKE_LIBRARY_ARCHITECTURE}) ++ ++set (cld2_internal_HEADERS ++ internal/cld2_dynamic_compat.h ++ internal/cld2_dynamic_data_extractor.h ++ internal/cld2_dynamic_data.h ++ internal/cld2_dynamic_data_loader.h ++ internal/cld2tablesummary.h ++ internal/cldutil.h ++ internal/cldutil_offline.h ++ internal/cldutil_shared.h ++ internal/compact_lang_det_hint_code.h ++ internal/compact_lang_det_impl.h ++ internal/debug.h ++ internal/fixunicodevalue.h ++ internal/generated_language.h ++ internal/generated_ulscript.h ++ internal/getonescriptspan.h ++ internal/integral_types.h ++ internal/lang_script.h ++ internal/langspan.h ++ internal/offsetmap.h ++ internal/port.h ++ internal/scoreonescriptspan.h ++ internal/stringpiece.h ++ internal/tote.h ++ internal/unittest_data.h ++ internal/utf8acceptinterchange.h ++ internal/utf8prop_lettermarkscriptnum.h ++ internal/utf8repl_lettermarklower.h ++ internal/utf8scannot_lettermarkspecial.h ++ internal/utf8statetable.h ++ ) ++ ++install(FILES ${cld2_internal_HEADERS} DESTINATION include/cld2/internal) ++set (cld2_public_HEADERS ++ public/compact_lang_det.h ++ public/encodings.h ++ ) ++install(FILES ${cld2_public_HEADERS} DESTINATION include/cld2/public) ++ ++set (full_SOURCE_FILES ++ internal/cld_generated_cjk_uni_prop_80.cc ++ internal/cld2_generated_cjk_compatible.cc ++ internal/cld_generated_cjk_delta_bi_32.cc ++ internal/generated_distinct_bi_0.cc ++ internal/cld2_generated_quad0122.cc ++ internal/cld2_generated_deltaocta0122.cc ++ internal/cld2_generated_distinctocta0122.cc ++ internal/cld_generated_score_quad_octa_0122.cc ++ ) ++ ++add_executable(compact_lang_det_test_full ${full_SOURCE_FILES} internal/compact_lang_det_test.cc) ++add_executable(cld2_unittest_full ${full_SOURCE_FILES} internal/cld2_unittest_full.cc) ++add_executable(cld2_unittest_full_avoid ${full_SOURCE_FILES} internal/cld2_unittest_full.cc) ++set_target_properties(cld2_unittest_full_avoid PROPERTIES COMPILE_FLAGS "-Davoid_utf8_string_constants") ++ ++add_executable(cld2_dynamic_data_tool internal/cld2_dynamic_data_extractor.cc internal/cld2_dynamic_data_tool.cc) ++add_executable(compact_lang_det_dynamic_test_chrome ${common_SOURCE_FILES} internal/cld2_dynamic_data_extractor.cc internal/compact_lang_det_test.cc) ++add_executable(cld2_dynamic_unittest ${common_SOURCE_FILES} internal/cld2_unittest.cc) ++set_target_properties(compact_lang_det_dynamic_test_chrome PROPERTIES COMPILE_FLAGS "-DCLD2_DYNAMIC_MODE") ++set_target_properties(cld2_dynamic_unittest PROPERTIES COMPILE_FLAGS "-DCLD2_DYNAMIC_MODE") ++ ++add_executable(compact_lang_det_test_chrome_2 internal/compact_lang_det_test.cc) ++add_executable(compact_lang_det_test_chrome_16 internal/compact_lang_det_test.cc) ++add_executable(cld2_unittest_chrome_2 internal/cld2_unittest.cc) ++add_executable(cld2_unittest_avoid_chrome_2 internal/cld2_unittest.cc) ++set_target_properties(cld2_unittest_avoid_chrome_2 PROPERTIES COMPILE_FLAGS "-Davoid_utf8_string_constants") ++ ++target_link_libraries(compact_lang_det_test_full cld2) ++target_link_libraries(cld2_unittest_full cld2) ++target_link_libraries(cld2_unittest_full_avoid cld2) ++target_link_libraries(cld2_dynamic_data_tool cld2 cld2_dynamic) ++target_link_libraries(compact_lang_det_dynamic_test_chrome cld2_dynamic) ++target_link_libraries(cld2_dynamic_unittest cld2_dynamic) ++target_link_libraries(compact_lang_det_test_chrome_2 cld2) ++target_link_libraries(compact_lang_det_test_chrome_16 cld2) ++target_link_libraries(cld2_unittest_chrome_2 cld2) ++target_link_libraries(cld2_unittest_avoid_chrome_2 cld2) +diff -urN fwupd-1.8.6-0/contrib/flatpak/shared-modules/cld2/cld2.json fwupd-1.8.6/contrib/flatpak/shared-modules/cld2/cld2.json +--- fwupd-1.8.6-0/contrib/flatpak/shared-modules/cld2/cld2.json 1970-01-01 00:00:00.000000000 +0000 ++++ fwupd-1.8.6/contrib/flatpak/shared-modules/cld2/cld2.json 2022-11-08 05:41:54.000000000 +0000 +@@ -0,0 +1,24 @@ ++{ ++ "name": "cld2", ++ "buildsystem": "simple", ++ "build-options": { ++ "cxxflags": "-std=c++98" ++ }, ++ "build-commands": [ ++ "cp CMakeLists.txt ./cld2", ++ "cd cld2 && mkdir build && cd build && cmake .. -DCMAKE_INSTALL_PREFIX=/app -DCMAKE_BUILD_TYPE=Release", ++ "cd cld2/build && make && make install" ++ ], ++ "sources":[ ++ { ++ "type": "git", ++ "url": "https://github.com/CLD2Owners/cld2.git", ++ "commit": "84b58a5d7690ebf05a91406f371ce00c3daf31c0", ++ "dest": "cld2" ++ }, ++ { ++ "type": "file", ++ "path": "CMakeLists.txt" ++ } ++ ] ++} +diff -urN fwupd-1.8.6-0/contrib/flatpak/shared-modules/glew/glew.json fwupd-1.8.6/contrib/flatpak/shared-modules/glew/glew.json +--- fwupd-1.8.6-0/contrib/flatpak/shared-modules/glew/glew.json 1970-01-01 00:00:00.000000000 +0000 ++++ fwupd-1.8.6/contrib/flatpak/shared-modules/glew/glew.json 2022-11-08 05:41:54.000000000 +0000 +@@ -0,0 +1,26 @@ ++{ ++ "name": "glew", ++ "no-autogen": true, ++ "make-args": [ ++ "GLEW_PREFIX=/app", ++ "GLEW_DEST=/app", ++ "LIBDIR=/app/lib" ++ ], ++ "make-install-args": [ ++ "GLEW_PREFIX=/app", ++ "GLEW_DEST=/app", ++ "LIBDIR=/app/lib" ++ ], ++ "sources": [ ++ { ++ "type": "archive", ++ "url": "https://downloads.sourceforge.net/project/glew/glew/2.1.0/glew-2.1.0.tgz", ++ "sha256": "04de91e7e6763039bc11940095cd9c7f880baba82196a7765f727ac05a993c95" ++ } ++ ], ++ "cleanup": [ ++ "/include", ++ "/lib/pkgconfig", ++ "/lib/*.a" ++ ] ++} +diff -urN fwupd-1.8.6-0/contrib/flatpak/shared-modules/glu/glu-9.0.0.json fwupd-1.8.6/contrib/flatpak/shared-modules/glu/glu-9.0.0.json +--- fwupd-1.8.6-0/contrib/flatpak/shared-modules/glu/glu-9.0.0.json 1970-01-01 00:00:00.000000000 +0000 ++++ fwupd-1.8.6/contrib/flatpak/shared-modules/glu/glu-9.0.0.json 2022-11-08 05:41:54.000000000 +0000 +@@ -0,0 +1,11 @@ ++{ ++ "name": "glu", ++ "sources": [ ++ { ++ "type": "archive", ++ "url": "https://mesa.freedesktop.org/archive/glu/glu-9.0.0.tar.bz2", ++ "sha256": "1f7ad0d379a722fcbd303aa5650c6d7d5544fde83196b42a73d1193568a4df12" ++ } ++ ], ++ "cleanup": [ "/include", "/lib/*.a", "/lib/*.la", "/lib/pkgconfig" ] ++} +diff -urN fwupd-1.8.6-0/contrib/flatpak/shared-modules/lame/lame-3.99.5.json fwupd-1.8.6/contrib/flatpak/shared-modules/lame/lame-3.99.5.json +--- fwupd-1.8.6-0/contrib/flatpak/shared-modules/lame/lame-3.99.5.json 1970-01-01 00:00:00.000000000 +0000 ++++ fwupd-1.8.6/contrib/flatpak/shared-modules/lame/lame-3.99.5.json 2022-11-08 05:41:54.000000000 +0000 +@@ -0,0 +1,32 @@ ++{ ++ "name": "lame", ++ "rm-configure": true, ++ "config-opts": ["--disable-static"], ++ "sources": [ ++ { ++ "type": "archive", ++ "url": "https://downloads.sourceforge.net/lame/lame-3.99.5.tar.gz", ++ "sha256": "24346b4158e4af3bd9f2e194bb23eb473c75fb7377011523353196b19b9a23ff" ++ }, ++ { ++ "type": "patch", ++ "path": "lame-msse.patch" ++ }, ++ { ++ "type": "patch", ++ "path": "lame-gtk1-ac-directives.patch" ++ }, ++ { ++ "type": "patch", ++ "path": "lame-ansi2knr2devnull.patch" ++ }, ++ { ++ "type": "script", ++ "dest-filename": "autogen.sh", ++ "commands": [ ++ "autoreconf -vfi" ++ ] ++ } ++ ], ++ "cleanup": ["/bin", "/include", "/share/doc", "/share/man", "*.la"] ++} +diff -urN fwupd-1.8.6-0/contrib/flatpak/shared-modules/lame/lame-ansi2knr2devnull.patch fwupd-1.8.6/contrib/flatpak/shared-modules/lame/lame-ansi2knr2devnull.patch +--- fwupd-1.8.6-0/contrib/flatpak/shared-modules/lame/lame-ansi2knr2devnull.patch 1970-01-01 00:00:00.000000000 +0000 ++++ fwupd-1.8.6/contrib/flatpak/shared-modules/lame/lame-ansi2knr2devnull.patch 2022-11-08 05:41:54.000000000 +0000 +@@ -0,0 +1,43 @@ ++Description: Patch out remaining ansi2knr. ++Author: Dimitri John Ledkov ++Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=755111 ++--- a/configure.in +++++ b/configure.in ++@@ -78,7 +78,6 @@ ++ fi ++ ++ dnl more automake stuff ++-AM_C_PROTOTYPES ++ ++ AC_CHECK_HEADER(dmalloc.h) ++ if test "${ac_cv_header_dmalloc_h}" = "yes"; then ++--- a/doc/man/Makefile.am +++++ b/doc/man/Makefile.am ++@@ -1,6 +1,6 @@ ++ ## $Id: Makefile.am,v 1.1 2000/10/22 11:39:44 aleidinger Exp $ ++ ++-AUTOMAKE_OPTIONS = foreign ansi2knr +++AUTOMAKE_OPTIONS = foreign ++ ++ man_MANS = lame.1 ++ EXTRA_DIST = ${man_MANS} ++--- a/libmp3lame/i386/Makefile.am +++++ b/libmp3lame/i386/Makefile.am ++@@ -1,6 +1,6 @@ ++ ## $Id: Makefile.am,v 1.26 2011/04/04 09:42:34 aleidinger Exp $ ++ ++-AUTOMAKE_OPTIONS = foreign $(top_srcdir)/ansi2knr +++AUTOMAKE_OPTIONS = foreign ++ ++ DEFS = @DEFS@ @CONFIG_DEFS@ ++ ++--- a/doc/html/Makefile.am +++++ b/doc/html/Makefile.am ++@@ -1,6 +1,6 @@ ++ ## $Id: Makefile.am,v 1.7 2010/09/30 20:58:40 jaz001 Exp $ ++ ++-AUTOMAKE_OPTIONS = foreign ansi2knr +++AUTOMAKE_OPTIONS = foreign ++ ++ docdir = $(datadir)/doc ++ pkgdocdir = $(docdir)/$(PACKAGE) +diff -urN fwupd-1.8.6-0/contrib/flatpak/shared-modules/lame/lame-gtk1-ac-directives.patch fwupd-1.8.6/contrib/flatpak/shared-modules/lame/lame-gtk1-ac-directives.patch +--- fwupd-1.8.6-0/contrib/flatpak/shared-modules/lame/lame-gtk1-ac-directives.patch 1970-01-01 00:00:00.000000000 +0000 ++++ fwupd-1.8.6/contrib/flatpak/shared-modules/lame/lame-gtk1-ac-directives.patch 2022-11-08 05:41:54.000000000 +0000 +@@ -0,0 +1,205 @@ ++Description: Include GTK-1 autoconf directives in build system. ++Origin: http://anonscm.debian.org/gitweb/?p=pkg-multimedia/lame.git;a=tree;f=debian/patches ++Forwarded: yes ++Applied-Upstream: http://lame.cvs.sf.net/viewvc/lame/lame/acinclude.m4?revision=1.6 ++ ++--- a/acinclude.m4 +++++ b/acinclude.m4 ++@@ -85,4 +85,197 @@ ++ [AC_MSG_WARN(can't check for IEEE854 compliant 80 bit floats)] ++ )])]) # alex_IEEE854_FLOAT80 ++ +++# Configure paths for GTK+ +++# Owen Taylor 97-11-3 ++ +++dnl AM_PATH_GTK([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]]) +++dnl Test for GTK, and define GTK_CFLAGS and GTK_LIBS +++dnl +++AC_DEFUN([AM_PATH_GTK], +++[dnl +++dnl Get the cflags and libraries from the gtk-config script +++dnl +++AC_ARG_WITH(gtk-prefix,[ --with-gtk-prefix=PFX Prefix where GTK is installed (optional)], +++ gtk_config_prefix="$withval", gtk_config_prefix="") +++AC_ARG_WITH(gtk-exec-prefix,[ --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)], +++ gtk_config_exec_prefix="$withval", gtk_config_exec_prefix="") +++AC_ARG_ENABLE(gtktest, [ --disable-gtktest Do not try to compile and run a test GTK program], +++ , enable_gtktest=yes) +++ +++ for module in . $4 +++ do +++ case "$module" in +++ gthread) +++ gtk_config_args="$gtk_config_args gthread" +++ ;; +++ esac +++ done +++ +++ if test x$gtk_config_exec_prefix != x ; then +++ gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix" +++ if test x${GTK_CONFIG+set} != xset ; then +++ GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config +++ fi +++ fi +++ if test x$gtk_config_prefix != x ; then +++ gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix" +++ if test x${GTK_CONFIG+set} != xset ; then +++ GTK_CONFIG=$gtk_config_prefix/bin/gtk-config +++ fi +++ fi +++ +++ AC_PATH_PROG(GTK_CONFIG, gtk-config, no) +++ min_gtk_version=ifelse([$1], ,0.99.7,$1) +++ AC_MSG_CHECKING(for GTK - version >= $min_gtk_version) +++ no_gtk="" +++ if test "$GTK_CONFIG" = "no" ; then +++ no_gtk=yes +++ else +++ GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags` +++ GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs` +++ gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \ +++ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` +++ gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \ +++ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` +++ gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \ +++ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` +++ if test "x$enable_gtktest" = "xyes" ; then +++ ac_save_CFLAGS="$CFLAGS" +++ ac_save_LIBS="$LIBS" +++ CFLAGS="$CFLAGS $GTK_CFLAGS" +++ LIBS="$GTK_LIBS $LIBS" +++dnl +++dnl Now check if the installed GTK is sufficiently new. (Also sanity +++dnl checks the results of gtk-config to some extent +++dnl +++ rm -f conf.gtktest +++ AC_TRY_RUN([ +++#include +++#include +++#include +++ +++int +++main () +++{ +++ int major, minor, micro; +++ char *tmp_version; +++ +++ system ("touch conf.gtktest"); +++ +++ /* HP/UX 9 (%@#!) writes to sscanf strings */ +++ tmp_version = g_strdup("$min_gtk_version"); +++ if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { +++ printf("%s, bad version string\n", "$min_gtk_version"); +++ exit(1); +++ } +++ +++ if ((gtk_major_version != $gtk_config_major_version) || +++ (gtk_minor_version != $gtk_config_minor_version) || +++ (gtk_micro_version != $gtk_config_micro_version)) +++ { +++ printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n", +++ $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version, +++ gtk_major_version, gtk_minor_version, gtk_micro_version); +++ printf ("*** was found! If gtk-config was correct, then it is best\n"); +++ printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n"); +++ printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n"); +++ printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); +++ printf("*** required on your system.\n"); +++ printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n"); +++ printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n"); +++ printf("*** before re-running configure\n"); +++ } +++#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION) +++ else if ((gtk_major_version != GTK_MAJOR_VERSION) || +++ (gtk_minor_version != GTK_MINOR_VERSION) || +++ (gtk_micro_version != GTK_MICRO_VERSION)) +++ { +++ printf("*** GTK+ header files (version %d.%d.%d) do not match\n", +++ GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION); +++ printf("*** library (version %d.%d.%d)\n", +++ gtk_major_version, gtk_minor_version, gtk_micro_version); +++ } +++#endif /* defined (GTK_MAJOR_VERSION) ... */ +++ else +++ { +++ if ((gtk_major_version > major) || +++ ((gtk_major_version == major) && (gtk_minor_version > minor)) || +++ ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro))) +++ { +++ return 0; +++ } +++ else +++ { +++ printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n", +++ gtk_major_version, gtk_minor_version, gtk_micro_version); +++ printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n", +++ major, minor, micro); +++ printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n"); +++ printf("***\n"); +++ printf("*** If you have already installed a sufficiently new version, this error\n"); +++ printf("*** probably means that the wrong copy of the gtk-config shell script is\n"); +++ printf("*** being found. The easiest way to fix this is to remove the old version\n"); +++ printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n"); +++ printf("*** correct copy of gtk-config. (In this case, you will have to\n"); +++ printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); +++ printf("*** so that the correct libraries are found at run-time))\n"); +++ } +++ } +++ return 1; +++} +++],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) +++ CFLAGS="$ac_save_CFLAGS" +++ LIBS="$ac_save_LIBS" +++ fi +++ fi +++ if test "x$no_gtk" = x ; then +++ AC_MSG_RESULT(yes) +++ ifelse([$2], , :, [$2]) +++ else +++ AC_MSG_RESULT(no) +++ if test "$GTK_CONFIG" = "no" ; then +++ echo "*** The gtk-config script installed by GTK could not be found" +++ echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in" +++ echo "*** your path, or set the GTK_CONFIG environment variable to the" +++ echo "*** full path to gtk-config." +++ else +++ if test -f conf.gtktest ; then +++ : +++ else +++ echo "*** Could not run GTK test program, checking why..." +++ CFLAGS="$CFLAGS $GTK_CFLAGS" +++ LIBS="$LIBS $GTK_LIBS" +++ AC_TRY_LINK([ +++#include +++#include +++], [ return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ], +++ [ echo "*** The test program compiled, but did not run. This usually means" +++ echo "*** that the run-time linker is not finding GTK or finding the wrong" +++ echo "*** version of GTK. If it is not finding GTK, you'll need to set your" +++ echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" +++ echo "*** to the installed location Also, make sure you have run ldconfig if that" +++ echo "*** is required on your system" +++ echo "***" +++ echo "*** If you have an old version installed, it is best to remove it, although" +++ echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" +++ echo "***" +++ echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that" +++ echo "*** came with the system with the command" +++ echo "***" +++ echo "*** rpm --erase --nodeps gtk gtk-devel" ], +++ [ echo "*** The test program failed to compile or link. See the file config.log for the" +++ echo "*** exact error that occured. This usually means GTK was incorrectly installed" +++ echo "*** or that you have moved GTK since it was installed. In the latter case, you" +++ echo "*** may want to edit the gtk-config script: $GTK_CONFIG" ]) +++ CFLAGS="$ac_save_CFLAGS" +++ LIBS="$ac_save_LIBS" +++ fi +++ fi +++ GTK_CFLAGS="" +++ GTK_LIBS="" +++ ifelse([$3], , :, [$3]) +++ fi +++ AC_SUBST(GTK_CFLAGS) +++ AC_SUBST(GTK_LIBS) +++ rm -f conf.gtktest +++]) +diff -urN fwupd-1.8.6-0/contrib/flatpak/shared-modules/lame/lame-msse.patch fwupd-1.8.6/contrib/flatpak/shared-modules/lame/lame-msse.patch +--- fwupd-1.8.6-0/contrib/flatpak/shared-modules/lame/lame-msse.patch 1970-01-01 00:00:00.000000000 +0000 ++++ fwupd-1.8.6/contrib/flatpak/shared-modules/lame/lame-msse.patch 2022-11-08 05:41:54.000000000 +0000 +@@ -0,0 +1,17 @@ ++Description: Build xmm_quantize_sub.c with -msse ++Author: Sebastian Ramacher ++Bug: http://sourceforge.net/p/lame/bugs/443/ ++Bug-Debian: https://bugs.debian.org/760047 ++Forwarded: http://sourceforge.net/p/lame/bugs/443/ ++Last-Update: 2014-08-31 ++ ++--- lame-3.99.5+repack1.orig/libmp3lame/vector/Makefile.am +++++ lame-3.99.5+repack1/libmp3lame/vector/Makefile.am ++@@ -20,6 +20,7 @@ xmm_sources = xmm_quantize_sub.c ++ ++ if WITH_XMM ++ liblamevectorroutines_la_SOURCES = $(xmm_sources) +++liblamevectorroutines_la_CFLAGS = -msse ++ endif ++ ++ noinst_HEADERS = lame_intrin.h +diff -urN fwupd-1.8.6-0/contrib/flatpak/shared-modules/libappindicator/Makefile fwupd-1.8.6/contrib/flatpak/shared-modules/libappindicator/Makefile +--- fwupd-1.8.6-0/contrib/flatpak/shared-modules/libappindicator/Makefile 1970-01-01 00:00:00.000000000 +0000 ++++ fwupd-1.8.6/contrib/flatpak/shared-modules/libappindicator/Makefile 2022-11-08 05:41:54.000000000 +0000 +@@ -0,0 +1,10 @@ ++all: libappindicator-gtk3-introspection-12.10.json libappindicator-gtk3-12.10.json libappindicator-gtk2-12.10.json ++ ++libappindicator-gtk3-introspection-12.10.json: libappindicator.json.in ++ sed -e 's/@GTK_VER@/3/g' -e 's/@INTROSPECTION@/yes/g' $< > $@ ++ ++libappindicator-gtk3-12.10.json: libappindicator.json.in ++ sed -e 's/@GTK_VER@/3/g' -e 's/@INTROSPECTION@/no/g' $< > $@ ++ ++libappindicator-gtk2-12.10.json: libappindicator.json.in ++ sed -e 's/@GTK_VER@/2/g' -e 's/@INTROSPECTION@/no/g' $< > $@ +\ No newline at end of file +diff -urN fwupd-1.8.6-0/contrib/flatpak/shared-modules/libappindicator/libappindicator-ftbfs.patch fwupd-1.8.6/contrib/flatpak/shared-modules/libappindicator/libappindicator-ftbfs.patch +--- fwupd-1.8.6-0/contrib/flatpak/shared-modules/libappindicator/libappindicator-ftbfs.patch 1970-01-01 00:00:00.000000000 +0000 ++++ fwupd-1.8.6/contrib/flatpak/shared-modules/libappindicator/libappindicator-ftbfs.patch 2022-11-08 05:41:54.000000000 +0000 +@@ -0,0 +1,20 @@ ++From: Olivier Tilloy ++Date: Tue 2018-03-20 12:47:56 +0000 ++Subject: [PATCH] libappindicator FTBFS on bionic ++ ++Fix build failures on bionic, ++and update Vcs-* fields in debian/control. (LP: #1757121) ++ ++Approved by: Marco Trevisan (Treviño) ++--- ++--- libappindicator-12.10.0/src/app-indicator.c 2017-02-15 14:10:41 +0000 +++++ libappindicator-12.10.0/src/app-indicator.c 2018-03-20 12:38:59 +0000 ++@@ -2196,7 +2196,7 @@ app_indicator_set_secondary_activate_tar ++ ++ g_return_if_fail (GTK_IS_WIDGET (menuitem)); ++ ++- priv->sec_activate_target = g_object_ref(G_OBJECT(menuitem)); +++ priv->sec_activate_target = g_object_ref(menuitem); ++ priv->sec_activate_enabled = widget_is_menu_child(self, menuitem); ++ g_signal_connect(menuitem, "parent-set", G_CALLBACK(sec_activate_target_parent_changed), self); ++ } +diff -urN fwupd-1.8.6-0/contrib/flatpak/shared-modules/libappindicator/libappindicator-gtk2-12.10.json fwupd-1.8.6/contrib/flatpak/shared-modules/libappindicator/libappindicator-gtk2-12.10.json +--- fwupd-1.8.6-0/contrib/flatpak/shared-modules/libappindicator/libappindicator-gtk2-12.10.json 1970-01-01 00:00:00.000000000 +0000 ++++ fwupd-1.8.6/contrib/flatpak/shared-modules/libappindicator/libappindicator-gtk2-12.10.json 2022-11-08 05:41:54.000000000 +0000 +@@ -0,0 +1,122 @@ ++{ ++ "name": "libappindicator", ++ "build-options": { ++ "cflags": "-Wno-error=deprecated-declarations" ++ }, ++ "rm-configure": true, ++ "config-opts": [ ++ "--disable-static", ++ "--disable-gtk-doc", ++ "--disable-tests", ++ "--disable-mono-tests", ++ "--enable-introspection=no", ++ "--with-gtk=2" ++ ], ++ "cleanup": [ ++ "/include", ++ "/lib/pkgconfig", ++ "/lib/*.la", ++ "/share/gtk-doc", ++ "/share/gir-1.0" ++ ], ++ "sources": [ ++ { ++ "type": "archive", ++ "url": "https://launchpad.net/libappindicator/12.10/12.10.0/+download/libappindicator-12.10.0.tar.gz", ++ "sha256": "d5907c1f98084acf28fd19593cb70672caa0ca1cf82d747ba6f4830d4cc3b49f" ++ }, ++ { ++ "type": "patch", ++ "path": "libappindicator-ftbfs.patch" ++ }, ++ { ++ "type": "shell", ++ "commands": [ ++ "# Disable python bindings", ++ "sed -e '/APPINDICATOR_PYTHON/,/\\$PYGTK_CODEGEN/ d' -i configure.ac", ++ "sed -e '/bindings/ d' -e '/example/ d' -i Makefile.am" ++ ] ++ }, ++ { ++ "type": "script", ++ "commands": ["autoreconf -sfi"], ++ "dest-filename": "autogen.sh" ++ } ++ ], ++ "modules": [ ++ { ++ "name": "libdbusmenu", ++ "build-options": { ++ "env": { ++ "HAVE_VALGRIND_FALSE": "#", ++ "HAVE_VALGRIND_TRUE": "" ++ } ++ }, ++ "cleanup": [ ++ "/include", ++ "/libexec", ++ "/lib/pkgconfig", ++ "/lib/*.la", ++ "/share/doc", ++ "/share/libdbusmenu", ++ "/share/gtk-doc", ++ "/share/gir-1.0" ++ ], ++ "config-opts": [ ++ "--disable-static", ++ "--disable-gtk-doc", ++ "--enable-introspection=no", ++ "--disable-vala", ++ "--disable-dumper", ++ "--disable-tests", ++ "--with-gtk=2" ++ ], ++ "sources": [ ++ { ++ "type": "archive", ++ "url": "https://launchpad.net/libdbusmenu/16.04/16.04.0/+download/libdbusmenu-16.04.0.tar.gz", ++ "sha256": "b9cc4a2acd74509435892823607d966d424bd9ad5d0b00938f27240a1bfa878a" ++ } ++ ] ++ }, ++ { ++ "name": "libindicator", ++ "build-options": { ++ "cflags": "-Wno-error=deprecated-declarations" ++ }, ++ "cleanup": [ ++ "/include", ++ "/libexec", ++ "/lib/pkgconfig", ++ "/lib/*.la", ++ "/share/libindicator", ++ "/share/gtk-doc", ++ "/share/gir-1.0" ++ ], ++ "config-opts": [ ++ "--disable-static", ++ "--disable-tests", ++ "--with-gtk=2" ++ ], ++ "sources": [ ++ { ++ "type": "archive", ++ "url": "https://launchpad.net/libindicator/12.10/12.10.1/+download/libindicator-12.10.1.tar.gz", ++ "sha256": "b2d2e44c10313d5c9cd60db455d520f80b36dc39562df079a3f29495e8f9447f" ++ }, ++ { ++ "type": "shell", ++ "commands": [ ++ "# FTBFS fix", ++ "sed -e '/LIBINDICATOR_LIBS/ s/\\$LIBM/ $LIBM/' -i configure.ac" ++ ] ++ }, ++ { ++ "type": "script", ++ "commands": ["autoreconf -sfi"], ++ "dest-filename": "autogen.sh" ++ } ++ ] ++ } ++ ] ++} +\ No newline at end of file +diff -urN fwupd-1.8.6-0/contrib/flatpak/shared-modules/libappindicator/libappindicator-gtk3-12.10.json fwupd-1.8.6/contrib/flatpak/shared-modules/libappindicator/libappindicator-gtk3-12.10.json +--- fwupd-1.8.6-0/contrib/flatpak/shared-modules/libappindicator/libappindicator-gtk3-12.10.json 1970-01-01 00:00:00.000000000 +0000 ++++ fwupd-1.8.6/contrib/flatpak/shared-modules/libappindicator/libappindicator-gtk3-12.10.json 2022-11-08 05:41:54.000000000 +0000 +@@ -0,0 +1,122 @@ ++{ ++ "name": "libappindicator", ++ "build-options": { ++ "cflags": "-Wno-error=deprecated-declarations" ++ }, ++ "rm-configure": true, ++ "config-opts": [ ++ "--disable-static", ++ "--disable-gtk-doc", ++ "--disable-tests", ++ "--disable-mono-tests", ++ "--enable-introspection=no", ++ "--with-gtk=3" ++ ], ++ "cleanup": [ ++ "/include", ++ "/lib/pkgconfig", ++ "/lib/*.la", ++ "/share/gtk-doc", ++ "/share/gir-1.0" ++ ], ++ "sources": [ ++ { ++ "type": "archive", ++ "url": "https://launchpad.net/libappindicator/12.10/12.10.0/+download/libappindicator-12.10.0.tar.gz", ++ "sha256": "d5907c1f98084acf28fd19593cb70672caa0ca1cf82d747ba6f4830d4cc3b49f" ++ }, ++ { ++ "type": "patch", ++ "path": "libappindicator-ftbfs.patch" ++ }, ++ { ++ "type": "shell", ++ "commands": [ ++ "# Disable python bindings", ++ "sed -e '/APPINDICATOR_PYTHON/,/\\$PYGTK_CODEGEN/ d' -i configure.ac", ++ "sed -e '/bindings/ d' -e '/example/ d' -i Makefile.am" ++ ] ++ }, ++ { ++ "type": "script", ++ "commands": ["autoreconf -sfi"], ++ "dest-filename": "autogen.sh" ++ } ++ ], ++ "modules": [ ++ { ++ "name": "libdbusmenu", ++ "build-options": { ++ "env": { ++ "HAVE_VALGRIND_FALSE": "#", ++ "HAVE_VALGRIND_TRUE": "" ++ } ++ }, ++ "cleanup": [ ++ "/include", ++ "/libexec", ++ "/lib/pkgconfig", ++ "/lib/*.la", ++ "/share/doc", ++ "/share/libdbusmenu", ++ "/share/gtk-doc", ++ "/share/gir-1.0" ++ ], ++ "config-opts": [ ++ "--disable-static", ++ "--disable-gtk-doc", ++ "--enable-introspection=no", ++ "--disable-vala", ++ "--disable-dumper", ++ "--disable-tests", ++ "--with-gtk=3" ++ ], ++ "sources": [ ++ { ++ "type": "archive", ++ "url": "https://launchpad.net/libdbusmenu/16.04/16.04.0/+download/libdbusmenu-16.04.0.tar.gz", ++ "sha256": "b9cc4a2acd74509435892823607d966d424bd9ad5d0b00938f27240a1bfa878a" ++ } ++ ] ++ }, ++ { ++ "name": "libindicator", ++ "build-options": { ++ "cflags": "-Wno-error=deprecated-declarations" ++ }, ++ "cleanup": [ ++ "/include", ++ "/libexec", ++ "/lib/pkgconfig", ++ "/lib/*.la", ++ "/share/libindicator", ++ "/share/gtk-doc", ++ "/share/gir-1.0" ++ ], ++ "config-opts": [ ++ "--disable-static", ++ "--disable-tests", ++ "--with-gtk=3" ++ ], ++ "sources": [ ++ { ++ "type": "archive", ++ "url": "https://launchpad.net/libindicator/12.10/12.10.1/+download/libindicator-12.10.1.tar.gz", ++ "sha256": "b2d2e44c10313d5c9cd60db455d520f80b36dc39562df079a3f29495e8f9447f" ++ }, ++ { ++ "type": "shell", ++ "commands": [ ++ "# FTBFS fix", ++ "sed -e '/LIBINDICATOR_LIBS/ s/\\$LIBM/ $LIBM/' -i configure.ac" ++ ] ++ }, ++ { ++ "type": "script", ++ "commands": ["autoreconf -sfi"], ++ "dest-filename": "autogen.sh" ++ } ++ ] ++ } ++ ] ++} +\ No newline at end of file +diff -urN fwupd-1.8.6-0/contrib/flatpak/shared-modules/libappindicator/libappindicator-gtk3-introspection-12.10.json fwupd-1.8.6/contrib/flatpak/shared-modules/libappindicator/libappindicator-gtk3-introspection-12.10.json +--- fwupd-1.8.6-0/contrib/flatpak/shared-modules/libappindicator/libappindicator-gtk3-introspection-12.10.json 1970-01-01 00:00:00.000000000 +0000 ++++ fwupd-1.8.6/contrib/flatpak/shared-modules/libappindicator/libappindicator-gtk3-introspection-12.10.json 2022-11-08 05:41:54.000000000 +0000 +@@ -0,0 +1,122 @@ ++{ ++ "name": "libappindicator", ++ "build-options": { ++ "cflags": "-Wno-error=deprecated-declarations" ++ }, ++ "rm-configure": true, ++ "config-opts": [ ++ "--disable-static", ++ "--disable-gtk-doc", ++ "--disable-tests", ++ "--disable-mono-tests", ++ "--enable-introspection=yes", ++ "--with-gtk=3" ++ ], ++ "cleanup": [ ++ "/include", ++ "/lib/pkgconfig", ++ "/lib/*.la", ++ "/share/gtk-doc", ++ "/share/gir-1.0" ++ ], ++ "sources": [ ++ { ++ "type": "archive", ++ "url": "https://launchpad.net/libappindicator/12.10/12.10.0/+download/libappindicator-12.10.0.tar.gz", ++ "sha256": "d5907c1f98084acf28fd19593cb70672caa0ca1cf82d747ba6f4830d4cc3b49f" ++ }, ++ { ++ "type": "patch", ++ "path": "libappindicator-ftbfs.patch" ++ }, ++ { ++ "type": "shell", ++ "commands": [ ++ "# Disable python bindings", ++ "sed -e '/APPINDICATOR_PYTHON/,/\\$PYGTK_CODEGEN/ d' -i configure.ac", ++ "sed -e '/bindings/ d' -e '/example/ d' -i Makefile.am" ++ ] ++ }, ++ { ++ "type": "script", ++ "commands": ["autoreconf -sfi"], ++ "dest-filename": "autogen.sh" ++ } ++ ], ++ "modules": [ ++ { ++ "name": "libdbusmenu", ++ "build-options": { ++ "env": { ++ "HAVE_VALGRIND_FALSE": "#", ++ "HAVE_VALGRIND_TRUE": "" ++ } ++ }, ++ "cleanup": [ ++ "/include", ++ "/libexec", ++ "/lib/pkgconfig", ++ "/lib/*.la", ++ "/share/doc", ++ "/share/libdbusmenu", ++ "/share/gtk-doc", ++ "/share/gir-1.0" ++ ], ++ "config-opts": [ ++ "--disable-static", ++ "--disable-gtk-doc", ++ "--enable-introspection=yes", ++ "--disable-vala", ++ "--disable-dumper", ++ "--disable-tests", ++ "--with-gtk=3" ++ ], ++ "sources": [ ++ { ++ "type": "archive", ++ "url": "https://launchpad.net/libdbusmenu/16.04/16.04.0/+download/libdbusmenu-16.04.0.tar.gz", ++ "sha256": "b9cc4a2acd74509435892823607d966d424bd9ad5d0b00938f27240a1bfa878a" ++ } ++ ] ++ }, ++ { ++ "name": "libindicator", ++ "build-options": { ++ "cflags": "-Wno-error=deprecated-declarations" ++ }, ++ "cleanup": [ ++ "/include", ++ "/libexec", ++ "/lib/pkgconfig", ++ "/lib/*.la", ++ "/share/libindicator", ++ "/share/gtk-doc", ++ "/share/gir-1.0" ++ ], ++ "config-opts": [ ++ "--disable-static", ++ "--disable-tests", ++ "--with-gtk=3" ++ ], ++ "sources": [ ++ { ++ "type": "archive", ++ "url": "https://launchpad.net/libindicator/12.10/12.10.1/+download/libindicator-12.10.1.tar.gz", ++ "sha256": "b2d2e44c10313d5c9cd60db455d520f80b36dc39562df079a3f29495e8f9447f" ++ }, ++ { ++ "type": "shell", ++ "commands": [ ++ "# FTBFS fix", ++ "sed -e '/LIBINDICATOR_LIBS/ s/\\$LIBM/ $LIBM/' -i configure.ac" ++ ] ++ }, ++ { ++ "type": "script", ++ "commands": ["autoreconf -sfi"], ++ "dest-filename": "autogen.sh" ++ } ++ ] ++ } ++ ] ++} +\ No newline at end of file +diff -urN fwupd-1.8.6-0/contrib/flatpak/shared-modules/libappindicator/libappindicator.json.in fwupd-1.8.6/contrib/flatpak/shared-modules/libappindicator/libappindicator.json.in +--- fwupd-1.8.6-0/contrib/flatpak/shared-modules/libappindicator/libappindicator.json.in 1970-01-01 00:00:00.000000000 +0000 ++++ fwupd-1.8.6/contrib/flatpak/shared-modules/libappindicator/libappindicator.json.in 2022-11-08 05:41:54.000000000 +0000 +@@ -0,0 +1,122 @@ ++{ ++ "name": "libappindicator", ++ "build-options": { ++ "cflags": "-Wno-error=deprecated-declarations" ++ }, ++ "rm-configure": true, ++ "config-opts": [ ++ "--disable-static", ++ "--disable-gtk-doc", ++ "--disable-tests", ++ "--disable-mono-tests", ++ "--enable-introspection=@INTROSPECTION@", ++ "--with-gtk=@GTK_VER@" ++ ], ++ "cleanup": [ ++ "/include", ++ "/lib/pkgconfig", ++ "/lib/*.la", ++ "/share/gtk-doc", ++ "/share/gir-1.0" ++ ], ++ "sources": [ ++ { ++ "type": "archive", ++ "url": "https://launchpad.net/libappindicator/12.10/12.10.0/+download/libappindicator-12.10.0.tar.gz", ++ "sha256": "d5907c1f98084acf28fd19593cb70672caa0ca1cf82d747ba6f4830d4cc3b49f" ++ }, ++ { ++ "type": "patch", ++ "path": "libappindicator-ftbfs.patch" ++ }, ++ { ++ "type": "shell", ++ "commands": [ ++ "# Disable python bindings", ++ "sed -e '/APPINDICATOR_PYTHON/,/\\$PYGTK_CODEGEN/ d' -i configure.ac", ++ "sed -e '/bindings/ d' -e '/example/ d' -i Makefile.am" ++ ] ++ }, ++ { ++ "type": "script", ++ "commands": ["autoreconf -sfi"], ++ "dest-filename": "autogen.sh" ++ } ++ ], ++ "modules": [ ++ { ++ "name": "libdbusmenu", ++ "build-options": { ++ "env": { ++ "HAVE_VALGRIND_FALSE": "#", ++ "HAVE_VALGRIND_TRUE": "" ++ } ++ }, ++ "cleanup": [ ++ "/include", ++ "/libexec", ++ "/lib/pkgconfig", ++ "/lib/*.la", ++ "/share/doc", ++ "/share/libdbusmenu", ++ "/share/gtk-doc", ++ "/share/gir-1.0" ++ ], ++ "config-opts": [ ++ "--disable-static", ++ "--disable-gtk-doc", ++ "--enable-introspection=@INTROSPECTION@", ++ "--disable-vala", ++ "--disable-dumper", ++ "--disable-tests", ++ "--with-gtk=@GTK_VER@" ++ ], ++ "sources": [ ++ { ++ "type": "archive", ++ "url": "https://launchpad.net/libdbusmenu/16.04/16.04.0/+download/libdbusmenu-16.04.0.tar.gz", ++ "sha256": "b9cc4a2acd74509435892823607d966d424bd9ad5d0b00938f27240a1bfa878a" ++ } ++ ] ++ }, ++ { ++ "name": "libindicator", ++ "build-options": { ++ "cflags": "-Wno-error=deprecated-declarations" ++ }, ++ "cleanup": [ ++ "/include", ++ "/libexec", ++ "/lib/pkgconfig", ++ "/lib/*.la", ++ "/share/libindicator", ++ "/share/gtk-doc", ++ "/share/gir-1.0" ++ ], ++ "config-opts": [ ++ "--disable-static", ++ "--disable-tests", ++ "--with-gtk=@GTK_VER@" ++ ], ++ "sources": [ ++ { ++ "type": "archive", ++ "url": "https://launchpad.net/libindicator/12.10/12.10.1/+download/libindicator-12.10.1.tar.gz", ++ "sha256": "b2d2e44c10313d5c9cd60db455d520f80b36dc39562df079a3f29495e8f9447f" ++ }, ++ { ++ "type": "shell", ++ "commands": [ ++ "# FTBFS fix", ++ "sed -e '/LIBINDICATOR_LIBS/ s/\\$LIBM/ $LIBM/' -i configure.ac" ++ ] ++ }, ++ { ++ "type": "script", ++ "commands": ["autoreconf -sfi"], ++ "dest-filename": "autogen.sh" ++ } ++ ] ++ } ++ ] ++} +\ No newline at end of file +diff -urN fwupd-1.8.6-0/contrib/flatpak/shared-modules/lua5.3/lua-5.3.0-autotoolize.patch fwupd-1.8.6/contrib/flatpak/shared-modules/lua5.3/lua-5.3.0-autotoolize.patch +--- fwupd-1.8.6-0/contrib/flatpak/shared-modules/lua5.3/lua-5.3.0-autotoolize.patch 1970-01-01 00:00:00.000000000 +0000 ++++ fwupd-1.8.6/contrib/flatpak/shared-modules/lua5.3/lua-5.3.0-autotoolize.patch 2022-11-08 05:41:54.000000000 +0000 +@@ -0,0 +1,192 @@ ++diff -up lua-5.3.0/configure.ac.autoxxx lua-5.3.0/configure.ac ++--- lua-5.3.0/configure.ac.autoxxx 2015-01-15 10:20:03.826889574 -0500 +++++ lua-5.3.0/configure.ac 2015-01-15 10:20:03.826889574 -0500 ++@@ -0,0 +1,69 @@ +++AC_PREREQ(2.59) +++AC_INIT([lua], [5.3.0], [https://bugzilla.redhat.com/], [lua-at], [http://www.lua.org]) +++AC_SUBST([MAJOR_VERSION], [5.3]) +++ +++AC_CONFIG_HEADERS([config.h]) +++AC_CONFIG_SRCDIR([src/lapi.c]) +++ +++AM_INIT_AUTOMAKE([1.9 foreign]) +++ +++AC_PROG_CC +++AC_PROG_LIBTOOL +++ +++AC_ARG_WITH( +++ [readline], +++ [AC_HELP_STRING([--with-readline], [Use readline for interpreter input [default=yes]])], +++ [use_readline=$withval], +++ [use_readline=yes] +++) +++ +++LUA_LIBS="-lm" +++ +++# Check for readline +++READLINE_DEFS="#undef LUA_USE_READLINE" +++if test "x$use_readline" == "xyes"; then +++ AC_CHECK_LIB([readline], [readline], [:], [use_readline=no], [-lncurses]) +++ AC_CHECK_HEADERS([readline/readline.h readline/history.h], [], [use_readline=no]) +++ if test "x$use_readline" == "xno"; then +++ AC_MSG_WARN([readline headers could not be found, disabling readline support]) +++ else +++ READLINE_DEFS="#define LUA_USE_READLINE" +++ READLINE_LIBS="-lreadline -lncurses" +++ fi +++fi +++AC_SUBST(READLINE_DEFS) +++AC_SUBST(READLINE_LIBS) +++ +++case "$host" in +++ *-mingw*) use_os=win32 ;; +++ *-darwin*) use_os=macosx ;; +++ *) use_os=posix ;; +++esac +++ +++POSIX_DEFS="#undef LUA_USE_POSIX" +++LUA_DL_DEFS="#undef LUA_USE_DLOPEN" +++LUA_BUILD_AS_DLL_DEFS="#undef LUA_BUILD_AS_DLL" +++ +++if test "x$use_os" == "xwin32"; then +++ LUA_BUILD_AS_DLL_DEFS="#define LUA_BUILD_AS_DLL" +++elif test "x$use_os" == "xmacosx"; then +++ POSIX_DEFS="#define LUA_USE_POSIX" +++ LUA_DL_DEFS="#define LUA_DL_DYLD" +++elif test "x$use_os" == "xposix"; then +++ POSIX_DEFS="#define LUA_USE_POSIX" +++ LUA_DL_DEFS="#define LUA_DL_DLOPEN" +++ LUA_LIBS="$LUA_LIBS -ldl" +++fi +++AC_SUBST(POSIX_DEFS) +++AC_SUBST(LUA_DL_DEFS) +++AC_SUBST(LUA_BUILD_AS_DLL_DEFS) +++ +++AC_SUBST(LUA_LIBS) +++ +++AC_CONFIG_FILES([Makefile +++ src/Makefile +++ src/lua.pc +++ src/luaconf.h.template +++ doc/Makefile +++]) +++AC_OUTPUT ++diff -up lua-5.3.0/doc/Makefile.am.autoxxx lua-5.3.0/doc/Makefile.am ++--- lua-5.3.0/doc/Makefile.am.autoxxx 2015-01-15 10:20:03.826889574 -0500 +++++ lua-5.3.0/doc/Makefile.am 2015-01-15 10:20:03.826889574 -0500 ++@@ -0,0 +1,4 @@ +++man1_MANS = lua.1 luac.1 +++ +++EXTRA_DIST = \ +++ contents.html logo.gif lua.1 luac.1 lua.css manual.css manual.html osi-certified-72x60.png readme.html ++diff -up lua-5.3.0/Makefile.am.autoxxx lua-5.3.0/Makefile.am ++--- lua-5.3.0/Makefile.am.autoxxx 2015-01-15 10:20:03.826889574 -0500 +++++ lua-5.3.0/Makefile.am 2015-01-15 10:20:03.826889574 -0500 ++@@ -0,0 +1,3 @@ +++SUBDIRS = src doc +++ +++EXTRA_DIST = README ++diff -up lua-5.3.0/src/.gitignore.autoxxx lua-5.3.0/src/.gitignore ++--- lua-5.3.0/src/.gitignore.autoxxx 2015-01-15 10:20:03.826889574 -0500 +++++ lua-5.3.0/src/.gitignore 2015-01-15 10:20:03.826889574 -0500 ++@@ -0,0 +1,5 @@ +++lua +++lua.pc +++luac +++luaconf.h +++luaconf.h.template ++diff -up lua-5.3.0/src/luaconf.h.template.in.autoxxx lua-5.3.0/src/luaconf.h.template.in ++--- lua-5.3.0/src/luaconf.h.template.in.autoxxx 2015-01-15 10:20:03.828889562 -0500 +++++ lua-5.3.0/src/luaconf.h.template.in 2015-01-15 10:22:37.420027778 -0500 ++@@ -11,6 +11,11 @@ ++ #include ++ #include ++ +++@POSIX_DEFS@ +++@LUA_DL_DEFS@ +++@LUA_BUILD_AS_DLL_DEFS@ +++@READLINE_DEFS@ +++ ++ ++ /* ++ ** =================================================================== ++@@ -175,9 +180,9 @@ ++ ++ #else /* }{ */ ++ ++-#define LUA_ROOT "/usr/local/" ++-#define LUA_LDIR LUA_ROOT "share/lua/" LUA_VDIR "/" ++-#define LUA_CDIR LUA_ROOT "lib/lua/" LUA_VDIR "/" +++#define LUA_ROOT "@prefix@/" +++#define LUA_LDIR "@pkgdatadir@/lua/" LUA_VDIR "/" +++#define LUA_CDIR "@libdir@/lua/" LUA_VDIR "/" ++ #define LUA_PATH_DEFAULT \ ++ LUA_LDIR"?.lua;" LUA_LDIR"?/init.lua;" \ ++ LUA_CDIR"?.lua;" LUA_CDIR"?/init.lua;" \ ++diff -up lua-5.3.0/src/lua.pc.in.autoxxx lua-5.3.0/src/lua.pc.in ++--- lua-5.3.0/src/lua.pc.in.autoxxx 2015-01-15 10:20:03.827889568 -0500 +++++ lua-5.3.0/src/lua.pc.in 2015-01-15 10:20:03.827889568 -0500 ++@@ -0,0 +1,13 @@ +++V= @MAJOR_VERSION@ +++R= @VERSION@ +++prefix= @prefix@ +++exec_prefix=${prefix} +++libdir= @libdir@ +++includedir=${prefix}/include +++ +++Name: Lua +++Description: An Extensible Extension Language +++Version: ${R} +++Requires: +++Libs: -llua @LUA_LIBS@ +++Cflags: -I${includedir} ++diff -up lua-5.3.0/src/Makefile.am.autoxxx lua-5.3.0/src/Makefile.am ++--- lua-5.3.0/src/Makefile.am.autoxxx 2015-01-15 10:20:03.826889574 -0500 +++++ lua-5.3.0/src/Makefile.am 2015-01-15 10:20:03.826889574 -0500 ++@@ -0,0 +1,46 @@ +++AM_CFLAGS = -Wall +++ +++include_HEADERS = lua.h lualib.h lauxlib.h lua.hpp +++ +++nodist_include_HEADERS = luaconf.h +++ +++lib_LTLIBRARIES = liblua.la +++liblua_la_LDFLAGS = -release @MAJOR_VERSION@ +++liblua_la_SOURCES = \ +++ lapi.c lauxlib.c lbaselib.c lbitlib.c lcode.c lcorolib.c lctype.c ldblib.c \ +++ ldebug.c ldo.c ldump.c lfunc.c lgc.c linit.c liolib.c llex.c lmathlib.c lmem.c \ +++ loadlib.c lobject.c lopcodes.c loslib.c lparser.c lstate.c lstring.c lstrlib.c \ +++ ltable.c ltablib.c ltm.c lundump.c lutf8lib.c lvm.c lzio.c \ +++ lapi.h lcode.h lctype.h ldebug.h ldo.h lfunc.h lgc.h llex.h llimits.h \ +++ lmem.h lobject.h lopcodes.h lparser.h lstate.h lstring.h ltable.h ltm.h \ +++ lundump.h lvm.h lzio.h +++ +++pkgconfigdir = $(libdir)/pkgconfig +++pkgconfig_DATA = lua.pc +++ +++bin_PROGRAMS = lua luac +++ +++lua_SOURCES = lua.c +++lua_LDADD = liblua.la @LUA_LIBS@ @READLINE_LIBS@ +++lua_DEPENDENCIES = liblua.la +++ +++luac_SOURCES = luac.c +++# Statically link liblua against luac since luac uses symbols not exported in liblua +++luac_LDADD = .libs/liblua.a @LUA_LIBS@ +++luac_DEPENDENCIES = liblua.la +++ +++EXTRA_DIST = luaconf.h.template +++BUILT_SOURCES = luaconf.h +++CLEANFILES = luaconf.h luaconf.h.template +++ +++readline_defs = @READLINE_DEFS@ +++ +++edit = sed \ +++ -e 's,%prefix%,$(prefix),g' \ +++ -e 's,%lua_datadir%,$(datadir),g' \ +++ -e 's,%lua_libdir%,$(libdir),g' +++ +++luaconf.h : luaconf.h.template +++ rm -f $@ $@.tmp +++ $(edit) $< >$@.tmp +++ mv $@.tmp $@ +diff -urN fwupd-1.8.6-0/contrib/flatpak/shared-modules/lua5.3/lua-5.3.0-configure-compat-module.patch fwupd-1.8.6/contrib/flatpak/shared-modules/lua5.3/lua-5.3.0-configure-compat-module.patch +--- fwupd-1.8.6-0/contrib/flatpak/shared-modules/lua5.3/lua-5.3.0-configure-compat-module.patch 1970-01-01 00:00:00.000000000 +0000 ++++ fwupd-1.8.6/contrib/flatpak/shared-modules/lua5.3/lua-5.3.0-configure-compat-module.patch 2022-11-08 05:41:54.000000000 +0000 +@@ -0,0 +1,35 @@ ++diff -up lua-5.2.2/configure.ac.compat-module lua-5.2.2/configure.ac ++--- lua-5.2.2/configure.ac.compat-module 2013-05-10 10:16:05.344137597 -0400 +++++ lua-5.2.2/configure.ac 2013-05-10 10:16:05.357137596 -0400 ++@@ -11,6 +11,20 @@ AC_PROG_CC ++ AC_PROG_LIBTOOL ++ ++ AC_ARG_WITH( +++ [compat-module], +++ [AC_HELP_STRING([--with-compat-module], [Enable LUA_COMPAT_MODULE functions [default=no]])], +++ [use_compat_module=$withval], +++ [use_compat_module=no] +++) +++ +++COMPAT_DEFS="#undef LUA_COMPAT_ALL" +++if test "x$use_compat_module" == "xyes"; then +++ COMPAT_DEFS="#define LUA_COMPAT_5_1 +++#define LUA_COMPAT_5_2" +++fi +++AC_SUBST(COMPAT_DEFS) +++ +++AC_ARG_WITH( ++ [readline], ++ [AC_HELP_STRING([--with-readline], [Use readline for interpreter input [default=yes]])], ++ [use_readline=$withval], ++diff -up lua-5.2.2/src/luaconf.h.template.in.compat-module lua-5.2.2/src/luaconf.h.template.in ++--- lua-5.2.2/src/luaconf.h.template.in.compat-module 2013-05-10 10:25:42.586116963 -0400 +++++ lua-5.2.2/src/luaconf.h.template.in 2013-05-10 10:26:29.957115269 -0400 ++@@ -15,6 +15,7 @@ ++ @LUA_DL_DEFS@ ++ @LUA_BUILD_AS_DLL_DEFS@ ++ @READLINE_DEFS@ +++@COMPAT_DEFS@ ++ ++ ++ /* +diff -urN fwupd-1.8.6-0/contrib/flatpak/shared-modules/lua5.3/lua-5.3.0-idsize.patch fwupd-1.8.6/contrib/flatpak/shared-modules/lua5.3/lua-5.3.0-idsize.patch +--- fwupd-1.8.6-0/contrib/flatpak/shared-modules/lua5.3/lua-5.3.0-idsize.patch 1970-01-01 00:00:00.000000000 +0000 ++++ fwupd-1.8.6/contrib/flatpak/shared-modules/lua5.3/lua-5.3.0-idsize.patch 2022-11-08 05:41:54.000000000 +0000 +@@ -0,0 +1,12 @@ ++diff -up lua-5.3.0/src/luaconf.h.template.in.idsize lua-5.3.0/src/luaconf.h.template.in ++--- lua-5.3.0/src/luaconf.h.template.in.idsize 2015-01-15 10:23:20.515801344 -0500 +++++ lua-5.3.0/src/luaconf.h.template.in 2015-01-15 10:23:48.955651916 -0500 ++@@ -693,7 +693,7 @@ ++ @@ of a function in debug information. ++ ** CHANGE it if you want a different size. ++ */ ++-#define LUA_IDSIZE 60 +++#define LUA_IDSIZE 512 ++ ++ ++ /* +diff -urN fwupd-1.8.6-0/contrib/flatpak/shared-modules/lua5.3/lua-5.3.2.json fwupd-1.8.6/contrib/flatpak/shared-modules/lua5.3/lua-5.3.2.json +--- fwupd-1.8.6-0/contrib/flatpak/shared-modules/lua5.3/lua-5.3.2.json 1970-01-01 00:00:00.000000000 +0000 ++++ fwupd-1.8.6/contrib/flatpak/shared-modules/lua5.3/lua-5.3.2.json 2022-11-08 05:41:54.000000000 +0000 +@@ -0,0 +1,34 @@ ++{ ++ "name": "lua-5.3", ++ "config-opts": [ ++ "--with-compat-module" ++ ], ++ "sources": [ ++ { ++ "type": "archive", ++ "url": "https://www.lua.org/ftp/lua-5.3.4.tar.gz", ++ "sha256": "f681aa518233bc407e23acf0f5887c884f17436f000d453b2491a9f11a52400c" ++ }, ++ { ++ "type": "shell", ++ "commands": [ "mv src/luaconf.h src/luaconf.h.template.in" ] ++ }, ++ { ++ "type": "patch", ++ "path": "lua-5.3.0-autotoolize.patch" ++ }, ++ { ++ "type": "patch", ++ "path": "lua-5.3.0-idsize.patch" ++ }, ++ { ++ "type": "patch", ++ "path": "lua-5.3.0-configure-compat-module.patch" ++ }, ++ { ++ "type": "shell", ++ "commands": [ "autoreconf -i" ] ++ } ++ ], ++ "cleanup": [ "/bin" ] ++} +diff -urN fwupd-1.8.6-0/contrib/flatpak/shared-modules/pygame/audiofile-gcc6.patch fwupd-1.8.6/contrib/flatpak/shared-modules/pygame/audiofile-gcc6.patch +--- fwupd-1.8.6-0/contrib/flatpak/shared-modules/pygame/audiofile-gcc6.patch 1970-01-01 00:00:00.000000000 +0000 ++++ fwupd-1.8.6/contrib/flatpak/shared-modules/pygame/audiofile-gcc6.patch 2022-11-08 05:41:54.000000000 +0000 +@@ -0,0 +1,21 @@ ++From b62c902dd258125cac86cd2df21fc898035a43d3 Mon Sep 17 00:00:00 2001 ++From: Michael Pruett ++Date: Mon, 29 Aug 2016 23:08:26 -0500 ++Subject: [PATCH] Fix undefined behavior in sign conversion. ++Origin: https://github.com/mpruett/audiofile/commit/b62c902dd258125cac86cd2df21fc898035a43d3 ++ ++--- ++diff --git a/libaudiofile/modules/SimpleModule.h b/libaudiofile/modules/SimpleModule.h ++index 03c6c69..bad85ad 100644 ++--- a/libaudiofile/modules/SimpleModule.h +++++ b/libaudiofile/modules/SimpleModule.h ++@@ -123,7 +123,8 @@ struct signConverter ++ typedef typename IntTypes::UnsignedType UnsignedType; ++ ++ static const int kScaleBits = (Format + 1) * CHAR_BIT - 1; ++- static const int kMinSignedValue = -1 << kScaleBits; +++ static const int kMaxSignedValue = (((1 << (kScaleBits - 1)) - 1) << 1) + 1; +++ static const int kMinSignedValue = -kMaxSignedValue - 1; ++ ++ struct signedToUnsigned : public std::unary_function ++ { +diff -urN fwupd-1.8.6-0/contrib/flatpak/shared-modules/pygame/fluidsynth-no-rawmidi.patch fwupd-1.8.6/contrib/flatpak/shared-modules/pygame/fluidsynth-no-rawmidi.patch +--- fwupd-1.8.6-0/contrib/flatpak/shared-modules/pygame/fluidsynth-no-rawmidi.patch 1970-01-01 00:00:00.000000000 +0000 ++++ fwupd-1.8.6/contrib/flatpak/shared-modules/pygame/fluidsynth-no-rawmidi.patch 2022-11-08 05:41:54.000000000 +0000 +@@ -0,0 +1,69 @@ ++diff -rupN fluidsynth-1.1.6.orig/src/drivers/fluid_alsa.c fluidsynth-1.1.6/src/drivers/fluid_alsa.c ++--- fluidsynth-1.1.6.orig/src/drivers/fluid_alsa.c 2012-08-16 05:01:13.000000000 +0100 +++++ fluidsynth-1.1.6/src/drivers/fluid_alsa.c 2017-02-28 21:26:57.033244239 +0000 ++@@ -96,7 +96,7 @@ struct fluid_alsa_formats_t fluid_alsa_f ++ }; ++ ++ ++- +++#if 0 ++ /* ++ * fluid_alsa_rawmidi_driver_t ++ * ++@@ -119,7 +119,7 @@ fluid_midi_driver_t* new_fluid_alsa_rawm ++ ++ int delete_fluid_alsa_rawmidi_driver(fluid_midi_driver_t* p); ++ static void fluid_alsa_midi_run(void* d); ++- +++#endif ++ ++ /* ++ * fluid_alsa_seq_driver_t ++@@ -535,7 +535,7 @@ static void fluid_alsa_audio_run_s16 (vo ++ * ++ */ ++ ++- +++#if 0 ++ void fluid_alsa_rawmidi_driver_settings(fluid_settings_t* settings) ++ { ++ fluid_settings_register_str(settings, "midi.alsa.device", "default", 0, NULL, NULL); ++@@ -698,7 +698,7 @@ fluid_alsa_midi_run(void* d) ++ } ++ } ++ } ++- +++#endif ++ /************************************************************** ++ * ++ * Alsa sequencer ++diff -rupN fluidsynth-1.1.6.orig/src/drivers/fluid_mdriver.c fluidsynth-1.1.6/src/drivers/fluid_mdriver.c ++--- fluidsynth-1.1.6.orig/src/drivers/fluid_mdriver.c 2012-08-16 05:01:13.000000000 +0100 +++++ fluidsynth-1.1.6/src/drivers/fluid_mdriver.c 2017-02-28 21:24:43.887833321 +0000 ++@@ -24,11 +24,13 @@ ++ ++ /* ALSA */ ++ #if ALSA_SUPPORT +++#if 0 ++ fluid_midi_driver_t* new_fluid_alsa_rawmidi_driver(fluid_settings_t* settings, ++ handle_midi_event_func_t handler, ++ void* event_handler_data); ++ int delete_fluid_alsa_rawmidi_driver(fluid_midi_driver_t* p); ++ void fluid_alsa_rawmidi_driver_settings(fluid_settings_t* settings); +++#endif ++ ++ fluid_midi_driver_t* new_fluid_alsa_seq_driver(fluid_settings_t* settings, ++ handle_midi_event_func_t handler, ++@@ -109,10 +111,12 @@ struct fluid_mdriver_definition_t fluid_ ++ fluid_oss_midi_driver_settings }, ++ #endif ++ #if ALSA_SUPPORT +++#if 0 ++ { "alsa_raw", ++ new_fluid_alsa_rawmidi_driver, ++ delete_fluid_alsa_rawmidi_driver, ++ fluid_alsa_rawmidi_driver_settings }, +++#endif ++ { "alsa_seq", ++ new_fluid_alsa_seq_driver, ++ delete_fluid_alsa_seq_driver, +diff -urN fwupd-1.8.6-0/contrib/flatpak/shared-modules/pygame/portmidi-no-java.patch fwupd-1.8.6/contrib/flatpak/shared-modules/pygame/portmidi-no-java.patch +--- fwupd-1.8.6-0/contrib/flatpak/shared-modules/pygame/portmidi-no-java.patch 1970-01-01 00:00:00.000000000 +0000 ++++ fwupd-1.8.6/contrib/flatpak/shared-modules/pygame/portmidi-no-java.patch 2022-11-08 05:41:54.000000000 +0000 +@@ -0,0 +1,105 @@ ++diff -rupN portmidi.orig/CMakeLists.txt portmidi/CMakeLists.txt ++--- portmidi.orig/CMakeLists.txt 2010-09-20 15:57:48.000000000 +0100 +++++ portmidi/CMakeLists.txt 2017-03-03 13:50:58.494561245 +0000 ++@@ -71,7 +71,3 @@ add_subdirectory(pm_common) ++ add_subdirectory(pm_test) ++ ++ add_subdirectory(pm_dylib) ++- ++-# Cannot figure out how to make an xcode Java application with CMake ++-add_subdirectory(pm_java) ++- ++diff -rupN portmidi.orig/pm_common/CMakeLists.txt portmidi/pm_common/CMakeLists.txt ++--- portmidi.orig/pm_common/CMakeLists.txt 2010-09-20 15:57:48.000000000 +0100 +++++ portmidi/pm_common/CMakeLists.txt 2017-03-03 14:02:32.851938051 +0000 ++@@ -67,14 +67,6 @@ if(UNIX) ++ message(STATUS "SYSROOT: " ${CMAKE_OSX_SYSROOT}) ++ else(APPLE) ++ # LINUX settings... ++- include(FindJNI) ++- message(STATUS "JAVA_JVM_LIB_PATH is " ${JAVA_JVM_LIB_PATH}) ++- message(STATUS "JAVA_INCLUDE_PATH is " ${JAVA_INCLUDE_PATH}) ++- message(STATUS "JAVA_INCLUDE_PATH2 is " ${JAVA_INCLUDE_PATH2}) ++- message(STATUS "JAVA_JVM_LIBRARY is " ${JAVA_JVM_LIBRARY}) ++- set(JAVA_INCLUDE_PATHS ${JAVA_INCLUDE_PATH} ${JAVA_INCLUDE_PATH2}) ++- # libjvm.so is found relative to JAVA_INCLUDE_PATH: ++- set(JAVAVM_LIB ${JAVA_JVM_LIBRARY}/libjvm.so) ++ ++ set(LINUXSRC pmlinuxalsa pmlinux finddefault) ++ prepend_path(LIBSRC ../pm_linux/ ${LINUXSRC}) ++@@ -99,7 +91,6 @@ else(UNIX) ++ set(PM_NEEDED_LIBS winmm.lib) ++ endif(WIN32) ++ endif(UNIX) ++-set(JNI_EXTRA_LIBS ${PM_NEEDED_LIBS} ${JAVA_JVM_LIBRARY}) ++ ++ # this completes the list of library sources by adding shared code ++ list(APPEND LIBSRC pmutil portmidi) ++@@ -109,19 +100,11 @@ add_library(portmidi-static ${LIBSRC}) ++ set_target_properties(portmidi-static PROPERTIES OUTPUT_NAME "portmidi_s") ++ target_link_libraries(portmidi-static ${PM_NEEDED_LIBS}) ++ ++-# define the jni library ++-include_directories(${JAVA_INCLUDE_PATHS}) ++- ++-set(JNISRC ${LIBSRC} ../pm_java/pmjni/pmjni.c) ++-add_library(pmjni SHARED ${JNISRC}) ++-target_link_libraries(pmjni ${JNI_EXTRA_LIBS}) ++-set_target_properties(pmjni PROPERTIES EXECUTABLE_EXTENSION "jnilib") ++- ++ # install the libraries (Linux and Mac OS X command line) ++ if(UNIX) ++- INSTALL(TARGETS portmidi-static pmjni ++- LIBRARY DESTINATION /usr/local/lib ++- ARCHIVE DESTINATION /usr/local/lib) +++ INSTALL(TARGETS portmidi-static +++ LIBRARY DESTINATION /app/lib +++ ARCHIVE DESTINATION /app/lib) ++ # .h files installed by pm_dylib/CMakeLists.txt, so don't need them here ++ # INSTALL(FILES portmidi.h ../porttime/porttime.h ++ # DESTINATION /usr/local/include) ++diff -rupN portmidi.orig/pm_dylib/CMakeLists.txt portmidi/pm_dylib/CMakeLists.txt ++--- portmidi.orig/pm_dylib/CMakeLists.txt 2009-11-20 00:41:10.000000000 +0000 +++++ portmidi/pm_dylib/CMakeLists.txt 2017-03-03 14:03:56.807104521 +0000 ++@@ -63,7 +63,6 @@ if(UNIX) ++ message(STATUS "SYSROOT: " ${CMAKE_OSX_SYSROOT}) ++ else(APPLE) ++ # LINUX settings... ++- include(FindJNI) ++ # message(STATUS "JAVA_JVM_LIB_PATH is " ${JAVA_JVM_LIB_PATH}) ++ # message(STATUS "JAVA_INCLUDE_PATH is " ${JAVA_INCLUDE_PATH}) ++ # note: should use JAVA_JVM_LIB_PATH, but it is not set properly ++@@ -75,12 +74,7 @@ if(UNIX) ++ # JAVA_INCLUDE_PATH2; if no, then we need to make both JAVA_INCLUDE_PATH ++ # and JAVA_INCLUDE_PATH2 set by user (will need clear documentation ++ # because JAVA_INCLUDE_PATH2 is pretty obscure) ++- set(JAVA_INCLUDE_PATH ${JAVA_INCLUDE_PATH-UNKNOWN} ++- CACHE STRING "where to find Java SDK include directory") ++- set(JAVA_INCLUDE_PATHS ${JAVA_INCLUDE_PATH} ${JAVA_INCLUDE_PATH}/linux) ++- # libjvm.so is found relative to JAVA_INCLUDE_PATH: ++- set(JAVAVM_LIB ${JAVA_INCLUDE_PATH}/../jre/lib/i386/client/libjvm.so) ++- +++ ++ set(LINUXSRC pmlinuxalsa pmlinux finddefault) ++ prepend_path(LIBSRC ../pm_linux/ ${LINUXSRC}) ++ list(APPEND LIBSRC ../porttime/ptlinux) ++@@ -106,7 +100,6 @@ else(UNIX) ++ # message(STATUS "JAVAVM_LIB: " ${JAVAVM_LIB}) ++ endif(WIN32) ++ endif(UNIX) ++-set(JNI_EXTRA_LIBS ${PM_NEEDED_LIBS} ${JAVAVM_LIB}) ++ ++ # this completes the list of library sources by adding shared code ++ set(SHARED_FILES pmutil portmidi) ++@@ -120,8 +113,8 @@ target_link_libraries(portmidi-dynamic $ ++ # install the libraries (Linux and Mac OS X command line) ++ if(UNIX) ++ INSTALL(TARGETS portmidi-dynamic ++- LIBRARY DESTINATION /usr/local/lib ++- ARCHIVE DESTINATION /usr/local/lib) +++ LIBRARY DESTINATION /app/lib +++ ARCHIVE DESTINATION /app/lib) ++ INSTALL(FILES ../pm_common/portmidi.h ../porttime/porttime.h ++- DESTINATION /usr/local/include) +++ DESTINATION /app/include) ++ endif(UNIX) +diff -urN fwupd-1.8.6-0/contrib/flatpak/shared-modules/pygame/pygame-1.9.3.json fwupd-1.8.6/contrib/flatpak/shared-modules/pygame/pygame-1.9.3.json +--- fwupd-1.8.6-0/contrib/flatpak/shared-modules/pygame/pygame-1.9.3.json 1970-01-01 00:00:00.000000000 +0000 ++++ fwupd-1.8.6/contrib/flatpak/shared-modules/pygame/pygame-1.9.3.json 2022-11-08 05:41:54.000000000 +0000 +@@ -0,0 +1,94 @@ ++{ ++ "name": "pygame", ++ "sources": [ ++ { ++ "type": "archive", ++ "url": "https://pypi.python.org/packages/61/06/3c25051549c252cc6fde01c8aeae90b96831370884504fe428a623316def/pygame-1.9.3.tar.gz", ++ "sha256": "751021819bdc0cbe5cbd51904abb6ff9e9aee5b0e8955af02284d0e77d6c9ec2" ++ }, ++ { ++ "type": "patch", ++ "path": "pygame-add-search-dirs.patch" ++ } ++ ], ++ "buildsystem": "simple", ++ "build-commands": [ ++ "pip3 install --ignore-installed --no-deps --prefix=/app ." ++ ], ++ "build-options": { ++ "env": { ++ "PORTMIDI_INC_PORTTIME": "1", ++ "LOCALBASE": "/app" ++ } ++ }, ++ "modules": [ ++ "../SDL/SDL-1.2.15.json", ++ "../SDL/SDL_image-1.2.12.json", ++ "../SDL/SDL_ttf-2.0.11.json", ++ "../smpeg/smpeg-0.4.5.json", ++ "../SDL/SDL_mixer-1.2.12.json", ++ { ++ "name": "audiofile", ++ "sources": [ ++ { ++ "type": "archive", ++ "url": "http://audiofile.68k.org/audiofile-0.3.6.tar.gz", ++ "sha256": "cdc60df19ab08bfe55344395739bb08f50fc15c92da3962fac334d3bff116965" ++ }, ++ { ++ "type": "patch", ++ "path": "audiofile-gcc6.patch" ++ } ++ ] ++ }, ++ { ++ "name": "libmikmod", ++ "sources": [ ++ { ++ "type": "archive", ++ "url": "https://sourceforge.net/projects/mikmod/files/libmikmod/3.3.11.1/libmikmod-3.3.11.1.tar.gz", ++ "sha256": "ad9d64dfc8f83684876419ea7cd4ff4a41d8bcd8c23ef37ecb3a200a16b46d19" ++ } ++ ] ++ }, ++ { ++ "name": "fluidsynth", ++ "buildsystem": "cmake-ninja", ++ "config-opts": [ ++ "-DCMAKE_BUILD_TYPE=Release" ++ ], ++ "sources": [ ++ { ++ "type": "archive", ++ "url": "https://downloads.sourceforge.net/project/fluidsynth/fluidsynth-1.1.6/fluidsynth-1.1.6.tar.bz2", ++ "sha256": "d28b47dfbf7f8e426902ae7fa2981d821fbf84f41da9e1b85be933d2d748f601" ++ }, ++ { ++ "type": "patch", ++ "path": "fluidsynth-no-rawmidi.patch" ++ } ++ ] ++ }, ++ { ++ "name": "portmidi", ++ "buildsystem": "cmake-ninja", ++ "config-opts": [ ++ "-DCMAKE_BUILD_TYPE=Release", ++ "-DCMAKE_LIBRARY_OUTPUT_DIRECTORY:STRING=/app/lib", ++ "-DCMAKE_ARCHIVE_OUTPUT_DIRECTORY:STRING=/app/lib", ++ "-DCMAKE_RUNTIME_OUTPUT_DIRECTORY:STRING=/app/bin" ++ ], ++ "sources": [ ++ { ++ "type": "archive", ++ "url": "http://downloads.sourceforge.net/project/portmedia/portmidi/217/portmidi-src-217.zip", ++ "sha256": "08e9a892bd80bdb1115213fb72dc29a7bf2ff108b378180586aa65f3cfd42e0f" ++ }, ++ { ++ "type": "patch", ++ "path": "portmidi-no-java.patch" ++ } ++ ] ++ } ++ ] ++} +diff -urN fwupd-1.8.6-0/contrib/flatpak/shared-modules/pygame/pygame-add-search-dirs.patch fwupd-1.8.6/contrib/flatpak/shared-modules/pygame/pygame-add-search-dirs.patch +--- fwupd-1.8.6-0/contrib/flatpak/shared-modules/pygame/pygame-add-search-dirs.patch 1970-01-01 00:00:00.000000000 +0000 ++++ fwupd-1.8.6/contrib/flatpak/shared-modules/pygame/pygame-add-search-dirs.patch 2022-11-08 05:41:54.000000000 +0000 +@@ -0,0 +1,27 @@ ++diff -r 407caa445ee0 config_unix.py ++--- a/config_unix.py Mon Jan 16 21:12:10 2017 +0000 +++++ b/config_unix.py Fri Mar 03 15:10:07 2017 +0000 ++@@ -110,6 +110,12 @@ ++ self.found = 1 ++ else: ++ print (self.name + ' '[len(self.name):] + ': not found') +++ print('incname', incname) +++ print('incdirs', incdirs) +++ print('self.inc_dir', self.inc_dir) +++ print('libnames', libnames) +++ print('libdirs', libdirs) +++ print('self.lib_dir', self.lib_dir) ++ ++ ++ class DependencyPython: ++@@ -195,8 +201,8 @@ ++ incdirs += ["/usr/local"+d for d in origincdirs] ++ libdirs += ["/usr/local"+d for d in origlibdirs] ++ if localbase: ++- incdirs = [localbase+d for d in origincdirs] ++- libdirs = [localbase+d for d in origlibdirs] +++ incdirs += [localbase+d for d in origincdirs] +++ libdirs += [localbase+d for d in origlibdirs] ++ ++ for arg in DEPS[0].cflags.split(): ++ if arg[:2] == '-I': +diff -urN fwupd-1.8.6-0/contrib/flatpak/shared-modules/python2.7/python-2.7.15.json fwupd-1.8.6/contrib/flatpak/shared-modules/python2.7/python-2.7.15.json +--- fwupd-1.8.6-0/contrib/flatpak/shared-modules/python2.7/python-2.7.15.json 1970-01-01 00:00:00.000000000 +0000 ++++ fwupd-1.8.6/contrib/flatpak/shared-modules/python2.7/python-2.7.15.json 2022-11-08 05:41:54.000000000 +0000 +@@ -0,0 +1,46 @@ ++{ ++ "name": "python-2.7", ++ "sources": [ ++ { ++ "type": "archive", ++ "url": "https://www.python.org/ftp/python/2.7.15/Python-2.7.15.tgz", ++ "sha256": "18617d1f15a380a919d517630a9cd85ce17ea602f9bbdc58ddc672df4b0239db" ++ } ++ ], ++ "config-opts": [ ++ "--enable-shared", ++ "--with-ensurepip=yes", ++ "--with-system-expat", ++ "--with-system-ffi", ++ "--enable-loadable-sqlite-extensions", ++ "--with-dbmliborder=gdbm", ++ "--enable-unicode=ucs4" ++ ], ++ "post-install": [ ++ /* Theres seem to be a permissions missmatch that causes the debug stripping to fail */ ++ "chmod 644 /app/lib/libpython2.7.so.1.0" ++ ], ++ "cleanup": [ ++ "/bin/2to3*", ++ "/bin/easy_install*", ++ "/bin/idle*", ++ "/bin/pyvenv*", ++ "/bin/pydoc*", ++ "/include", ++ "/share", ++ ++ /* Test scripts */ ++ "/lib/python*/test", ++ "/lib/python*/*/test", ++ "/lib/python*/*/tests", ++ "/lib/python*/lib-tk/test", ++ "/lib/python*/lib-dynload/_*_test.*.so", ++ "/lib/python*/lib-dynload/_test*.*.so", ++ ++ /* Unused modules */ ++ "/lib/python*/idlelib", ++ "/lib/python*/tkinter*", ++ "/lib/python*/turtle*", ++ "/lib/python*/lib2to3*" ++ ] ++} +diff -urN fwupd-1.8.6-0/contrib/flatpak/shared-modules/qt4/qt4-4.8.7-minimal.json fwupd-1.8.6/contrib/flatpak/shared-modules/qt4/qt4-4.8.7-minimal.json +--- fwupd-1.8.6-0/contrib/flatpak/shared-modules/qt4/qt4-4.8.7-minimal.json 1970-01-01 00:00:00.000000000 +0000 ++++ fwupd-1.8.6/contrib/flatpak/shared-modules/qt4/qt4-4.8.7-minimal.json 2022-11-08 05:41:54.000000000 +0000 +@@ -0,0 +1,86 @@ ++{ ++ "name": "qt4", ++ "config-opts": [ ++ "-verbose", ++ "-confirm-license", ++ "-opensource", ++ "-release", ++ "-shared", ++ "-no-static", ++ "-fast", ++ "-datadir", "/app/lib/qt4", ++ "-importdir", "/app/lib/qt4/imports", ++ "-plugindir", "/app/lib/qt4/plugins", ++ "-translationdir", "/app/share/qt4/translations", ++ "-accessibility", ++ "-exceptions", ++ "-fontconfig", ++ "-glib", ++ "-dbus-linked", ++ "-openssl-linked", ++ "-optimized-qmake", ++ "-system-libjpeg", ++ "-system-libpng", ++ "-system-libtiff", ++ "-system-proxies", ++ "-system-zlib", ++ "-no-cups", ++ "-no-declarative", ++ "-no-gtkstyle", ++ "-no-javascript-jit", ++ "-no-libmng", ++ "-no-multimedia", ++ "-no-nis", ++ "-no-opengl", ++ "-no-phonon", ++ "-no-phonon-backend", ++ "-no-qt3support", ++ "-no-rpath", ++ "-no-script", ++ "-no-scripttools", ++ "-no-sql-db2", ++ "-no-sql-ibase", ++ "-no-sql-mysql", ++ "-no-sql-oci", ++ "-no-sql-odbc", ++ "-no-sql-psql", ++ "-no-sql-sqlite", ++ "-no-sql-sqlite2", ++ "-no-sql-sqlite_symbian", ++ "-no-sql-symsql", ++ "-no-sql-tds", ++ "-no-svg", ++ "-no-webkit", ++ "-no-xmlpatterns", ++ "-nomake", "demos", ++ "-nomake", "docs", ++ "-nomake", "examples" ++ ], ++ "build-options": { ++ "env": { ++ "CXXFLAGS": "-std=gnu++98", ++ "LD_LIBRARY_PATH": "/run/build/qt4/lib/" ++ } ++ }, ++ "sources": [ ++ { ++ "type": "archive", ++ "url": "https://download.qt.io/archive/qt/4.8/4.8.7/qt-everywhere-opensource-src-4.8.7.tar.gz", ++ "sha256": "e2882295097e47fe089f8ac741a95fef47e0a73a3f3cdf21b56990638f626ea0" ++ }, ++ { ++ "type": "patch", ++ "path": "qt4-aarch64.patch" ++ } ++ ], ++ "cleanup": [ ++ "/bin", ++ "/include", ++ "/lib/*.a", ++ "/lib/*.la", ++ "/lib/*.prl", ++ "/lib/pkgconfig", ++ "/lib/qt4/mkspecs", ++ "/lib/qt4/q3porting.xml" ++ ] ++} +diff -urN fwupd-1.8.6-0/contrib/flatpak/shared-modules/qt4/qt4-aarch64.patch fwupd-1.8.6/contrib/flatpak/shared-modules/qt4/qt4-aarch64.patch +--- fwupd-1.8.6-0/contrib/flatpak/shared-modules/qt4/qt4-aarch64.patch 1970-01-01 00:00:00.000000000 +0000 ++++ fwupd-1.8.6/contrib/flatpak/shared-modules/qt4/qt4-aarch64.patch 2022-11-08 05:41:54.000000000 +0000 +@@ -0,0 +1,514 @@ ++diff -up qt-everywhere-opensource-src-4.8.7/include/QtCore/headers.pri.aarch64 qt-everywhere-opensource-src-4.8.7/include/QtCore/headers.pri ++--- qt-everywhere-opensource-src-4.8.7/include/QtCore/headers.pri.aarch64 2015-05-08 21:48:32.714057739 -0500 +++++ qt-everywhere-opensource-src-4.8.7/include/QtCore/headers.pri 2015-05-08 21:53:21.088761971 -0500 ++@@ -1,3 +1,3 @@ ++-SYNCQT.HEADER_FILES = ../corelib/kernel/qabstracteventdispatcher.h ../corelib/kernel/qabstractitemmodel.h ../corelib/kernel/qbasictimer.h ../corelib/kernel/qcoreapplication.h ../corelib/kernel/qcoreevent.h ../corelib/kernel/qeventloop.h ../corelib/kernel/qfunctions_nacl.h ../corelib/kernel/qfunctions_vxworks.h ../corelib/kernel/qfunctions_wince.h ../corelib/kernel/qmath.h ../corelib/kernel/qmetaobject.h ../corelib/kernel/qmetatype.h ../corelib/kernel/qmimedata.h ../corelib/kernel/qobject.h ../corelib/kernel/qobjectcleanuphandler.h ../corelib/kernel/qobjectdefs.h ../corelib/kernel/qpointer.h ../corelib/kernel/qsharedmemory.h ../corelib/kernel/qsignalmapper.h ../corelib/kernel/qsocketnotifier.h ../corelib/kernel/qsystemsemaphore.h ../corelib/kernel/qtimer.h ../corelib/kernel/qtranslator.h ../corelib/kernel/qvariant.h ../corelib/animation/qabstractanimation.h ../corelib/animation/qanimationgroup.h ../corelib/animation/qparallelanimationgroup.h ../corelib/animation/qpauseanimation.h ../corelib/animation/qpropertyanimation.h ../corelib/animation/qsequentialanimationgroup.h ../corelib/animation/qvariantanimation.h ../corelib/arch/qatomic_alpha.h ../corelib/arch/qatomic_arch.h ../corelib/arch/qatomic_arm.h ../corelib/arch/qatomic_armv5.h ../corelib/arch/qatomic_armv6.h ../corelib/arch/qatomic_armv7.h ../corelib/arch/qatomic_avr32.h ../corelib/arch/qatomic_bfin.h ../corelib/arch/qatomic_bootstrap.h ../corelib/arch/qatomic_generic.h ../corelib/arch/qatomic_i386.h ../corelib/arch/qatomic_ia64.h ../corelib/arch/qatomic_integrity.h ../corelib/arch/qatomic_m68k.h ../corelib/arch/qatomic_macosx.h ../corelib/arch/qatomic_mips.h ../corelib/arch/qatomic_parisc.h ../corelib/arch/qatomic_powerpc.h ../corelib/arch/qatomic_s390.h ../corelib/arch/qatomic_sh.h ../corelib/arch/qatomic_sh4a.h ../corelib/arch/qatomic_sparc.h ../corelib/arch/qatomic_symbian.h ../corelib/arch/qatomic_vxworks.h ../corelib/arch/qatomic_windows.h ../corelib/arch/qatomic_windowsce.h ../corelib/arch/qatomic_x86_64.h ../corelib/tools/qalgorithms.h ../corelib/tools/qbitarray.h ../corelib/tools/qbytearray.h ../corelib/tools/qbytearraymatcher.h ../corelib/tools/qcache.h ../corelib/tools/qchar.h ../corelib/tools/qcontainerfwd.h ../corelib/tools/qcontiguouscache.h ../corelib/tools/qcryptographichash.h ../corelib/tools/qdatetime.h ../corelib/tools/qeasingcurve.h ../corelib/tools/qelapsedtimer.h ../corelib/tools/qhash.h ../corelib/tools/qiterator.h ../corelib/tools/qline.h ../corelib/tools/qlinkedlist.h ../corelib/tools/qlist.h ../corelib/tools/qlocale.h ../corelib/tools/qlocale_blackberry.h ../corelib/tools/qmap.h ../corelib/tools/qmargins.h ../corelib/tools/qpair.h ../corelib/tools/qpoint.h ../corelib/tools/qqueue.h ../corelib/tools/qrect.h ../corelib/tools/qregexp.h ../corelib/tools/qscopedpointer.h ../corelib/tools/qscopedvaluerollback.h ../corelib/tools/qset.h ../corelib/tools/qshareddata.h ../corelib/tools/qsharedpointer.h ../corelib/tools/qsharedpointer_impl.h ../corelib/tools/qsize.h ../corelib/tools/qstack.h ../corelib/tools/qstring.h ../corelib/tools/qstringbuilder.h ../corelib/tools/qstringlist.h ../corelib/tools/qstringmatcher.h ../corelib/tools/qtextboundaryfinder.h ../corelib/tools/qtimeline.h ../corelib/tools/qvarlengtharray.h ../corelib/tools/qvector.h ../corelib/plugin/qfactoryinterface.h ../corelib/plugin/qlibrary.h ../corelib/plugin/qplugin.h ../corelib/plugin/qpluginloader.h ../corelib/plugin/quuid.h ../corelib/xml/qxmlstream.h ../corelib/thread/qatomic.h ../corelib/thread/qbasicatomic.h ../corelib/thread/qmutex.h ../corelib/thread/qreadwritelock.h ../corelib/thread/qsemaphore.h ../corelib/thread/qthread.h ../corelib/thread/qthreadstorage.h ../corelib/thread/qwaitcondition.h ../corelib/statemachine/qabstractstate.h ../corelib/statemachine/qabstracttransition.h ../corelib/statemachine/qeventtransition.h ../corelib/statemachine/qfinalstate.h ../corelib/statemachine/qhistorystate.h ../corelib/statemachine/qsignaltransition.h ../corelib/statemachine/qstate.h ../corelib/statemachine/qstatemachine.h ../corelib/concurrent/qfuture.h ../corelib/concurrent/qfutureinterface.h ../corelib/concurrent/qfuturesynchronizer.h ../corelib/concurrent/qfuturewatcher.h ../corelib/concurrent/qrunnable.h ../corelib/concurrent/qtconcurrentcompilertest.h ../corelib/concurrent/qtconcurrentexception.h ../corelib/concurrent/qtconcurrentfilter.h ../corelib/concurrent/qtconcurrentfilterkernel.h ../corelib/concurrent/qtconcurrentfunctionwrappers.h ../corelib/concurrent/qtconcurrentiteratekernel.h ../corelib/concurrent/qtconcurrentmap.h ../corelib/concurrent/qtconcurrentmapkernel.h ../corelib/concurrent/qtconcurrentmedian.h ../corelib/concurrent/qtconcurrentreducekernel.h ../corelib/concurrent/qtconcurrentresultstore.h ../corelib/concurrent/qtconcurrentrun.h ../corelib/concurrent/qtconcurrentrunbase.h ../corelib/concurrent/qtconcurrentstoredfunctioncall.h ../corelib/concurrent/qtconcurrentthreadengine.h ../corelib/concurrent/qthreadpool.h ../corelib/io/qabstractfileengine.h ../corelib/io/qbuffer.h ../corelib/io/qdatastream.h ../corelib/io/qdebug.h ../corelib/io/qdir.h ../corelib/io/qdiriterator.h ../corelib/io/qfile.h ../corelib/io/qfileinfo.h ../corelib/io/qfilesystemwatcher.h ../corelib/io/qfsfileengine.h ../corelib/io/qiodevice.h ../corelib/io/qprocess.h ../corelib/io/qresource.h ../corelib/io/qsettings.h ../corelib/io/qtemporaryfile.h ../corelib/io/qtextstream.h ../corelib/io/qurl.h ../corelib/global/qconfig-dist.h ../corelib/global/qconfig-large.h ../corelib/global/qconfig-medium.h ../corelib/global/qconfig-minimal.h ../corelib/global/qconfig-nacl.h ../corelib/global/qconfig-small.h ../corelib/global/qendian.h ../corelib/global/qfeatures.h ../corelib/global/qglobal.h ../corelib/global/qlibraryinfo.h ../corelib/global/qnamespace.h ../corelib/global/qnumeric.h ../corelib/global/qt_windows.h ../corelib/global/qconfig.h ../corelib/codecs/qtextcodec.h ../corelib/codecs/qtextcodecplugin.h ../../include/QtCore/QtCore +++SYNCQT.HEADER_FILES = ../corelib/kernel/qabstracteventdispatcher.h ../corelib/kernel/qabstractitemmodel.h ../corelib/kernel/qbasictimer.h ../corelib/kernel/qcoreapplication.h ../corelib/kernel/qcoreevent.h ../corelib/kernel/qeventloop.h ../corelib/kernel/qfunctions_nacl.h ../corelib/kernel/qfunctions_vxworks.h ../corelib/kernel/qfunctions_wince.h ../corelib/kernel/qmath.h ../corelib/kernel/qmetaobject.h ../corelib/kernel/qmetatype.h ../corelib/kernel/qmimedata.h ../corelib/kernel/qobject.h ../corelib/kernel/qobjectcleanuphandler.h ../corelib/kernel/qobjectdefs.h ../corelib/kernel/qpointer.h ../corelib/kernel/qsharedmemory.h ../corelib/kernel/qsignalmapper.h ../corelib/kernel/qsocketnotifier.h ../corelib/kernel/qsystemsemaphore.h ../corelib/kernel/qtimer.h ../corelib/kernel/qtranslator.h ../corelib/kernel/qvariant.h ../corelib/animation/qabstractanimation.h ../corelib/animation/qanimationgroup.h ../corelib/animation/qparallelanimationgroup.h ../corelib/animation/qpauseanimation.h ../corelib/animation/qpropertyanimation.h ../corelib/animation/qsequentialanimationgroup.h ../corelib/animation/qvariantanimation.h ../corelib/arch/qatomic_aarch64.h ../corelib/arch/qatomic_alpha.h ../corelib/arch/qatomic_arch.h ../corelib/arch/qatomic_arm.h ../corelib/arch/qatomic_armv5.h ../corelib/arch/qatomic_armv6.h ../corelib/arch/qatomic_armv7.h ../corelib/arch/qatomic_avr32.h ../corelib/arch/qatomic_bfin.h ../corelib/arch/qatomic_bootstrap.h ../corelib/arch/qatomic_generic.h ../corelib/arch/qatomic_i386.h ../corelib/arch/qatomic_ia64.h ../corelib/arch/qatomic_integrity.h ../corelib/arch/qatomic_m68k.h ../corelib/arch/qatomic_macosx.h ../corelib/arch/qatomic_mips.h ../corelib/arch/qatomic_parisc.h ../corelib/arch/qatomic_powerpc.h ../corelib/arch/qatomic_s390.h ../corelib/arch/qatomic_sh.h ../corelib/arch/qatomic_sh4a.h ../corelib/arch/qatomic_sparc.h ../corelib/arch/qatomic_symbian.h ../corelib/arch/qatomic_vxworks.h ../corelib/arch/qatomic_windows.h ../corelib/arch/qatomic_windowsce.h ../corelib/arch/qatomic_x86_64.h ../corelib/tools/qalgorithms.h ../corelib/tools/qbitarray.h ../corelib/tools/qbytearray.h ../corelib/tools/qbytearraymatcher.h ../corelib/tools/qcache.h ../corelib/tools/qchar.h ../corelib/tools/qcontainerfwd.h ../corelib/tools/qcontiguouscache.h ../corelib/tools/qcryptographichash.h ../corelib/tools/qdatetime.h ../corelib/tools/qeasingcurve.h ../corelib/tools/qelapsedtimer.h ../corelib/tools/qhash.h ../corelib/tools/qiterator.h ../corelib/tools/qline.h ../corelib/tools/qlinkedlist.h ../corelib/tools/qlist.h ../corelib/tools/qlocale.h ../corelib/tools/qlocale_blackberry.h ../corelib/tools/qmap.h ../corelib/tools/qmargins.h ../corelib/tools/qpair.h ../corelib/tools/qpoint.h ../corelib/tools/qqueue.h ../corelib/tools/qrect.h ../corelib/tools/qregexp.h ../corelib/tools/qscopedpointer.h ../corelib/tools/qscopedvaluerollback.h ../corelib/tools/qset.h ../corelib/tools/qshareddata.h ../corelib/tools/qsharedpointer.h ../corelib/tools/qsharedpointer_impl.h ../corelib/tools/qsize.h ../corelib/tools/qstack.h ../corelib/tools/qstring.h ../corelib/tools/qstringbuilder.h ../corelib/tools/qstringlist.h ../corelib/tools/qstringmatcher.h ../corelib/tools/qtextboundaryfinder.h ../corelib/tools/qtimeline.h ../corelib/tools/qvarlengtharray.h ../corelib/tools/qvector.h ../corelib/plugin/qfactoryinterface.h ../corelib/plugin/qlibrary.h ../corelib/plugin/qplugin.h ../corelib/plugin/qpluginloader.h ../corelib/plugin/quuid.h ../corelib/xml/qxmlstream.h ../corelib/thread/qatomic.h ../corelib/thread/qbasicatomic.h ../corelib/thread/qmutex.h ../corelib/thread/qreadwritelock.h ../corelib/thread/qsemaphore.h ../corelib/thread/qthread.h ../corelib/thread/qthreadstorage.h ../corelib/thread/qwaitcondition.h ../corelib/statemachine/qabstractstate.h ../corelib/statemachine/qabstracttransition.h ../corelib/statemachine/qeventtransition.h ../corelib/statemachine/qfinalstate.h ../corelib/statemachine/qhistorystate.h ../corelib/statemachine/qsignaltransition.h ../corelib/statemachine/qstate.h ../corelib/statemachine/qstatemachine.h ../corelib/concurrent/qfuture.h ../corelib/concurrent/qfutureinterface.h ../corelib/concurrent/qfuturesynchronizer.h ../corelib/concurrent/qfuturewatcher.h ../corelib/concurrent/qrunnable.h ../corelib/concurrent/qtconcurrentcompilertest.h ../corelib/concurrent/qtconcurrentexception.h ../corelib/concurrent/qtconcurrentfilter.h ../corelib/concurrent/qtconcurrentfilterkernel.h ../corelib/concurrent/qtconcurrentfunctionwrappers.h ../corelib/concurrent/qtconcurrentiteratekernel.h ../corelib/concurrent/qtconcurrentmap.h ../corelib/concurrent/qtconcurrentmapkernel.h ../corelib/concurrent/qtconcurrentmedian.h ../corelib/concurrent/qtconcurrentreducekernel.h ../corelib/concurrent/qtconcurrentresultstore.h ../corelib/concurrent/qtconcurrentrun.h ../corelib/concurrent/qtconcurrentrunbase.h ../corelib/concurrent/qtconcurrentstoredfunctioncall.h ../corelib/concurrent/qtconcurrentthreadengine.h ../corelib/concurrent/qthreadpool.h ../corelib/io/qabstractfileengine.h ../corelib/io/qbuffer.h ../corelib/io/qdatastream.h ../corelib/io/qdebug.h ../corelib/io/qdir.h ../corelib/io/qdiriterator.h ../corelib/io/qfile.h ../corelib/io/qfileinfo.h ../corelib/io/qfilesystemwatcher.h ../corelib/io/qfsfileengine.h ../corelib/io/qiodevice.h ../corelib/io/qprocess.h ../corelib/io/qresource.h ../corelib/io/qsettings.h ../corelib/io/qtemporaryfile.h ../corelib/io/qtextstream.h ../corelib/io/qurl.h ../corelib/global/qconfig-dist.h ../corelib/global/qconfig-large.h ../corelib/global/qconfig-medium.h ../corelib/global/qconfig-minimal.h ../corelib/global/qconfig-nacl.h ../corelib/global/qconfig-small.h ../corelib/global/qendian.h ../corelib/global/qfeatures.h ../corelib/global/qglobal.h ../corelib/global/qlibraryinfo.h ../corelib/global/qnamespace.h ../corelib/global/qnumeric.h ../corelib/global/qt_windows.h ../corelib/global/qconfig.h ../corelib/codecs/qtextcodec.h ../corelib/codecs/qtextcodecplugin.h ../../include/QtCore/QtCore ++ SYNCQT.HEADER_CLASSES = ../../include/QtCore/QAbstractEventDispatcher ../../include/QtCore/QModelIndex ../../include/QtCore/QPersistentModelIndex ../../include/QtCore/QModelIndexList ../../include/QtCore/QAbstractItemModel ../../include/QtCore/QAbstractTableModel ../../include/QtCore/QAbstractListModel ../../include/QtCore/QBasicTimer ../../include/QtCore/QCoreApplication ../../include/QtCore/QtCleanUpFunction ../../include/QtCore/QEvent ../../include/QtCore/QTimerEvent ../../include/QtCore/QChildEvent ../../include/QtCore/QCustomEvent ../../include/QtCore/QDynamicPropertyChangeEvent ../../include/QtCore/QEventLoop ../../include/QtCore/QMetaMethod ../../include/QtCore/QMetaEnum ../../include/QtCore/QMetaProperty ../../include/QtCore/QMetaClassInfo ../../include/QtCore/QMetaType ../../include/QtCore/QMetaTypeId ../../include/QtCore/QMetaTypeId2 ../../include/QtCore/QMimeData ../../include/QtCore/QObjectList ../../include/QtCore/QObjectData ../../include/QtCore/QObject ../../include/QtCore/QObjectUserData ../../include/QtCore/QObjectCleanupHandler ../../include/QtCore/QGenericArgument ../../include/QtCore/QGenericReturnArgument ../../include/QtCore/QArgument ../../include/QtCore/QReturnArgument ../../include/QtCore/QMetaObject ../../include/QtCore/QMetaObjectAccessor ../../include/QtCore/QMetaObjectExtraData ../../include/QtCore/QPointer ../../include/QtCore/QSharedMemory ../../include/QtCore/QSignalMapper ../../include/QtCore/QSocketNotifier ../../include/QtCore/QSystemSemaphore ../../include/QtCore/QTimer ../../include/QtCore/QTranslator ../../include/QtCore/QVariant ../../include/QtCore/QVariantList ../../include/QtCore/QVariantMap ../../include/QtCore/QVariantHash ../../include/QtCore/QVariantComparisonHelper ../../include/QtCore/QAbstractAnimation ../../include/QtCore/QAnimationDriver ../../include/QtCore/QAnimationGroup ../../include/QtCore/QParallelAnimationGroup ../../include/QtCore/QPauseAnimation ../../include/QtCore/QPropertyAnimation ../../include/QtCore/QSequentialAnimationGroup ../../include/QtCore/QVariantAnimation ../../include/QtCore/QtAlgorithms ../../include/QtCore/QBitArray ../../include/QtCore/QBitRef ../../include/QtCore/QByteArray ../../include/QtCore/QByteRef ../../include/QtCore/QByteArrayMatcher ../../include/QtCore/QCache ../../include/QtCore/QLatin1Char ../../include/QtCore/QChar ../../include/QtCore/QtContainerFwd ../../include/QtCore/QContiguousCacheData ../../include/QtCore/QContiguousCacheTypedData ../../include/QtCore/QContiguousCache ../../include/QtCore/QCryptographicHash ../../include/QtCore/QDate ../../include/QtCore/QTime ../../include/QtCore/QDateTime ../../include/QtCore/QEasingCurve ../../include/QtCore/QElapsedTimer ../../include/QtCore/QHashData ../../include/QtCore/QHashDummyValue ../../include/QtCore/QHashDummyNode ../../include/QtCore/QHashNode ../../include/QtCore/QHash ../../include/QtCore/QMultiHash ../../include/QtCore/QHashIterator ../../include/QtCore/QMutableHashIterator ../../include/QtCore/QLine ../../include/QtCore/QLineF ../../include/QtCore/QLinkedListData ../../include/QtCore/QLinkedListNode ../../include/QtCore/QLinkedList ../../include/QtCore/QLinkedListIterator ../../include/QtCore/QMutableLinkedListIterator ../../include/QtCore/QListData ../../include/QtCore/QList ../../include/QtCore/QListIterator ../../include/QtCore/QMutableListIterator ../../include/QtCore/QSystemLocale ../../include/QtCore/QLocale ../../include/QtCore/QBBSystemLocaleData ../../include/QtCore/QMapData ../../include/QtCore/QMapNode ../../include/QtCore/QMapPayloadNode ../../include/QtCore/QMap ../../include/QtCore/QMultiMap ../../include/QtCore/QMapIterator ../../include/QtCore/QMutableMapIterator ../../include/QtCore/QMargins ../../include/QtCore/QPair ../../include/QtCore/QPoint ../../include/QtCore/QPointF ../../include/QtCore/QQueue ../../include/QtCore/QRect ../../include/QtCore/QRectF ../../include/QtCore/QRegExp ../../include/QtCore/QScopedPointerDeleter ../../include/QtCore/QScopedPointerArrayDeleter ../../include/QtCore/QScopedPointerPodDeleter ../../include/QtCore/QScopedPointer ../../include/QtCore/QScopedArrayPointer ../../include/QtCore/QScopedValueRollback ../../include/QtCore/QSet ../../include/QtCore/QSetIterator ../../include/QtCore/QMutableSetIterator ../../include/QtCore/QSharedData ../../include/QtCore/QSharedDataPointer ../../include/QtCore/QExplicitlySharedDataPointer ../../include/QtCore/QSharedPointer ../../include/QtCore/QWeakPointer ../../include/QtCore/QSize ../../include/QtCore/QSizeF ../../include/QtCore/QStack ../../include/QtCore/QStdWString ../../include/QtCore/QString ../../include/QtCore/QLatin1String ../../include/QtCore/QCharRef ../../include/QtCore/QConstString ../../include/QtCore/QStringRef ../../include/QtCore/QLatin1Literal ../../include/QtCore/QAbstractConcatenable ../../include/QtCore/QConcatenable ../../include/QtCore/QStringBuilder ../../include/QtCore/QStringListIterator ../../include/QtCore/QMutableStringListIterator ../../include/QtCore/QStringList ../../include/QtCore/QStringMatcher ../../include/QtCore/QTextBoundaryFinder ../../include/QtCore/QTimeLine ../../include/QtCore/QVarLengthArray ../../include/QtCore/QVectorData ../../include/QtCore/QVectorTypedData ../../include/QtCore/QVector ../../include/QtCore/QVectorIterator ../../include/QtCore/QMutableVectorIterator ../../include/QtCore/QFactoryInterface ../../include/QtCore/QLibrary ../../include/QtCore/QtPlugin ../../include/QtCore/QtPluginInstanceFunction ../../include/QtCore/QPluginLoader ../../include/QtCore/QUuid ../../include/QtCore/QXmlStreamStringRef ../../include/QtCore/QXmlStreamAttribute ../../include/QtCore/QXmlStreamAttributes ../../include/QtCore/QXmlStreamNamespaceDeclaration ../../include/QtCore/QXmlStreamNamespaceDeclarations ../../include/QtCore/QXmlStreamNotationDeclaration ../../include/QtCore/QXmlStreamNotationDeclarations ../../include/QtCore/QXmlStreamEntityDeclaration ../../include/QtCore/QXmlStreamEntityDeclarations ../../include/QtCore/QXmlStreamEntityResolver ../../include/QtCore/QXmlStreamReader ../../include/QtCore/QXmlStreamWriter ../../include/QtCore/QAtomicInt ../../include/QtCore/QAtomicPointer ../../include/QtCore/QBasicAtomicInt ../../include/QtCore/QBasicAtomicPointer ../../include/QtCore/QMutex ../../include/QtCore/QMutexLocker ../../include/QtCore/QMutexData ../../include/QtCore/QReadWriteLock ../../include/QtCore/QReadLocker ../../include/QtCore/QWriteLocker ../../include/QtCore/QSemaphore ../../include/QtCore/QThread ../../include/QtCore/QThreadStorageData ../../include/QtCore/QThreadStorage ../../include/QtCore/QWaitCondition ../../include/QtCore/QAbstractState ../../include/QtCore/QAbstractTransition ../../include/QtCore/QEventTransition ../../include/QtCore/QFinalState ../../include/QtCore/QHistoryState ../../include/QtCore/QSignalTransition ../../include/QtCore/QState ../../include/QtCore/QStateMachine ../../include/QtCore/QFuture ../../include/QtCore/QFutureIterator ../../include/QtCore/QMutableFutureIterator ../../include/QtCore/QFutureInterfaceBase ../../include/QtCore/QFutureInterface ../../include/QtCore/QFutureSynchronizer ../../include/QtCore/QFutureWatcherBase ../../include/QtCore/QFutureWatcher ../../include/QtCore/QRunnable ../../include/QtCore/QtConcurrentFilter ../../include/QtCore/QtConcurrentMap ../../include/QtCore/QtConcurrentRun ../../include/QtCore/QThreadPool ../../include/QtCore/QAbstractFileEngine ../../include/QtCore/QAbstractFileEngineHandler ../../include/QtCore/QAbstractFileEngineIterator ../../include/QtCore/QBuffer ../../include/QtCore/QDataStream ../../include/QtCore/QtDebug ../../include/QtCore/QDebug ../../include/QtCore/QNoDebug ../../include/QtCore/QDir ../../include/QtCore/QDirIterator ../../include/QtCore/QFile ../../include/QtCore/QFileInfo ../../include/QtCore/QFileInfoList ../../include/QtCore/QFileInfoListIterator ../../include/QtCore/QFileSystemWatcher ../../include/QtCore/QFSFileEngine ../../include/QtCore/QIODevice ../../include/QtCore/Q_PID ../../include/QtCore/QProcessEnvironment ../../include/QtCore/QProcess ../../include/QtCore/QResource ../../include/QtCore/QSettings ../../include/QtCore/QTemporaryFile ../../include/QtCore/QTextStream ../../include/QtCore/QTextStreamFunction ../../include/QtCore/QTextStreamManipulator ../../include/QtCore/QTS ../../include/QtCore/QTextIStream ../../include/QtCore/QTextOStream ../../include/QtCore/QUrl ../../include/QtCore/QtEndian ../../include/QtCore/QtGlobal ../../include/QtCore/QIntegerForSize ../../include/QtCore/QNoImplicitBoolCast ../../include/QtCore/Q_INT8 ../../include/QtCore/Q_UINT8 ../../include/QtCore/Q_INT16 ../../include/QtCore/Q_UINT16 ../../include/QtCore/Q_INT32 ../../include/QtCore/Q_UINT32 ../../include/QtCore/Q_INT64 ../../include/QtCore/Q_UINT64 ../../include/QtCore/Q_LLONG ../../include/QtCore/Q_ULLONG ../../include/QtCore/Q_LONG ../../include/QtCore/Q_ULONG ../../include/QtCore/QSysInfo ../../include/QtCore/QtMsgHandler ../../include/QtCore/QGlobalStatic ../../include/QtCore/QGlobalStaticDeleter ../../include/QtCore/QBool ../../include/QtCore/QTypeInfo ../../include/QtCore/QFlag ../../include/QtCore/QIncompatibleFlag ../../include/QtCore/QFlags ../../include/QtCore/QForeachContainer ../../include/QtCore/QForeachContainerBase ../../include/QtCore/QLibraryInfo ../../include/QtCore/Qt ../../include/QtCore/QInternal ../../include/QtCore/QCOORD ../../include/QtCore/QtConfig ../../include/QtCore/QTextCodec ../../include/QtCore/QTextEncoder ../../include/QtCore/QTextDecoder ../../include/QtCore/QTextCodecFactoryInterface ../../include/QtCore/QTextCodecPlugin ++ SYNCQT.PRIVATE_HEADER_FILES = ../corelib/kernel/qabstracteventdispatcher_p.h ../corelib/kernel/qabstractitemmodel_p.h ../corelib/kernel/qcore_mac_p.h ../corelib/kernel/qcore_symbian_p.h ../corelib/kernel/qcore_unix_p.h ../corelib/kernel/qcoreapplication_p.h ../corelib/kernel/qcorecmdlineargs_p.h ../corelib/kernel/qcoreglobaldata_p.h ../corelib/kernel/qcrashhandler_p.h ../corelib/kernel/qeventdispatcher_blackberry_p.h ../corelib/kernel/qeventdispatcher_glib_p.h ../corelib/kernel/qeventdispatcher_symbian_p.h ../corelib/kernel/qeventdispatcher_unix_p.h ../corelib/kernel/qeventdispatcher_win_p.h ../corelib/kernel/qfunctions_p.h ../corelib/kernel/qmetaobject_p.h ../corelib/kernel/qobject_p.h ../corelib/kernel/qsharedmemory_p.h ../corelib/kernel/qsystemerror_p.h ../corelib/kernel/qsystemsemaphore_p.h ../corelib/kernel/qtranslator_p.h ../corelib/kernel/qvariant_p.h ../corelib/kernel/qwineventnotifier_p.h ../corelib/animation/qabstractanimation_p.h ../corelib/animation/qanimationgroup_p.h ../corelib/animation/qparallelanimationgroup_p.h ../corelib/animation/qpropertyanimation_p.h ../corelib/animation/qsequentialanimationgroup_p.h ../corelib/animation/qvariantanimation_p.h ../corelib/tools/qbytedata_p.h ../corelib/tools/qdatetime_p.h ../corelib/tools/qharfbuzz_p.h ../corelib/tools/qlocale_data_p.h ../corelib/tools/qlocale_p.h ../corelib/tools/qlocale_tools_p.h ../corelib/tools/qpodlist_p.h ../corelib/tools/qringbuffer_p.h ../corelib/tools/qscopedpointer_p.h ../corelib/tools/qsimd_p.h ../corelib/tools/qtools_p.h ../corelib/tools/qunicodetables_p.h ../corelib/plugin/qelfparser_p.h ../corelib/plugin/qfactoryloader_p.h ../corelib/plugin/qlibrary_p.h ../corelib/plugin/qsystemlibrary_p.h ../corelib/xml/qxmlstream_p.h ../corelib/xml/qxmlutils_p.h ../corelib/thread/qmutex_p.h ../corelib/thread/qmutexpool_p.h ../corelib/thread/qorderedmutexlocker_p.h ../corelib/thread/qreadwritelock_p.h ../corelib/thread/qthread_p.h ../corelib/statemachine/qabstractstate_p.h ../corelib/statemachine/qabstracttransition_p.h ../corelib/statemachine/qeventtransition_p.h ../corelib/statemachine/qhistorystate_p.h ../corelib/statemachine/qsignaleventgenerator_p.h ../corelib/statemachine/qsignaltransition_p.h ../corelib/statemachine/qstate_p.h ../corelib/statemachine/qstatemachine_p.h ../corelib/concurrent/qfutureinterface_p.h ../corelib/concurrent/qfuturewatcher_p.h ../corelib/concurrent/qthreadpool_p.h ../corelib/io/qabstractfileengine_p.h ../corelib/io/qdatastream_p.h ../corelib/io/qdataurl_p.h ../corelib/io/qdir_p.h ../corelib/io/qfile_p.h ../corelib/io/qfileinfo_p.h ../corelib/io/qfilesystemengine_p.h ../corelib/io/qfilesystementry_p.h ../corelib/io/qfilesystemiterator_p.h ../corelib/io/qfilesystemmetadata_p.h ../corelib/io/qfilesystemwatcher_dnotify_p.h ../corelib/io/qfilesystemwatcher_fsevents_p.h ../corelib/io/qfilesystemwatcher_inotify_p.h ../corelib/io/qfilesystemwatcher_kqueue_p.h ../corelib/io/qfilesystemwatcher_p.h ../corelib/io/qfilesystemwatcher_symbian_p.h ../corelib/io/qfilesystemwatcher_win_p.h ../corelib/io/qfsfileengine_iterator_p.h ../corelib/io/qfsfileengine_p.h ../corelib/io/qiodevice_p.h ../corelib/io/qnoncontiguousbytedevice_p.h ../corelib/io/qprocess_p.h ../corelib/io/qresource_iterator_p.h ../corelib/io/qresource_p.h ../corelib/io/qsettings_p.h ../corelib/io/qtldurl_p.h ../corelib/io/qurltlds_p.h ../corelib/io/qwindowspipewriter_p.h ../corelib/global/qnumeric_p.h ../corelib/global/qt_pch.h ../corelib/codecs/qfontlaocodec_p.h ../corelib/codecs/qiconvcodec_p.h ../corelib/codecs/qisciicodec_p.h ../corelib/codecs/qlatincodec_p.h ../corelib/codecs/qsimplecodec_p.h ../corelib/codecs/qtextcodec_p.h ../corelib/codecs/qtsciicodec_p.h ../corelib/codecs/qutfcodec_p.h ++diff -up qt-everywhere-opensource-src-4.8.7/include/QtCore/qatomic_aarch64.h.aarch64 qt-everywhere-opensource-src-4.8.7/include/QtCore/qatomic_aarch64.h ++--- qt-everywhere-opensource-src-4.8.7/include/QtCore/qatomic_aarch64.h.aarch64 2015-05-08 21:48:32.715057744 -0500 +++++ qt-everywhere-opensource-src-4.8.7/include/QtCore/qatomic_aarch64.h 2015-05-08 21:48:32.715057744 -0500 ++@@ -0,0 +1 @@ +++#include "../../src/corelib/arch/qatomic_aarch64.h" ++diff -up qt-everywhere-opensource-src-4.8.7/src/3rdparty/javascriptcore/JavaScriptCore/JavaScriptCore.pri.aarch64 qt-everywhere-opensource-src-4.8.7/src/3rdparty/javascriptcore/JavaScriptCore/JavaScriptCore.pri ++--- qt-everywhere-opensource-src-4.8.7/src/3rdparty/javascriptcore/JavaScriptCore/JavaScriptCore.pri.aarch64 2015-05-07 09:14:47.000000000 -0500 +++++ qt-everywhere-opensource-src-4.8.7/src/3rdparty/javascriptcore/JavaScriptCore/JavaScriptCore.pri 2015-05-08 21:48:33.268061013 -0500 ++@@ -66,6 +66,12 @@ contains(JAVASCRIPTCORE_JIT,no) { ++ } ++ } ++ +++# Hack around AARCH64 fail wrt JSValue.h +++equals(QT_ARCH, aarch64) { +++ message("JavaScriptCore aarch64 hack: -fpermissive") +++ QMAKE_CXXFLAGS += -fpermissive +++} +++ ++ wince* { ++ INCLUDEPATH += $$QT_SOURCE_TREE/src/3rdparty/ce-compat ++ SOURCES += $$QT_SOURCE_TREE/src/3rdparty/ce-compat/ce_time.c ++diff -up qt-everywhere-opensource-src-4.8.7/src/3rdparty/webkit/Source/JavaScriptCore/JavaScriptCore.pri.aarch64 qt-everywhere-opensource-src-4.8.7/src/3rdparty/webkit/Source/JavaScriptCore/JavaScriptCore.pri ++--- qt-everywhere-opensource-src-4.8.7/src/3rdparty/webkit/Source/JavaScriptCore/JavaScriptCore.pri.aarch64 2015-05-07 09:14:45.000000000 -0500 +++++ qt-everywhere-opensource-src-4.8.7/src/3rdparty/webkit/Source/JavaScriptCore/JavaScriptCore.pri 2015-05-08 21:48:33.268061013 -0500 ++@@ -63,6 +63,12 @@ contains (CONFIG, text_breaking_with_icu ++ DEFINES += WTF_USE_QT_ICU_TEXT_BREAKING=1 ++ } ++ +++# Hack around AARCH64 fail wrt JSValue.h +++equals(QT_ARCH, aarch64) { +++ message("JavaScriptCore aarch64 hack: -fpermissive") +++ QMAKE_CXXFLAGS += -fpermissive +++} +++ ++ wince* { ++ INCLUDEPATH += $$QT_SOURCE_TREE/src/3rdparty/ce-compat ++ INCLUDEPATH += $$PWD/../JavaScriptCore/os-win32 ++diff -up qt-everywhere-opensource-src-4.8.7/src/3rdparty/webkit/Source/JavaScriptCore/wtf/Platform.h.aarch64 qt-everywhere-opensource-src-4.8.7/src/3rdparty/webkit/Source/JavaScriptCore/wtf/Platform.h ++--- qt-everywhere-opensource-src-4.8.7/src/3rdparty/webkit/Source/JavaScriptCore/wtf/Platform.h.aarch64 2015-05-07 09:14:45.000000000 -0500 +++++ qt-everywhere-opensource-src-4.8.7/src/3rdparty/webkit/Source/JavaScriptCore/wtf/Platform.h 2015-05-08 21:48:33.269061019 -0500 ++@@ -369,7 +369,16 @@ ++ ++ #endif /* ARM */ ++ ++-#if CPU(ARM) || CPU(MIPS) || CPU(SH4) +++/* CPU(AARCH64) - AArch64 */ +++#if defined(__aarch64__) +++#define WTF_CPU_AARCH64 1 +++#if defined(__AARCH64EB__) +++#define WTF_CPU_BIG_ENDIAN 1 +++#endif +++#endif +++ +++/* Not sure about this one, qt5-qtwebkit doesn't include it -- rex */ +++#if CPU(ARM) || CPU(MIPS) || CPU(SH4) || CPU(AARCH64) ++ #define WTF_CPU_NEEDS_ALIGNED_ACCESS 1 ++ #endif ++ ++@@ -1003,7 +1012,7 @@ ++ || CPU(SPARC64) \ ++ || CPU(S390X) \ ++ || CPU(PPC64) \ ++- || CPU(MIPS64) +++ || CPU(MIPS64) || CPU(AARCH64) ++ #define WTF_USE_JSVALUE64 1 ++ #else ++ #define WTF_USE_JSVALUE32_64 1 ++diff -up qt-everywhere-opensource-src-4.8.7/src/corelib/arch/aarch64/qatomic_aarch64.cpp.aarch64 qt-everywhere-opensource-src-4.8.7/src/corelib/arch/aarch64/qatomic_aarch64.cpp ++--- qt-everywhere-opensource-src-4.8.7/src/corelib/arch/aarch64/qatomic_aarch64.cpp.aarch64 2015-05-08 21:48:33.269061019 -0500 +++++ qt-everywhere-opensource-src-4.8.7/src/corelib/arch/aarch64/qatomic_aarch64.cpp 2015-05-08 21:48:33.269061019 -0500 ++@@ -0,0 +1,70 @@ +++/**************************************************************************** +++** +++** Copyright (C) 2012, 2013 Digia Plc and/or its subsidiary(-ies). +++** Contact: http://www.qt-project.org/legal +++** +++** This file is part of the QtCore module of the Qt Toolkit. +++** +++** $QT_BEGIN_LICENSE:LGPL$ +++** Commercial License Usage +++** Licensees holding valid commercial Qt licenses may use this file in +++** accordance with the commercial license agreement provided with the +++** Software or, alternatively, in accordance with the terms contained in +++** a written agreement between you and Digia. For licensing terms and +++** conditions see http://qt.digia.com/licensing. For further information +++** use the contact form at http://qt.digia.com/contact-us. +++** +++** GNU Lesser General Public License Usage +++** Alternatively, this file may be used under the terms of the GNU Lesser +++** General Public License version 2.1 as published by the Free Software +++** Foundation and appearing in the file LICENSE.LGPL included in the +++** packaging of this file. Please review the following information to +++** ensure the GNU Lesser General Public License version 2.1 requirements +++** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +++** +++** In addition, as a special exception, Digia gives you certain additional +++** rights. These rights are described in the Digia Qt LGPL Exception +++** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +++** +++** GNU General Public License Usage +++** Alternatively, this file may be used under the terms of the GNU +++** General Public License version 3.0 as published by the Free Software +++** Foundation and appearing in the file LICENSE.GPL included in the +++** packaging of this file. Please review the following information to +++** ensure the GNU General Public License version 3.0 requirements will be +++** met: http://www.gnu.org/copyleft/gpl.html. +++** +++** +++** $QT_END_LICENSE$ +++** +++****************************************************************************/ +++ +++#include +++ +++#include +++#ifdef _POSIX_PRIORITY_SCHEDULING +++# include +++#endif +++#include +++ +++QT_BEGIN_NAMESPACE +++ +++QT_USE_NAMESPACE +++ +++Q_CORE_EXPORT void qt_atomic_yield(int *count) +++{ +++#ifdef _POSIX_PRIORITY_SCHEDULING +++ if((*count)++ < 50) { +++ sched_yield(); +++ } else +++#endif +++ { +++ struct timespec tm; +++ tm.tv_sec = 0; +++ tm.tv_nsec = 2000001; +++ nanosleep(&tm, NULL); +++ *count = 0; +++ } +++} +++ +++QT_END_NAMESPACE ++diff -up qt-everywhere-opensource-src-4.8.7/src/corelib/arch/arch.pri.aarch64 qt-everywhere-opensource-src-4.8.7/src/corelib/arch/arch.pri ++--- qt-everywhere-opensource-src-4.8.7/src/corelib/arch/arch.pri.aarch64 2015-05-07 09:14:48.000000000 -0500 +++++ qt-everywhere-opensource-src-4.8.7/src/corelib/arch/arch.pri 2015-05-08 21:48:33.270061025 -0500 ++@@ -31,7 +31,9 @@ integrity:HEADERS += arch/qatomic_integr ++ arch/qatomic_s390.h \ ++ arch/qatomic_x86_64.h \ ++ arch/qatomic_sh.h \ ++- arch/qatomic_sh4a.h +++ arch/qatomic_sh4a.h \ +++ arch/qatomic_aarch64.h \ +++ ++ ++ QT_ARCH_CPP = $$QT_SOURCE_TREE/src/corelib/arch/$$QT_ARCH ++ DEPENDPATH += $$QT_ARCH_CPP ++diff -up qt-everywhere-opensource-src-4.8.7/src/corelib/arch/qatomic_aarch64.h.aarch64 qt-everywhere-opensource-src-4.8.7/src/corelib/arch/qatomic_aarch64.h ++--- qt-everywhere-opensource-src-4.8.7/src/corelib/arch/qatomic_aarch64.h.aarch64 2015-05-08 21:48:33.270061025 -0500 +++++ qt-everywhere-opensource-src-4.8.7/src/corelib/arch/qatomic_aarch64.h 2015-05-08 21:48:33.270061025 -0500 ++@@ -0,0 +1,335 @@ +++/**************************************************************************** +++** +++** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). +++** Contact: http://www.qt-project.org/legal +++** +++** This file is part of the QtCore module of the Qt Toolkit. +++** +++** $QT_BEGIN_LICENSE:LGPL$ +++** Commercial License Usage +++** Licensees holding valid commercial Qt licenses may use this file in +++** accordance with the commercial license agreement provided with the +++** Software or, alternatively, in accordance with the terms contained in +++** a written agreement between you and Digia. For licensing terms and +++** conditions see http://qt.digia.com/licensing. For further information +++** use the contact form at http://qt.digia.com/contact-us. +++** +++** GNU Lesser General Public License Usage +++** Alternatively, this file may be used under the terms of the GNU Lesser +++** General Public License version 2.1 as published by the Free Software +++** Foundation and appearing in the file LICENSE.LGPL included in the +++** packaging of this file. Please review the following information to +++** ensure the GNU Lesser General Public License version 2.1 requirements +++** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +++** +++** In addition, as a special exception, Digia gives you certain additional +++** rights. These rights are described in the Digia Qt LGPL Exception +++** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +++** +++** GNU General Public License Usage +++** Alternatively, this file may be used under the terms of the GNU +++** General Public License version 3.0 as published by the Free Software +++** Foundation and appearing in the file LICENSE.GPL included in the +++** packaging of this file. Please review the following information to +++** ensure the GNU General Public License version 3.0 requirements will be +++** met: http://www.gnu.org/copyleft/gpl.html. +++** +++** +++** $QT_END_LICENSE$ +++** +++****************************************************************************/ +++ +++#ifndef QATOMIC_AARCH64_H +++#define QATOMIC_AARCH64_H +++ +++QT_BEGIN_HEADER +++ +++QT_BEGIN_NAMESPACE +++ +++#define Q_ATOMIC_INT_REFERENCE_COUNTING_IS_ALWAYS_NATIVE +++ +++inline bool QBasicAtomicInt::isReferenceCountingNative() +++{ return true; } +++inline bool QBasicAtomicInt::isReferenceCountingWaitFree() +++{ return false; } +++ +++#define Q_ATOMIC_INT_TEST_AND_SET_IS_ALWAYS_NATIVE +++ +++inline bool QBasicAtomicInt::isTestAndSetNative() +++{ return true; } +++inline bool QBasicAtomicInt::isTestAndSetWaitFree() +++{ return false; } +++ +++#define Q_ATOMIC_INT_FETCH_AND_STORE_IS_ALWAYS_NATIVE +++ +++inline bool QBasicAtomicInt::isFetchAndStoreNative() +++{ return true; } +++inline bool QBasicAtomicInt::isFetchAndStoreWaitFree() +++{ return false; } +++ +++#define Q_ATOMIC_INT_FETCH_AND_ADD_IS_ALWAYS_NATIVE +++ +++inline bool QBasicAtomicInt::isFetchAndAddNative() +++{ return true; } +++inline bool QBasicAtomicInt::isFetchAndAddWaitFree() +++{ return false; } +++ +++#define Q_ATOMIC_POINTER_TEST_AND_SET_IS_ALWAYS_NATIVE +++ +++template +++Q_INLINE_TEMPLATE bool QBasicAtomicPointer::isTestAndSetNative() +++{ return true; } +++template +++Q_INLINE_TEMPLATE bool QBasicAtomicPointer::isTestAndSetWaitFree() +++{ return false; } +++ +++#define Q_ATOMIC_POINTER_FETCH_AND_STORE_IS_ALWAYS_NATIVE +++ +++template +++Q_INLINE_TEMPLATE bool QBasicAtomicPointer::isFetchAndStoreNative() +++{ return true; } +++template +++Q_INLINE_TEMPLATE bool QBasicAtomicPointer::isFetchAndStoreWaitFree() +++{ return false; } +++ +++#define Q_ATOMIC_POINTER_FETCH_AND_ADD_IS_ALWAYS_NATIVE +++ +++template +++Q_INLINE_TEMPLATE bool QBasicAtomicPointer::isFetchAndAddNative() +++{ return true; } +++template +++Q_INLINE_TEMPLATE bool QBasicAtomicPointer::isFetchAndAddWaitFree() +++{ return false; } +++ +++#ifndef Q_DATA_MEMORY_BARRIER +++# define Q_DATA_MEMORY_BARRIER asm volatile("dmb sy\n":::"memory") +++#endif +++#ifndef Q_COMPILER_MEMORY_BARRIER +++# define Q_COMPILER_MEMORY_BARRIER asm volatile("":::"memory") +++#endif +++ +++inline bool QBasicAtomicInt::ref() +++{ +++ int newValue; +++ +++ Q_COMPILER_MEMORY_BARRIER; +++ newValue = __atomic_add_fetch(&_q_value, 1, __ATOMIC_ACQ_REL); +++ Q_COMPILER_MEMORY_BARRIER; +++ +++ return newValue != 0; +++} +++ +++inline bool QBasicAtomicInt::deref() +++{ +++ int newValue; +++ +++ Q_COMPILER_MEMORY_BARRIER; +++ newValue = __atomic_sub_fetch(&_q_value, 1, __ATOMIC_ACQ_REL); +++ Q_COMPILER_MEMORY_BARRIER; +++ +++ return newValue != 0; +++} +++ +++inline bool QBasicAtomicInt::testAndSetRelaxed(int expectedValue, int newValue) +++{ +++ bool val; +++ +++ Q_COMPILER_MEMORY_BARRIER; +++ val = __atomic_compare_exchange_n (&_q_value, &expectedValue, newValue, +++ false, __ATOMIC_RELAXED, __ATOMIC_RELAXED); +++ Q_COMPILER_MEMORY_BARRIER; +++ return val; +++} +++ +++inline int QBasicAtomicInt::fetchAndStoreRelaxed(int newValue) +++{ +++ int val; +++ Q_COMPILER_MEMORY_BARRIER; +++ val = __atomic_exchange_n(&_q_value, newValue, __ATOMIC_RELAXED); +++ Q_COMPILER_MEMORY_BARRIER; +++ return val; +++} +++ +++inline int QBasicAtomicInt::fetchAndAddRelaxed(int valueToAdd) +++{ +++ int val; +++ Q_COMPILER_MEMORY_BARRIER; +++ val = __atomic_fetch_add(&_q_value, valueToAdd, __ATOMIC_RELAXED); +++ Q_COMPILER_MEMORY_BARRIER; +++ return val; +++} +++ +++template +++Q_INLINE_TEMPLATE bool QBasicAtomicPointer::testAndSetRelaxed(T *expectedValue, T *newValue) +++{ +++ bool val; +++ Q_COMPILER_MEMORY_BARRIER; +++ val = __atomic_compare_exchange_n (&_q_value, &expectedValue, newValue, +++ false, __ATOMIC_RELAXED, __ATOMIC_RELAXED); +++ Q_COMPILER_MEMORY_BARRIER; +++ return val; +++} +++ +++template +++Q_INLINE_TEMPLATE T *QBasicAtomicPointer::fetchAndStoreRelaxed(T *newValue) +++{ +++ T *val; +++ Q_COMPILER_MEMORY_BARRIER; +++ val = __atomic_exchange_n(&_q_value, newValue, __ATOMIC_RELAXED); +++ Q_COMPILER_MEMORY_BARRIER; +++ return val; +++} +++ +++template +++Q_INLINE_TEMPLATE T *QBasicAtomicPointer::fetchAndAddRelaxed(qptrdiff valueToAdd) +++{ +++ T *val; +++ Q_COMPILER_MEMORY_BARRIER; +++ val = __atomic_fetch_add(&_q_value, valueToAdd, __ATOMIC_RELAXED); +++ Q_COMPILER_MEMORY_BARRIER; +++ return val; +++} +++ +++inline bool QBasicAtomicInt::testAndSetAcquire(int expectedValue, int newValue) +++{ +++ bool returnValue = testAndSetRelaxed(expectedValue, newValue); +++ Q_DATA_MEMORY_BARRIER; +++ return returnValue; +++} +++ +++inline bool QBasicAtomicInt::testAndSetRelease(int expectedValue, int newValue) +++{ +++ Q_DATA_MEMORY_BARRIER; +++ return testAndSetRelaxed(expectedValue, newValue); +++} +++ +++inline bool QBasicAtomicInt::testAndSetOrdered(int expectedValue, int newValue) +++{ +++ Q_DATA_MEMORY_BARRIER; +++ bool returnValue = testAndSetRelaxed(expectedValue, newValue); +++ Q_COMPILER_MEMORY_BARRIER; +++ return returnValue; +++} +++ +++inline int QBasicAtomicInt::fetchAndStoreAcquire(int newValue) +++{ +++ int returnValue = fetchAndStoreRelaxed(newValue); +++ Q_DATA_MEMORY_BARRIER; +++ return returnValue; +++} +++ +++inline int QBasicAtomicInt::fetchAndStoreRelease(int newValue) +++{ +++ Q_DATA_MEMORY_BARRIER; +++ return fetchAndStoreRelaxed(newValue); +++} +++ +++inline int QBasicAtomicInt::fetchAndStoreOrdered(int newValue) +++{ +++ Q_DATA_MEMORY_BARRIER; +++ int returnValue = fetchAndStoreRelaxed(newValue); +++ Q_COMPILER_MEMORY_BARRIER; +++ return returnValue; +++} +++ +++inline int QBasicAtomicInt::fetchAndAddAcquire(int valueToAdd) +++{ +++ int returnValue = fetchAndAddRelaxed(valueToAdd); +++ Q_DATA_MEMORY_BARRIER; +++ return returnValue; +++} +++ +++inline int QBasicAtomicInt::fetchAndAddRelease(int valueToAdd) +++{ +++ Q_DATA_MEMORY_BARRIER; +++ return fetchAndAddRelaxed(valueToAdd); +++} +++ +++inline int QBasicAtomicInt::fetchAndAddOrdered(int valueToAdd) +++{ +++ Q_DATA_MEMORY_BARRIER; +++ int returnValue = fetchAndAddRelaxed(valueToAdd); +++ Q_COMPILER_MEMORY_BARRIER; +++ return returnValue; +++} +++ +++template +++Q_INLINE_TEMPLATE bool QBasicAtomicPointer::testAndSetAcquire(T *expectedValue, T *newValue) +++{ +++ bool returnValue = testAndSetRelaxed(expectedValue, newValue); +++ Q_DATA_MEMORY_BARRIER; +++ return returnValue; +++} +++ +++template +++Q_INLINE_TEMPLATE bool QBasicAtomicPointer::testAndSetRelease(T *expectedValue, T *newValue) +++{ +++ Q_DATA_MEMORY_BARRIER; +++ return testAndSetRelaxed(expectedValue, newValue); +++} +++ +++template +++Q_INLINE_TEMPLATE bool QBasicAtomicPointer::testAndSetOrdered(T *expectedValue, T *newValue) +++{ +++ Q_DATA_MEMORY_BARRIER; +++ bool returnValue = testAndSetAcquire(expectedValue, newValue); +++ Q_COMPILER_MEMORY_BARRIER; +++ return returnValue; +++} +++ +++template +++Q_INLINE_TEMPLATE T *QBasicAtomicPointer::fetchAndStoreAcquire(T *newValue) +++{ +++ T *returnValue = fetchAndStoreRelaxed(newValue); +++ Q_DATA_MEMORY_BARRIER; +++ return returnValue; +++} +++ +++template +++Q_INLINE_TEMPLATE T *QBasicAtomicPointer::fetchAndStoreRelease(T *newValue) +++{ +++ Q_DATA_MEMORY_BARRIER; +++ return fetchAndStoreRelaxed(newValue); +++} +++ +++template +++Q_INLINE_TEMPLATE T *QBasicAtomicPointer::fetchAndStoreOrdered(T *newValue) +++{ +++ Q_DATA_MEMORY_BARRIER; +++ T *returnValue = fetchAndStoreRelaxed(newValue); +++ Q_COMPILER_MEMORY_BARRIER; +++ return returnValue; +++} +++ +++template +++Q_INLINE_TEMPLATE T *QBasicAtomicPointer::fetchAndAddAcquire(qptrdiff valueToAdd) +++{ +++ T *returnValue = fetchAndAddRelaxed(valueToAdd); +++ Q_DATA_MEMORY_BARRIER; +++ return returnValue; +++} +++ +++template +++Q_INLINE_TEMPLATE T *QBasicAtomicPointer::fetchAndAddRelease(qptrdiff valueToAdd) +++{ +++ Q_DATA_MEMORY_BARRIER; +++ return fetchAndAddRelaxed(valueToAdd); +++} +++ +++template +++Q_INLINE_TEMPLATE T *QBasicAtomicPointer::fetchAndAddOrdered(qptrdiff valueToAdd) +++{ +++ Q_DATA_MEMORY_BARRIER; +++ T *returnValue = fetchAndAddRelaxed(valueToAdd); +++ Q_COMPILER_MEMORY_BARRIER; +++ return returnValue; +++} +++ +++#undef Q_DATA_MEMORY_BARRIER +++#undef Q_COMPILER_MEMORY_BARRIER +++ +++QT_END_NAMESPACE +++ +++QT_END_HEADER +++ +++#endif // QATOMIC_AARCH64_H ++diff -up qt-everywhere-opensource-src-4.8.7/src/corelib/arch/qatomic_arch.h.aarch64 qt-everywhere-opensource-src-4.8.7/src/corelib/arch/qatomic_arch.h ++--- qt-everywhere-opensource-src-4.8.7/src/corelib/arch/qatomic_arch.h.aarch64 2015-05-07 09:14:48.000000000 -0500 +++++ qt-everywhere-opensource-src-4.8.7/src/corelib/arch/qatomic_arch.h 2015-05-08 21:48:33.271061031 -0500 ++@@ -94,6 +94,8 @@ QT_BEGIN_HEADER ++ # include "QtCore/qatomic_sh4a.h" ++ #elif defined(QT_ARCH_NACL) ++ # include "QtCore/qatomic_generic.h" +++#elif defined(QT_ARCH_AARCH64) +++# include "QtCore/qatomic_aarch64.h" ++ #else ++ # error "Qt has not been ported to this architecture" ++ #endif +diff -urN fwupd-1.8.6-0/contrib/flatpak/shared-modules/smpeg/smpeg-0.4.5.json fwupd-1.8.6/contrib/flatpak/shared-modules/smpeg/smpeg-0.4.5.json +--- fwupd-1.8.6-0/contrib/flatpak/shared-modules/smpeg/smpeg-0.4.5.json 1970-01-01 00:00:00.000000000 +0000 ++++ fwupd-1.8.6/contrib/flatpak/shared-modules/smpeg/smpeg-0.4.5.json 2022-11-08 05:41:54.000000000 +0000 +@@ -0,0 +1,39 @@ ++{ ++ "name": "smpeg", ++ "config-opts": ["--disable-static"], ++ "cleanup": [ ++ "/bin", ++ "/man" ++ ], ++ "rm-configure": true, ++ "sources": [ ++ { ++ "type": "archive", ++ "url": "http://http.debian.net/debian/pool/main/s/smpeg/smpeg_0.4.5+cvs20030824.orig.tar.gz", ++ "sha256": "1276ea797dd9fde8a12dd3f33f180153922544c28ca9fc7b477c018876be1916" ++ }, ++ { ++ "type": "script", ++ "dest-filename": "autogen.sh", ++ "commands": [ ++ "AUTOMAKE=\"automake --foreign --add-missing --force-missing\" autoreconf -vfi" ++ ] ++ }, ++ { ++ "type": "patch", ++ "path": "smpeg-am-prog-as.patch" ++ }, ++ { ++ "type": "patch", ++ "path": "smpeg-export-mpegaudio-class.patch" ++ }, ++ { ++ "type": "patch", ++ "path": "smpeg-no-gtk.patch" ++ }, ++ { ++ "type": "patch", ++ "path": "smpeg-gcc6.patch" ++ } ++ ] ++} +diff -urN fwupd-1.8.6-0/contrib/flatpak/shared-modules/smpeg/smpeg-am-prog-as.patch fwupd-1.8.6/contrib/flatpak/shared-modules/smpeg/smpeg-am-prog-as.patch +--- fwupd-1.8.6-0/contrib/flatpak/shared-modules/smpeg/smpeg-am-prog-as.patch 1970-01-01 00:00:00.000000000 +0000 ++++ fwupd-1.8.6/contrib/flatpak/shared-modules/smpeg/smpeg-am-prog-as.patch 2022-11-08 05:41:54.000000000 +0000 +@@ -0,0 +1,12 @@ ++Index: smpeg-0.4.5+cvs20030824/configure.in ++=================================================================== ++--- smpeg-0.4.5+cvs20030824.orig/configure.in +++++ smpeg-0.4.5+cvs20030824/configure.in ++@@ -57,6 +57,7 @@ ++ AC_LIBTOOL_WIN32_DLL ++ AM_PROG_LIBTOOL ++ AC_PROG_INSTALL +++AM_PROG_AS ++ ++ dnl Ugh. ++ AS="$CC" +diff -urN fwupd-1.8.6-0/contrib/flatpak/shared-modules/smpeg/smpeg-export-mpegaudio-class.patch fwupd-1.8.6/contrib/flatpak/shared-modules/smpeg/smpeg-export-mpegaudio-class.patch +--- fwupd-1.8.6-0/contrib/flatpak/shared-modules/smpeg/smpeg-export-mpegaudio-class.patch 1970-01-01 00:00:00.000000000 +0000 ++++ fwupd-1.8.6/contrib/flatpak/shared-modules/smpeg/smpeg-export-mpegaudio-class.patch 2022-11-08 05:41:54.000000000 +0000 +@@ -0,0 +1,17 @@ ++--- smpeg-0.4.5+cvs20030824.orig/MPEGaudio.h +++++ smpeg-0.4.5+cvs20030824/MPEGaudio.h ++@@ -149,6 +149,14 @@ ++ }; ++ ++ /* The actual MPEG audio class */ +++ +++class MPEGaudio; +++void Play_MPEGaudioSDL(void *udata, Uint8 *stream, int len); +++int Play_MPEGaudio(MPEGaudio *audio, Uint8 *stream, int len); +++#ifdef THREADED_AUDIO +++int Decode_MPEGaudio(void *udata); +++#endif +++ ++ class MPEGaudio : public MPEGerror, public MPEGaudioaction { ++ ++ friend void Play_MPEGaudioSDL(void *udata, Uint8 *stream, int len); +diff -urN fwupd-1.8.6-0/contrib/flatpak/shared-modules/smpeg/smpeg-gcc6.patch fwupd-1.8.6/contrib/flatpak/shared-modules/smpeg/smpeg-gcc6.patch +--- fwupd-1.8.6-0/contrib/flatpak/shared-modules/smpeg/smpeg-gcc6.patch 1970-01-01 00:00:00.000000000 +0000 ++++ fwupd-1.8.6/contrib/flatpak/shared-modules/smpeg/smpeg-gcc6.patch 2022-11-08 05:41:54.000000000 +0000 +@@ -0,0 +1,40 @@ ++Description: Fix compiling with GCC 6. ++Author: Johannes Brandstätter ++Bug-Debian: https://bugs.debian.org/811742 ++Last-Update: <2016-09-24> ++ ++Index: smpeg-0.4.5+cvs20030824/audio/huffmantable.cpp ++=================================================================== ++--- smpeg-0.4.5+cvs20030824.orig/audio/huffmantable.cpp +++++ smpeg-0.4.5+cvs20030824/audio/huffmantable.cpp ++@@ -9,6 +9,7 @@ ++ #include "config.h" ++ #endif ++ +++#include ++ #include "MPEGaudio.h" ++ ++ static const unsigned int ++@@ -550,11 +551,11 @@ htd33[ 31][2]={{ 16, 1},{ 8, 1},{ 4, ++ ++ const HUFFMANCODETABLE MPEGaudio::ht[HTN]= ++ { ++- { 0, 0-1, 0-1, 0, 0, htd33}, +++ { 0, UINT_MAX, UINT_MAX, 0, 0, htd33}, ++ { 1, 2-1, 2-1, 0, 7,htd01}, ++ { 2, 3-1, 3-1, 0, 17,htd02}, ++ { 3, 3-1, 3-1, 0, 17,htd03}, ++- { 4, 0-1, 0-1, 0, 0, htd33}, +++ { 4, UINT_MAX, UINT_MAX, 0, 0, htd33}, ++ { 5, 4-1, 4-1, 0, 31,htd05}, ++ { 6, 4-1, 4-1, 0, 31,htd06}, ++ { 7, 6-1, 6-1, 0, 71,htd07}, ++@@ -564,7 +565,7 @@ const HUFFMANCODETABLE MPEGaudio::ht[HTN ++ {11, 8-1, 8-1, 0,127,htd11}, ++ {12, 8-1, 8-1, 0,127,htd12}, ++ {13,16-1,16-1, 0,511,htd13}, ++- {14, 0-1, 0-1, 0, 0, htd33}, +++ {14, UINT_MAX, UINT_MAX, 0, 0, htd33}, ++ {15,16-1,16-1, 0,511,htd15}, ++ {16,16-1,16-1, 1,511,htd16}, ++ {17,16-1,16-1, 2,511,htd16}, +diff -urN fwupd-1.8.6-0/contrib/flatpak/shared-modules/smpeg/smpeg-no-gtk.patch fwupd-1.8.6/contrib/flatpak/shared-modules/smpeg/smpeg-no-gtk.patch +--- fwupd-1.8.6-0/contrib/flatpak/shared-modules/smpeg/smpeg-no-gtk.patch 1970-01-01 00:00:00.000000000 +0000 ++++ fwupd-1.8.6/contrib/flatpak/shared-modules/smpeg/smpeg-no-gtk.patch 2022-11-08 05:41:54.000000000 +0000 +@@ -0,0 +1,37 @@ ++From 62cda978596a323cd7042722f906df906007e5b5 Mon Sep 17 00:00:00 2001 ++From: Cosimo Cecchi ++Date: Sat, 15 Apr 2017 13:24:39 -0700 ++Subject: [PATCH] Comment out GTK detection ++ ++--- ++ configure.in | 14 +++++++------- ++ 1 file changed, 7 insertions(+), 7 deletions(-) ++ ++diff --git a/configure.in b/configure.in ++index 20b1355..2cb4753 100644 ++--- a/configure.in +++++ b/configure.in ++@@ -208,13 +208,13 @@ AC_ARG_ENABLE(gtk_player, ++ [ --enable-gtk-player build a GTk sample SMPEG player [default=yes]], ++ , enable_gtk_player=yes) ++ have_gtk=no ++-if test x$enable_gtk_player = xyes; then ++- AM_PATH_GTK(1.2.1, have_gtk=yes) ++- if test x$have_gtk = xyes; then ++- CFLAGS="$CFLAGS $GTK_CFLAGS" ++- fi ++- AC_SUBST(GTK_LIBS) ++-fi +++dnl if test x$enable_gtk_player = xyes; then +++dnl AM_PATH_GTK(1.2.1, have_gtk=yes) +++dnl if test x$have_gtk = xyes; then +++dnl CFLAGS="$CFLAGS $GTK_CFLAGS" +++dnl fi +++dnl AC_SUBST(GTK_LIBS) +++dnl fi ++ AM_CONDITIONAL(HAVE_GTK, test x$have_gtk = xyes) ++ ++ dnl See if we can build the Mesa player ++-- ++2.12.2 ++ +diff -urN fwupd-1.8.6-0/contrib/flatpak/shared-modules/udev/udev-175.json fwupd-1.8.6/contrib/flatpak/shared-modules/udev/udev-175.json +--- fwupd-1.8.6-0/contrib/flatpak/shared-modules/udev/udev-175.json 1970-01-01 00:00:00.000000000 +0000 ++++ fwupd-1.8.6/contrib/flatpak/shared-modules/udev/udev-175.json 2022-11-08 05:41:54.000000000 +0000 +@@ -0,0 +1,43 @@ ++{ ++ "name": "udev", ++ "rm-configure": true, ++ "config-opts": [ ++ "--disable-hwdb", ++ "--disable-logging", ++ "--disable-introspection", ++ "--disable-keymap", ++ "--disable-mtd_probe" ++ ], ++ "cleanup": [ ++ "/include", ++ "/etc", ++ "/libexec", ++ "/sbin", ++ "/lib/pkgconfig", ++ "/man", ++ "/share/aclocal", ++ "/share/doc", ++ "/share/gtk-doc", ++ "/share/man", ++ "/share/pkgconfig", ++ "*.la", ++ "*.a" ++ ], ++ "sources": [ ++ { ++ "type": "archive", ++ "url": "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-175.tar.bz2", ++ "sha256": "4c7937fe5a1521316ea571188745b9a00a9fdf314228cffc53a7ba9e5968b7ab" ++ }, ++ { ++ "type": "script", ++ "dest-filename": "autogen.sh", ++ "commands": [ ++ "autoreconf -vfi" ++ ] ++ } ++ ], ++ "post-install": [ ++ "sed -i 's|${exec_prefix}|/app|g' /app/share/pkgconfig/udev.pc" ++ ] ++} diff --git a/fwupd.spec b/fwupd.spec index 428af7668170bc19ded51fb0ed131d740338e1a6..a5c0a313e6d3723a527460b6c9b9a21c31f65eed 100644 --- a/fwupd.spec +++ b/fwupd.spec @@ -1,207 +1,1939 @@ -%ifarch x86_64 -%bcond_without redfish -%bcond_without libsmbios -%endif +%global glib2_version 2.45.8 +%global libxmlb_version 0.1.3 +%global libgusb_version 0.3.5 +%global libcurl_version 7.62.0 +%global libjcat_version 0.1.0 +%global systemd_version 231 +%global json_glib_version 1.1.1 # although we ship a few tiny python files these are utilities that 99.99% -# of users do not need -- use this to avoid dragging python onto NestOS -%global __requires_exclude ^/usr/bin/python3 +# of users do not need -- use this to avoid dragging python onto CoreOS +%global __requires_exclude ^%{python3}$ + +# PPC64 is too slow to complete the tests under 3 minutes... +%ifnarch ppc64le +%global enable_tests 1 +%endif + +%global enable_dummy 1 + +# fwupd.efi is only available on these arches +%ifarch x86_64 aarch64 +%global have_uefi 1 +%endif +# gpio.h is only available on these arches %ifarch x86_64 aarch64 -%bcond_without uefi +%global have_gpio 1 %endif -Name: fwupd -Version: 1.5.8 -Release: 5 -Summary: Make updating firmware on Linux automatic, safe and reliable -License: LGPLv2+ -URL: https://github.com/fwupd/fwupd/releases -Source0: http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.xz -#refer: https://github.com/fwupd/fwupd/commit/e74d38bfd3097471fe60dbe843a68c16516a78da -Patch0001: 0001-Fix-compiling-with-new-versions-of-efivar.patch +# flashrom is only available on these arches +%ifarch i686 x86_64 armv7hl aarch64 ppc64le +%global have_flashrom 0 +%endif -BuildRequires: gettext glib2-devel libxmlb-devel valgrind valgrind-devel libgcab1-devel -BuildRequires: gpgme-devel libgudev1-devel libgusb-devel libsoup-devel polkit-devel sqlite-devel libxslt -BuildRequires: gobject-introspection-devel libarchive-devel systemd gcab elfutils-libelf-devel -BuildRequires: bash-completion json-glib-devel help2man vala meson gnutls-utils gnutls-devel gtk-doc -BuildRequires: libjcat-devel tpm2-tss-devel +%ifarch i686 x86_64 +%global have_msr 1 +%endif -%if %{with uefi} -BuildRequires: python3 python3-cairo python3-gobject python3-pillow -BuildRequires: freetype fontconfig google-noto-sans-cjk-ttc-fonts -BuildRequires: gnu-efi-devel pesign efivar-devel pango-devel cairo-devel cairo-gobject-devel +# libsmbios is only available on x86 +%ifarch x86_64 +%global have_dell 1 %endif -%if %{with redfish} -BuildRequires: efivar-devel +# Until we actually have seen it outside x86 +%ifarch i686 x86_64 +%global have_thunderbolt 1 %endif -%if %{with libsmbios} -BuildRequires: efivar-devel libsmbios-devel +# only available recently +%if 0%{?fedora} >= 30 +%global have_modem_manager 1 %endif -Requires: glib2 bubblewrap libsoup libgusb libxmlb shared-mime-info libjcat tpm2-tss -Requires: pesign -Requires(post):systemd -Requires(preun):systemd -Requires(postun):systemd +Summary: Firmware update daemon +Name: fwupd +Version: 1.8.6 +Release: 1%{?dist} +License: LGPLv2+ +URL: https://github.com/fwupd/fwupd +Source0: https://github.com/fwupd/fwupd/archive/refs/tags/1.8.6.tar.gz +Patch0: fwupd-efi.patch + +Source1: http://people.freedesktop.org/~hughsient/releases/libjcat-0.1.8.tar.xz +Source2: http://people.freedesktop.org/~hughsient/releases/fwupd-efi-1.1.tar.xz + +Source10: http://people.redhat.com/rhughes/dbx/DBXUpdate-20100307-x64.cab +Source11: http://people.redhat.com/rhughes/dbx/DBXUpdate-20140413-x64.cab +Source12: http://people.redhat.com/rhughes/dbx/DBXUpdate-20160809-x64.cab +Source13: http://people.redhat.com/rhughes/dbx/DBXUpdate-20200729-aa64.cab +Source14: http://people.redhat.com/rhughes/dbx/DBXUpdate-20200729-ia32.cab +Source15: http://people.redhat.com/rhughes/dbx/DBXUpdate-20200729-x64.cab + +# these are numbered high just to keep them wildly away from colliding with +# the real package sources, in order to reduce churn. + +Source300: centos-ca-secureboot.der +Source301: centossecureboot001.der +Source500: centossecurebootca2.der +Source503: centossecureboot203.der + +#BuildRequires: libcbor +BuildRequires: efi-srpm-macros +BuildRequires: gettext +BuildRequires: glib2-devel >= %{glib2_version} +BuildRequires: libxmlb-devel >= %{libxmlb_version} +BuildRequires: libgcab1-devel +BuildRequires: libgudev1-devel +BuildRequires: libgusb-devel >= %{libgusb_version} +BuildRequires: libcurl-devel >= %{libcurl_version} +BuildRequires: polkit-devel >= 0.103 +BuildRequires: sqlite-devel +BuildRequires: gpgme-devel +BuildRequires: systemd >= %{systemd_version} +BuildRequires: systemd-devel +BuildRequires: libarchive-devel +BuildRequires: gobject-introspection-devel +BuildRequires: gcab meson >= 0.61.0 +BuildRequires: protobuf-c protobuf-c-devel tpm2-tss-devel +%ifarch %{valgrind_arches} +BuildRequires: valgrind +BuildRequires: valgrind-devel +%endif +BuildRequires: python3 ninja-build python3-jinja2 python3-toml python +BuildRequires: gnutls-devel +BuildRequires: gnutls-utils +BuildRequires: help2man +BuildRequires: json-glib-devel >= %{json_glib_version} +BuildRequires: vala +BuildRequires: bash-completion +BuildRequires: git-core + +%if 0%{?have_modem_manager} +BuildRequires: ModemManager-glib-devel >= 1.10.0 +BuildRequires: libqmi-devel >= 1.22.0 +BuildRequires: libmbim-devel +%endif + +%if 0%{?have_uefi} +BuildRequires: efivar-devel >= 33 +BuildRequires: python3 python3-cairo python3-gobject +BuildRequires: pango-devel +BuildRequires: cairo-devel cairo-gobject-devel +BuildRequires: freetype +BuildRequires: fontconfig +BuildRequires: google-noto-sans-cjk-ttc-fonts +BuildRequires: gnu-efi-devel +BuildRequires: pesign +%endif + +%if 0%{?have_dell} +BuildRequires: efivar-devel >= 33 +BuildRequires: libsmbios-devel >= 2.3.0 +%endif + + +Requires(post): systemd +Requires(preun): systemd +Requires(postun): systemd + +Requires: glib2%{?_isa} >= %{glib2_version} +Requires: libxmlb%{?_isa} >= %{libxmlb_version} +Requires: libgusb%{?_isa} >= %{libgusb_version} +Requires: shared-mime-info + +Obsoletes: fwupd-sign < 0.1.6 +Obsoletes: libebitdo < 0.7.5-3 +Obsoletes: libdfu < 1.0.0 +Obsoletes: fwupd-labels < 1.1.0-1 + +Obsoletes: dbxtool < 9 +Provides: dbxtool + +# optional, but a really good idea +Recommends: udisks2 +Recommends: bluez +Recommends: jq + +%if 0%{?have_modem_manager} +Recommends: %{name}-plugin-modem-manager +%endif +%if 0%{?have_flashrom} +Recommends: %{name}-plugin-flashrom +%endif +%if 0%{?have_uefi} +Recommends: %{name}-efi +Recommends: %{name}-plugin-uefi-capsule-data +%endif %description -%{name} aims to make updating firmware on Linux automatic, safe and reliable. +fwupd is a daemon to allow session software to update device firmware. %package devel -Summary: Development and installed test files for %{name} -Requires: %{name} = %{version}-%{release} libjcat-devel -Provides: %{name}-tests = %{version}-%{release} -Obsoletes: %{name}-tests < %{version}-%{release} +Summary: Development package for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} +Obsoletes: libebitdo-devel < 0.7.5-3 +Obsoletes: libdfu-devel < 1.0.0 %description devel -This package contains the development and installed test files for %{name}. +Files for development with %{name}. + +%package tests +Summary: Data files for installed tests +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description tests +Data files for installed tests. + +%if 0%{?have_modem_manager} +%package plugin-modem-manager +Summary: fwupd plugin using ModemManger +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description plugin-modem-manager +This provides the optional package which is only required on hardware that +might have mobile broadband hardware. It is probably not required on servers. +%endif + +%if 0%{?have_flashrom} +%package plugin-flashrom +Summary: fwupd plugin using flashrom +Requires: %{name}%{?_isa} = %{version}-%{release} -%package_help +%description plugin-flashrom +This provides the optional package which is only required on hardware that +can be flashed using flashrom. It is probably not required on servers. +%endif + +%if 0%{?have_uefi} +%package plugin-uefi-capsule-data +Summary: Localized data for the UEFI UX capsule +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description plugin-uefi-capsule-data +This provides the pregenerated BMP artwork for the UX capsule, which allows the +"Installing firmware update…" localized text to be shown during a UEFI firmware +update operation. This subpackage is probably not required on embedded hardware +or server machines. +%endif %prep -%autosetup -n %{name}-%{version} -p1 -sed -i '/DynamicUser=yes/d' data/motd/fwupd-refresh.service.in +%autosetup -p1 +rpm -ivh %_sourcedir/libcbor-debuginfo-0.9.0-1.x86_64.rpm +rpm -ivh %_sourcedir/libcbor-debugsource-0.9.0-1.x86_64.rpm +rpm -ivh %_sourcedir/libcbor-0.9.0-1.x86_64.rpm +rpm -ivh %_sourcedir/libcbor-devel-0.9.0-1.x86_64.rpm +#yum install -y %_sourcedir/meson-0.61.5-1.noarch.rpm +mkdir -p subprojects/libjcat +tar xfs %{SOURCE1} -C subprojects/libjcat --strip-components=1 + +mkdir -p subprojects/fwupd-efi +tar xfs %{SOURCE2} -C subprojects/fwupd-efi --strip-components=1 + +sed -ri '1s=^#!/usr/bin/(env )?python3=#!%{__python3}=' \ + contrib/ci/*.py \ + contrib/firmware_packager/*.py \ + contrib/*.py \ + contrib/standalone-installer/assets/*.py \ + contrib/standalone-installer/*.py \ + plugins/dfu/contrib/*.py \ + plugins/uefi-capsule/make-images.py \ + po/test-deps + + %build -%meson -Dtests=true -Dgtkdoc=true -Dplugin_dummy=true \ -%if %{with uefi} - -Dplugin_nvme=true \ + +# allow rh-signing-tools package for RHEL-8 +export RHEL_ALLOW_PYTHON2_FOR_BUILD=1 + +%meson \ + -Ddocs=disabled \ +%if 0%{?enable_tests} + -Dtests=true \ +%else + -Dtests=false \ +%endif +%if 0%{?enable_dummy} + -Dplugin_dummy=true \ %else - -Dplugin_nvme=false \ + -Dplugin_dummy=false \ %endif -%if %{with redfish} - -Dplugin_redfish=true \ +%if 0%{?have_flashrom} + -Dplugin_flashrom=enabled \ %else - -Dplugin_redfish=false \ + -Dplugin_flashrom=disabled \ %endif -%if %{with libsmbios} - -Dplugin_dell=true \ +%if 0%{?have_msr} + -Dplugin_msr=enabled \ %else - -Dplugin_dell=false \ + -Dplugin_msr=disabled \ +%endif +%if 0%{?have_gpio} + -Dplugin_gpio=enabled \ +%else + -Dplugin_gpio=disabled \ +%endif +%if 0%{?have_uefi} + -Dplugin_uefi_capsule=true \ + -Dplugin_uefi_pk=false \ +%ifarch x86_64 + -Dfwupd-efi:efi_sbat_distro_id="rhel" \ + -Dfwupd-efi:efi_sbat_distro_summary="Red Hat Enterprise Linux" \ + -Dfwupd-efi:efi_sbat_distro_pkgname="%{name}" \ + -Dfwupd-efi:efi_sbat_distro_version="%{version}" \ + -Dfwupd-efi:efi_sbat_distro_url="mail:secalert@redhat.com" \ + -Dfwupd-efi:efi-libdir="/usr/lib64" \ %endif - -Dplugin_msr=false \ - -Dman=true + -Dplugin_tpm=false \ +%else + -Dplugin_uefi_capsule=false \ + -Dplugin_uefi_pk=false \ + -Dplugin_tpm=false \ +%endif +%if 0%{?have_dell} + -Dplugin_dell=enabled \ +%else + -Dplugin_dell=disabled \ +%endif +%if 0%{?have_modem_manager} + -Dplugin_modem_manager=enabled \ +%else + -Dplugin_modem_manager=disabled \ +%endif + -Dman=true \ + -Dbluez=enabled \ + -Dplugin_powerd=disabled \ + -Dsupported_build=enabled %meson_build +%if 0%{?enable_tests} +%check +%meson_test +%endif + %install %meson_install -%if %{with uefi} +# on RHEL the LVFS is disabled by default +mkdir -p %{buildroot}/%{_datadir}/dbxtool +install %{SOURCE10} %{SOURCE11} %{SOURCE12} %{SOURCE13} %{SOURCE14} %{SOURCE15} %{buildroot}/%{_datadir}/dbxtool + +# sign fwupd.efi loader %ifarch x86_64 -%pesign -s -i %{buildroot}%{_libexecdir}/%{name}/efi/%{name}x64.efi -o %{buildroot}%{_libexecdir}/%{name}/efi/%{name}x64.efi.signed -%endif -%ifarch aarch64 -%pesign -s -i %{buildroot}%{_libexecdir}/%{name}/efi/%{name}aa64.efi -o %{buildroot}%{_libexecdir}/%{name}/efi/%{name}aa64.efi.signed -%endif +%global efiarch x64 +%global fwup_efi_fn %{buildroot}%{_libexecdir}/%{name}/efi/%{name}x64.efi +%pesign -s -i %{fwup_efi_fn} -o %{fwup_efi_fn}.tmp -a %{SOURCE300} -c %{SOURCE301} -n centossecureboot001 +%pesign -s -i %{fwup_efi_fn}.tmp -o %{fwup_efi_fn}.signed -a %{SOURCE500} -c %{SOURCE503} -n centossecureboot203 +rm -fv %{fwup_efi_fn}.tmp %endif -mkdir -pm 0700 %{buildroot}%{_localstatedir}/lib/%{name}/gnupg +mkdir -p --mode=0700 $RPM_BUILD_ROOT%{_localstatedir}/lib/fwupd/gnupg -%find_lang %{name} +# workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1757948 +mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/cache/fwupd -%check -%meson_test + +mkdir -p %{buildroot}%{_datadir}/doc +mkdir -p %{buildroot}%{_datadir}/doc/fwupd +cp -r libfwupd* %{buildroot}%{_datadir}/doc/ +cp -r x86_64-openEuler-linux-gnu/libfwupd* %{buildroot}%{_datadir}/doc/fwupd/ + +%find_lang %{name} %post -/sbin/ldconfig -%systemd_post %{name}.service +%systemd_post fwupd.service + +# change vendor-installed remotes to use the default keyring type +for fn in /etc/fwupd/remotes.d/*.conf; do + if grep -q "Keyring=gpg" "$fn"; then + sed -i 's/Keyring=gpg/#Keyring=pkcs/g' "$fn"; + fi +done %preun -%systemd_preun %{name}.service +%systemd_preun fwupd.service %postun -/sbin/ldconfig -%systemd_postun_with_restart %{name}.service -%systemd_postun_with_restart pesign.service +%systemd_postun_with_restart fwupd.service %files -f %{name}.lang -%doc README.md -%license COPYING AUTHORS -%{_bindir}/* -%config(noreplace)%{_sysconfdir}/%{name}/remotes.d/*.conf -%config(noreplace)%{_sysconfdir}/pki/%{name} -%config(noreplace)%{_sysconfdir}/%{name}/daemon.conf -%config(noreplace)%{_sysconfdir}/%{name}/thunderbolt.conf -%config(noreplace)%{_sysconfdir}/%{name}/uefi_capsule.conf -%config(noreplace)%{_sysconfdir}/%{name}/upower.conf +%doc README.md AUTHORS +%license COPYING +%config(noreplace)%{_sysconfdir}/fwupd/daemon.conf +%if 0%{?have_uefi} +%config(noreplace)%{_sysconfdir}/fwupd/uefi_capsule.conf +%endif +%config(noreplace)%{_sysconfdir}/fwupd/redfish.conf +%if 0%{?have_thunderbolt} +%config(noreplace)%{_sysconfdir}/fwupd/thunderbolt.conf +%endif +%dir %{_libexecdir}/fwupd +%{_libexecdir}/fwupd/fwupd +%ifarch i686 x86_64 +%{_libexecdir}/fwupd/fwupd-detect-cet +%endif +%{_libexecdir}/fwupd/fwupdoffline +%if 0%{?have_uefi} +%{_bindir}/fwupdate +%endif +%{_bindir}/dfu-tool +%if 0%{?have_uefi} +%{_bindir}/dbxtool +%endif +%{_bindir}/fwupdmgr +%{_bindir}/fwupdtool +%{_bindir}/fwupdagent +%{_bindir}/jcat-tool +%dir %{_sysconfdir}/fwupd +%dir %{_sysconfdir}/fwupd/bios-settings.d +%config%(noreplace)%{_sysconfdir}/fwupd/bios-settings.d/README.md +%dir %{_sysconfdir}/fwupd/remotes.d +%if 0%{?have_dell} +%config(noreplace)%{_sysconfdir}/fwupd/remotes.d/dell-esrt.conf +%endif +%config(noreplace)%{_sysconfdir}/fwupd/remotes.d/lvfs.conf +%config(noreplace)%{_sysconfdir}/fwupd/remotes.d/lvfs-testing.conf +%config(noreplace)%{_sysconfdir}/fwupd/remotes.d/vendor.conf +%config(noreplace)%{_sysconfdir}/fwupd/remotes.d/vendor-directory.conf +%config(noreplace)%{_sysconfdir}/pki/fwupd %{_sysconfdir}/pki/fwupd-metadata -%{_datadir}/dbus-1/system.d/*.%{name}.conf -%{_libexecdir}/%{name}/%{name} -%{_libexecdir}/%{name}/%{name}offline -%{_datadir}/bash-*/completions/* -%{_datadir}/metainfo/*.metainfo.xml -%{_datadir}/dbus-1/interfaces/*.fwupd.xml -%{_datadir}/dbus-1/system-services/*.service -%{_datadir}/polkit-1/*/org.freedesktop* -%{_datadir}/%{name}/ -%{_datadir}/icons/hicolor/scalable/apps/*.%{name}.svg -%{_localstatedir}/lib/%{name}/*/*.md -%{_libdir}/lib%{name}*.so.* -%{_libdir}/girepository-1.0/*.typelib -%{_unitdir}/*.service -%{_unitdir}/*.wants/ -%{_libdir}/fwupd-plugins-3/*.so -%ghost %{_localstatedir}/lib/fwupd/gnupg -%if %{with uefi} -%{_libexecdir}/%{name}/efi/*.efi -%{_libexecdir}/%{name}/efi/*.efi.signed +%if 0%{?have_msr} +/usr/lib/modules-load.d/fwupd-msr.conf +%config(noreplace)%{_sysconfdir}/fwupd/msr.conf %endif -%if %{with redfish} -%config(noreplace)%{_sysconfdir}/%{name}/redfish.conf +%{_datadir}/dbus-1/system.d/org.freedesktop.fwupd.conf +%{_datadir}/bash-completion/completions/fwupdmgr +%{_datadir}/bash-completion/completions/fwupdtool +%{_datadir}/bash-completion/completions/fwupdagent +%{_datadir}/fish/vendor_completions.d/fwupdmgr.fish +%{_datadir}/fwupd/metainfo/org.freedesktop.fwupd*.metainfo.xml +%if 0%{?have_dell} +%{_datadir}/fwupd/remotes.d/dell-esrt/metadata.xml %endif +%{_datadir}/fwupd/remotes.d/vendor/firmware/README.md +%{_datadir}/dbus-1/interfaces/org.freedesktop.fwupd.xml +%{_datadir}/polkit-1/actions/org.freedesktop.fwupd.policy +%{_datadir}/polkit-1/rules.d/org.freedesktop.fwupd.rules +%{_datadir}/dbus-1/system-services/org.freedesktop.fwupd.service +%{_mandir}/man1/fwupdtool.1* +%{_mandir}/man1/fwupdagent.1* +%{_mandir}/man1/dfu-tool.1* +%if 0%{?have_uefi} +%{_mandir}/man1/dbxtool.* +%endif +%{_mandir}/man1/fwupdmgr.1* +%if 0%{?have_uefi} +%{_mandir}/man1/fwupdate.1* +%endif +%{_datadir}/metainfo/org.freedesktop.fwupd.metainfo.xml +%{_datadir}/icons/hicolor/scalable/apps/org.freedesktop.fwupd.svg +%{_datadir}/fwupd/firmware_packager.py +%{_datadir}/fwupd/simple_client.py +%{_datadir}/fwupd/add_capsule_header.py +%{_datadir}/fwupd/install_dell_bios_exe.py +%{_unitdir}/fwupd-offline-update.service +%{_unitdir}/fwupd.service +%{_unitdir}/fwupd-refresh.service +%{_unitdir}/fwupd-refresh.timer %{_presetdir}/fwupd-refresh.preset +%{_unitdir}/system-update.target.wants/ +%dir %{_localstatedir}/lib/fwupd +%dir %{_localstatedir}/cache/fwupd +%dir %{_datadir}/fwupd/quirks.d +%{_datadir}/fwupd/quirks.d/builtin.quirk.gz +#%{_datadir}/doc/fwupd/*.html +%if 0%{?have_uefi} +%{_sysconfdir}/grub.d/35_fwupd +%endif +%{_libdir}/libfwupd.so.2* +%{_libdir}/girepository-1.0/Fwupd-2.0.typelib /usr/lib/udev/rules.d/*.rules /usr/lib/systemd/system-shutdown/fwupd.shutdown -%{_unitdir}/fwupd-refresh.timer -%ifarch x86_64 -%{_libexecdir}/fwupd/fwupd-detect-cet +%dir %{_libdir}/fwupd-%{version} +%{_libdir}/fwupd-%{version}/libfwupd*.so +%{_libdir}/libjcat.so* +%ghost %{_localstatedir}/lib/fwupd/gnupg + +%if 0%{?have_modem_manager} +%files plugin-modem-manager +%{_libdir}/fwupd-%{version}/libfu_plugin_modem_manager.so %endif -%{_datadir}/fish/vendor_completions.d/fwupdmgr.fish +%if 0%{?have_flashrom} +%files plugin-flashrom +%{_libdir}/fwupd-%{version}/libfu_plugin_flashrom.so +%endif +%if 0%{?have_uefi} +%files plugin-uefi-capsule-data +%{_datadir}/fwupd/uefi-capsule-ux.tar.xz +%{_libexecdir}/%{name}/efi/*.efi +%{_libexecdir}/%{name}/efi/*.efi.signed +%endif +%dir %{_datadir}/dbxtool +%{_datadir}/dbxtool/DBXUpdate-20100307-x64.cab +%{_datadir}/dbxtool/DBXUpdate-20140413-x64.cab +%{_datadir}/dbxtool/DBXUpdate-20160809-x64.cab +%{_datadir}/dbxtool/DBXUpdate-20200729-aa64.cab +%{_datadir}/dbxtool/DBXUpdate-20200729-ia32.cab +%{_datadir}/dbxtool/DBXUpdate-20200729-x64.cab +%{_mandir}/man1/jcat-tool.1.gz + %files devel -%{_libdir}/*.so -%{_libdir}/*/*.pc -%{_includedir}/* -%{_datadir}/vala/* -%{_datadir}/gtk-doc/*/%{name} -%{_datadir}/doc/%{name} -%{_datadir}/*/*.gir -%{_datadir}/installed-tests/%{name} -%{_libexecdir}/installed-tests/%{name} -%dir %{_sysconfdir}/%{name}/remotes.d -%config(noreplace)%{_sysconfdir}/%{name}/remotes.d/%{name}-tests.conf - -%files help -%{_datadir}/man/man1/* +%{_datadir}/gir-1.0/Fwupd-2.0.gir +%{_datadir}/gir-1.0/Jcat-1.0.gir +%{_datadir}/doc/fwupd/libfwupdplugin +%{_datadir}/doc/fwupd/libfwupd +%{_datadir}/doc/libfwupdplugin +%{_datadir}/doc/libfwupd +%{_datadir}/vala/vapi + +%{_includedir}/fwupd-1 +%{_includedir}/libjcat-1/jcat.h +%{_includedir}/libjcat-1/libjcat/jcat*.h +%{_libdir}/libfwupd*.so +%{_libdir}/pkgconfig/fwupd.pc +%{_libdir}/girepository-1.0/Jcat-1.0.typelib +%{_libdir}/libjcat.so* +%{_libdir}/pkgconfig/fwupd-efi.pc +%{_libdir}/pkgconfig/jcat.pc + + +%files tests +%if 0%{?enable_tests} +%{_datadir}/fwupd/host-emulate.d/*.json.gz +%dir %{_datadir}/installed-tests/fwupd +%{_datadir}/installed-tests/fwupd/tests/* +%{_datadir}/installed-tests/fwupd/fwupd-tests.xml +%{_datadir}/installed-tests/fwupd/*.test +%{_datadir}/installed-tests/fwupd/*.cab +%{_datadir}/installed-tests/fwupd/*.sh +%{_datadir}/installed-tests/libjcat/libjcat.test +%if 0%{?have_uefi} +%{_datadir}/installed-tests/fwupd/efi +%endif +%{_datadir}/fwupd/device-tests/*.json +%{_libexecdir}/installed-tests/fwupd/* +%{_libexecdir}/installed-tests/libjcat/colorhug/firmware.bin* +%{_libexecdir}/installed-tests/libjcat/jcat-self-test +%{_libexecdir}/installed-tests/libjcat/pki/GPG-KEY-Linux-Vendor-Firmware-Service +%{_libexecdir}/installed-tests/libjcat/pki/LVFS-CA.pem +%{_datadir}/fwupd/__pycache__/* +%dir %{_sysconfdir}/fwupd/remotes.d +%config(noreplace)%{_sysconfdir}/fwupd/remotes.d/fwupd-tests.conf +%endif %changelog -* Thu Dec 01 2022 yaoxin - 1.5.8-5 -- Resolve fwupd upgrade and downgrade error +* Fri Oct 07 2022 Richard Hughes 1.8.6-1 +- New upstream release +- Allow disabling a DFU device when required +- Fix a regression when getting the i2c bus number +- Fix a small memory leak when reloading the parade-lspcon device +- Fix installing the dbx update when using fwupdtool +- Improve writing CoSWID and uSWID metadata +- Only request the BOS descriptor for newer libgusb versions +- Prevent high memory usage when loading corrupt SREC files +- Reduce the installed package size by more than 30% +- Translate more interactive messages +- Try harder when trying to find the default ESP volume +- Use a higher compression preset for the UEFI splash images + +* Thu Sep 22 2022 Richard Hughes 1.8.5-1 +- New upstream release +- Add new plugin to display SMU firmware version on AMD APU/CPU +- Add support for platform capability descriptors so devices can set quirks +- Always check the BDP partitions when getting all the possible ESPs +- Correctly update Wacom AES devices +- Disable changing sleep mode on Ryzen 6000 systems +- Do not show the 'may not be usable while updating' message for DBX updates +- Fix a critical warning when issuing Secure Boot modem AT commands +- Fix a fuzzing crash when parsing malicious FDT data +- Fix a possible crash when dumping VBE firmware +- Fix a possible critical warning when parsing cabinet archives +- Fix a regression when parsing pixart-rf firmware +- Fix a small memory leak when parsing UF2 files +- Fix checking for invalid depth requirements +- Fix parsing the coSWID firmware ID when encoded as a UUID +- Fix parsing uSWID uncompressed metadata +- Fix uploading to DFU-CSR devices +- Load coSWID metadata from a uSWID MTD block device +- Never save the Redfish auto-generated password to a user-readable file +- Only create users using IPMI when we know it's going to work +- Write all the CCGX metadata block as intended + +* Tue Aug 30 2022 Richard Hughes 1.8.4-2 +- Fix fwupd-devel upgrade issue. + +* Tue Aug 30 2022 Richard Hughes 1.8.4-1 +- New upstream release +- Add a translated title and long description for HSI security attributes +- Add support for reading and writing BIOS settings +- Correctly detect CET IBT +- Do not require UEFI capsule updates for checking TPM PCR0 +- Do not show HSI events where we changed the spec result value +- Fix applying the latest DBX update +- Include vfat in the list of possible BDP partition types +- Install all devices with the same composite id in fwupdtool +- Only fail the kernel HSI test for specific taint reasons +- Only show changed events in fwupdmgr security +- Update vulnerable CMSE versions from CSMEVDT data -* Thu Dec 01 2022 Ge Wang - 1.5.8-4 -- Fix fwupd-refresh service start failure +* Fri Jul 22 2022 Richard Hughes 1.8.3-1 +- New upstream release +- Add resolution flags to each security attribute failures for the user +- Allow loading in emulated host profiles for debugging +- Check if Intel TME has been disabled by the firmware or platform +- Do not use CoD even when advertized on non-aarch64 platforms +- Fix a crash when updating the Logitech Bolt radio device +- Fix a critical warning when parsing an invalid PHAT record +- Fix a critical warning when parsing invalid FDT firmware +- Fix fwupdmgr security when plugins are added to the blocklist +- Fix parsing SMBIOS data to correct the device hardware IDs +- Fix uploading signed reports by sending the correct checksum +- Use the correct protocol attribute name when exporting to JSON +- Wait for the system to acquiesce after doing each update -* Thu Nov 10 2022 caodongxia - 1.5.8-3 +* Thu Jul 21 2022 Fedora Release Engineering - 1.8.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jul 11 2022 Richard Hughes 1.8.2-1 +- New upstream release +- Allow front-end clients to read the percentage property +- Autoconnect the Redfish network device when rebooting the BMC +- Copy the instance ID strings when incorporating devices +- Do not generate a capsule header for the FMP GUID +- Fix a regression for devices using the Atmel FLIP Bootloader +- Show the get-details output when the device requirements fail +- Simply quirk matching for i2c devices to speed up daemon startup +- Use force-detach to bypass the DFU streaming check for camera devices +- Wait for the System76 launch device to re-enumerate if already unlocked +- And, many more devices supported + +* Fri May 27 2022 Richard Hughes 1.8.1-1 +- New upstream release +- Accurately return the last-set status to client tools +- Add X-UsbReceiver as an update category with icon usb-receiver +- Allow clients to opt-in to showing updates with user-solvable problems +- Be more resilient when restarting the Redfish BMC +- Do not mark all Redfish updates as UPDATABLE +- Export the system and device battery levels on the D-Bus interface +- Fix a critical warning on failed modem update +- Fix regression when probing PS175 devices +- And, many more devices supported + +* Thu Apr 28 2022 Richard Hughes 1.8.0-1 +- New upstream release +- Add coSWID and uSWID parsers to libfwupdplugin for initial SBoM support +- Add new HSI attributes for the AMD PSP and various other system protections +- Add support for Corsair Sabre RGB PRO and Slipstream USB receiver +- Add support for FlatFrog devices +- Add support for Genesys GL3521 and GL3590 hubs +- Add support for Google Servo Dock +- Add support for Logitech M550, M650 and K650 +- Add support for more ELAN fingerprint readers +- Add support for more integrated Wacom panels +- Add support for more NovaCustom machines +- Add support for more StaLabs StarLite machines +- Add support for more Tuxedo laptops +- Add support for System76 launch_lite_1 +- Add support for the Quectel EM05 +- Add the runtime fwupd-efi version as a firmware requirement +- Allow Capsule-on-Disk to work in more cases +- Allow 'fwupdmgr install' to install a specified firmware version +- Check the update protocol exists when checking requirements +- Correctly probe USB-2 hubs with more than 7 ports +- Do not add the Windows compatibility ID to capsule devices +- Do not throw away the TPM eventlog when uploading to the LVFS +- Export the version_lowest_raw value correctly +- Fix several small memory leaks +- Mark the ME region device locked if it is read only +- Only show the CLI time remaining for predictable status phases +- Respect the NO_COLOR env variable +- Restart the BMC after installing BCM updates +- Show the device serial number and instance IDs by default +- Support dumping the MTD image to a firmware blob +- Use the correct icon automatically for more hardware + +* Tue Apr 05 2022 Richard Hughes 1.7.7-1 +- New upstream release +- Add signed and unsigned payload metadata to more devices +- Allow overriding the detected machine type +- Allow quirking the flashrom flash size +- Do not add the backup BMC device as it shares the same GUIDs +- Do not allow the DBX update for broken firmware versions +- Don't export USB4 host controllers if they do not have unique GUIDs +- Fix the TPM eventlog replay for Intel TXT machines +- Never send the DeviceChanged signal with invalid data +- Return the correct error when there is no GPIO device to open +- Show the update message and update image in front end tools +- Support the new PENDING upower device states + +* Fri Feb 25 2022 Richard Hughes 1.7.6-1 +- New upstream release +- Add a flag to indicate the device has a signed or unsigned payload +- Add a simple plugin to enumerate (but not update) SCSI hardware +- Allow assigning issues to devices for known high priority problems +- Do not run fwupd-refresh automatically in containers +- Do not show a warning if the TPM eventlog does not exist +- Do not show TSS2 warning messages by default +- Fix a critical warning when loading an empty TPM eventlog item +- Fix a logic error when adding the community warning in fwupdmgr +- Fix loading flashrom devices in coreboot mode +- Fix the error handling when updating USB4 retimers +- Modify the AT retry behavior to fix getting the firmware branch +- Parse the MTD firmware version using the defined GType +- Show the user when devices are not updatable due to inhibits +- Skip probing the Dell DA300 device to avoid a warning +- Try harder to convert to a version into a correct semver +- Use multiple checksums when there are no provided artifacts + +* Mon Feb 07 2022 Richard Hughes 1.7.5-1 +- New upstream release +- Add a flag to indicate the firmware is not provided by the vendor +- Allow marking a device as End-of-Life by the OEM vendor +- Be more robust by retrying IPMI transactions on servers +- Change the expired Redfish password when required +- Fall back to the ARM Device Tree 'compatible' data when required +- Fix a ModemManager segfault on startup for some MBIM-QDU devices +- Fix a possible dell-dock segfault at startup - Fix compiling with new versions of efivar +- Fix the Nordic bootloader type detection +- Fix USB4 retimer enumeration +- Show results when calling get-details if failing requirements +- Uninhibit the modem using ModemManager after upgrade + +* Thu Jan 20 2022 Fedora Release Engineering - 1.7.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Jan 13 2022 Richard Hughes 1.7.4-1 +- New upstream release +- Add firmware branch support for ModemManager devices +- Allow fwupdtool to be run as the non-root user in more cases +- Assign the Logitech bulkcontroller update interface correctly +- Do not allow UEFI updates when the laptop lid is closed +- Do not autoload ipmi-si to avoid warning on non-server hardware +- Do not show a critical warning for a weird TPM event log +- Fix waiting for USB devices when using Windows +- Ignore non-PCI NVMe devices +- Show why more devices are not marked as updatable + +* Mon Dec 13 2021 Richard Hughes 1.7.3-1 +- New upstream release +- Add a sync-bkc subcommand to ensure a known set of firmware versions +- Add support for most Nordic Semiconductor nRF Secure devices +- Add the CFI JEDEC instance ID if using the vendor-extended version +- Do not wait for a USB runtime if will-disappear is set +- Enable the MOTD integration when using pam_motd +- Fix DFU regression when merging the FuProgress work +- Fix VLI VL820Q7 detection to fix flashing of the Lenovo TBT3 dock +- Ignore a USB error for STM32 attach when the device goes away +- Make the plugin startup order deterministic +- Set Thunderbolt ports offline on host controller +- Wait for the System76 Launch device to come back from DFU mode + +* Fri Nov 19 2021 Richard Hughes 1.7.2-1 +- New upstream release +- Add a new HSI check that PCR registers 0-7 are not empty +- Add support for exported MTD block devices +- Export the component release ID over DBus +- Fix a DFU crash if the attach failed due to a hardware fault +- Fix a Redfish crash when specifying a URL without a port +- Fix CLI downloads when using fwupdmgr --ipfs +- Inhibit thunderbolt devices to correctly use UPDATABLE_HIDDEN +- Remove support for the SoloKey and ChaosKey devices +- Set SSL_VERIFYHOST=0 when using Redfish to fix OpenBMC auth +- Skip UEFI devices that fail coldplug +- Speed up the daemon startup by ~40% by doing less at startup + +* Sat Nov 06 2021 Adrian Reber - 1.7.1-2 +- Rebuilt for protobuf 3.19.0 + +* Mon Nov 01 2021 Richard Hughes 1.7.1-1 +- New upstream release +- Allow specifying 'fwupdmgr device-test foo --json' for unattended testing +- Show changes in HSI attributes when using 'fwupdmgr security' +- Show the user a warning if updating may affect full-disk-encryption +- Show translated firmware release notes when provided +- Support loading remotes from /var/lib/fwupd/remotes.d +- Fix a CCGX regression when loading firmware +- Fix a potential crash when dumping Parade devices +- Fix the CSME CVE detection for new generations +- Handle EPERM when running the self tests on systems with IPMI +- Mark as SUPPORTED even if on battery power +- Only save the HSI attributes to the database if different +- Raise the client timeout value from 25 seconds to fix Redfish startup +- Redirect the old HSI links to the correct place +- Set device time and timezone for logitech bulkcontroller devices +- Set the verfmt of the returned device when the daemon device is unset + +* Mon Oct 25 2021 Adrian Reber - 1.7.0-2 +- Rebuilt for protobuf 3.18.1 + +* Wed Oct 06 2021 Richard Hughes 1.7.0-1 +- New upstream release +- Add more supported PixArt and StarBook coreboot devices +- Add support for Synaptics CAPE, Elan FP readers and Logitech Bolt hardware +- Allow adding GUIDs to each HSI security attribute +- Allow waiting for multiple devices to replug +- Create Redfish user accounts automatically using IPMI +- Make the SuperIO ports and timeouts specific to the DMI model +- Show HSiLevel=0 attributes in JSON security output +- Use a per-device global percentage completion +- Write the UX image upside down to fix some UEFI firmware + +* Fri Sep 24 2021 Richard Hughes 1.6.4-1 +- New upstream release +- Abort on invalid SREC files early to avoid a fuzzing timeout +- Allow overriding the quirks directory at runtime +- Fix a regression in flashing the Dell dock +- Fix probing the Dell TPM +- Show HSiLevel=0 attributes in JSON security output + +* Tue Aug 10 2021 Richard Hughes 1.6.3-1 +- New upstream release +- Disable the uefi_capsule plugin if Redfish coldplug succeeded +- Fix an elantp crash when starting the daemon +- Fix detection of 8Bitdo wireless usb adapter +- Fix writing large redfish firmware files + +* Mon Aug 02 2021 Richard Hughes 1.6.2-1 +- New upstream release +- Add a plugin to check Lenovo firmware settings +- Add support for CapsuleOnDisk and installing UEFI updates from GRUB +- Automatically connect the BMC network interface at startup +- Disable all UX capsules for Lenovo hardware +- Do not assume the metainfo file is NUL-terminated +- Do not save invalid files on LVFS server error +- Fix a VLI regression when installing VL820Q7 firmware +- Fix enumeration of the Synaptics Prometheus config child +- Fix version number for legacy Wacom Bluetooth modules +- Show the user how to switch out of Wacom tablet Android-mode +- Work around a XCC-ism on Lenovo hardware + +* Wed Jul 21 2021 Fedora Release Engineering - 1.6.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Mon Jun 14 2021 Richard Hughes 1.6.1-1 +- New upstream release +- Add generic ModemManager support for PCI based modems +- Add initial support for USB4 module in the Dell dock +- Add support for sibling requirements +- Add support for the ACPI PHAT table +- Ask the user to confirm all CLI actions +- Do not prevent firmware updates on desktop hardware +- Do not show an invalid DFU warning on attach +- Fall back to binary files when flashing STM32 hardware +- Fix a critical warning when downloading files +- Fix a regression in updating the WD19TB dock +- Fix GUID generation on pixart hardware +- Fix the VLI i2c device enumeration, e.g. MSP430 +- Follow HTTP 3XX redirects when downloading files +- Force the device locker to close() an aborted open() +- Only lock fwupdtool when loading the engine +- Read current Wacom firmware index before finding image to write +- Support binary artifact resources in cabinet archives +- Support mirroring the detach and update images +- Switch lock directory from /var/run to /run/lock +- Use GProxyResolver to get the system proxy setting for a given URL + +* Wed Apr 28 2021 Richard Hughes 1.6.0-1 +- New upstream release + +* Wed Apr 14 2021 Andrew Thurman 1.5.9-2 +- Backport https://github.com/fwupd/fwupd/pull/3144 to fix https://bugzilla.redhat.com/show_bug.cgi?id=1949491 + +* Tue Apr 13 2021 Richard Hughes 1.5.9-1 +- New upstream release +- Avoid runtime warning in dfu-tool +- Detect address overflow when parsing invalid Intel HEX files +- Do not timeout when bluez fails to start +- Fix a crash when checking if the dbx update is safe to apply +- Fix a possible crash if the user set WacomI2cFlashBlockSize manually +- Fix array access when using fwupmgr verify-update +- Include crt0 for arm and aarch64 that add a SBAT section +- Retry the request to fix enumeration failure of Synaptics CXAudio +- Set device activation requirement correctly in all cases +- Set dual-bank property on more Lenovo display hardware +- Tweak the SBAT output for a vendor string + +* Wed Mar 24 2021 Richard Hughes 1.5.8-1 +- New upstream release +- Add D501 Baklava device support +- Allow enabling plugins only matching a specific HwId +- Check pixart firmware compatibility with hardware before flashing +- Correct a thunderbolt assertion if kernel failed FW read +- Correctly erase STM32 devices when transfer size is less than sector size +- Detect SREC overflow to avoid adding ~4GB of 0xFF padding +- Do not show a critical error when flashing footer-less binary files +- Don't allow device updates while needing activation +- Fix a regression in the elantp defined IAP start address +- Fix a regression where activate stopped working +- Fix firmware update of pointing device on Lenovo ThinkPad Nano +- Fix the HSI plugin 'Disabled' state +- Fix the quirk key name for the Lenovo HDMI with power +- Fix writing to the GD32VF103 bootloader +- Only call elantp->detach() when writing a firmware blob +- Prompt for unlock keypress if reset command is blocked +- Remove the Hughski public key +- Show a warning when parsing invalid quirk files +- Support for GATT characteristic signals/notifications +- Support more than one protocol for a given device +- Updated StarLabs GUIDs +- Wait a few ms for the Logitech hardware to settle after detach + +* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek - 1.5.7-2 +- Rebuilt for updated systemd-rpm-macros + See https://pagure.io/fesco/issue/2583. + +* Tue Feb 23 2021 Richard Hughes 1.5.7-1 +- New upstream release +- Add initial support for Bluez bluetooth devices +- Add more supported pixart devices +- Add support for the RTD21xx HDMI converter +- Convert MBR types to GPT GUIDs to help find the ESP +- Drop unused heap pages after startup has completed +- Ensure SBAT metadata is added correctly +- Only allow verify-update for plugins that support CAN_VERIFY + +* Tue Feb 16 2021 Richard Hughes 1.5.6-1 +- New upstream release +- Add SBAT metadata to the fwupd EFI binary +- Add support for GD32VF103 as found in the Longan Nano +- Add support for RMI PS2 devices +- Add support for the Starlabs LabTop L4 +- Add support for the System76 Keyboard +- Allow downloading firmware from IPFS +- Be more paranoid when parsing ASCII buffers and devices +- Check if the fwupd BootXXXX entry exists on failure +- Do not allow flashing using flashrom if BLE is enabled +- Do not allow Lenovo hardware to install multiple capsules +- Do not show Unknown [***] for every client connection +- Fix dnload wBlockNum wraparound for ST devices +- Fix OOM when using large ArchiveSizeMax values +- Fix several crashes spotted by AddressSanitizer +- Fix several places where the Goodix MOC plugin could crash +- Include the PCR0 to the report metadata +- Install the UX data into an optional subpacakge +- Report the lockdown status from UEFI and SuperIO plugins +- Show a console warning if the system clock is not set + +* Tue Jan 26 2021 Fedora Release Engineering - 1.5.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Mon Jan 11 2021 Richard Hughes 1.5.5-1 +- New upstream release +- Add a plugin to update PixArt RF devices +- Add new hardware to use the elantp and rts54hid plugins +- Detect the AMD TSME encryption state for HSI-4 +- Detect the AMI PK test key is not installed for HSI-1 +- Fix flashing a fingerprint reader that is in use +- Fix several critical warnings when parsing invalid firmware +- Fix updating DFU devices that use DNLOAD_BUSY +- Ignore the legacy UEFI OVMF dummy GUID +- Make libfwupd more thread safe to fix a crash in gnome-software +- Never show unprintable chars from invalid firmware in the logs + +* Wed Dec 16 2020 Richard Hughes 1.5.4-1 +- New upstream release +- Add Maple Ridge Thunderbolt firmware parsing support +- Allow creating FMAP and Synaptics firmware using builder.xml +- Allow using fwupdtool as non-root for firmware commands +- Do not trust the Block.HintSystem boolean for ESP filtering +- Fix a memory leak when parsing Synaptics firmware +- Fix a possible crash when reading the Goodix MOC USB request +- Fix possible crashes when parsing invalid firmware + +* Tue Dec 08 2020 Richard Hughes 1.5.3-1 +- New upstream release +- Add a UEFI quirk for Star Labs Lite Mk III +- Add the device firmare ID for serio class hardware +- Allow setting the GMainContext when used for sync methods +- Allow the client to send legacy PKCS7 and GPG signatures +- Export the driver name from FuUdevDevice +- Fix a possible critical warning due to missing retval +- Fix the endianness for the CRC check in bcm57xx +- Make sure the correct interface number is used for QMI +- Mark more user-visible strings as translatable +- Restrict loading component types of firmware +- Validate ModemManager firmware update method combinations + +* Mon Nov 23 2020 Richard Hughes 1.5.2-1 +- New upstream release +- Add a flag to indicate if packages are supported +- Add a plugin for the Pinebook Pro laptop +- Allow components to set the icon from the metadata +- Fall back to FAT32 internal partitions for detecting ESP +- Fix detection of ColorHug version on older firmware versions +- Fix reading BCM57XX vendor and device ids from firmware +- Fix replugging the MSP430 device +- Fix sync method when called from threads without a context +- Ignore an invalid vendor-id when adding releases for display +- Improve synaptics-mst reliability when writing data +- Install modules-load configs in the correct directory +- Notify the service manager when idle-quitting +- Only download the remote metadata as required +- Remove HSI update and attestation suffixes +- Restore recognizing GPG and PKCS7 signature types in libfwupd +- Set the SMBIOS chassis type to portable if a DT battery exists +- Switch from libsoup to libcurl for downloading data + +* Fri Nov 20 2020 Adam Williamson - 1.5.1-2 +- Backport #2605 for #2600, seems to help RHBZ #1896540 + +* Mon Nov 02 2020 Richard Hughes 1.5.1-1 +- New upstream release +- Delete unused EFI variables when deploying firmware +- Fix probe warning for the Logitech Unifying device +- Include the amount of NVRAM size in use in the LVFS failure report +- Make bcm57xx hotplug more reliable +- Recognize authorized thunderbolt value of 2 +- Remove the duplicate parent-child data in FwupdDevice and FuDevice +- Show a less scary fwupdate output for devices without info +- Use a different Device ID for the OptionROM devices +- Use UDisks to find out if swap devices are encrypted + +* Mon Oct 26 2020 Richard Hughes 1.5.0-1 +- New upstream release +- Add async versions of the library for GUI tools +- Add commands for interacting with the ESP to fwupdtool +- Add plugin for Goodix fingerprint sensors +- Add plugin that can update the BCM5719 network adapter +- Add plugin to update Elan Touchpads using HID +- Add support for ChromeOS Quiche and Gingerbread +- Add support for the Host Security ID +- Add support for ThunderBolt retimers +- Add switch-branch command to fwupdtool and fwupdmgr +- Allow blocking specific firmware releases by checksum +- Allow constructing a firmware with multiple images +- Allow firmware to require specific features from front-end clients +- Fix setting BootNext correctly when multiple updates are scheduled +- Fix the topology of the audio device on the Lenovo TR dock +- Include the HSI results and attributes in the uploaded report +- Make return code different for get-updates with no updates +- Make specific authorizations also imply others +- Parse the HEX version before comparing for equality +- Prevent dell-dock updates to occur via synaptics-mst plugin +- Record the UEFI failure in more cases +- Support loading DMI data from DT systems +- Support LVFS::UpdateImage for GUI clients +- Use pkttyagent to request user passwords if running without GUI + +* Mon Sep 07 2020 Richard Hughes 1.4.6-1 +- New upstream release +- Add a re-implementation of the rhboot dbxtool +- Add missing Synaptics Prometheus GUIDs for ConfigId +- Add support for the LabTop Mk IV +- Add support for the Realtek RTD21XX I²C protocol +- Allow blocking specific firmware releases by checksum +- Allow DFU device to attach to runtime without a bus reset +- Allow plugins to set remove delay only on the child +- Cancel the file monitor before disposal to avoid a potential deadlock +- Correctly label the vebdor for more NVMe devices +- Specify a remove delay for Poly USB Cameras +- Support download of large DFU firmware +- Support polling the status from device in dfuManifest state +- Use newer libxmlb features to properly display more AppStream markup + +* Tue Aug 18 2020 Richard Hughes 1.4.5-4 +- Rebuild for the libxmlb API bump. + +* Mon Aug 03 2020 Peter Jones - 1.4.5-3 +- Make dual signing happen. + Related: CVE-2020-10713 + +* Sat Aug 01 2020 Fedora Release Engineering - 1.4.5-2 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Thu Jul 30 2020 Richard Hughes 1.4.5-1 +- New upstream release +- Add dual-image feature for VL103 backup firmware +- Add more CCGX hybrid dock support +- Add support for a delayed activation flow for Thunderbolt +- Allow firmware to require specific features from front-end clients +- Be more defensive when remotes are missing required keys +- Check all AppStream components when verifying +- Check for free space after cleaning up ESP +- Fix TPM PCR0 calculation +- Modernize the thunderbolt plugin for future hardware +- Only show UpdateMessage when state is success +- Read the modem vendor ID correctly +- Set the runtime version to 0.0.0 for pre-1.0.0 Thelio Io firmware +- Support compiling libqmi-glib 1.26.0 and later +- Support LVFS::UpdateImage in GUI clients +- Use the GPIOB reset for the MiniDock VL103 +- Wait for the root device to be replugged when updating the MSP430 + +* Mon Jul 27 2020 Fedora Release Engineering - 1.4.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jun 10 2020 Richard Hughes 1.4.4-1 +- New upstream release +- Fix refreshing when checking for downgraded metadata + +* Tue Jun 09 2020 Richard Hughes 1.4.3-1 +- New upstream release +- Add support for HP DMC dock devices +- Always enforce the metadata signature has a valid timestamp +- Capture the dock SKU in metadata +- Check the device requirements when returning from GetDetails +- Prevent Dell dock updates to occur via synaptics-mst plugin + +* Fri May 22 2020 Richard Hughes 1.4.2-2 +- Backport a patch to fix the synaptics fingerprint reader update. + +* Mon May 18 2020 Richard Hughes 1.4.2-1 +- New upstream release +- Add several more ATA OUI quirks +- Avoid communicating with DFU devices when bitManifestationTolerant is off +- Correct the display of final calculated PCRs +- Delay activation for Dell Thunderbolt updates +- Do not use synaptics-rmi on the Dell K12A +- Fix switching wacom-raw to bootloader mode +- Switch the default of EnumerateAllDevices to false +- Use GPIOB to reset the VL817 found in two Lenovo products + +* Mon Apr 27 2020 Richard Hughes 1.4.1-1 +- New upstream release +- Allow specifying the device on the command line by GUID +- Correctly format firmware version of Dynabook X30 and X40 +- Do not show safe mode errors for USB4 host controllers +- Do not show the USB 2 VLI recovery devices for USB 3 hubs +- Fix the correct DeviceID set by GetDetails +- Only update the FW2 partition of the ThinkPad USB-C Dock Gen2 +- Prefer to update the child device first if the order is unspecified +- Refresh device name and format before setting supported flag +- Reset the progressbar time estimate if the percentage is invalid +- Set the CCGX device name and summary from quirk files +- Wait for the cxaudio device to reboot after writing firmware + +* Tue Apr 14 2020 Richard Hughes 1.4.0-1 +- New upstream release +- Actually reload the DFU device after upgrade has completed +- Add plugin for CPU microcode +- Add plugin for Cypress CCGX hardware +- Add plugin for EP963x hardware +- Add STM32F745 DfuSe version quirk +- Allow server metadata to set the device name and version format +- Always check for 'PLAIN' when doing vercmp() operations +- Apply version format to releases and devices at same time +- Check the firmware requirements before adding 'SUPPORTED' +- Correctly attach VL103 after a firmware update +- Do not allow devices that have no vendor ID to be 'UPDATABLE' +- Do not use shim for non-secure boot configurations +- Export the device state, release creation time and urgency +- Fix a crash when removing device parents +- Fix a difficult-to-trigger daemon hang when replugging devices +- Fix a runtime error when detaching MSP430 +- Fix CounterpartGuid when there is more than one supported device +- Fix reporting Synaptics cxaudio version number +- Introduce a new VersionFormat of 'hex' +- Load the signature to get the aliased CDN-safe version of the metadata +- Never add USB hub devices that are not upgradable +- Only auto-add counterpart GUIDs when required +- Parse the CSR firmware as a DFU file +- Set the protocol when updating logitech HID++ devices +- Use Jcat files in firmware archives and for metadata +- When TPM PCR0 measurements fail, query if secure boot is available and enabled + +* Thu Mar 05 2020 Nicolas Mailhot 1.3.9-2 +- Rebuild against the new Gusb. + +* Wed Mar 04 2020 Richard Hughes 1.3.9-1 +- New upstream release +- Added completion script for fish shell +- Always check for PLAIN when doing vercmp() operations +- Always return AppStream markup for remote agreements +- Apply UEFI capsule update even with single valid capsule +- Check the device protocol before de-duping devices +- Copy the version and format from donor device in get-details +- Correctly append the release to devices in `fwupdtool get-details` +- Decrease minimum battery requirement to 10% +- Discard the reason upgrades aren't available +- Do not fail loading in /etc/machine-id is not available +- Fix a critical warning when installing some firmware +- For the `get-details` command make sure to always show devices +- Inhibit all power management actions using logind when updating +- Set the MSP430 version format to pair +- Switch off the ATA verbose logging by default +- Use unknown for version format by default on get-details + +* Thu Feb 13 2020 Richard Hughes 1.3.8-1 +- New upstream release +- Add an extra instance ID to disambiguate USB hubs +- Add a plugin to update PD controllers by Fresco Logic +- Correctly reset VL100 PD devices +- Do not rewrite BootOrder in the EFI helper +- Do not use vercmp when the device version format is plain +- Fix firmware regression in the EFI capsule helper +- Fix updating Synaptics MST devics with no PCI parent +- Ignore Unifying detach failures +- Make the cxaudio version match that of the existing Windows tools +- Replay the TPM event log to get the PCRx values +- Set up more parent devices for various Lenovo USB hubs +- Support the new gnuefi file locations +- Use the correct command to get the VLI device firmware version + +* Fri Jan 31 2020 Richard Hughes 1.3.7-1 +- New upstream release +- Add 'get-remotes' and 'refresh' to fwupdtool +- Add support for standalone VIA PD devices +- Allow applying all releases to get to a target version +- Correctly delete UEFI variables +- Correctly import PKCS-7 remote metadata +- Discourage command line metadata refreshes more than once per day +- Do not always get the vendor ID for udev devices using the parent +- Get the list of updates in JSON format from fwupdagent +- Show the device parent if there is an interesting child +- Shut down automatically when there is system memory pressure +- Use a different protocol ID for VIA i2c devices +- Use the correct timeout for Logitech IO channel writes + +* Tue Jan 28 2020 Fedora Release Engineering - 1.3.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Mon Dec 30 2019 Richard Hughes 1.3.6-1 +- New upstream release +- Add a dell-bios version format to match what is shown on the vendor website +- Add a new plugin that exposes the TPM device +- Allow incremental version major and minor number for Synaptics Prometheus devices +- Clarify error messages when no upgrades are available +- Correct the default prompt for reboot/shutdown +- Do not expose bootloader version errors to users +- Enforce that device protocol matches the metadata value +- Export the device protocol and raw device version to the client --verbose output +- Fix the quirk for the legacy VIA 813 usbhub chip +- Only check the vendor ID if the device has one set +- Return exit status success if there is no firmware to be updated +- Set the correct vendor eMMC ID prefix +- Use the baseboard vendor as the superio vendor ID +- Use the BIOS vendor as the coreboot and flashrom vendor ID + +* Fri Nov 29 2019 Richard Hughes 1.3.5-1 +- New upstream release +- Convert libfwupdprivate to a shared library libfwupdplugin +- Create a REV_00 instance ID as this may be what the vendor needs to target +- Improve coreboot version detection +- Invert default behavior to be safer for reboot and shutdown prompts +- Reload the Synaptics prometheus device version after update +- Use the correct unlocker when using GRWLock +- Whitelist VIA USB hub PD and I²C devices + +* Fri Nov 22 2019 Richard Hughes 1.3.4-1 +- New upstream release +- Add support for Foxconn T77W968 and DW5821e eSIM +- Add support for matching firmware requirements on device parents +- Add support for writing VIA PD and I2C devices +- Add versions formats for the Microsoft Surface devices +- Correct Wacom panel HWID support +- Fix a fastboot regression when updating modem firmware +- Fix regression when coldplugging superio devices +- Fix the linking of the UEFI update binary +- Fix the vendor id of hidraw devices +- Make loading USB device strings non-fatal +- Reject invalid Synaptics MST chip IDs +- Skip cleanup after device is done updating if required + +* Fri Nov 01 2019 Richard Hughes 1.3.3-1 +- New upstream release +- Add a plugin for systems running coreboot +- Add a plugin to update eMMC devices +- Add a plugin to update Synaptics RMI4 devices +- Add a plugin to update VIA USB hub hardware +- Add several quirks for Realtek webcams +- Add some success messages when CLI tasks have completed +- Add support for automatically uploading reports +- Add support for `fwupdmgr reinstall` +- Add support for the 8bitdo SN30Pro+ +- Add support for the ThinkPad USB-C Dock Gen2 audio device +- Allow fwupdtool to dump details of common firmware formats +- Always report the update-error correctly for multiple updates +- Create a unique GUID for the Thunderbolt controller path +- Fix a regression for Wacom EMR devices +- Recognize new 'generation' Thunderbolt sysfs attribute for USB4 +- Rework ESP path detection and lifecycle to auto-unmount when required +- Show a useful error for Logitech devices that cannot self-reset +- Use correct method for stopping systemd units +- Use device safety flags to show prompts before installing updates +- Use will-disappear flag for 8bitdo SF30/SN30 controllers +- Use XMLb to query quirks to reduce the RSS when running + +* Tue Oct 08 2019 Richard Hughes 1.3.2-2 +- Manually create /var/cache/fwupd to work around #1757948 + +* Thu Sep 26 2019 Richard Hughes 1.3.2-1 +- New upstream release +- Add aliases for get-upgrades and upgrade +- Add support for Conexant audio devices +- Add support for the Minnowboard Turbot +- Add support for the SoloKey Secure +- Add support for the Thelio IO board +- Add support to integrate into the motd +- Allow disabling SSL strict mode for broken corporate proxies +- Allow filtering devices when using the command line tools +- Allow specifying a firmware GUID to check any version exists +- Be more accepting when trying to recover a failed database migration +- Display more helpful historical device information +- Do not ask the user to upload a report if ReportURI is not set +- Do not segfault when trying to quit the downgrade selection +- Ensure HID++ v2.0 peripheral devices get added +- Never show AppStream markup on the console +- Only write the new UEFI device path if different than before +- Partially rewrite the Synapticsmst plugin to support more hardware +- Print devices, remotes, releases using a tree +- Support issues in AppStream metadata +- Use tpm2-tss library to read PCR values + +* Thu Jul 25 2019 Fedora Release Engineering - 1.2.10-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Mon Jul 15 2019 Richard Hughes 1.2.10-1 +- New upstream release +- Add a specific error code for the low battery case +- Add support for 8bitdo USB Retro Receiver +- Export new API to build objects from GVariant blobs +- Fix installing synaptics-prometheus config updates +- Prompt for reboot when unlocking on the command line if applicable +- Show a warning when running in UEFI legacy mode +- Show devices with an UpdateError in get-devices output +- Support a UEFI quirk to disable the use of the UX capsule +- Support empty proxy server strings +- Try harder to find duplicate UEFI boot entries + +* Mon May 20 2019 Richard Hughes 1.2.9-1 +- New upstream release +- Add support for Synaptics Prometheus fingerprint readers +- Check the daemon version is at least the client version +- Correctly identify DFU firmware that starts at offset zero +- Display the remote warning on the console in an easy-to-read way +- Export the version-format used by devices to clients +- Fix a libasan failure when reading a UEFI variable +- Never guess the version format from the version string +- Only use class-based instance IDs for quirk matching +- Prompt the user to shutdown if required when installing by ID +- Reset the forced version during DFU attach and detach +- Set the version format for more device types + +* Tue Apr 23 2019 Richard Hughes 1.2.8-1 +- New upstream release +- Allow the fwupdmgr tool to modify the daemon config +- Correctly parse DFU interfaces with extra vendor-specific data +- Do not report transient or invalid system failures +- Fix problems with the version format checking for some updates + +* Wed Apr 17 2019 Richard Hughes 1.2.7-3 +- Revert a patch from upstream that was causing problems with Dell hardware + +* Tue Apr 16 2019 Adam Williamson - 1.2.7-2 +- Rebuild with Meson fix for #1699099 + +* Thu Apr 11 2019 Richard Hughes 1.2.7-1 +- New upstream release +- Add a component categories to express the firmware type +- Add support for 8BitDo M30 +- Add support for the not-child extension from Logitech +- Blacklist the synapticsmst plugin when using amdgpu +- Correct ATA activation functionality to work for all vendors +- Implement QMI PDC active config selection for modems +- Make an error message clearer when there are no updates available +- Match the old or new version number when setting NEEDS_REBOOT +- More carefully check the output from tpm2_pcrlist +- Recreate the history database if migration failed +- Require AC power when updating Thunderbolt devices +- Require --force to install a release with a different version format +- Shut down the daemon if the on-disk binary is replaced + +* Wed Mar 27 2019 Richard Hughes 1.2.6-2 +- Enable the ModemManager plugin + +* Tue Mar 26 2019 Richard Hughes 1.2.6-1 +- New upstream release +- Add support for delayed activation of docks and ATA devices +- Add support for reading the SuperIO device checksum and writing to e-flash +- Add the fwupdagent binary for use in shell scripts +- Allow restricting firmware updates for enterprise use +- Allow running offline updates when in system-update.target +- Allow signing the fwupd report with a client certificate +- Ask to reboot after scheduling an offline firmware update +- Correctly check the new version for devices that replug +- Do not fail to start the daemon if tpm2_pcrlist hangs +- Do not fail when scheduling more than one update to be run offline +- Do not schedule an update on battery power if it requires AC power +- Include all device checksums in the LVFS report +- Rename the shimx64.efi binary for known broken firmware +- Upload the UPDATE_INFO entry for the UEFI UX capsule +- Use Plymouth when updating offline firmware + +* Mon Feb 25 2019 Richard Hughes 1.2.5-1 +- New upstream release +- Allow a device to be updated using more than one plugin +- Call composite prepare and cleanup using fwupdtool +- Detect and special case Dell ATA hardware +- Fix flashing failure with latest Intuos Pro tablet +- Fix potential segfault when applying UEFI updates +- Fix unifying regression when recovering from failed flash +- Report the DeviceInstanceIDs from fwupdmgr when run as root + +* Tue Feb 12 2019 Igor Gnatenko - 1.2.4-2 +- Remove obsolete scriptlets + +* Fri Feb 01 2019 Richard Hughes 1.2.4-1 +- New upstream release +- Add a directory remote that generates metadata +- Add a plugin to update Wacom embedded EMR and AES panels +- Add a plugin to upgrade firmware on ATA-ATAPI hardware +- Add a quirk to use the legacy bootmgr description +- Add SuperIO IT89xx device support +- Add support for Dell dock passive flow +- Add the needs-shutdown quirk to Phison NVMe drives +- Add 'update' and 'get-updates' commands to fwupdtool +- Allow Dell dock flashing Thunderbolt over I2C +- Check the battery percentage before flashing +- Correct Nitrokey Storage invalid firmware version read +- Do not check the BGRT status before uploading a UX capsule +- Do the UEFI UX checksum calculation in fwupd +- Fix flashing various Jabra devices +- Fix the parser to support extended segment addresses +- Flash the fastboot partition after downloading the file +- Show a console warning if loading an out-of-tree plugin +- Show a per-release source and details URL +- Show a `UpdateMessage` and display it in tools +- Support FGUID to get the SKU GUID for NVMe hardware + +* Thu Jan 31 2019 Fedora Release Engineering - 1.2.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jan 04 2019 Richard Hughes 1.2.3-1 +- New upstream release +- Correctly migrate the history database + +* Sun Dec 30 2018 Richard Hughes 1.2.2-1 +- New upstream release +- Add support for devices that support fastboot +- Add more standard USB identifier GUIDs +- Add the PCR0 value as the device checksum for system firmware +- Add Dell TB18DC to the supported devices list +- Allow replacing the last byte in the image when using 'dfu-tool replace-data' +- Append the UEFI capsule header in userspace rather than in the loader +- Check the device checksum as well as the content checksum during verify +- Correctly parse format the version numbers correctly using old metadata +- Fix a crash if AMT returns an empty response +- Fix a regression when doing GetReleases on unsupported hardware +- Remove the Wacom DTH generation hardware from the whitelist +- Sanitize the version if the version format has been specified + +* Tue Nov 27 2018 Richard Hughes 1.2.1-1 +- New upstream release +- Add per-release install duration values +- Fix a use-after-free when using --immediate-exit +- Fix flashing the 8bitdo SF30 +- Fix showing the custom remote agreements +- Include the os-release information in the release metadata +- Shut down the daemon after 2h of inactivity when possible +- Speed up startup by loading less thunderbolt firmware +- Speed up startup by using a silo index for GUID queries +- Use less memory and fragment the heap less when starting + +* Wed Nov 07 2018 Richard Hughes 1.2.0-1 +- New upstream release +- Add a standalone installer creation script +- Add version format quirks for several Lenovo machines +- Adjust synapticsmst EVB board handling +- Allow setting the version format from a quirk entry +- Port from libappstream-glib to libxmlb for a large reduction in RSS +- Set the full AMT device version including the BuildNum +- Sort the firmware sack by component priority +- Stop any running daemon over dbus when using fu-tool +- Support the Intel ME version format +- Use HTTPS_PROXY if set + +* Fri Oct 12 2018 Richard Hughes 1.1.3-1 +- New upstream release +- Add a plugin for an upcoming Dell USB-C dock +- Add support for devices to show an estimated flash time +- Add support for Realtek USB devices using vendor HID and HUB commands +- Adjust panamera ESM update routine for some reported issues +- Allow firmware files to depend on versions from other devices +- Check the amount of free space on the ESP before upgrading +- Don't show devices pending a reboot in GetUpgrades +- Fix possible crash in the thunderbolt-power plugin +- Make various parts of the daemon thread-safe +- Redirect all debugging output to stderr instead of stdout +- Run the Dell plugin initialization after the UEFI plugin +- Update all sub-devices for a composite update + +* Mon Sep 10 2018 Richard Hughes 1.1.2-1 +- New upstream release +- Add a new plugin to enumerate EC firmware +- Add a new plugin to update NVMe hardware +- Allow updating just one specific device from the command line +- Always use the same HardwareIDs as Windows +- Download firmware if the user specifies a URI +- Implement the systemd recommendations for offline updates +- Improve performance when reading keys from the quirk database +- Rewrite the unifying plugin to use the new daemon-provided functionality +- Show a time estimate on the progressbar after an update has started + +* Mon Aug 13 2018 Richard Hughes 1.1.1-1 +- New upstream release +- Add support for the Synaptics Panamera hardware +- Add validation for Alpine and Titan Ridge +- Allow flashing unifying devices in recovery mode +- Allow running synapticsmst on non-Dell hardware +- Check the ESP for sanity at at startup +- Do not hold hidraw devices open forever +- Fix a potential segfault in smbios data parsing +- Fix encoding the GUID into the capsule EFI variable +- Fix various bugs when reading the thunderbolt version number +- Improve the Redfish plugin to actually work with real hardware +- Reboot synapticsmst devices at the end of flash cycle +- Show the correct title when updating devices + +* Fri Jul 13 2018 Fedora Release Engineering - 1.1.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu Jul 12 2018 Richard Hughes 1.1.0-2 +- Rebuild to get the EFI executable signed with the Red Hat key + +* Wed Jul 11 2018 Richard Hughes 1.1.0-1 +- New upstream release +- Add a initial Redfish support +- Allow devices to assign a plugin from the quirk subsystem +- Detect the EFI system partition location at runtime +- Do not use 8bitdo bootloader commands after a successful flash +- Fix a potential buffer overflow when applying a DFU patch +- Fix downgrading older releases to devices +- Fix flashing devices that require a manual replug +- Fix unifying failure to detach when using a slow host controller +- Merge fwupdate functionality into fwupd +- Support more Wacom tablets + +* Thu Jun 07 2018 Richard Hughes 1.0.8-1 +- New upstream release +- Adjust all licensing to be 100% LGPL 2.1+ +- Add a firmware diagnostic tool called fwupdtool +- Add an plugin to update some future Wacom tablets +- Add support for Motorola S-record files +- Add the Linux Foundation public GPG keys for firmware and metadata +- Allow installing more than one firmware using 'fwupdmgr install' +- Allow specifying hwids with OR relationships +- Fix a potential DoS in libdfu by limiting holes to 1MiB +- Fix Hardware-ID{0,1,2,12} compatibility with Microsoft +- Hide devices that aren't updatable by default in fwupdmgr +- Stop matching Nintendo Switch Pro in the 8bitdo plugin + +* Mon Apr 30 2018 Richard Hughes 1.0.7-1 +- New upstream release +- Add enable-remote and disable-remote commands to fwupdmgr +- Allow requiring specific versions of libraries for firmware updates +- Don't recoldplug thunderbolt to fix a flashing failure +- Fix SQL error when running 'fwupdmgr clear-offline' +- Only enumerate Dell Docks if the type is known +- Reboot after scheduling using logind not systemd +- Show a warning with interactive prompt when enabling a remote + +* Mon Mar 12 2018 Richard Hughes 1.0.6-1 +- New upstream release +- Add bash completion for fwupdmgr +- Add support for newest Thunderbolt chips +- Allow devices to use the runtime version when in bootloader mode +- Allow overriding ESP mount point via conf file +- Correct handling of unknown Thunderbolt devices +- Correctly detect new remotes that are manually copied +- Delete any old fwupdate capsules and efivars when launching fwupd +- Fix a crash related to when passing device to downgrade in CLI +- Fix Unifying signature writing and parsing for Texas bootloader +- Generate Vala bindings + +* Fri Feb 23 2018 Richard Hughes 1.0.5-2 +- Use the new CDN for metadata. + +* Wed Feb 14 2018 Richard Hughes 1.0.5-1 +- New upstream release +- Be more careful deleting and modifying device history +- Fix crasher with MST flashing +- Fix DFU detach with newer releases of libusb +- Offer to reboot when processing an offline update +- Show the user a URL when they report a known problem +- Stop matching 8bitdo DS4 controller VID/PID +- Support split cabinet archives as produced by Windows Update + +* Wed Feb 07 2018 Fedora Release Engineering - 1.0.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jan 25 2018 Richard Hughes 1.0.4-1 +- New upstream release +- Add a device name for locked UEFI devices +- Add D-Bus methods to get and modify the history information +- Allow the user to share firmware update success or failure +- Ask the user to refresh metadata when it is very old +- Never add two devices to the daemon with the same ID +- Rescan supported flags when refreshing metadata +- Store firmware update success and failure to a local database + +* Fri Jan 12 2018 Richard Hughes 1.0.3-2 +- Backport a patch that fixes applying firmware updates using gnome-software. + +* Tue Jan 09 2018 Richard Hughes 1.0.3-1 +- New upstream release +- Add a new plugin to add support for CSR "Driverless DFU" +- Add initial SF30/SN30 Pro support +- Block owned Dell TPM updates +- Choose the correct component from provides matches using requirements +- Do not try to parse huge compressed archive files +- Handle Thunderbolt "native" mode +- Use the new functionality in libgcab >= 1.0 to avoid writing temp files + +* Tue Nov 28 2017 Richard Hughes 1.0.2-1 +- New upstream release +- Add a plugin for the Nitrokey Storage device +- Add quirk for AT32UC3B1256 as used in the RubberDucky +- Add support for the original AVR DFU protocol +- Allow different plugins to claim the same device +- Disable the dell plugin if libsmbios fails +- Fix critical warning when more than one remote fails to load +- Ignore useless Thunderbolt device types +- Set environment variables to allow easy per-plugin debugging +- Show a nicer error message if the requirement fails +- Sort the output of GetUpgrades correctly +- Use a SHA1 hash for the internal DeviceID + +* Thu Nov 09 2017 Kalev Lember 1.0.1-3 +- Rebuild against libappstream-glib 0.7.4 + +* Thu Nov 09 2017 Kalev Lember 1.0.1-2 +- Fix libdfu obsoletes versions + +* Thu Nov 09 2017 Richard Hughes 1.0.1-1 +- New upstream release +- Add support for HWID requirements +- Add support for programming various AVR32 and XMEGA parts using DFU +- Add the various DFU quirks for the Jabra Speak devices +- Catch invalid Dell dock component requests +- Correctly output Intel HEX files with > 16bit offset addresses +- Do not try to verify the element write if upload is unsupported +- Fix a double-unref when updating any 8Bitdo device +- Fix uploading large firmware files over DFU +- Format the BCD USB revision numbers correctly +- Guess the DFU transfer size if it is not specified +- Include the reset timeout as wValue to fix some DFU bootloaders +- Move the database of supported devices out into runtime loaded files +- Support devices with truncated DFU interface data +- Use the correct wDetachTimeOut when writing DFU firmware +- Verify devices with legacy VIDs are actually 8Bitdo controllers + +* Mon Oct 09 2017 Richard Hughes 1.0.0-1 +- New upstream release +- This release breaks API and ABI to remove deprecated symbols +- libdfu is now not installed as a shared library +- Add FuDeviceLocker to simplify device open/close lifecycles +- Add functionality to blacklist Dell HW with problems +- Disable the fallback USB plugin +- Do not fail to load the daemon if cached metadata is invalid +- Do not use system-specific infomation for UEFI PCI devices +- Fix various printing issues with the progressbar +- Never fallback to an offline update from client code +- Only set the Dell coldplug delay when we know we need it +- Parse the SMBIOS v2 and v3 DMI tables directly +- Support uploading the UEFI firmware splash image +- Use the intel-wmi-thunderbolt kernel module to force power + +* Fri Sep 01 2017 Richard Hughes 0.9.7-1 +- New upstream release +- Add a FirmwareBaseURI parameter to the remote config +- Add a firmware builder that uses bubblewrap +- Add a python script to create fwupd compatible cab files from .exe files +- Add a thunderbolt plugin for new kernel interface +- Fix an incomplete cipher when using XTEA on data not in 4 byte chunks +- Show a bouncing progress bar if the percentage remains at zero +- Use the new bootloader PIDs for Unifying pico receivers + +* Fri Sep 01 2017 Kalev Lember 0.9.6-2 +- Disable i686 UEFI support now that fwupdate is no longer available there +- Enable aarch64 UEFI support now that all the deps are available there + +* Thu Aug 03 2017 Richard Hughes 0.9.6-1 +- New upstream release +- Add --version option to fwupdmgr +- Display all errors recorded by efi_error tracing +- Don't log a warning when an unknown unifying report is parsed +- Fix a hang on 32 bit machines +- Make sure the unifying percentage completion goes from 0% to 100% +- Support embedded devices with local firmware metadata +- Use new GUsb functionality to fix flashing Unifying devices + +* Wed Aug 02 2017 Fedora Release Engineering - 0.9.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 0.9.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Tue Jul 04 2017 Richard Hughes 0.9.5-1 +- New upstream release +- Add a plugin to get the version of the AMT ME interface +- Allow flashing Unifying devices in bootloader modes +- Filter by Unifying SwId when making HID++2.0 requests +- Fix downgrades when version_lowest is set +- Fix the self tests when running on PPC64 big endian +- Use the UFY DeviceID prefix for Unifying devices + +* Thu Jun 15 2017 Richard Hughes 0.9.4-1 +- New upstream release +- Add installed tests that use the daemon +- Add the ability to restrict firmware to specific vendors +- Compile with newer versions of meson +- Fix a common crash when refreshing metadata +- Generate a images for status messages during system firmware update +- Show progress download when refreshing metadata +- Use the correct type signature in the D-Bus introspection file + +* Wed Jun 07 2017 Richard Hughes 0.9.3-1 +- New upstream release +- Add a 'downgrade' command to fwupdmgr +- Add a 'get-releases' command to fwupdmgr +- Add support for Microsoft HardwareIDs +- Allow downloading metadata from more than just the LVFS +- Allow multiple checksums on devices and releases +- Correctly open Unifying devices with original factory firmware +- Do not expect a Unifying reply when issuing a REBOOT command +- Do not re-download firmware that exists in the cache +- Fix a problem when testing for a Dell system +- Fix flashing new firmware to 8bitdo controllers + +* Tue May 23 2017 Richard Hughes 0.9.2-2 +- Backport several fixes for updating Unifying devices + +* Mon May 22 2017 Richard Hughes 0.9.2-1 +- New upstream release +- Add support for Unifying DFU features +- Do not spew a critial warning when parsing an invalid URI +- Ensure steelseries device is closed if it returns an invalid packet +- Ignore spaces in the Unifying version prefix + +* Thu Apr 20 2017 Richard Hughes 0.8.2-1 +- New upstream release +- Add a config option to allow runtime disabling plugins by name +- Add DFU quirk for OpenPICC and SIMtrace +- Create directories in /var/cache as required +- Fix the Requires lines in the dfu pkg-config file +- Only try to mkdir the localstatedir if we have the right permissions +- Support proxy servers in fwupdmgr + +* Thu Mar 23 2017 Bastien Nocera - 0.8.1-2 ++ fwupd-0.8.1-2 +- Release claimed devices on error, fixes unusable input devices + +* Mon Feb 27 2017 Richard Hughes 0.8.1-1 +- New upstream release +- Adjust systemd confinement restrictions +- Don't initialize libsmbios on unsupported systems +- Fix a crash when enumerating devices + +* Wed Feb 08 2017 Richard Hughes 0.8.0-1 +- New upstream release +- Add support for Intel Thunderbolt devices +- Add support for Logitech Unifying devices +- Add support for Synaptics MST cascades hubs +- Add support for the Altus-Metrum ChaosKey device +- Always close USB devices before error returns +- Return the pending UEFI update when not on AC power +- Use a heuristic for the start address if the firmware has no DfuSe footer +- Use more restrictive settings when running under systemd + +* Sat Dec 10 2016 Igor Gnatenko - 0.7.5-2 +- Rebuild for gpgme 1.18 + +* Wed Oct 19 2016 Richard Hughes 0.7.5-1 +- New upstream release +- Add quirks for HydraBus as it does not have a DFU runtime +- Don't create the UEFI dummy device if the unlock will happen on next boot +- Fix an assert when unlocking the dummy ESRT device +- Fix writing firmware to devices using the ST reference bootloader +- Match the Dell TB16 device + +* Mon Sep 19 2016 Richard Hughes 0.7.4-1 +- New upstream release +- Add a fallback for older appstream-glib releases +- Allow the argument to 'dfu-tool set-release' be major.minor +- Fix a possible crash when uploading firmware files using libdfu +- Fix libfwupd self tests when a host-provided fwupd is not available +- Load the Altos USB descriptor from ELF files +- Show the human-readable version in the 'dfu-tool dump' output +- Support writing the IHEX symbol table +- Write the ELF files with the correct section type + +* Mon Aug 29 2016 Kalev Lember 0.7.3-2 +- Fix an unexpanded macro in the spec file +- Tighten libebitdo-devel requires with the _isa macro +- Add ldconfig scripts for libdfu and libebitdo subpackages + +* Mon Aug 29 2016 Richard Hughes 0.7.3-1 +- New upstream release +- Add Dell TPM and TB15/WD15 support via new Dell provider +- Add initial ELF reading and writing support to libdfu +- Add support for installing multiple devices from a CAB file +- Allow providers to export percentage completion +- Don't fail while checking versions or locked state +- Show a progress notification when installing firmware +- Show the vendor flashing instructions when installing +- Use a private gnupg key store +- Use the correct firmware when installing a composite device + +* Fri Aug 19 2016 Peter Jones - 0.7.2-6 +- Rebuild to get libfwup.so.1 as our fwupdate dep. This should make this the + last time we need to rebuild for this. + +* Wed Aug 17 2016 Peter Jones - 0.7.2-5 +- rebuild against new efivar and fwupdate + +* Fri Aug 12 2016 Adam Williamson - 0.7.2-4 +- rebuild against new efivar and fwupdate + +* Thu Aug 11 2016 Richard Hughes 0.7.2-3 +- Use the new CDN for firmware metadata + +* Thu Jul 14 2016 Kalev Lember - 0.7.2-2 +- Tighten subpackage dependencies + +* Mon Jun 13 2016 Richard Hughes 0.7.2-1 +- New upstream release +- Allow devices to have multiple assigned GUIDs +- Allow metainfo files to match only specific revisions of devices +- Only claim the DFU interface when required +- Only return updatable devices from GetDevices() +- Show the DFU protocol version in 'dfu-tool list' + +* Fri May 13 2016 Richard Hughes 0.7.1-1 +- New upstream release +- Add device-added, device-removed and device-changed signals +- Add for a new device field "Flashes Left" +- Fix a critical warning when restarting the daemon +- Fix BE issues when reading and writing DFU files +- Make the device display name nicer +- Match the AppStream metadata after a device has been added +- Return all update descriptions newer than the installed version +- Set the device description when parsing local firmware files + +* Fri Apr 01 2016 Richard Hughes 0.7.0-1 +- New upstream release +- Add Alienware to the version quirk table +- Add a version plugin for SteelSeries hardware +- Do not return updates that require AC when on battery +- Return the device flags when getting firmware details + +* Mon Mar 14 2016 Richard Hughes 0.6.3-1 +- New upstream release +- Add an unlock method for devices +- Add ESRT enable method into UEFI provider +- Correct the BCD version number for DFU 1.1 +- Ignore the DFU runtime on the DW1820A +- Only read PCI OptionROM firmware when devices are manually unlocked +- Require AC power before scheduling some types of firmware update + +* Fri Feb 12 2016 Richard Hughes 0.6.2-1 +- New upstream release +- Add 'Created' and 'Modified' properties on managed devices +- Fix get-results for UEFI provider +- Support vendor-specific UEFI version encodings + +* Wed Feb 03 2016 Fedora Release Engineering - 0.6.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Jan 19 2016 Richard Hughes 0.6.1-1 +- New upstream release +- Do not misdetect different ColorHug devices +- Only dump the profiling data when run with --verbose + +* Mon Dec 07 2015 Richard Hughes 0.6.0-1 +- New upstream release +- Add support for automatically updating USB DFU-capable devices +- Emit the changed signal after doing an update +- Export the AppStream ID when returning device results +- Use the same device identification string format as Microsoft + +* Wed Nov 18 2015 Richard Hughes 0.5.4-1 +- New upstream release +- Use API available in fwupdate 0.5 to avoid writing temp files +- Fix compile error against fwupdate 0.5 due to API bump + +* Thu Nov 05 2015 Richard Hughes 0.5.3-1 +- New upstream release +- Avoid seeking when reading the file magic during refresh +- Do not assume that the compressed XML data will be NUL terminated +- Use the correct user agent string for fwupdmgr + +* Wed Oct 28 2015 Richard Hughes 0.5.2-1 +- New upstream release +- Add the update description to the GetDetails results +- Clear the in-memory firmware store only after parsing a valid XML file +- Ensure D-Bus remote errors are registered at fwupdmgr startup +- Fix verify-update to produce components with the correct provide values +- Show the dotted-decimal representation of the UEFI version number +- Support cabinet archives files with more than one firmware + +* Mon Sep 21 2015 Richard Hughes 0.5.1-1 +- Update to 0.5.1 to fix a bug in the offline updater + +* Tue Sep 15 2015 Richard Hughes 0.5.0-1 +- New upstream release +- Do not reboot if racing with the PackageKit offline update mechanism + +* Thu Sep 10 2015 Richard Hughes 0.1.6-3 +- Do not merge the existing firmware metadata with the submitted files + +* Thu Sep 10 2015 Kalev Lember 0.1.6-2 +- Own system-update.target.wants directory +- Make fwupd-sign obsoletes versioned + +* Thu Sep 10 2015 Richard Hughes 0.1.6-1 +- New upstream release +- Add application metadata when getting the updates list +- Remove fwsignd, we have the LVFS now + +* Fri Aug 21 2015 Kalev Lember 0.1.5-3 +- Disable fwupd offline update service + +* Wed Aug 19 2015 Richard Hughes 0.1.5-2 +- Use the non-beta download URL prefix + +* Wed Aug 12 2015 Richard Hughes 0.1.5-1 +- New upstream release +- Add a Raspberry Pi firmware provider +- Fix validation of written firmware +- Make parsing the option ROM runtime optional +- Use the AppStream 0.9 firmware specification by default + +* Sat Jul 25 2015 Richard Hughes 0.1.4-1 +- New upstream release +- Actually parse the complete PCI option ROM +- Add a 'fwupdmgr update' command to update all devices to latest versions +- Add a simple signing server that operates on .cab files +- Add a 'verify' command that verifies the cryptographic hash of device firmware -* Mon Jun 20 2022 fushanqing - 1.5.8-2 -- Remove the python installation dependency of fwupd +* Wed Jun 17 2015 Fedora Release Engineering - 0.1.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild -* Mon Jun 17 2022 lin zhang - 1.5.8-1 -- Upgrade to 1.5.8 +* Wed Jun 03 2015 Richard Hughes 0.1.3-2 +- Compile with libfwupdate for UEFI firmware support. -* Wed Jun 15 2022 xigaoxinyan - 1.2.14-1 -- Update to 1.2.14 +* Thu May 28 2015 Richard Hughes 0.1.3-1 +- New upstream release +- Coldplug the devices before acquiring the well known name +- Run the offline actions using systemd when required +- Support OpenHardware devices using the fwupd vendor extensions -* Sun Jun 28 2020 huanghaitao - 1.2.9-3 -- Solve build problem with check +* Wed Apr 22 2015 Richard Hughes 0.1.2-1 +- New upstream release +- Only allow signed firmware to be upgraded without a password -* Mon Dec 9 2019 openEuler Buildteam - 1.2.9-2 -- Solve build problem of x86 +* Mon Mar 23 2015 Richard Hughes 0.1.1-1 +- New upstream release +- Add a 'get-updates' command to fwupdmgr +- Add and document the offline-update lifecycle +- Create a libfwupd shared library +- Create runtime directories if they do not exist +- Do not crash when there are no devices to return -* Wed Nov 20 2019 openEuler Buildteam - 1.2.9-1 -- Package init +* Mon Mar 16 2015 Richard Hughes 0.1.0-1 +- First release diff --git a/fwupd.yaml b/fwupd.yaml deleted file mode 100644 index fb782327b9e8510e468b8a22f84d20c2240dfbf7..0000000000000000000000000000000000000000 --- a/fwupd.yaml +++ /dev/null @@ -1,4 +0,0 @@ -version_control: github -src_repo: fwupd/fwupd -tag_prefix: ^ -seperator: . diff --git a/libcbor-0.7.0-6.el8.src.rpm b/libcbor-0.7.0-6.el8.src.rpm new file mode 100644 index 0000000000000000000000000000000000000000..aeb4eb61a7922f5fcb1116fc77619315cd54afd1 Binary files /dev/null and b/libcbor-0.7.0-6.el8.src.rpm differ diff --git a/libcbor-0.9.0-1.x86_64.rpm b/libcbor-0.9.0-1.x86_64.rpm new file mode 100644 index 0000000000000000000000000000000000000000..c89a34f26567f20dad1c24d0ca3db61f1250a483 Binary files /dev/null and b/libcbor-0.9.0-1.x86_64.rpm differ diff --git a/libcbor-debuginfo-0.9.0-1.x86_64.rpm b/libcbor-debuginfo-0.9.0-1.x86_64.rpm new file mode 100644 index 0000000000000000000000000000000000000000..f68f941f1a8281ae906f9b239aed0149f05aae91 Binary files /dev/null and b/libcbor-debuginfo-0.9.0-1.x86_64.rpm differ diff --git a/libcbor-debugsource-0.9.0-1.x86_64.rpm b/libcbor-debugsource-0.9.0-1.x86_64.rpm new file mode 100644 index 0000000000000000000000000000000000000000..d684a308ab0232e5e84be0339e14294927f64cd8 Binary files /dev/null and b/libcbor-debugsource-0.9.0-1.x86_64.rpm differ diff --git a/libcbor-devel-0.9.0-1.x86_64.rpm b/libcbor-devel-0.9.0-1.x86_64.rpm new file mode 100644 index 0000000000000000000000000000000000000000..8c143e2a3ea60f112dddda01a8f9b48268545284 Binary files /dev/null and b/libcbor-devel-0.9.0-1.x86_64.rpm differ