Hello community,

here is the log from the commit of package fprintd for openSUSE:Factory checked 
in at 2020-12-01 14:23:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/fprintd (Old)
 and      /work/SRC/openSUSE:Factory/.fprintd.new.5913 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "fprintd"

Tue Dec  1 14:23:26 2020 rev:10 rq:851949 version:1.90.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/fprintd/fprintd.changes  2020-03-20 
23:59:46.137036048 +0100
+++ /work/SRC/openSUSE:Factory/.fprintd.new.5913/fprintd.changes        
2020-12-01 14:23:51.241662603 +0100
@@ -1,0 +2,14 @@
+Sun Nov 29 15:33:57 UTC 2020 - Martin Hauke <[email protected]>
+
+- Update to version 1.90.4
+  * Authentication is now required to enroll a new print.
+  * Add support for the libfprint early reporting mechanism
+  * Proper hotplug support together with libfprint 1.90.4
+  * Handle STATE_DIRECTORY containing multiple paths
+- Add patch:
+  * 0001-tests-Fix-test-not-failing-on-error.patch
+    https://gitlab.freedesktop.org/libfprint/fprintd/-/merge_requests/70
+    Unittest test_manager_get_devices_on_name_appeared is broken
+    with this patch applied - so revert it for now.
+
+-------------------------------------------------------------------

Old:
----
  fprintd-1.90.1.tar.xz

New:
----
  0001-tests-Fix-test-not-failing-on-error.patch
  fprintd-1.90.4.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ fprintd.spec ++++++
--- /var/tmp/diff_new_pack.7lsm94/_old  2020-12-01 14:23:51.777663183 +0100
+++ /var/tmp/diff_new_pack.7lsm94/_new  2020-12-01 14:23:51.781663187 +0100
@@ -16,16 +16,20 @@
 #
 
 
-%define gitlabhash a47c31c844e23e070665a8a85dae0144
+%define gitlabhash 88a627f1873ce8f30e5354593bf4d45953126395
+
 Name:           fprintd
-Version:        1.90.1
+Version:        1.90.4
 Release:        0
 Summary:        D-Bus service for Fingerprint reader access
 License:        GPL-2.0-or-later
 URL:            https://fprint.freedesktop.org/
-Source0:        
https://gitlab.freedesktop.org/libfprint/fprintd/uploads/%{gitlabhash}/%{name}-%{version}.tar.xz
+#Git-Clone:     https://gitlab.freedesktop.org/libfprint/fprintd.git
+Source0:        
https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/v%{version}/%{name}-%{version}.tar.bz2
 Source1:        baselibs.conf
 Source2:        README.SUSE
+Patch0:         0001-tests-Fix-test-not-failing-on-error.patch
+BuildRequires:  gobject-introspection
 BuildRequires:  gtk-doc >= 1.3
 BuildRequires:  intltool
 BuildRequires:  meson >= 0.46.1
@@ -33,9 +37,9 @@
 BuildRequires:  pkgconfig
 BuildRequires:  python3-cairo
 BuildRequires:  python3-dbusmock
-BuildRequires:  python3-gobject
 BuildRequires:  python3-libpamtest
 BuildRequires:  python3-pydbus
+BuildRequires:  typelib-1_0-FPrint-2_0
 BuildRequires:  pkgconfig(dbus-glib-1)
 BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(libfprint-2) >= 1.90.1
@@ -105,7 +109,8 @@
 %lang_package
 
 %prep
-%autosetup -p1
+%setup -q -n %{name}-v%{version}-%{gitlabhash}
+%patch0 -p1 -R
 cp %{SOURCE2} .
 
 %build

++++++ 0001-tests-Fix-test-not-failing-on-error.patch ++++++
From 6dc699ae6fec2e2ff644b0d7b9c3665d3d302336 Mon Sep 17 00:00:00 2001
From: Benjamin Berg <[email protected]>
Date: Fri, 2 Oct 2020 17:54:20 +0200
Subject: [PATCH] tests: Fix test not failing on error

An assertion that is raised within a callback will not be swallowed by
the C code that called the function. To ensure that errors will be
noticable, pass the result back to the surrounding scope and check it
there.
---
 tests/fprintd.py | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/tests/fprintd.py b/tests/fprintd.py
index 0be7776..0bd9ac3 100755
--- a/tests/fprintd.py
+++ b/tests/fprintd.py
@@ -427,27 +427,27 @@ class FPrintdManagerPreStartTests(FPrintdTest):
             self.manager.GetDefaultDevice()
 
     def test_manager_get_devices_on_name_appeared(self):
-        self._appeared = False
+        self._appeared_res = []
 
         def on_name_appeared(connection, name, name_owner):
-            self._appeared = True
-            dev_path = connection.call_sync('net.reactivated.Fprint',
+            
self._appeared_res.append(connection.call_sync('net.reactivated.Fprint',
                 '/net/reactivated/Fprint/Manager',
                 'net.reactivated.Fprint.Manager',
                 'GetDefaultDevice', None, None,
-                Gio.DBusCallFlags.NO_AUTO_START, 500, None)
-            self.assertIsNotNone(dev_path)
-            
self.assertTrue(dev_path.startswith('/net/reactivated/Fprint/Device/'))
+                Gio.DBusCallFlags.NO_AUTO_START, 500, None))
 
         id = Gio.bus_watch_name_on_connection(self.dbus,
             'net.reactivated.Fprint', Gio.BusNameWatcherFlags.NONE,
             on_name_appeared, None)
 
         self.daemon_start()
-        while not self._appeared:
+        while not self._appeared_res:
             ctx.iteration(True)
 
-        self.assertTrue(self._appeared)
+        self.assertIsNotNone(self._appeared_res[0])
+        dev_path = self._appeared_res[0][0]
+        self.assertTrue(dev_path.startswith('/net/reactivated/Fprint/Device/'))
+
         Gio.bus_unwatch_name(id)
 
 
-- 
2.29.2

++++++ fprintd-1.90.1.tar.xz -> fprintd-1.90.4.tar.bz2 ++++++
++++ 6368 lines of diff (skipped)
_______________________________________________
openSUSE Commits mailing list -- [email protected]
To unsubscribe, email [email protected]
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/[email protected]

Reply via email to