- Remove obsolete patch

This commit is contained in:
Bastien Nocera 2009-06-20 15:02:16 +00:00
parent a9966f828c
commit 0d2c78e6ff
2 changed files with 4 additions and 24 deletions

View File

@ -3,7 +3,7 @@
Name: fprintd
Version: 0.1
Release: 10.git%{short_hash}%{?dist}
Release: 11.git%{short_hash}%{?dist}
Summary: D-Bus service for Fingerprint reader access
Group: System Environment/Daemons
@ -14,8 +14,6 @@ License: GPLv2+
# ./autogen.sh && make distcheck
# mv fprintd-0.1.tar.bz2 fprintd-0.1-%{short_hash}.tar.bz2
Source0: fprintd-0.1-%{short_hash}.tar.bz2
# FIXME remove when we have a newer libfprint
Patch0: old-libfprint.patch
Patch1: 0001-Detect-when-a-device-is-disconnected.patch
# https://bugzilla.redhat.com/show_bug.cgi?id=498368
Patch2: polkit1.patch
@ -62,7 +60,6 @@ fingerprint readers access.
%prep
%setup -q -n %{name}-%{version}
%patch0 -p1
%patch1 -p1
%patch2 -p1 -b .polkit1
@ -107,6 +104,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/dbus-1/interfaces/net.reactivated.Fprint.Manager.xml
%changelog
* Sat Jun 20 2009 Bastien Nocera <bnocera@redhat.com> 0.1-11.git04fd09cfa
- Remove obsolete patch
* Tue Jun 9 2009 Matthias Clasen <mclasen@redhat.com> 0.1-10.git04fd09cfa
- Port to PolicyKit 1

View File

@ -1,20 +0,0 @@
diff --git a/src/device.c b/src/device.c
index e3f7c3b..c1fc1c3 100644
--- a/src/device.c
+++ b/src/device.c
@@ -184,11 +184,14 @@ static void fprint_device_get_property(GObject *object, guint property_id,
case FPRINT_DEVICE_SCAN_TYPE: {
const char *type;
+ //FIXME until we get a newer libfprint
+ type = "press";
+#if 0
if (fp_driver_get_scan_type (fp_dscv_dev_get_driver (priv->ddev)) == FP_SCAN_TYPE_PRESS)
type = "press";
else
type = "swipe";
-
+#endif
g_value_set_static_string (value, type);
break;
}