--- biometryd-0.0.1+16.04.20160922.3.orig/debian/VERSION +++ biometryd-0.0.1+16.04.20160922.3/debian/VERSION @@ -0,0 +1 @@ +1.0.1 \ No newline at end of file --- biometryd-0.0.1+16.04.20160922.3.orig/debian/VERSION.vivid +++ biometryd-0.0.1+16.04.20160922.3/debian/VERSION.vivid @@ -0,0 +1 @@ +0.0.1 \ No newline at end of file --- biometryd-0.0.1+16.04.20160922.3.orig/debian/biometryd-bin.install +++ biometryd-0.0.1+16.04.20160922.3/debian/biometryd-bin.install @@ -0,0 +1,3 @@ +usr/bin/biometryd +etc/dbus-1/system.d/ +etc/init/ \ No newline at end of file --- biometryd-0.0.1+16.04.20160922.3.orig/debian/changelog +++ biometryd-0.0.1+16.04.20160922.3/debian/changelog @@ -0,0 +1,56 @@ +biometryd (0.0.1+16.04.20160922.3-0ubuntu1) xenial; urgency=medium + + * Added shlibs:Depends + + -- Ken VanDine Thu, 22 Sep 2016 19:42:16 +0000 + +biometryd (0.0.1+16.10.20160628-0ubuntu4) yakkety; urgency=medium + + * Skip qml test on powerpc, segfaults. LP: #1606927 + + -- Dimitri John Ledkov Thu, 18 Aug 2016 15:44:55 +0100 + +biometryd (0.0.1+16.10.20160628-0ubuntu3) yakkety; urgency=medium + + * Cast enum to int, to use in another enum. Fixes FTBFS with gcc6. + * Rebuild for boost soname change. + + -- Dimitri John Ledkov Thu, 18 Aug 2016 11:13:07 +0100 + +biometryd (0.0.1+16.10.20160628-0ubuntu2) yakkety; urgency=medium + + * No-change rebuild for boost soname change. + + -- Matthias Klose Thu, 04 Aug 2016 08:11:16 +0000 + +biometryd (0.0.1+16.10.20160628-0ubuntu1) yakkety; urgency=medium + + * Add an initial snapcraft.yaml setup for biometryd. + * Add sphinx documentation. + + -- Thomas Voß Tue, 28 Jun 2016 06:20:19 +0000 + +biometryd (0.0.1+16.10.20160627.2-0ubuntu1) yakkety; urgency=medium + + * If default device cannot be instantiated, exit cleanly with success + to prevent respawn watchdog from triggering. + + -- Thomas Voß Mon, 27 Jun 2016 13:59:40 +0000 + +biometryd (0.0.1+16.10.20160621.1-0ubuntu1) yakkety; urgency=medium + + [ Thomas Voß ] + * Initial release. + * Verify incoming requests. (LP: #1593383) + * Immediately cancel operations instead of enqueuing cancellation. + * Only for landing purposes. + * cmds::Run now tries to make an educated guess for configuring the + default device. + * Also consider /custom/vendor/biometryd/plugins when scanning for + plugins. + + [ Ken VanDine ] + * Added COPYING file for the LGPL-3 and updated copyright for the + single file licensed under MIT + + -- Thomas Voß Tue, 21 Jun 2016 09:53:19 +0000 --- biometryd-0.0.1+16.04.20160922.3.orig/debian/compat +++ biometryd-0.0.1+16.04.20160922.3/debian/compat @@ -0,0 +1 @@ +9 --- biometryd-0.0.1+16.04.20160922.3.orig/debian/control +++ biometryd-0.0.1+16.04.20160922.3/debian/control @@ -0,0 +1,91 @@ +# This file is autogenerated. DO NOT EDIT! +# +# Modifications should be made to control.in instead. +# This file is regenerated automatically in the clean target. +# +Source: biometryd +Priority: optional +Maintainer: Ubuntu Developers +Build-Depends: cmake, + debhelper (>= 9), + doxygen, + google-mock, + graphviz, + libapparmor-dev, + libboost-filesystem-dev, + libboost-program-options-dev, + libboost-system-dev, + libboost-test-dev, + libdbus-cpp-dev (>= 4.0.0), + libdbus-1-dev, + libelf-dev, + libgtest-dev, + libprocess-cpp-dev, + libsqlite3-dev, + lsb-release, + pkg-config, + qt5-default, + qtbase5-dev, + qtdeclarative5-dev, + qtdeclarative5-dev-tools, + qtdeclarative5-test-plugin, +Standards-Version: 3.9.5 +Section: libs +Homepage: https://launchpad.net/biometryd +# if you don't have have commit access to this branch but would like to upload +# directly to Ubuntu, don't worry: your changes will be merged back into the +# upstream branch +Vcs-Bzr: lp:biometryd + +Package: libbiometryd1 +Architecture: any +Multi-Arch: same +Pre-Depends: ${misc:Pre-Depends}, +Depends: biometryd-bin, + ${misc:Depends}, + ${shlibs:Depends}, +Description: biometryd mediates/multiplexes to biometric devices - runtime library + biometryd mediates and multiplexes access to biometric devices present on the system, + enabling applications and system components to leverage them for identification and verification + of users. + . + This package includes the biometryd runtime libraries. + +Package: libbiometryd-dev +Section: libdevel +Architecture: any +Multi-Arch: same +Pre-Depends: ${misc:Pre-Depends}, +Depends: libbiometryd1 (= ${binary:Version}), + ${misc:Depends}, +Description: biometryd mediates/multiplexes to biometric devices - runtime library + biometryd mediates and multiplexes access to biometric devices present on the system, + enabling applications and system components to leverage them for identification and verification + of users. + . + This package includes all the development headers and libraries for + biometryd. + +Package: biometryd-bin +Section: devel +Architecture: any +Depends: libbiometryd1 (= ${binary:Version}), + ${misc:Depends}, +Description: biometryd mediates/multiplexes to biometric devices - daemon/helper binaries + biometryd mediates and multiplexes access to biometric devices present on the system, + enabling applications and system components to leverage them for identification and verification + of users. + . + Daemon and helper binaries to be used by services. + +Package: qml-module-biometryd +Section: devel +Architecture: any +Depends: libbiometryd1 (= ${binary:Version}), + ${misc:Depends}, +Description: biometryd mediates/multiplexes to biometric devices - QML bindings + biometryd mediates and multiplexes access to biometric devices present on the system, + enabling applications and system components to leverage them for identification and verification + of users. + . + This package contains the qtdeclarative bindings for biometryd. --- biometryd-0.0.1+16.04.20160922.3.orig/debian/control.in +++ biometryd-0.0.1+16.04.20160922.3/debian/control.in @@ -0,0 +1,88 @@ +Source: biometryd +Priority: optional +Maintainer: Ubuntu Developers +Build-Depends: cmake, + debhelper (>= 9), + doxygen, + google-mock, + graphviz, + libapparmor-dev, + libboost-filesystem-dev, + libboost-program-options-dev, + libboost-system-dev, + libboost-test-dev, + libdbus-cpp-dev (>= 4.0.0), + libdbus-1-dev, + libelf-dev, + libgtest-dev, + libprocess-cpp-dev, + libsqlite3-dev, + lsb-release, + pkg-config, + qt5-default, + qtbase5-dev, + qtdeclarative5-dev, + qtdeclarative5-dev-tools, + qtdeclarative5-test-plugin, +Standards-Version: 3.9.5 +Section: libs +Homepage: https://launchpad.net/biometryd +# if you don't have have commit access to this branch but would like to upload +# directly to Ubuntu, don't worry: your changes will be merged back into the +# upstream branch +Vcs-Bzr: lp:biometryd + +Package: libbiometryd@BIOMETRYD_SOVERSION@ +Architecture: any +Multi-Arch: same +Pre-Depends: ${misc:Pre-Depends}, +Depends: biometryd-bin, + ${misc:Depends}, + ${shlibs:Depends}, +Description: biometryd mediates/multiplexes to biometric devices - runtime library + biometryd mediates and multiplexes access to biometric devices present on the system, + enabling applications and system components to leverage them for identification and verification + of users. + . + This package includes the biometryd runtime libraries. + +Package: libbiometryd-dev +Section: libdevel +Architecture: any +Multi-Arch: same +Pre-Depends: ${misc:Pre-Depends}, +Depends: libbiometryd@BIOMETRYD_SOVERSION@ (= ${binary:Version}), + ${misc:Depends}, +Description: biometryd mediates/multiplexes to biometric devices - runtime library + biometryd mediates and multiplexes access to biometric devices present on the system, + enabling applications and system components to leverage them for identification and verification + of users. + . + This package includes all the development headers and libraries for + biometryd. + +Package: biometryd-bin +Section: devel +Architecture: any +Depends: libbiometryd@BIOMETRYD_SOVERSION@ (= ${binary:Version}), + ${misc:Depends}, + ${shlibs:Depends}, +Description: biometryd mediates/multiplexes to biometric devices - daemon/helper binaries + biometryd mediates and multiplexes access to biometric devices present on the system, + enabling applications and system components to leverage them for identification and verification + of users. + . + Daemon and helper binaries to be used by services. + +Package: qml-module-biometryd +Section: devel +Architecture: any +Depends: libbiometryd@BIOMETRYD_SOVERSION@ (= ${binary:Version}), + ${misc:Depends}, + ${shlibs:Depends}, +Description: biometryd mediates/multiplexes to biometric devices - QML bindings + biometryd mediates and multiplexes access to biometric devices present on the system, + enabling applications and system components to leverage them for identification and verification + of users. + . + This package contains the qtdeclarative bindings for biometryd. --- biometryd-0.0.1+16.04.20160922.3.orig/debian/copyright +++ biometryd-0.0.1+16.04.20160922.3/debian/copyright @@ -0,0 +1,43 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: biometryd +Source: https://launchpad.net/biometryd + +Files: * +Copyright: 2016 Canonical Ltd. +License: LGPL-3.0 + This package 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, version 3 of + the License. + . + This package 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 General Public License + along with this program. If not, see . + . + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in /usr/share/common-licenses/LGPL-3. + +Files: src/biometry/util/json.hpp +Copyright: 2013-2015 Niels Lohmann +License: MIT + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + IN THE SOFTWARE. --- biometryd-0.0.1+16.04.20160922.3.orig/debian/gen-debian-files.sh +++ biometryd-0.0.1+16.04.20160922.3/debian/gen-debian-files.sh @@ -0,0 +1,91 @@ +#!/bin/sh + +# Copyright (C) 2015 Canonical Ltd +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License version 3 as +# published by the Free Software Foundation. +# +# This program 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 program. If not, see . +# +# Authored by: Michi Henning +# Thomas Voß + +# +# Script to generate debian files for dual landing in Vivid (gcc 4.9 ABI) +# and Wily and later (gcc 5 ABI). +# +# This script is called from debian/rules and generates: +# +# - control +# - libbiometryd${soversion}.install.${target_arch} +# +# For all but control, this is a straight substition and/or renaming exercise for each file. +# For control, if building on Wily or later, we also fix the "Replaces:" and "Conflicts:" +# entries, so we don't end up with two packages claiming ownership of the same places +# in the file system. +# +# Because the debian files for the different distributions are generated on the fly, +# this allows us to keep a single source tree for both distributions. See ../HACKING +# for more explanations. +# + +set -e # Fail if any command fails. + +progname=$(basename $0) + +[ $# -ne 1 ] && { + echo "usage: $progname path-to-debian-dir" >&2 + exit 1 +} +dir=$1 +version_dir=$(mktemp -d) + +# Dump version numbers into files and initialize vars from those files. + +sh ${dir}/get-versions.sh ${dir} ${version_dir} + +full_version=$(cat "${version_dir}"/libbiometryd.full-version) +major_minor=$(cat "${version_dir}"/libbiometryd.major-minor-version) +soversion=$(cat "${version_dir}"/libbiometryd.soversion) +vivid_soversion=$(cat "${version_dir}"/libbiometryd.vivid-soversion) + +warning=$(mktemp -t gen-debian-files-msg.XXX) + +trap "rm -fr $warning $version_dir" 0 INT TERM QUIT + +warning_msg() +{ + cat >$warning < "$outfile" + +# Generate the install files, naming them according to the soversion. + +# Install file for binary package +infile="${dir}"/libbiometryd.install.in +outfile="${dir}"/libbiometryd${soversion}.install +warning_msg "$infile" +cat $warning "$infile" >"$outfile" + +exit 0 --- biometryd-0.0.1+16.04.20160922.3.orig/debian/get-versions.sh +++ biometryd-0.0.1+16.04.20160922.3/debian/get-versions.sh @@ -0,0 +1,68 @@ +#!/bin/sh + +# Copyright (C) 2015 Canonical Ltd +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License version 3 as +# published by the Free Software Foundation. +# +# This program 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 program. If not, see . +# +# Authored by: Michi Henning + +# +# Script to read the version numbers from VERSION and QT-VERSION +# and write the version components and the soversion numbers +# into separate files, so we can pick them up from both +# gen-debian-files.sh and CMakeLists.txt. +# + +set -e # Fail if any command fails. + +progname=$(basename $0) + +[ $# -lt 1 -o $# -gt 2 ] && { + echo "usage: $progname path-to-debian-dir [output-dir]" >&2 + exit 1 +} +dir=$1 +output_dir=`pwd` +[ $# -eq 2 ] && output_dir=$2 + +# Write the various version numbers into a bunch of files. This allows +# us to easily pick them up from both gen-debian-files.sh and CMakeLists.txt. + +distro=$(lsb_release -c -s) + +full_version=$(cat "${dir}"/VERSION) + +major=$(echo $full_version | cut -d'.' -f1) +minor=$(echo $full_version | cut -d'.' -f2) +micro=$(echo $full_version | cut -d'.' -f3) +major_minor="${major}.${minor}" + +vivid_full_version=$(cat "${dir}"/VERSION.vivid) +vivid_major=$(echo $vivid_full_version | cut -d'.' -f1) +vivid_soversion=$vivid_major + +if [ "$distro" = "vivid" ] +then + soversion=${vivid_soversion} +else + soversion="${major}" +fi +[ -n $soversion ] + +echo ${full_version} >${output_dir}/libbiometryd.full-version +echo ${major} >${output_dir}/libbiometryd.major-version +echo ${minor} >${output_dir}/libbiometryd.minor-version +echo ${micro} >${output_dir}/libbiometryd.micro-version +echo ${major_minor} >${output_dir}/libbiometryd.major-minor-version +echo ${soversion} >${output_dir}/libbiometryd.soversion +echo ${vivid_soversion} >${output_dir}/libbiometryd.vivid-soversion --- biometryd-0.0.1+16.04.20160922.3.orig/debian/libbiometryd-dev.install +++ biometryd-0.0.1+16.04.20160922.3/debian/libbiometryd-dev.install @@ -0,0 +1,3 @@ +usr/include/biometry/* +usr/lib/*/libbiometry.so +usr/lib/*/pkgconfig/* --- biometryd-0.0.1+16.04.20160922.3.orig/debian/libbiometryd.install.in +++ biometryd-0.0.1+16.04.20160922.3/debian/libbiometryd.install.in @@ -0,0 +1 @@ +usr/lib/*/lib*.so.* --- biometryd-0.0.1+16.04.20160922.3.orig/debian/qml-module-biometryd.install +++ biometryd-0.0.1+16.04.20160922.3/debian/qml-module-biometryd.install @@ -0,0 +1 @@ +usr/lib/*/qt5/* --- biometryd-0.0.1+16.04.20160922.3.orig/debian/rules +++ biometryd-0.0.1+16.04.20160922.3/debian/rules @@ -0,0 +1,31 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +export DPKG_GENSYMBOLS_CHECK_LEVEL=4 + +include /usr/share/dpkg/default.mk + +distro=$(shell lsb_release -c -s) + +ifeq ($(distro),vivid) + full_version=$(shell cat $(CURDIR)/debian/VERSION.vivid) +else + full_version=$(shell cat $(CURDIR)/debian/VERSION) +endif + +major=$(shell echo $(full_version) | cut -d'.' -f1) +minor=$(shell echo $(full_version) | cut -d'.' -f2) +patch=$(shell echo $(full_version) | cut -d'.' -f3) + +# The home directory of user buildd does not exist on the builders +export XDG_DATA_HOME=/tmp + +%: + dh $@ --fail-missing + +override_dh_auto_configure: + dh_auto_configure -- -DBIOMETRYD_VERSION_MAJOR=$(major) -DBIOMETRYD_VERSION_MINOR=$(minor) -DBIOMETRYD_VERSION_PATCH=$(patch) -DDEB_TARGET_ARCH=$(DEB_TARGET_ARCH) + +override_dh_auto_clean: + /bin/sh $(CURDIR)/debian/gen-debian-files.sh $(CURDIR)/debian + dh_auto_clean