Compare commits
10 Commits
b0ccaef332
...
6f9284c919
| Author | SHA1 | Date | |
|---|---|---|---|
| 6f9284c919 | |||
|
|
4f101d393e | ||
|
|
c701ce89fb | ||
|
|
6305b23e25 | ||
|
|
098d70baba | ||
|
|
7eb880c0d6 | ||
|
|
c5acc46125 | ||
|
|
7d22b98997 | ||
|
|
dc9e86e1e3 | ||
|
|
dc82faf4a4 |
4
.gitignore
vendored
4
.gitignore
vendored
@@ -19,3 +19,7 @@ libfprint-0.3.0.tar.bz2
|
||||
/libfprint-v1.94.0.tar.gz
|
||||
/libfprint-v1.94.1.tar.gz
|
||||
/libfprint-v1.94.2.tar.gz
|
||||
/libfprint-v1.94.3.tar.gz
|
||||
/libfprint-v1.94.4.tar.gz
|
||||
/libfprint-v1.94.5.tar.gz
|
||||
/libfprint-v1.94.6.tar.gz
|
||||
|
||||
24
goodix-6512.patch
Normal file
24
goodix-6512.patch
Normal file
@@ -0,0 +1,24 @@
|
||||
diff --git a/data/autosuspend.hwdb b/data/autosuspend.hwdb
|
||||
index d27813b..8fee711 100644
|
||||
--- a/data/autosuspend.hwdb
|
||||
+++ b/data/autosuspend.hwdb
|
||||
@@ -209,6 +209,7 @@ usb:v27C6p6594*
|
||||
usb:v27C6p659A*
|
||||
usb:v27C6p659C*
|
||||
usb:v27C6p6A94*
|
||||
+usb:v27C6p6512*
|
||||
ID_AUTOSUSPEND=1
|
||||
ID_PERSIST=0
|
||||
|
||||
diff --git a/libfprint/drivers/goodixmoc/goodix.c b/libfprint/drivers/goodixmoc/goodix.c
|
||||
index 24d491d..9122efb 100644
|
||||
--- a/libfprint/drivers/goodixmoc/goodix.c
|
||||
+++ b/libfprint/drivers/goodixmoc/goodix.c
|
||||
@@ -1636,6 +1636,7 @@ static const FpIdEntry id_table[] = {
|
||||
{ .vid = 0x27c6, .pid = 0x659A, },
|
||||
{ .vid = 0x27c6, .pid = 0x659C, },
|
||||
{ .vid = 0x27c6, .pid = 0x6A94, },
|
||||
+ { .vid = 0x27c6, .pid = 0x6512, },
|
||||
{ .vid = 0, .pid = 0, .driver_data = 0 }, /* terminating entry */
|
||||
};
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
Name: libfprint
|
||||
|
||||
Version: 1.94.2
|
||||
Version: 1.94.6.mr494
|
||||
Release: %autorelease
|
||||
Summary: Toolkit for fingerprint scanner
|
||||
|
||||
License: LGPLv2+
|
||||
URL: http://www.freedesktop.org/wiki/Software/fprint/libfprint
|
||||
Source0: https://gitlab.freedesktop.org/libfprint/libfprint/-/archive/v%{version}/libfprint-v%{version}.tar.gz
|
||||
Source0: https://gitlab.freedesktop.org/libfprint/libfprint/-/archive/v1.94.6/libfprint-v1.94.6.tar.gz
|
||||
ExcludeArch: s390 s390x
|
||||
|
||||
BuildRequires: meson
|
||||
@@ -27,23 +27,25 @@ BuildRequires: gobject-introspection-devel
|
||||
BuildRequires: python3-cairo python3-gobject cairo-devel
|
||||
BuildRequires: umockdev >= 0.13.2
|
||||
|
||||
Patch0: goodix-6512.patch
|
||||
|
||||
%description
|
||||
libfprint offers support for consumer fingerprint reader devices.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}%{?_isa} = 1.94.6-%{release}
|
||||
|
||||
%description devel
|
||||
The %{name}-devel package contains libraries and header files for
|
||||
developing applications that use %{name}.
|
||||
|
||||
%prep
|
||||
%autosetup -S git -n libfprint-v%{version}
|
||||
%autosetup -S git -n libfprint-v1.94.6
|
||||
|
||||
%build
|
||||
# Include the virtual image driver for integration tests
|
||||
%meson -Ddrivers=all
|
||||
%meson -Ddrivers=all -Dinstalled-tests=false
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
@@ -56,7 +58,7 @@ developing applications that use %{name}.
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%doc NEWS TODO THANKS AUTHORS README
|
||||
%doc NEWS THANKS AUTHORS README.md
|
||||
%{_libdir}/*.so.*
|
||||
%{_libdir}/girepository-1.0/*.typelib
|
||||
%{_udevhwdbdir}/60-autosuspend-libfprint-2.hwdb
|
||||
|
||||
2
sources
2
sources
@@ -1 +1 @@
|
||||
SHA512 (libfprint-v1.94.2.tar.gz) = d18dd86652f18f3157eea5a3e66ed7b4e352b1cd7b8d4ec56d464bc044ee138cac8d09ace9a3259c2736cab84505e0c10bd192088295a11220fd03d5230cf499
|
||||
SHA512 (libfprint-v1.94.6.tar.gz) = 99cfce5828d7df771bfc1fd92ad357b76c265bc96443af3398c415d2bb54a931fa3018811c59ceb62b43ef416b430db4acf324aa1dca4f374eaef1f1595a154a
|
||||
|
||||
Reference in New Issue
Block a user