[arch-commits] Commit in fwupd/repos (8 files)

2017-07-05 Thread Bruno Pagani
Date: Wednesday, July 5, 2017 @ 08:33:25
  Author: archange
Revision: 242383

archrelease: copy trunk to community-i686, community-x86_64

Added:
  fwupd/repos/community-i686/PKGBUILD
(from rev 242382, fwupd/trunk/PKGBUILD)
  fwupd/repos/community-x86_64/PKGBUILD
(from rev 242382, fwupd/trunk/PKGBUILD)
Deleted:
  fwupd/repos/community-i686/PKGBUILD
  fwupd/repos/community-i686/fix-missing-name.patch
  fwupd/repos/community-i686/fix-test-failure.patch
  fwupd/repos/community-x86_64/PKGBUILD
  fwupd/repos/community-x86_64/fix-missing-name.patch
  fwupd/repos/community-x86_64/fix-test-failure.patch

-+
 /PKGBUILD   |   96 ++
 community-i686/PKGBUILD |   52 
 community-i686/fix-missing-name.patch   |   21 --
 community-i686/fix-test-failure.patch   |   21 --
 community-x86_64/PKGBUILD   |   52 
 community-x86_64/fix-missing-name.patch |   21 --
 community-x86_64/fix-test-failure.patch |   21 --
 7 files changed, 96 insertions(+), 188 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2017-07-05 08:32:59 UTC (rev 242382)
+++ community-i686/PKGBUILD 2017-07-05 08:33:25 UTC (rev 242383)
@@ -1,52 +0,0 @@
-# $Id$
-# Maintainer: Bruno Pagani (a.k.a. ArchangeGabriel) 
-# Contributor: Mirco Tischler 
-
-pkgname=fwupd
-pkgver=0.9.4
-pkgrel=2
-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"
-'fix-missing-name.patch'
-'fix-test-failure.patch')
-sha256sums=('ac6c02df4a00d541a205f17c0fa681cc5fe9161dd20cc28045c28cbe43b042e0'
-'2a620759ccceaa1e06e81ad47467804f5bffc2a0e83e1cc25f351f94d2444900'
-'e684937330f4fffd32fea3db0f444fcbd0250009905c3c76693bdc6eccb425da')
-
-prepare() {
-cd ${pkgname}-${pkgver}
-patch -p1 -i ../fix-missing-name.patch
-patch -p1 -i ../fix-test-failure.patch
-}
-
-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"
-}

Copied: fwupd/repos/community-i686/PKGBUILD (from rev 242382, 
fwupd/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2017-07-05 08:33:25 UTC (rev 242383)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Bruno Pagani (a.k.a. ArchangeGabriel) 
+# Contributor: Mirco Tischler 
+
+pkgname=fwupd
+pkgver=0.9.5
+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=('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
+<<< .mine
+# Remove the tests
+rm -r ${pkgdir}/usr/share/installed-tests/
+||| .r239021
+===
+
+# Fixup mode to match polkit
+install -d -o root -g 102 -m 750 "${pkgdir}/usr/share/polkit-1/rules.d"
+>>> .r242380
+}

Deleted: community-i686/fix-missing-name.patch
===
--- community-i686/fix-missing-name.patch   2017-07-05 08:32:59 UTC (rev 
242382)
+++ community-i686/fix-missing-name.patch   2017-07-05 08:33:25 UTC (rev 
242383)
@@ -1,21 +0,0 @@
-From de5dd8f33dbc643d7e55087eef29f5a59b6dda1c Mon Sep 17 

[arch-commits] Commit in fwupd/repos (8 files)

2017-06-13 Thread Bruno Pagani
Date: Tuesday, June 13, 2017 @ 22:07:29
  Author: archange
Revision: 236709

archrelease: copy trunk to community-i686, community-x86_64

Added:
  fwupd/repos/community-i686/
  fwupd/repos/community-i686/PKGBUILD
(from rev 236708, fwupd/trunk/PKGBUILD)
  fwupd/repos/community-i686/fix-failure-without-remote-d.patch
(from rev 236708, fwupd/trunk/fix-failure-without-remote-d.patch)
  fwupd/repos/community-i686/fix-missing-test-files.patch
(from rev 236708, fwupd/trunk/fix-missing-test-files.patch)
  fwupd/repos/community-x86_64/
  fwupd/repos/community-x86_64/PKGBUILD
(from rev 236708, fwupd/trunk/PKGBUILD)
  fwupd/repos/community-x86_64/fix-failure-without-remote-d.patch
(from rev 236708, fwupd/trunk/fix-failure-without-remote-d.patch)
  fwupd/repos/community-x86_64/fix-missing-test-files.patch
(from rev 236708, fwupd/trunk/fix-missing-test-files.patch)

-+
 community-i686/PKGBUILD |   47 +++
 community-i686/fix-failure-without-remote-d.patch   |   23 +++
 community-i686/fix-missing-test-files.patch |  111 ++
 community-x86_64/PKGBUILD   |   47 +++
 community-x86_64/fix-failure-without-remote-d.patch |   23 +++
 community-x86_64/fix-missing-test-files.patch   |  111 ++
 6 files changed, 362 insertions(+)

Copied: fwupd/repos/community-i686/PKGBUILD (from rev 236708, 
fwupd/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2017-06-13 22:07:29 UTC (rev 236709)
@@ -0,0 +1,47 @@
+# Maintainer: Bruno Pagani (a.k.a. ArchangeGabriel) 
+# Contributor: Mirco Tischler 
+
+pkgname=fwupd
+pkgver=0.9.3
+pkgrel=2
+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' 'docbook2x' 'gobject-introspection' 'gtk-doc')
+makedepends=('meson' 'valgrind' 'docbook-utils' 'docbook-sgml' 'perl-sgmls'
+ 'gobject-introspection' 'gtk-doc')
+source=(${pkgname}-${pkgver}.tar.gz::"${url}/archive/${pkgver}.tar.gz"
+'fix-missing-test-files.patch'
+'fix-failure-without-remote-d.patch')
+sha256sums=('56840998a4a7757ac93732c4a51e203e1fef1497dc98ebc175310b132da2a2cc'
+'ee2bb86e1efaff2d4ca3f2ed55fd8b685cba2cb40debf1418d4e91e27dba00a7'
+'79a5ffc151067d52ff49af55b851b8bcd0976e47d1751268fb1bdd61b46f5dbe')
+
+prepare() {
+cd ${pkgname}-${pkgver}
+patch -p1 -i ../fix-missing-test-files.patch
+patch -p1 -i ../fix-failure-without-remote-d.patch
+}
+
+build() {
+cd ${pkgname}-${pkgver}
+
+meson --prefix=/usr \
+--sysconfdir=/etc \
+--localstatedir=/var \
+--libexecdir=/usr/lib \
+--buildtype=plain \
+../build
+
+ninja -v -C ../build
+}
+
+check() {
+ninja -C build test
+}
+
+package() {
+DESTDIR="${pkgdir}" ninja -C build install
+}

Copied: fwupd/repos/community-i686/fix-failure-without-remote-d.patch (from rev 
236708, fwupd/trunk/fix-failure-without-remote-d.patch)
===
--- community-i686/fix-failure-without-remote-d.patch   
(rev 0)
+++ community-i686/fix-failure-without-remote-d.patch   2017-06-13 22:07:29 UTC 
(rev 236709)
@@ -0,0 +1,23 @@
+From f04923ae2ff186a10802c3b236855c612d676fea Mon Sep 17 00:00:00 2001
+From: Richard Hughes 
+Date: Tue, 13 Jun 2017 10:15:40 +0100
+Subject: [PATCH] trivial: Don't fail to refresh if a remotes.d does not exist
+
+Resolves: https://github.com/hughsie/fwupd/issues/137
+---
+ libfwupd/fwupd-client.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/libfwupd/fwupd-client.c b/libfwupd/fwupd-client.c
+index 1601b2a..814802c 100644
+--- a/libfwupd/fwupd-client.c
 b/libfwupd/fwupd-client.c
+@@ -1294,6 +1294,8 @@ fwupd_client_add_remotes_for_path (FwupdClient *client,
+   g_autoptr(GDir) dir = NULL;
+ 
+   path_remotes = g_build_filename (path, "remotes.d", NULL);
++  if (!g_file_test (path_remotes, G_FILE_TEST_EXISTS))
++  return TRUE;
+   dir = g_dir_open (path_remotes, 0, error);
+   if (dir == NULL)
+   return FALSE;

Copied: fwupd/repos/community-i686/fix-missing-test-files.patch (from rev 
236708, fwupd/trunk/fix-missing-test-files.patch)
===
--- community-i686/fix-missing-test-files.patch (rev 0)
+++ community-i686/fix-missing-test-files.patch 2017-06-13 22:07:29 UTC (rev 
236709)
@@ -0,0 +1,111 @@
+From ad9b22480a63225a32f092fc36407586183bd04f Mon Sep 17 00:00:00 2001
+From: Richard Hughes 
+Date: Wed, 7 Jun