mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
499de3e442dc38f1f179170e7b3acc21303cdc51
This function was always documented to return a sunk reference, but it did not do so. This change is technically backward incompatible. However, it only has an effect if anything is doing a g_object_ref_sink. Which may happen inside libfprint itself. With the change, most API users (including fprintd) are fixed to do refcounting correctly. Any API user which worked around this will have a memory leak now. That is not ideal, but it is not really that bad overall. And returning a floating reference for FpPrint creation was a bad idea in the first place. And it really only makes sense for fp_print_new as the only (public) use case is to create the template for enrollment.
libfprint ========= libfprint is part of the fprint project: https://fprint.freedesktop.org/ libfprint was originally developed as part of an academic project at the University of Manchester with the aim of hiding differences between different consumer fingerprint scanners and providing a single uniform API to application developers. The ultimate goal of the fprint project is to make fingerprint scanners widely and easily usable under common Linux environments. The academic university project runs off a codebase maintained separately from this one, although I try to keep them as similar as possible (I'm not hiding anything in the academic branch, it's just the open source release contains some commits excluded from the academic project). THE UNIVERSITY OF MANCHESTER DOES NOT ENDORSE THIS THIS SOFTWARE RELEASE AND IS IN NO WAY RESPONSIBLE FOR THE CODE CONTAINED WITHIN, OR ANY DAMAGES CAUSED BY USING OR DISTRIBUTING THE SOFTWARE. Development does not happen on university computers and the project is not hosted at the university either. For more information on libfprint, supported devices, API documentation, etc., see the homepage: https://fprint.freedesktop.org/ libfprint is licensed under the GNU LGPL version 2.1. See the COPYING file for the license text. Section 6 of the license states that for compiled works that use this library, such works must include libfprint copyright notices alongside the copyright notices for the other parts of the work. We have attempted to make this process slightly easier for you by grouping these all in one place: the AUTHORS file. libfprint includes code from NIST's NBIS software distribution: http://fingerprint.nist.gov/NBIS/index.html We include bozorth3 from the US export controlled distribution. We have determined that it is fine to ship bozorth3 in an open source project, see https://fprint.freedesktop.org/us-export-control.html ## Historical links Older versions of libfprint are available at: https://sourceforge.net/projects/fprint/files/ Historical mailing-list archives: http://www.reactivated.net/fprint_list_archives/ Historical website: http://web.archive.org/web/*/https://www.freedesktop.org/wiki/Software/fprint/
Description
Library for fingerprint readers
For unsupported devices, please see/edit https://gitlab.freedesktop.org/libfprint/wiki/-/wikis/Unsupported%20Devices
Do **not** open issues for unsupported devices that are already listed in the wiki page. For other devices, please simply add them to the wiki rather than opening a bug report here. Opening an issue to ask for a driver will not have any effect other than taking time from developers who need to close the issue again.
Languages
C
95.7%
Python
3.1%
Meson
0.9%
Shell
0.2%