From d1408736bb1faa63603ec7509e98b3eb143e55bd Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Jan 21 2021 06:09:55 +0000 Subject: import fprintd-1.90.9-1.el8 --- diff --git a/.fprintd.metadata b/.fprintd.metadata index 12b9f66..9416b2a 100644 --- a/.fprintd.metadata +++ b/.fprintd.metadata @@ -1 +1 @@ -aa69a676e748454c4cce49b3613caac9e0ae2f37 SOURCES/fprintd-v1.90.8.tar.gz +3d291f83deebd254b23fcd5fa4ef108afe94e82d SOURCES/fprintd-v1.90.9.tar.gz diff --git a/.gitignore b/.gitignore index 70057b1..aad6c19 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/fprintd-v1.90.8.tar.gz +SOURCES/fprintd-v1.90.9.tar.gz diff --git a/SOURCES/0001-Add-compatibility-defines-to-allow-compiling-with-ol.patch b/SOURCES/0001-Add-compatibility-defines-to-allow-compiling-with-ol.patch deleted file mode 100644 index 14fdbe7..0000000 --- a/SOURCES/0001-Add-compatibility-defines-to-allow-compiling-with-ol.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 32ee94c8a0079ee83a1b7d3910b1bbc6ccd8c747 Mon Sep 17 00:00:00 2001 -From: Benjamin Berg -Date: Mon, 14 Dec 2020 11:30:45 +0100 -Subject: [PATCH] Add compatibility defines to allow compiling with older glib - -We need at least the GFlagsClass autoptr, but just pull in most of the -definitions from libfprint. ---- - src/fprintd.h | 15 +++++++++++++++ - 1 file changed, 15 insertions(+) - -diff --git a/src/fprintd.h b/src/fprintd.h -index 4075bc2..63a742e 100644 ---- a/src/fprintd.h -+++ b/src/fprintd.h -@@ -91,3 +91,18 @@ FprintDevice *fprint_device_new (FpDevice *dev); - guint32 _fprint_device_get_id (FprintDevice *rdev); - /* Print */ - /* TODO */ -+ -+ -+/* Some compatibility definitions for older GLib. Copied from from libfprint. */ -+#if !GLIB_CHECK_VERSION (2, 57, 0) -+G_DEFINE_AUTOPTR_CLEANUP_FUNC (GTypeClass, g_type_class_unref); -+G_DEFINE_AUTOPTR_CLEANUP_FUNC (GEnumClass, g_type_class_unref); -+G_DEFINE_AUTOPTR_CLEANUP_FUNC (GFlagsClass, g_type_class_unref); -+G_DEFINE_AUTOPTR_CLEANUP_FUNC (GParamSpec, g_param_spec_unref); -+#else -+/* Re-define G_SOURCE_FUNC as we are technically not allowed to use it with -+ * the version we depend on currently. */ -+#undef G_SOURCE_FUNC -+#endif -+ -+#define G_SOURCE_FUNC(f) ((GSourceFunc) (void (*)(void))(f)) --- -2.26.2 - diff --git a/SPECS/fprintd.spec b/SPECS/fprintd.spec index 034d238..85113cd 100644 --- a/SPECS/fprintd.spec +++ b/SPECS/fprintd.spec @@ -1,6 +1,6 @@ Name: fprintd -Version: 1.90.8 +Version: 1.90.9 Release: 1%{?dist} Summary: D-Bus service for Fingerprint reader access @@ -27,7 +27,6 @@ BuildRequires: pam_wrapper # We cannot run the tests as python3-dbusmock and python3-libpamtest are missing Patch0001: 0001-disable-test-dependencies.patch -Patch0002: 0001-Add-compatibility-defines-to-allow-compiling-with-ol.patch %description D-Bus service to access fingerprint readers. @@ -109,6 +108,16 @@ fi %{_datadir}/dbus-1/interfaces/net.reactivated.Fprint.Manager.xml %changelog +* Wed Jan 20 14:13:55 CET 2021 Benjamin Berg - 1.90.9-1 +- Update to fprintd 1.90.9 + Fixes: #1907766 + Fixes: #1907954 + Related: #1888181 + +* Tue Dec 15 2020 Benjamin Berg - 1.90.8-2 +- Fix build with --nocheck + Resolves: #1907766 + * Mon Dec 14 2020 Benjamin Berg - 1.90.8-1 - Update to fprintd 1.90.8 Related: #1888181