debian/0000755000000000000000000000000012222027422007161 5ustar debian/compat0000644000000000000000000000000212222027422010357 0ustar 9 debian/copyright0000644000000000000000000000406612222027422011122 0ustar This package was debianized by Ulises Vitulli on Fri, 19 Sep 2008 05:14:30 -0300. It was downloaded from Upstream Authors, and Copyright: Copyright © 2007 Daniel Drake Copyright © 2006-2007 Timo Hoenig Copyright © 2006 Pavel Machek Copyright © 1999 Erik Walthinsen Copyright © 2004,2006 Thomas Vander Stichele Copyright © 2007 Cyrille Bagard Copyright © 2007 Vasily Khoruzhick Copyright © 2007 Jan-Michael Brummer Copyright © 2007 Anthony Bretaudeau License: This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA The files under libfprint/nbis directory has this license: This software was developed at the National Institute of Standards and Technology (NIST) by employees of the Federal Government in the course of their official duties. Pursuant to title 17 Section 105 of the United States Code, this software is not subject to copyright protection and is in the public domain. NIST assumes no responsibility whatsoever for its use by other parties, and makes no guarantees, expressed or implied, about its quality, reliability, or any other characteristic. The Debian packaging is © 2008, Ulises Vitulli and is licensed under the LGPL v2.1, see `/usr/share/common-licenses/LGPL-2.1'. debian/docs0000644000000000000000000000002112222027422010025 0ustar README TODO NEWS debian/libfprint0.postinst0000644000000000000000000000350312222027422013040 0ustar #!/bin/sh set -e #DEBHELPER# if [ "$1" = "configure" -o "$1" = "upgrade" ] && command -V udevadm >/dev/null 2>&1; then # apply udev rules at package installation, see # # NOTA BENE: after the DEBHELPER section since dh_installudev # adds stuff there udevadm trigger --action=add --attr-match=idVendor=0483 --attr-match=idProduct=2016 udevadm trigger --action=add --attr-match=idVendor=147e --attr-match=idProduct=2016 udevadm trigger --action=add --attr-match=idVendor=147e --attr-match=idProduct=2020 udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=5501 udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=2500 udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=2580 udevadm trigger --action=add --attr-match=idVendor=045e --attr-match=idProduct=00bb udevadm trigger --action=add --attr-match=idVendor=045e --attr-match=idProduct=00bc udevadm trigger --action=add --attr-match=idVendor=045e --attr-match=idProduct=00bd udevadm trigger --action=add --attr-match=idVendor=045e --attr-match=idProduct=00ca udevadm trigger --action=add --attr-match=idVendor=05ba --attr-match=idProduct=0007 udevadm trigger --action=add --attr-match=idVendor=05ba --attr-match=idProduct=0008 udevadm trigger --action=add --attr-match=idVendor=05ba --attr-match=idProduct=000a udevadm trigger --action=add --attr-match=idVendor=061a --attr-match=idProduct=0110 udevadm trigger --action=add --attr-match=idVendor=061a --attr-match=idProduct=1000 udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=1600 udevadm trigger --action=add --attr-match=idVendor=138a --attr-match=idProduct=0001 udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=2810 fi exit 0 debian/control0000644000000000000000000000500112222027422010560 0ustar Source: libfprint Priority: extra Section: libs Maintainer: FingerForce Team Uploaders: Ulises Vitulli , Didier Raboud Build-Depends: debhelper (>= 9), autotools-dev, libtool, automake, libusb-1.0-0-dev, libssl-dev, libglib2.0-dev, libmagickcore-dev, libxv-dev, libnss3-dev Standards-Version: 3.9.4 Homepage: http://www.freedesktop.org/wiki/Software/fprint/libfprint Vcs-Browser: http://anonscm.debian.org/gitweb/?p=fingerforce/libfprint.git Vcs-Git: git://anonscm.debian.org/fingerforce/libfprint.git Package: libfprint-dev Section: libdevel Architecture: any Depends: libfprint0 (= ${binary:Version}), ${misc:Depends} Description: async fingerprint library of fprint project, development headers The fprint project aims to support for consumer fingerprint reader devices. . Previously, Linux support for such devices has been scattered amongst different projects (many incomplete) and inconsistent in that application developers would have to implement support for each type of fingerprint reader separately. The idea is to change that by providing a central system to support all the fingerprint readers as it's possible to get hands on. . libfprint is the centre of efforts, this component does the dirty job of talking to fingerprint reading devices, and processing fingerprint data. . This library depends on the new libusb, which performs asynchronous callbacks, allowing fprint to perform non-blocking device tasks. . This package provides development headers. Package: libfprint0 Architecture: any Multi-Arch: same Depends: ${shlibs:Depends}, ${misc:Depends} Pre-Depends: ${misc:Pre-Depends} Description: async fingerprint library of fprint project, shared libraries The fprint project aims to support for consumer fingerprint reader devices. . Previously, Linux support for such devices has been scattered amongst different projects (many incomplete) and inconsistent in that application developers would have to implement support for each type of fingerprint reader separately. The idea is to change that by providing a central system to support all the fingerprint readers as it's possible to get hands on. . libfprint is the centre of efforts, this component does the dirty job of talking to fingerprint reading devices, and processing fingerprint data. . This library depends on the new libusb, which performs asynchronous callbacks, allowing fprint to perform non-blocking device tasks. . This package provides shared libraries. debian/source/0000755000000000000000000000000012222027422010461 5ustar debian/source/format0000644000000000000000000000001412222027422011667 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012222027422010610 5ustar debian/patches/udev-rules-creation-add-Debian-specifics.patch0000644000000000000000000000216212222027422021403 0ustar Description: Tweak the udev rules creator for Debian usage List all devices; automatic power/control only for the non-blacklisted ones; mode and group to all. Author: Didier Raboud Origin: vendor Last-Update: 2012-06-26 --- a/libfprint/fprint-list-udev-rules.c +++ b/libfprint/fprint-list-udev-rules.c @@ -59,9 +59,6 @@ break; } } - if (blacklist) - continue; - key = g_strdup_printf ("%04x:%04x", driver->id_table[i].vendor, driver->id_table[i].product); if (g_hash_table_lookup (printed, key) != NULL) { @@ -74,7 +71,10 @@ if (num_printed == 0) printf ("# %s\n", driver->full_name); - printf ("SUBSYSTEM==\"usb\", ATTRS{idVendor}==\"%04x\", ATTRS{idProduct}==\"%04x\", ATTRS{dev}==\"*\", ATTR{power/control}=\"auto\"\n", driver->id_table[i].vendor, driver->id_table[i].product); + printf ("SUBSYSTEM==\"usb\", ATTRS{idVendor}==\"%04x\", ATTRS{idProduct}==\"%04x\", ATTRS{dev}==\"*\", ", driver->id_table[i].vendor, driver->id_table[i].product); + if (!blacklist) + printf ("ATTR{power/control}=\"auto\", "); + printf ("MODE=\"0664\", GROUP=\"plugdev\"\n"); num_printed++; } debian/patches/use-non-versionned-libusbh-path.patch0000644000000000000000000000212412222027422017746 0ustar Description: Use non-versionned libusb.h path Reference: http://thread.gmane.org/gmane.comp.lib.libusb.devel.general/11611 . Hopefully fixes the kFreeBSD FTBFS. Author: Didier Raboud Last-Update: 2013-03-03 --- a/libfprint/drivers/vfs301.c +++ b/libfprint/drivers/vfs301.c @@ -28,7 +28,7 @@ #include #include #include -#include +#include #include "vfs301_proto.h" #include --- a/libfprint/drivers/vfs301_proto.c +++ b/libfprint/drivers/vfs301_proto.c @@ -33,7 +33,7 @@ #include #include #include -#include +#include #include "vfs301_proto.h" #include "vfs301_proto_fragments.h" --- a/libfprint/drivers/vfs301_proto.h +++ b/libfprint/drivers/vfs301_proto.h @@ -18,7 +18,7 @@ * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#include +#include enum { VFS301_DEFAULT_WAIT_TIMEOUT = 300, debian/patches/series0000644000000000000000000000025012222027422012022 0ustar # Upstream backports # Debian specifics kFreeBSD_FTBFS_add_ETIME_definition.patch udev-rules-creation-add-Debian-specifics.patch use-non-versionned-libusbh-path.patch debian/patches/kFreeBSD_FTBFS_add_ETIME_definition.patch0000644000000000000000000000246712222027422020116 0ustar Description: Add missing ETIME definition for kFreeBSD flavours. Author: Steven Chamberlain Bug-Debian: http://bugs.debian.org/673704 Forwarded: not-yet Reviewed-by: Didier Raboud Last-Update: 2013-03-03 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/libfprint/drivers/uru4000.c +++ b/libfprint/drivers/uru4000.c @@ -32,6 +32,10 @@ #include "driver_ids.h" +#ifndef ETIME +#define ETIME ETIMEDOUT /* For kFreeBSD */ +#endif + #define EP_INTR (1 | LIBUSB_ENDPOINT_IN) #define EP_DATA (2 | LIBUSB_ENDPOINT_IN) #define USB_RQ 0x04 --- a/libfprint/drivers/vfs101.c +++ b/libfprint/drivers/vfs101.c @@ -27,6 +27,10 @@ #include "driver_ids.h" +#ifndef ETIME +#define ETIME ETIMEDOUT /* For kFreeBSD */ +#endif + /* Input-Output usb endpoint */ #define EP_IN(n) (n | LIBUSB_ENDPOINT_IN) #define EP_OUT(n) (n | LIBUSB_ENDPOINT_OUT) --- a/libfprint/drivers/vfs301.c +++ b/libfprint/drivers/vfs301.c @@ -21,6 +21,7 @@ #define FP_COMPONENT "vfs301" + #include #include #include @@ -36,6 +37,10 @@ #include "driver_ids.h" +#ifndef ETIME +#define ETIME ETIMEDOUT /* For kFreeBSD */ +#endif + /************************** GENERIC STUFF *************************************/ /* Callback of asynchronous sleep */ debian/libfprint0.install0000644000000000000000000000002412222027422012616 0ustar usr/lib/*/lib*.so.* debian/rules0000755000000000000000000000116412222027422010243 0ustar #!/usr/bin/make -f # Configuration arguments CONFIG_ARGS = --disable-silent-rules %: dh $@ --parallel override_dh_clean: dh_clean rm -f debian/libfprint0.udev override_dh_auto_configure: # From autogen.sh libtoolize --copy --force aclocal autoheader autoconf automake -a -c dh_auto_configure -- $(CONFIG_ARGS) override_dh_auto_install: dh_auto_install # Clear .la dependency_libs set -e; for file in `ls $(CURDIR)/debian/tmp/usr/lib/*/*.la`; do \ sed -i "/dependency_libs/ s/'.*'/''/" $$file; \ done override_dh_installudev: cp libfprint/60-fprint-autosuspend.rules debian/libfprint0.udev dh_installudev debian/libfprint-dev.install0000644000000000000000000000012612222027422013315 0ustar usr/include/* usr/lib/*/lib*.a usr/lib/*/lib*.so usr/lib/*/pkgconfig/* usr/lib/*/*.la debian/libfprint0.symbols0000644000000000000000000000453312222027422012651 0ustar libfprint.so.0 libfprint0 #MINVER# fp_async_dev_close@Base 1:0.4.0 fp_async_dev_open@Base 1:0.4.0 fp_async_enroll_start@Base 1:0.4.0 fp_async_enroll_stop@Base 1:0.4.0 fp_async_identify_start@Base 1:0.4.0 fp_async_identify_stop@Base 1:0.4.0 fp_async_verify_start@Base 1:0.4.0 fp_async_verify_stop@Base 1:0.4.0 fp_dev_close@Base 1:0.4.0 fp_dev_get_devtype@Base 1:0.4.0 fp_dev_get_driver@Base 1:0.4.0 fp_dev_get_img_height@Base 1:0.4.0 fp_dev_get_img_width@Base 1:0.4.0 fp_dev_get_nr_enroll_stages@Base 1:0.4.0 fp_dev_img_capture@Base 1:0.4.0 fp_dev_open@Base 1:0.4.0 fp_dev_supports_dscv_print@Base 1:0.4.0 fp_dev_supports_identification@Base 1:0.4.0 fp_dev_supports_imaging@Base 1:0.4.0 fp_dev_supports_print_data@Base 1:0.4.0 fp_discover_devs@Base 1:0.4.0 fp_discover_prints@Base 1:0.4.0 fp_driver_get_driver_id@Base 1:0.4.0 fp_driver_get_full_name@Base 1:0.4.0 fp_driver_get_name@Base 1:0.4.0 fp_driver_get_scan_type@Base 1:0.4.0 fp_dscv_dev_for_dscv_print@Base 1:0.4.0 fp_dscv_dev_for_print_data@Base 1:0.4.0 fp_dscv_dev_get_devtype@Base 1:0.4.0 fp_dscv_dev_get_driver@Base 1:0.4.0 fp_dscv_dev_supports_dscv_print@Base 1:0.4.0 fp_dscv_dev_supports_print_data@Base 1:0.4.0 fp_dscv_devs_free@Base 1:0.4.0 fp_dscv_print_delete@Base 1:0.4.0 fp_dscv_print_get_devtype@Base 1:0.4.0 fp_dscv_print_get_driver_id@Base 1:0.4.0 fp_dscv_print_get_finger@Base 1:0.4.0 fp_dscv_prints_free@Base 1:0.4.0 fp_enroll_finger_img@Base 1:0.4.0 fp_exit@Base 1:0.4.0 fp_get_next_timeout@Base 1:0.4.0 fp_get_pollfds@Base 1:0.4.0 fp_handle_events@Base 1:0.4.0 fp_handle_events_timeout@Base 1:0.4.0 fp_identify_finger_img@Base 1:0.4.0 fp_img_binarize@Base 1:0.4.0 fp_img_free@Base 1:0.4.0 fp_img_get_data@Base 1:0.4.0 fp_img_get_height@Base 1:0.4.0 fp_img_get_minutiae@Base 1:0.4.0 fp_img_get_width@Base 1:0.4.0 fp_img_save_to_file@Base 1:0.4.0 fp_img_standardize@Base 1:0.4.0 fp_init@Base 1:0.4.0 fp_print_data_delete@Base 1:0.4.0 fp_print_data_free@Base 1:0.4.0 fp_print_data_from_data@Base 1:0.4.0 fp_print_data_from_dscv_print@Base 1:0.4.0 fp_print_data_get_data@Base 1:0.4.0 fp_print_data_get_devtype@Base 1:0.4.0 fp_print_data_get_driver_id@Base 1:0.4.0 fp_print_data_load@Base 1:0.4.0 fp_print_data_save@Base 1:0.4.0 fp_set_debug@Base 1:0.4.0 fp_set_pollfd_notifiers@Base 1:0.4.0 fp_verify_finger_img@Base 1:0.4.0 fprint_get_drivers@Base 1:0.4.0 debian/changelog0000644000000000000000000001743212222027422011042 0ustar libfprint (1:0.5.1-1) unstable; urgency=low * New 0.5.1 upstream release: - Update patches list for 0.5.1, drop 6 patches incorporated or backported from upstream, refresh one. -- Didier Raboud Sun, 29 Sep 2013 13:41:22 +0200 libfprint (1:0.5.0-6) unstable; urgency=low [ Jeremy Bicha ] * Fix underlinking against glib - thanks to Julian Taylor (Closes: #710381, #713466) [ Didier Raboud ] * Run udevadm trigger on 147e:2020 too -- Didier Raboud Mon, 24 Jun 2013 11:24:43 +0200 libfprint (1:0.5.0-5) unstable; urgency=low * Upload to unstable with two more backports from upstream: - imgdev: fix cancelling of enrollment from stage_completed callback - upeke2: Add support for 147e:2020 ID -- Didier Raboud Sat, 18 May 2013 16:35:39 +0200 libfprint (1:0.5.0-4) experimental; urgency=low * Correct the kFreeBSD ETIME patch update to define ETIME later. -- Didier Raboud Sun, 03 Mar 2013 15:22:25 +0100 libfprint (1:0.5.0-3) experimental; urgency=low * Update kFreeBSD ETIME patch to also correct the vfs301 driver. -- Didier Raboud Sun, 03 Mar 2013 13:56:16 +0100 libfprint (1:0.5.0-2) experimental; urgency=low * Patch vfs301 driver to look for libusb.h without the versionned path, hopefully fixes the kFreeBSD FTBFS. * Bump Standards-Version to 3.9.4 without changes needed. * Only execute the udevadm commands if udevadm is in the script path, allows seamless install in chroots without udev and non-Linux. -- Didier Raboud Sun, 03 Mar 2013 12:58:41 +0100 libfprint (1:0.5.0-1) experimental; urgency=low * New 0.5.0 upstream release. [ Didier Raboud ] * Refresh all patches for 0.5.0 - Drop fix-libusb-global-variables-FTBFS.patch implemented upstream. * Backport two upstream hotfixes for uru4000: - uru4000: fix race condition on waiting power up irq - uru4000: fix cancelling of imaging from error callback [ Luca Capello ] * Apply udev rules at install time with udevadm --trigger (Closes: #683863) -- Didier Raboud Sat, 02 Mar 2013 18:52:25 +0100 libfprint (1:0.4.0-4-gdfff16f-4) unstable; urgency=low * Fix libusb global variables FTBFS. (Closes: #680838) -- Didier Raboud Mon, 09 Jul 2012 00:46:05 +0200 libfprint (1:0.4.0-4-gdfff16f-3) unstable; urgency=low * Patch the udev rules creator to: - include all devices; (Closes: #679001) - handle blacklists correctly. -- Didier Raboud Tue, 26 Jun 2012 10:52:16 +0200 libfprint (1:0.4.0-4-gdfff16f-2) unstable; urgency=low * Mark libfprint0 Multi-Arch: same. * Add patch to define ETIME for the kFreeBSD flavours. (Closes: #673704) -- Didier Raboud Mon, 21 May 2012 10:55:36 +0200 libfprint (1:0.4.0-4-gdfff16f-1) unstable; urgency=low * New upstream release snapshot. - Fix versioning with an epoch: the 0.4.0 version was released and this is indeed a post-0.4.0 upstream snapshot. * Bump debhelper Build-Depends and compat to 9. * Use short debhelper style; migrate to multiarch. * Use the built udev rules for autosuspend; append our mode and group specificities. * Add symbols tracking for libfprint0. * Update homepage to the new home at freedesktop.org. * Bump Standards-Version to 3.9.3 without changes needed. * Add Vcs-* to reflect the new Git repository. * Drop the mention of the old synchronous library from the description. * Drop useless dirs specifications. * Avoid duplication of Section snippet in control. * Add myself as uploader. -- Didier Raboud Sat, 19 May 2012 17:11:57 +0200 libfprint (20110418git-2) unstable; urgency=low * Transitioning from libmagick9 to libmagickcore (Closes: #625597, #629788). -- Ulises Vitulli Sun, 12 Jun 2011 12:22:16 -0300 libfprint (20110418git-1) unstable; urgency=low * New upstream release. * Removing resigned uploader from the Uploaders filed (Closes: #595719). * Cleaning out 'dependency_libs' for multiarch support (Closes: #620447). * Added libnss as build-depend for uru4000. * Added Validity VFS101 device support. * Bump Standard-version up to 3.9.2.0 (no changes needed). -- Ulises Vitulli Tue, 19 Apr 2011 14:58:27 -0300 libfprint (20100820git-1) unstable; urgency=low * New upstream snapshot. * Remove local patches, reported and applied on upstream side, thanks BastienNocera: - Check-return-code-from-img2print-conversion.patch. - Add-some-corrective-action-if-there-are-missing-pack.patch. - Make-the-2-right-shift-correction-happen-on-image-ha.patch. - Dont-consider-the-scan-complete-unless-there-is-atle.patch. -- Ulises Vitulli Mon, 23 Aug 2010 09:02:32 -0300 libfprint (20100819git-2) unstable; urgency=low * debian/libfprint0.udev: - Include support for uru400 (05ba:0008). - Include support for upeke2 and upeksonly (147e:2016). - Include support for Veridicom 5thSense (061a:0110). -- Ulises Vitulli Sun, 22 Aug 2010 21:48:02 -0300 libfprint (20100819git-1) unstable; urgency=low * New upstream release: - upeke2: Add support for 0x2e status code (Closes: #584563, #585179). - Don't crash when no devices are present. - Implement discover() methods for upeke2 and upeksonly. - Rework "discover" code for drivers. - Finish implementation of AES1610 driver. - Add udev rules to set devices to autosuspend. - Add gdk-pixbuf support. * Bump Standard-version up to 3.9.1. -- Ulises Vitulli Thu, 19 Aug 2010 13:30:18 -0300 libfprint (20081125git-4) unstable; urgency=low * debian/libfprint0.udev: Include support for aes2501-wy (08ff:2500). -- Ulises Vitulli Sun, 18 Apr 2010 18:34:23 -0300 libfprint (20081125git-3) unstable; urgency=low * The 'Oh-yeah!' upload: - Droping pkg from experimental, now going to unstable. * Switch to dpkg-source 3.0 (quilt) format. * Minor package updates to comply with 3.8.4 standard. - debian/control: Added misc:Depends for libfprint0+libfprint-dev. -- Ulises Vitulli Wed, 14 Apr 2010 12:00:01 -0300 libfprint (20081125git-2) experimental; urgency=low * Fix missing dependence (Closes: #539085). -- Ulises Vitulli Wed, 29 Jul 2009 08:21:37 -0300 libfprint (20081125git-1) experimental; urgency=low * Synchronized to upstream v0.1.0-pre1 release. * Upstream git checkout fixing little issues: - Fixes libtool problem. - Add more debuging support. * Minor package updates to comply with 3.8.2 standard. * Now depends on libusb-1.0. -- Ulises Vitulli Sat, 06 Jun 2009 12:00:26 -0300 libfprint (0.0.6-2) experimental; urgency=low * Fixing to non-native pkg (Closes: 481434) -- Ulises Vitulli Thu, 15 May 2008 21:56:24 -0300 libfprint (0.0.6-1) experimental; urgency=low * New upstream release (Closes: #472780). * Adding udev rule allowing 'plugdev' group access fprint known devices. -- Ulises Vitulli Wed, 26 Mar 2008 10:59:55 -0300 libfprint (0.0.5-3) experimental; urgency=low * Fixing dependences (Closes: #469813) -- Ulises Vitulli Fri, 07 Mar 2008 08:47:18 -0200 libfprint (0.0.5-2) experimental; urgency=low * Added license for nbis/* files in copyright file -- Miguel Gea Milvaques Mon, 04 Feb 2008 21:02:48 +0100 libfprint (0.0.5-1) experimental; urgency=low [ Emfox Zhou ] * Initial release (Closes: #460493, #438922) [ Miguel Gea Milvaques ] * Moved target from unstable to experimental * Lintian clean ( makefile distclean in rules) -- Miguel Gea Milvaques Sat, 02 Feb 2008 22:56:51 +0100