From ffe0b4732ed263f7b6fa49691f172beea898a004 Mon Sep 17 00:00:00 2001 From: Ulises Vitulli Date: Mon, 13 Oct 2008 20:13:36 +0000 Subject: [PATCH] Near an acceptable status --- debian/control | 14 ++++++++++++-- debian/rules | 19 +++++++++---------- 2 files changed, 21 insertions(+), 12 deletions(-) diff --git a/debian/control b/debian/control index a009a279..5b895511 100644 --- a/debian/control +++ b/debian/control @@ -11,7 +11,8 @@ Package: libfprint-dev Section: libdevel Architecture: any Depends: libfprint0 (= ${binary:Version}) -Description: fingerprint library of fprint project, development headers +Conflicts: libfprint0-old +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 @@ -24,13 +25,18 @@ Description: fingerprint library of fprint project, development headers work of talking to fingerprint reading devices, and processing fingerprint data. . + This library is based on new aproach of libusb-1.0, which handles asynchronous + callback model allowing to perform a non-blocking device task. Old synchronous + library has been renamed to libfprint-old. + . This package provides development headers. Package: libfprint0 Section: libs Architecture: any Depends: ${shlibs:Depends} -Description: fingerprint library of fprint project, shared libraries +Conflicts: libfprint0-old +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 @@ -43,4 +49,8 @@ Description: fingerprint library of fprint project, shared libraries work of talking to fingerprint reading devices, and processing fingerprint data. . + This library is based on new aproach of libusb-1.0, which handles asynchronous + callback model allowing to perform a non-blocking device task. Old synchronous + library has been renamed to libfprint-old. + . This package provides shared libraries. diff --git a/debian/rules b/debian/rules index 9f8dc6e2..c86f8dfd 100755 --- a/debian/rules +++ b/debian/rules @@ -13,7 +13,7 @@ # from having to guess our platform (since we know it already) DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) - + config.status: configure dh_testdir # Add here commands to configure the package. @@ -23,27 +23,25 @@ endif ifneq "$(wildcard /usr/share/misc/config.guess)" "" cp -f /usr/share/misc/config.guess config.guess endif - ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" + ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-z,defs" build: build-stamp build-stamp: config.status dh_testdir - + # Add here commands to compile the package. $(MAKE) - + touch $@ clean: dh_testdir dh_testroot - rm -f build-stamp - + rm -f build-stamp config.sub config.guess + # Add here commands to clean up after the build process. [ ! -f Makefile ] || $(MAKE) distclean - rm -f config.sub config.guess - dh_clean install: build @@ -51,7 +49,7 @@ install: build dh_testroot dh_clean -k dh_installdirs - + # Add here commands to install the package into debian/tmp $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install @@ -68,6 +66,7 @@ binary-arch: build install dh_installdocs dh_install --sourcedir=debian/tmp dh_installman + dh_installchangelogs dh_link dh_strip dh_compress @@ -80,4 +79,4 @@ binary-arch: build install dh_builddeb binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install +.PHONY: build binary-indep binary-arch binary install