Skip to content

Commit dfa8401

Browse files
committed
Revert "Merge pull request #1 from freedesktop/master"
This reverts commit 89ecba4, reversing changes made to 5a963b7.
1 parent 89ecba4 commit dfa8401

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+247
-3120
lines changed

.gitlab-ci.yml

Lines changed: 9 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
include:
2-
- local: '.gitlab-ci/libfprint-image-variables.yaml'
32
- local: '.gitlab-ci/libfprint-templates.yaml'
43
- project: 'freedesktop/ci-templates'
54
ref: master
@@ -8,15 +7,14 @@ include:
87

98
variables:
109
extends: .libfprint_common_variables
11-
FDO_DISTRIBUTION_TAG: $LIBFPRINT_IMAGE_TAG
10+
FDO_DISTRIBUTION_TAG: latest
1211
FDO_DISTRIBUTION_VERSION: rawhide
1312
FDO_UPSTREAM_REPO: "libfprint/$CI_PROJECT_NAME"
1413
FEDORA_IMAGE: "$CI_REGISTRY/libfprint/$CI_PROJECT_NAME/fedora/$FDO_DISTRIBUTION_VERSION:$FDO_DISTRIBUTION_TAG"
1514
BUNDLE: "org.freedesktop.libfprint.Demo.flatpak"
1615
LAST_ABI_BREAK: "056ea541ddc97f5806cffbd99a12dc87e4da3546"
1716

1817
stages:
19-
- image-build
2018
- check-source
2119
- build
2220
- test
@@ -71,11 +69,6 @@ test:
7169
- ninja -C _build coverage
7270
- cat _build/meson-logs/coverage.txt
7371
artifacts:
74-
reports:
75-
junit: "_build/meson-logs/testlog.junit.xml"
76-
coverage_report:
77-
coverage_format: cobertura
78-
path: _build/meson-logs/coverage.xml
7972
expose_as: 'Coverage Report'
8073
when: always
8174
paths:
@@ -94,8 +87,6 @@ test_valgrind:
9487
- ninja -C _build
9588
- meson test -C _build --print-errorlogs --no-stdsplit --setup=valgrind
9689
artifacts:
97-
reports:
98-
junit: "_build/meson-logs/testlog.junit.xml"
9990
expose_as: 'Valgrind test logs'
10091
when: always
10192
paths:
@@ -127,7 +118,7 @@ test_indent:
127118
script:
128119
- scripts/uncrustify.sh
129120
- git diff
130-
- git diff-index --name-only --exit-code HEAD
121+
- "! git status -s | grep -q ."
131122

132123
test_unsupported_list:
133124
stage: check-source
@@ -141,8 +132,7 @@ test_unsupported_list:
141132
flatpak:
142133
stage: flatpak
143134
extends: .flatpak
144-
# From https://gitlab.gnome.org/GNOME/gnome-runtime-images/container_registry
145-
image: registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:42
135+
image: registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:3.36
146136
variables:
147137
MANIFEST_PATH: "demo/org.freedesktop.libfprint.Demo.json"
148138
FLATPAK_MODULE: "libfprint"
@@ -163,12 +153,11 @@ flatpak:
163153
allow_failure: true
164154

165155
# CONTAINERS creation stage
166-
.container_fedora_build_base:
156+
container_fedora_build:
167157
extends: .fdo.container-build@fedora
168-
stage: image-build
169158
only:
170159
variables:
171-
- $CI_PIPELINE_SOURCE == "never"
160+
- $CI_PIPELINE_SOURCE == "schedule" && $CRON_TASK == "BUILD_CI_IMAGES"
172161
variables:
173162
GIT_STRATEGY: none # no need to pull the whole tree for rebuilding the image
174163
FDO_FORCE_REBUILD: 1
@@ -179,27 +168,7 @@ flatpak:
179168
libpcap-devel
180169
libudev-devel
181170
FDO_DISTRIBUTION_EXEC: |
182-
$LIBFPRINT_EXEC
183-
184-
container_fedora_build_schedule:
185-
extends: .container_fedora_build_base
186-
only:
187-
variables:
188-
- $CI_PIPELINE_SOURCE == "schedule" && $CRON_TASK == "BUILD_CI_IMAGES"
189-
190-
container_fedora_build_manual:
191-
extends: .container_fedora_build_base
192-
only:
193-
variables:
194-
- $LIBFPRINT_CI_ACTION == "build-image"
195-
196-
container_fedora_build_on_deps_changed:
197-
extends: .container_fedora_build_base
198-
only:
199-
variables:
200-
- $CI_PROJECT_NAMESPACE == "libfprint" && $CI_PIPELINE_SOURCE != "schedule"
201-
refs:
202-
- branches
203-
- merge_requests
204-
changes:
205-
- .gitlab-ci/libfprint-image-variables.yaml
171+
git clone https://github.com/martinpitt/umockdev.git && \
172+
cd umockdev && \
173+
meson _build --prefix=/usr && \
174+
ninja -C _build && ninja -C _build install

.gitlab-ci/libfprint-image-variables.yaml

Lines changed: 0 additions & 2 deletions
This file was deleted.

.gitlab-ci/libfprint-templates.yaml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
1-
# Bump image version on .gitlab-ci/libfprint-image-variables.yaml to trigger
2-
# a rebuild on changes to this file
3-
41
.libfprint_common_variables:
52
LIBFPRINT_DEPENDENCIES:
63
doxygen
7-
dnf-plugins-core
84
flatpak-builder
95
gcc
106
gcc-c++
@@ -31,17 +27,3 @@
3127
valgrind
3228
clang-analyzer
3329
diffutils
34-
35-
LIBFPRINT_EXEC: |
36-
dnf debuginfo-install -y \
37-
glib2 \
38-
glibc \
39-
libgusb \
40-
libusb \
41-
nss \
42-
pixman
43-
44-
git clone https://github.com/martinpitt/umockdev.git && \
45-
cd umockdev && \
46-
meson _build --prefix=/usr && \
47-
ninja -C _build && ninja -C _build install

NEWS

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,6 @@
11
This file lists notable changes in each release. For the full history of all
22
changes, see ChangeLog.
33

4-
2022-10-13: v1.94.5 release
5-
6-
Highlights:
7-
* New driver: fpcmoc, supporting various FPC MOC Fingerprint Sensors
8-
* goodixmoc: New PIDs 0x6014, 0x6094, 0x631C, 0x634C, 0x6384, 0x659A.
9-
* goodixmoc: Support resetting device on firmware failure due to corrupted DB.
10-
* elanmoc: New PIDs 0x0c88, 0x0c8c, 0x0c8d.
11-
* synaptics: New PID 0x0104.
12-
* upektc: New PID 0x2017.
13-
* Fixed various memory leaks
14-
* More tests
15-
164
2022-05-24: v1.94.4 release
175

186
Highlights:

README.md

Lines changed: 38 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -1,86 +1,54 @@
1+
# libfprint
12

2-
3-
<div align="center">
4-
5-
# LibFPrint
6-
7-
*LibFPrint is part of the **[FPrint][Website]** project.*
8-
9-
<br/>
10-
11-
[![Button Website]][Website]
12-
[![Button Documentation]][Documentation]
13-
14-
[![Button Supported]][Supported]
15-
[![Button Unsupported]][Unsupported]
16-
17-
[![Button Contribute]][Contribute]
18-
[![Button Contributors]][Contributors]
19-
20-
</div>
3+
libfprint is part of the fprint project:
4+
https://fprint.freedesktop.org/
215

226
## History
237

24-
**LibFPrint** was originally developed as part of an
25-
academic project at the **[University Of Manchester]**.
26-
27-
It aimed to hide the differences between consumer
28-
fingerprint scanners and provide a single uniform
29-
API to application developers.
30-
31-
## Goal
8+
libfprint was originally developed as part of an academic project at the
9+
University of Manchester with the aim of hiding differences between different
10+
consumer fingerprint scanners and providing a single uniform API to application
11+
developers. The ultimate goal of the fprint project is to make fingerprint
12+
scanners widely and easily usable under common Linux environments.
3213

33-
The ultimate goal of the **FPrint** project is to make
34-
fingerprint scanners widely and easily usable under
35-
common Linux environments.
14+
The academic university project runs off a codebase maintained separately
15+
from this one, although I try to keep them as similar as possible (I'm not
16+
hiding anything in the academic branch, it's just the open source release
17+
contains some commits excluded from the academic project).
3618

3719
## License
3820

39-
`Section 6` of the license states that for compiled works that use
40-
this library, such works must include **LibFPrint** copyright notices
41-
alongside the copyright notices for the other parts of the work.
42-
43-
**LibFPrint** includes code from **NIST's** **[NBIS]** software distribution.
44-
45-
We include **Bozorth3** from the **[US Export Controlled]**
46-
distribution, which we have determined to be fine
47-
being shipped in an open source project.
48-
49-
<br/>
50-
51-
<div align="right">
52-
53-
[![Badge License]][License]
54-
55-
</div>
56-
57-
58-
<!----------------------------------------------------------------------------->
59-
60-
[Documentation]: https://fprint.freedesktop.org/libfprint-dev/
61-
[Contributors]: https://gitlab.freedesktop.org/libfprint/libfprint/-/graphs/master
62-
[Unsupported]: https://gitlab.freedesktop.org/libfprint/wiki/-/wikis/Unsupported-Devices
63-
[Supported]: https://fprint.freedesktop.org/supported-devices.html
64-
[Website]: https://fprint.freedesktop.org/
21+
THE UNIVERSITY OF MANCHESTER DOES NOT ENDORSE THIS THIS SOFTWARE RELEASE AND
22+
IS IN NO WAY RESPONSIBLE FOR THE CODE CONTAINED WITHIN, OR ANY DAMAGES CAUSED
23+
BY USING OR DISTRIBUTING THE SOFTWARE. Development does not happen on
24+
university computers and the project is not hosted at the university either.
6525

66-
[Contribute]: ./HACKING.md
67-
[License]: ./COPYING
26+
For more information on libfprint, supported devices, API documentation, etc.,
27+
see the homepage:
28+
https://fprint.freedesktop.org/
6829

69-
[University Of Manchester]: https://www.manchester.ac.uk/
70-
[US Export Controlled]: https://fprint.freedesktop.org/us-export-control.html
71-
[NBIS]: http://fingerprint.nist.gov/NBIS/index.html
30+
libfprint is licensed under the GNU LGPL version 2.1. See the COPYING file
31+
for the license text.
7232

33+
Section 6 of the license states that for compiled works that use this
34+
library, such works must include libfprint copyright notices alongside the
35+
copyright notices for the other parts of the work. We have attempted to
36+
make this process slightly easier for you by grouping these all in one place:
37+
the AUTHORS file.
7338

74-
<!---------------------------------[ Badges ]---------------------------------->
39+
libfprint includes code from NIST's NBIS software distribution:
40+
http://fingerprint.nist.gov/NBIS/index.html
41+
We include bozorth3 from the US export controlled distribution. We have
42+
determined that it is fine to ship bozorth3 in an open source project,
43+
see https://fprint.freedesktop.org/us-export-control.html
7544

76-
[Badge License]: https://img.shields.io/badge/License-LGPL2.1-015d93.svg?style=for-the-badge&labelColor=blue
45+
## Historical links
7746

47+
Older versions of libfprint are available at:
48+
https://sourceforge.net/projects/fprint/files/
7849

79-
<!---------------------------------[ Buttons ]--------------------------------->
50+
Historical mailing-list archives:
51+
http://www.reactivated.net/fprint_list_archives/
8052

81-
[Button Documentation]: https://img.shields.io/badge/Documentation-04ACE6?style=for-the-badge&logoColor=white&logo=BookStack
82-
[Button Contributors]: https://img.shields.io/badge/Contributors-FF4F8B?style=for-the-badge&logoColor=white&logo=ActiGraph
83-
[Button Unsupported]: https://img.shields.io/badge/Unsupported_Devices-EF2D5E?style=for-the-badge&logoColor=white&logo=AdBlock
84-
[Button Contribute]: https://img.shields.io/badge/Contribute-66459B?style=for-the-badge&logoColor=white&logo=Git
85-
[Button Supported]: https://img.shields.io/badge/Supported_Devices-428813?style=for-the-badge&logoColor=white&logo=AdGuard
86-
[Button Website]: https://img.shields.io/badge/Homepage-3B80AE?style=for-the-badge&logoColor=white&logo=freedesktopDotOrg
53+
Historical website:
54+
http://web.archive.org/web/*/https://www.freedesktop.org/wiki/Software/fprint/

data/autosuspend.hwdb

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,6 @@ usb:v04F3p0C7D*
147147
usb:v04F3p0C7E*
148148
usb:v04F3p0C82*
149149
usb:v04F3p0C88*
150-
usb:v04F3p0C8C*
151-
usb:v04F3p0C8D*
152150
ID_AUTOSUSPEND=1
153151
ID_PERSIST=0
154152

@@ -157,24 +155,10 @@ usb:v1C7Ap0603*
157155
ID_AUTOSUSPEND=1
158156
ID_PERSIST=0
159157

160-
# Supported by libfprint driver fpcmoc
161-
usb:v10A5pFFE0*
162-
usb:v10A5pA305*
163-
usb:v10A5pDA04*
164-
usb:v10A5pD805*
165-
usb:v10A5pD205*
166-
ID_AUTOSUSPEND=1
167-
ID_PERSIST=0
168-
169158
# Supported by libfprint driver goodixmoc
170159
usb:v27C6p5840*
171-
usb:v27C6p6014*
172-
usb:v27C6p6094*
173160
usb:v27C6p609C*
174161
usb:v27C6p60A2*
175-
usb:v27C6p631C*
176-
usb:v27C6p634C*
177-
usb:v27C6p6384*
178162
usb:v27C6p639C*
179163
usb:v27C6p63AC*
180164
usb:v27C6p63BC*
@@ -184,7 +168,6 @@ usb:v27C6p6584*
184168
usb:v27C6p658C*
185169
usb:v27C6p6592*
186170
usb:v27C6p6594*
187-
usb:v27C6p659A*
188171
usb:v27C6p659C*
189172
usb:v27C6p6A94*
190173
ID_AUTOSUSPEND=1
@@ -209,7 +192,6 @@ usb:v06CBp0126*
209192
usb:v06CBp0129*
210193
usb:v06CBp0168*
211194
usb:v06CBp015F*
212-
usb:v06CBp0104*
213195
ID_AUTOSUSPEND=1
214196
ID_PERSIST=0
215197

@@ -222,7 +204,6 @@ usb:v147Ep1001*
222204

223205
# Supported by libfprint driver upektc
224206
usb:v0483p2015*
225-
usb:v0483p2017*
226207
usb:v147Ep3001*
227208
ID_AUTOSUSPEND=1
228209
ID_PERSIST=0
@@ -284,13 +265,7 @@ usb:v04F3p0C00*
284265
usb:v04F3p0C4C*
285266
usb:v04F3p0C57*
286267
usb:v04F3p0C5E*
287-
usb:v04F3p0C5A*
288-
usb:v04F3p0C70*
289-
usb:v04F3p0C72*
290268
usb:v04F3p2706*
291-
usb:v04F3p3057*
292-
usb:v04F3p3104*
293-
usb:v04F3p310D*
294269
usb:v06CBp0081*
295270
usb:v06CBp0088*
296271
usb:v06CBp008A*
@@ -345,32 +320,26 @@ usb:v1C7Ap0576*
345320
usb:v27C6p5042*
346321
usb:v27C6p5110*
347322
usb:v27C6p5117*
348-
usb:v27C6p5120*
349323
usb:v27C6p5125*
350324
usb:v27C6p5201*
351325
usb:v27C6p521D*
352326
usb:v27C6p5301*
353327
usb:v27C6p530C*
354328
usb:v27C6p532D*
355-
usb:v27C6p5335*
356329
usb:v27C6p533C*
357330
usb:v27C6p5381*
358331
usb:v27C6p5385*
359332
usb:v27C6p538C*
360333
usb:v27C6p538D*
361334
usb:v27C6p5395*
362335
usb:v27C6p5503*
363-
usb:v27C6p550A*
364-
usb:v27C6p550C*
365336
usb:v27C6p5584*
366337
usb:v27C6p55A2*
367338
usb:v27C6p55A4*
368339
usb:v27C6p55B4*
369340
usb:v27C6p5740*
370341
usb:v27C6p5E0A*
371-
usb:v27C6p581A*
372342
usb:v2808p9338*
373-
usb:v2808p93A9*
374343
usb:v298Dp2020*
375344
usb:v298Dp2033*
376345
usb:v3538p0930*

0 commit comments

Comments
 (0)