[arch-commits] Commit in fwupd/repos (4 files)
Date: Sunday, March 4, 2018 @ 17:07:28 Author: archange Revision: 302440 archrelease: copy trunk to community-testing-x86_64 Added: fwupd/repos/community-testing-x86_64/ fwupd/repos/community-testing-x86_64/PKGBUILD (from rev 302439, fwupd/trunk/PKGBUILD) fwupd/repos/community-testing-x86_64/capsule-changes.patch (from rev 302439, fwupd/trunk/capsule-changes.patch) fwupd/repos/community-testing-x86_64/config-esp-path.patch (from rev 302439, fwupd/trunk/config-esp-path.patch) ---+ PKGBUILD | 46 + capsule-changes.patch | 135 ++ config-esp-path.patch | 242 3 files changed, 423 insertions(+) Copied: fwupd/repos/community-testing-x86_64/PKGBUILD (from rev 302439, fwupd/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2018-03-04 17:07:28 UTC (rev 302440) @@ -0,0 +1,46 @@ +# $Id$ +# Maintainer: Bruno Pagani+# Contributor: Mirco Tischler + +pkgname=fwupd +pkgver=1.0.5 +pkgrel=2 +pkgdesc='A simple daemon to allow session software to update firmware' +arch=('x86_64') +url='https://github.com/hughsie/fwupd' +license=('GPL2') +depends=('appstream-glib' 'fwupdate' 'colord' 'python') +makedepends=('meson' 'valgrind' 'gtk-doc' 'help2man' 'python-pillow' 'gobject-introspection' + 'python-cairo' 'ttf-dejavu' 'adobe-source-han-sans-cn-fonts' 'python-gobject') +checkdepends=('umockdev') +source=(${pkgname}-${pkgver}.tar.gz::"${url}/archive/${pkgver}.tar.gz" +'capsule-changes.patch' +'config-esp-path.patch') +sha256sums=('236289aab278fc6611e0a425f7a186895d6755cfdbfd9f182c7bd4bb7fee0324' +'5361c6cfc2b7d0cb9a161b7082b780ba30b468347b6489dd32a83e7a376716ac' +'541b7d31eee9fc9386ad451bf92bb17f400216183bd76c554e7628c7006e90ba') + +prepare() { +cd ${pkgname}-${pkgver} +patch -p1 -i ../capsule-changes.patch +patch -p1 -i ../config-esp-path.patch +} + +build() { +cd ${pkgname}-${pkgver} +arch-meson -D b_lto=false ../build +ninja -v -C ../build +} + +check() { +cd build +meson test +} + +package() { +DESTDIR="${pkgdir}" ninja -C build install +# Fixup mode to match polkit +install -d -o root -g 102 -m 750 "${pkgdir}/usr/share/polkit-1/rules.d" +# Remove the tests +rm -r ${pkgdir}/usr/share/installed-tests/ +} Copied: fwupd/repos/community-testing-x86_64/capsule-changes.patch (from rev 302439, fwupd/trunk/capsule-changes.patch) === --- community-testing-x86_64/capsule-changes.patch (rev 0) +++ community-testing-x86_64/capsule-changes.patch 2018-03-04 17:07:28 UTC (rev 302440) @@ -0,0 +1,135 @@ +From 02c469052f56dc088705484cbb9f0b788df23b08 Mon Sep 17 00:00:00 2001 +From: Mario Limonciello +Date: Mon, 19 Feb 2018 13:11:27 -0600 +Subject: [PATCH] uefi: Report if UX capsule was supported in the report + metadata + +--- + plugins/uefi/fu-plugin-uefi.c | 47 +++ + 1 file changed, 21 insertions(+), 26 deletions(-) + +diff --git a/plugins/uefi/fu-plugin-uefi.c b/plugins/uefi/fu-plugin-uefi.c +index 1f59a99c..87950d7c 100644 +--- a/plugins/uefi/fu-plugin-uefi.c b/plugins/uefi/fu-plugin-uefi.c +@@ -29,6 +29,10 @@ + #include "fu-plugin.h" + #include "fu-plugin-vfuncs.h" + ++struct FuPluginData { ++ gbooleanux_capsule; ++}; ++ + /* drop when upgrading minimum required version of efivar to 33 */ + #if !defined (efi_guid_ux_capsule) + #define efi_guid_ux_capsule EFI_GUID(0x3b8c8162,0x188c,0x46a4,0xaec9,0xbe,0x43,0xf1,0xd6,0x56,0x97) +@@ -37,6 +41,8 @@ + void + fu_plugin_init (FuPlugin *plugin) + { ++ FuPluginData *data = fu_plugin_alloc_data (plugin, sizeof (FuPluginData)); ++ data->ux_capsule = FALSE; + fu_plugin_add_rule (plugin, FU_PLUGIN_RULE_RUN_AFTER, "upower"); + fu_plugin_add_report_metadata (plugin, "FwupdateVersion", LIBFWUP_LIBRARY_VERSION); + fu_plugin_add_report_metadata (plugin, "EfivarVersion", EFIVAR_LIBRARY_VERSION); +@@ -89,22 +95,6 @@ fu_plugin_uefi_find (fwup_resource_iter *iter, const gchar *guid_str, GError **e + return re_matched; + } + +-static fwup_resource * +-fu_plugin_uefi_find_raw (fwup_resource_iter *iter, efi_guid_t *guid) +-{ +- fwup_resource *re_matched = NULL; +- fwup_resource *re = NULL; +- while (fwup_resource_iter_next (iter, ) > 0) { +- efi_guid_t *guid_tmp; +- fwup_get_guid (re, _tmp); +- if (efi_guid_cmp (guid_tmp, guid) == 0) { +- re_matched = re; +- break; +- } +- } +- return re_matched; +-} +- + static void + _fwup_resource_iter_free
[arch-commits] Commit in fwupd/repos (4 files)
Date: Wednesday, October 18, 2017 @ 20:23:19 Author: archange Revision: 263292 archrelease: copy trunk to community-i686, community-x86_64 Added: fwupd/repos/community-i686/PKGBUILD (from rev 263291, fwupd/trunk/PKGBUILD) fwupd/repos/community-x86_64/PKGBUILD (from rev 263291, fwupd/trunk/PKGBUILD) Deleted: fwupd/repos/community-i686/PKGBUILD fwupd/repos/community-x86_64/PKGBUILD ---+ /PKGBUILD | 78 community-i686/PKGBUILD | 44 community-x86_64/PKGBUILD | 44 3 files changed, 78 insertions(+), 88 deletions(-) Deleted: community-i686/PKGBUILD === --- community-i686/PKGBUILD 2017-10-18 20:23:02 UTC (rev 263291) +++ community-i686/PKGBUILD 2017-10-18 20:23:19 UTC (rev 263292) @@ -1,44 +0,0 @@ -# $Id$ -# Maintainer: Bruno Pagani (a.k.a. ArchangeGabriel)-# Contributor: Mirco Tischler - -pkgname=fwupd -pkgver=0.9.7 -pkgrel=1 -pkgdesc='A simple daemon to allow session software to update firmware' -arch=('i686' 'x86_64') -url='https://github.com/hughsie/fwupd' -license=('GPL2') -depends=('appstream-glib' 'fwupdate' 'colord' 'python') -makedepends=('meson' 'valgrind' 'docbook-utils' 'docbook-sgml' 'perl-sgmls' - 'gobject-introspection' 'gtk-doc' 'python-pillow' 'python-cairo' - 'ttf-dejavu' 'adobe-source-han-sans-cn-fonts' 'python-gobject') -checkdepends=('umockdev') -source=(${pkgname}-${pkgver}.tar.gz::"${url}/archive/${pkgver}.tar.gz") -sha256sums=('2e70742ec4be933d1e31c489bc6f00c4f326cd4ef3adade4ae6579c747f78742') - -build() { -cd ${pkgname}-${pkgver} - -meson --prefix=/usr \ ---sysconfdir=/etc \ ---localstatedir=/var \ ---libexecdir=/usr/lib \ ---buildtype=release \ -../build - -ninja -v -C ../build -} - -check() { -cd build -mesontest -} - -package() { -DESTDIR="${pkgdir}" ninja -C build install -# Fixup mode to match polkit -install -d -o root -g 102 -m 750 "${pkgdir}/usr/share/polkit-1/rules.d" -# Remove the tests -rm -r ${pkgdir}/usr/share/installed-tests/ -} Copied: fwupd/repos/community-i686/PKGBUILD (from rev 263291, fwupd/trunk/PKGBUILD) === --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2017-10-18 20:23:19 UTC (rev 263292) @@ -0,0 +1,39 @@ +# $Id$ +# Maintainer: Bruno Pagani (a.k.a. ArchangeGabriel) +# Contributor: Mirco Tischler + +pkgname=fwupd +pkgver=1.0.0 +pkgrel=1 +pkgdesc='A simple daemon to allow session software to update firmware' +arch=('i686' 'x86_64') +url='https://github.com/hughsie/fwupd' +license=('GPL2') +depends=('appstream-glib' 'fwupdate' 'colord' 'python') +makedepends=('meson' 'valgrind' 'docbook-utils' 'docbook-sgml' 'perl-sgmls' + 'gobject-introspection' 'gtk-doc' 'python-pillow' 'python-cairo' + 'ttf-dejavu' 'adobe-source-han-sans-cn-fonts' 'python-gobject') +checkdepends=('umockdev') +source=(${pkgname}-${pkgver}.tar.gz::"${url}/archive/${pkgver}.tar.gz") +sha256sums=('179ee1fb5c0099ba9bfb8c07178574cc7408297d2af80ddf483e9f147b30e31a') + +build() { +cd ${pkgname}-${pkgver} + +arch-meson -D b_lto=false ../build + +ninja -v -C ../build +} + +check() { +cd build +meson test +} + +package() { +DESTDIR="${pkgdir}" ninja -C build install +# Fixup mode to match polkit +install -d -o root -g 102 -m 750 "${pkgdir}/usr/share/polkit-1/rules.d" +# Remove the tests +rm -r ${pkgdir}/usr/share/installed-tests/ +} Deleted: community-x86_64/PKGBUILD === --- community-x86_64/PKGBUILD 2017-10-18 20:23:02 UTC (rev 263291) +++ community-x86_64/PKGBUILD 2017-10-18 20:23:19 UTC (rev 263292) @@ -1,44 +0,0 @@ -# $Id$ -# Maintainer: Bruno Pagani (a.k.a. ArchangeGabriel) -# Contributor: Mirco Tischler - -pkgname=fwupd -pkgver=0.9.7 -pkgrel=1 -pkgdesc='A simple daemon to allow session software to update firmware' -arch=('i686' 'x86_64') -url='https://github.com/hughsie/fwupd' -license=('GPL2') -depends=('appstream-glib' 'fwupdate' 'colord' 'python') -makedepends=('meson' 'valgrind' 'docbook-utils' 'docbook-sgml' 'perl-sgmls' - 'gobject-introspection' 'gtk-doc' 'python-pillow' 'python-cairo' - 'ttf-dejavu' 'adobe-source-han-sans-cn-fonts' 'python-gobject') -checkdepends=('umockdev') -source=(${pkgname}-${pkgver}.tar.gz::"${url}/archive/${pkgver}.tar.gz") -sha256sums=('2e70742ec4be933d1e31c489bc6f00c4f326cd4ef3adade4ae6579c747f78742') - -build() { -cd ${pkgname}-${pkgver} - -meson --prefix=/usr \ ---sysconfdir=/etc \ ---localstatedir=/var \ ---libexecdir=/usr/lib \ -
[arch-commits] Commit in fwupd/repos (4 files)
Date: Monday, September 4, 2017 @ 01:05:47 Author: archange Revision: 255631 archrelease: copy trunk to community-i686, community-x86_64 Added: fwupd/repos/community-i686/PKGBUILD (from rev 255630, fwupd/trunk/PKGBUILD) fwupd/repos/community-x86_64/PKGBUILD (from rev 255630, fwupd/trunk/PKGBUILD) Deleted: fwupd/repos/community-i686/PKGBUILD fwupd/repos/community-x86_64/PKGBUILD ---+ /PKGBUILD | 88 community-i686/PKGBUILD | 43 - community-x86_64/PKGBUILD | 43 - 3 files changed, 88 insertions(+), 86 deletions(-) Deleted: community-i686/PKGBUILD === --- community-i686/PKGBUILD 2017-09-04 01:05:25 UTC (rev 255630) +++ community-i686/PKGBUILD 2017-09-04 01:05:47 UTC (rev 255631) @@ -1,43 +0,0 @@ -# $Id$ -# Maintainer: Bruno Pagani (a.k.a. ArchangeGabriel)-# Contributor: Mirco Tischler - -pkgname=fwupd -pkgver=0.9.6 -pkgrel=1 -pkgdesc='A simple daemon to allow session software to update firmware' -arch=('i686' 'x86_64') -url='https://github.com/hughsie/fwupd' -license=('GPL2') -depends=('appstream-glib' 'fwupdate' 'colord') -makedepends=('meson' 'valgrind' 'docbook-utils' 'docbook-sgml' 'perl-sgmls' - 'gobject-introspection' 'gtk-doc' 'python-pillow' 'python-cairo' - 'ttf-dejavu' 'adobe-source-han-sans-cn-fonts' 'python-gobject') -source=(${pkgname}-${pkgver}.tar.gz::"${url}/archive/${pkgver}.tar.gz") -sha256sums=('cf406eb11b284cd89228db53bff787cb8468d4e14a910acdea4c995f04df2435') - -build() { -cd ${pkgname}-${pkgver} - -meson --prefix=/usr \ ---sysconfdir=/etc \ ---localstatedir=/var \ ---libexecdir=/usr/lib \ ---buildtype=release \ -../build - -ninja -v -C ../build -} - -check() { -cd build -mesontest -} - -package() { -DESTDIR="${pkgdir}" ninja -C build install -# Fixup mode to match polkit -install -d -o root -g 102 -m 750 "${pkgdir}/usr/share/polkit-1/rules.d" -# Remove the tests -rm -r ${pkgdir}/usr/share/installed-tests/ -} Copied: fwupd/repos/community-i686/PKGBUILD (from rev 255630, fwupd/trunk/PKGBUILD) === --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2017-09-04 01:05:47 UTC (rev 255631) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Bruno Pagani (a.k.a. ArchangeGabriel) +# Contributor: Mirco Tischler + +pkgname=fwupd +pkgver=0.9.7 +pkgrel=1 +pkgdesc='A simple daemon to allow session software to update firmware' +arch=('i686' 'x86_64') +url='https://github.com/hughsie/fwupd' +license=('GPL2') +depends=('appstream-glib' 'fwupdate' 'colord' 'python') +makedepends=('meson' 'valgrind' 'docbook-utils' 'docbook-sgml' 'perl-sgmls' + 'gobject-introspection' 'gtk-doc' 'python-pillow' 'python-cairo' + 'ttf-dejavu' 'adobe-source-han-sans-cn-fonts' 'python-gobject') +checkdepends=('umockdev') +source=(${pkgname}-${pkgver}.tar.gz::"${url}/archive/${pkgver}.tar.gz") +sha256sums=('2e70742ec4be933d1e31c489bc6f00c4f326cd4ef3adade4ae6579c747f78742') + +build() { +cd ${pkgname}-${pkgver} + +meson --prefix=/usr \ +--sysconfdir=/etc \ +--localstatedir=/var \ +--libexecdir=/usr/lib \ +--buildtype=release \ +../build + +ninja -v -C ../build +} + +check() { +cd build +mesontest +} + +package() { +DESTDIR="${pkgdir}" ninja -C build install +# Fixup mode to match polkit +install -d -o root -g 102 -m 750 "${pkgdir}/usr/share/polkit-1/rules.d" +# Remove the tests +rm -r ${pkgdir}/usr/share/installed-tests/ +} Deleted: community-x86_64/PKGBUILD === --- community-x86_64/PKGBUILD 2017-09-04 01:05:25 UTC (rev 255630) +++ community-x86_64/PKGBUILD 2017-09-04 01:05:47 UTC (rev 255631) @@ -1,43 +0,0 @@ -# $Id$ -# Maintainer: Bruno Pagani (a.k.a. ArchangeGabriel) -# Contributor: Mirco Tischler - -pkgname=fwupd -pkgver=0.9.6 -pkgrel=1 -pkgdesc='A simple daemon to allow session software to update firmware' -arch=('i686' 'x86_64') -url='https://github.com/hughsie/fwupd' -license=('GPL2') -depends=('appstream-glib' 'fwupdate' 'colord') -makedepends=('meson' 'valgrind' 'docbook-utils' 'docbook-sgml' 'perl-sgmls' - 'gobject-introspection' 'gtk-doc' 'python-pillow' 'python-cairo' - 'ttf-dejavu' 'adobe-source-han-sans-cn-fonts' 'python-gobject') -source=(${pkgname}-${pkgver}.tar.gz::"${url}/archive/${pkgver}.tar.gz") -sha256sums=('cf406eb11b284cd89228db53bff787cb8468d4e14a910acdea4c995f04df2435') - -build() { -cd ${pkgname}-${pkgver} - -meson --prefix=/usr \ ---sysconfdir=/etc \ ---localstatedir=/var \ -
[arch-commits] Commit in fwupd/repos (4 files)
Date: Sunday, August 6, 2017 @ 14:29:14 Author: archange Revision: 249015 archrelease: copy trunk to community-i686, community-x86_64 Added: fwupd/repos/community-i686/PKGBUILD (from rev 249014, fwupd/trunk/PKGBUILD) fwupd/repos/community-x86_64/PKGBUILD (from rev 249014, fwupd/trunk/PKGBUILD) Deleted: fwupd/repos/community-i686/PKGBUILD fwupd/repos/community-x86_64/PKGBUILD ---+ /PKGBUILD | 86 community-i686/PKGBUILD | 43 -- community-x86_64/PKGBUILD | 43 -- 3 files changed, 86 insertions(+), 86 deletions(-) Deleted: community-i686/PKGBUILD === --- community-i686/PKGBUILD 2017-08-06 14:28:26 UTC (rev 249014) +++ community-i686/PKGBUILD 2017-08-06 14:29:14 UTC (rev 249015) @@ -1,43 +0,0 @@ -# $Id$ -# Maintainer: Bruno Pagani (a.k.a. ArchangeGabriel)-# Contributor: Mirco Tischler - -pkgname=fwupd -pkgver=0.9.5 -pkgrel=3 -pkgdesc='A simple daemon to allow session software to update firmware' -arch=('i686' 'x86_64') -url='https://github.com/hughsie/fwupd' -license=('GPL2') -depends=('appstream-glib' 'fwupdate' 'colord') -makedepends=('meson' 'valgrind' 'docbook-utils' 'docbook-sgml' 'perl-sgmls' - 'gobject-introspection' 'gtk-doc' 'python-pillow' 'python-cairo' - 'ttf-dejavu' 'adobe-source-han-sans-cn-fonts' 'python-gobject') -source=(${pkgname}-${pkgver}.tar.gz::"${url}/archive/${pkgver}.tar.gz") -sha256sums=('876bb4c1cc5b27bb5f30e1c5d81522c82554738bede9a811f9e352966e58453e') - -build() { -cd ${pkgname}-${pkgver} - -meson --prefix=/usr \ ---sysconfdir=/etc \ ---localstatedir=/var \ ---libexecdir=/usr/lib \ ---buildtype=release \ -../build - -ninja -v -C ../build -} - -check() { -cd build -mesontest -} - -package() { -DESTDIR="${pkgdir}" ninja -C build install -# Fixup mode to match polkit -install -d -o root -g 102 -m 750 "${pkgdir}/usr/share/polkit-1/rules.d" -# Remove the tests -rm -r ${pkgdir}/usr/share/installed-tests/ -} Copied: fwupd/repos/community-i686/PKGBUILD (from rev 249014, fwupd/trunk/PKGBUILD) === --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2017-08-06 14:29:14 UTC (rev 249015) @@ -0,0 +1,43 @@ +# $Id$ +# Maintainer: Bruno Pagani (a.k.a. ArchangeGabriel) +# Contributor: Mirco Tischler + +pkgname=fwupd +pkgver=0.9.6 +pkgrel=1 +pkgdesc='A simple daemon to allow session software to update firmware' +arch=('i686' 'x86_64') +url='https://github.com/hughsie/fwupd' +license=('GPL2') +depends=('appstream-glib' 'fwupdate' 'colord') +makedepends=('meson' 'valgrind' 'docbook-utils' 'docbook-sgml' 'perl-sgmls' + 'gobject-introspection' 'gtk-doc' 'python-pillow' 'python-cairo' + 'ttf-dejavu' 'adobe-source-han-sans-cn-fonts' 'python-gobject') +source=(${pkgname}-${pkgver}.tar.gz::"${url}/archive/${pkgver}.tar.gz") +sha256sums=('cf406eb11b284cd89228db53bff787cb8468d4e14a910acdea4c995f04df2435') + +build() { +cd ${pkgname}-${pkgver} + +meson --prefix=/usr \ +--sysconfdir=/etc \ +--localstatedir=/var \ +--libexecdir=/usr/lib \ +--buildtype=release \ +../build + +ninja -v -C ../build +} + +check() { +cd build +mesontest +} + +package() { +DESTDIR="${pkgdir}" ninja -C build install +# Fixup mode to match polkit +install -d -o root -g 102 -m 750 "${pkgdir}/usr/share/polkit-1/rules.d" +# Remove the tests +rm -r ${pkgdir}/usr/share/installed-tests/ +} Deleted: community-x86_64/PKGBUILD === --- community-x86_64/PKGBUILD 2017-08-06 14:28:26 UTC (rev 249014) +++ community-x86_64/PKGBUILD 2017-08-06 14:29:14 UTC (rev 249015) @@ -1,43 +0,0 @@ -# $Id$ -# Maintainer: Bruno Pagani (a.k.a. ArchangeGabriel) -# Contributor: Mirco Tischler - -pkgname=fwupd -pkgver=0.9.5 -pkgrel=3 -pkgdesc='A simple daemon to allow session software to update firmware' -arch=('i686' 'x86_64') -url='https://github.com/hughsie/fwupd' -license=('GPL2') -depends=('appstream-glib' 'fwupdate' 'colord') -makedepends=('meson' 'valgrind' 'docbook-utils' 'docbook-sgml' 'perl-sgmls' - 'gobject-introspection' 'gtk-doc' 'python-pillow' 'python-cairo' - 'ttf-dejavu' 'adobe-source-han-sans-cn-fonts' 'python-gobject') -source=(${pkgname}-${pkgver}.tar.gz::"${url}/archive/${pkgver}.tar.gz") -sha256sums=('876bb4c1cc5b27bb5f30e1c5d81522c82554738bede9a811f9e352966e58453e') - -build() { -cd ${pkgname}-${pkgver} - -meson --prefix=/usr \ ---sysconfdir=/etc \ ---localstatedir=/var \ ---libexecdir=/usr/lib \ -