diff --git a/debian/changelog b/debian/changelog index ae3f46d5..b125d074 100644 --- a/debian/changelog +++ b/debian/changelog @@ -8,8 +8,10 @@ libfprint (1:1.90.0-1) UNRELEASED; urgency=medium - debian/patches/udev-rules-creation-add-Debian-specifics.patch: refreshed - Bump the soname to libfprint2 * Bump debhelper compatibility version to 12 + * Add gobject-introspection and libgirepository1.0-dev to the + build-dependencies and install the GObject introspection bindings - -- Laurent Bigonville Fri, 10 Jan 2020 02:41:03 +0100 + -- Laurent Bigonville Fri, 10 Jan 2020 02:56:26 +0100 libfprint (1:1.0-1) unstable; urgency=medium diff --git a/debian/control b/debian/control index 7bd55c47..9ef8ba5e 100644 --- a/debian/control +++ b/debian/control @@ -4,7 +4,9 @@ Section: libs Maintainer: FingerForce Team Uploaders: Ulises Vitulli , Didier Raboud Build-Depends: debhelper-compat (= 12), + gobject-introspection, gtk-doc-tools, + libgirepository1.0-dev, libglib2.0-dev (>= 2.50), libgusb-dev (>= 0.3.0), libnss3-dev, @@ -42,7 +44,9 @@ Description: async fingerprint library of fprint project, shared libraries Package: libfprint2-dev Section: libdevel Architecture: any -Depends: libfprint2 (= ${binary:Version}), ${misc:Depends} +Depends: gir1.2-fprint-2.0 (= ${binary:Version}), + libfprint2 (= ${binary:Version}), + ${misc:Depends} Suggests: libfprint-doc Description: async fingerprint library of fprint project, development headers The fprint project aims to support for consumer fingerprint reader devices. @@ -81,3 +85,27 @@ Description: async fingerprint library of fprint project, API documentation allowing fprint to perform non-blocking device tasks. . This package provides the API documentation. + +Package: gir1.2-fprint-2.0 +Architecture: any +Multi-Arch: same +Section: introspection +Depends: ${gir:Depends}, ${misc:Depends}, ${shlibs:Depends} +Pre-Depends: ${misc:Pre-Depends} +Description: async fingerprint library of fprint project, gir bindings + 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 can be used by other packages using the GIRepository format to + generate dynamic bindings. diff --git a/debian/gir1.2-fprint-2.0.install b/debian/gir1.2-fprint-2.0.install new file mode 100644 index 00000000..ccdda392 --- /dev/null +++ b/debian/gir1.2-fprint-2.0.install @@ -0,0 +1 @@ +usr/lib/*/girepository-1.0/* diff --git a/debian/libfprint2-dev.install b/debian/libfprint2-dev.install index 7df81cd9..cd5a914b 100644 --- a/debian/libfprint2-dev.install +++ b/debian/libfprint2-dev.install @@ -1,3 +1,4 @@ usr/include/* usr/lib/*/lib*.so usr/lib/*/pkgconfig/* +usr/share/gir-1.0/* diff --git a/debian/rules b/debian/rules index 13760303..fabd5b64 100755 --- a/debian/rules +++ b/debian/rules @@ -4,7 +4,7 @@ CONFIG_ARGS = -Dudev_rules_dir=/lib/udev/rules.d -Dgtk-examples=false %: - dh $@ + dh $@ --with gir override_dh_auto_configure: dh_auto_configure -- $(CONFIG_ARGS)