diff options
author | Mikle Kolyada <zlogene@gentoo.org> | 2018-09-02 18:16:00 +0300 |
---|---|---|
committer | Mikle Kolyada <zlogene@gentoo.org> | 2018-09-02 18:16:00 +0300 |
commit | b0cc774cd0ea9c63eb61c69d373998420e1fcc72 (patch) | |
tree | a452cc2317099531439a86c7b9815c9416d1faae /sys-auth | |
parent | sys-auth/libfprint: Add myself as maintainer (diff) | |
download | gentoo-b0cc774cd0ea9c63eb61c69d373998420e1fcc72.tar.gz gentoo-b0cc774cd0ea9c63eb61c69d373998420e1fcc72.tar.bz2 gentoo-b0cc774cd0ea9c63eb61c69d373998420e1fcc72.zip |
sys-auth/libfprint: Version bump (v0.8.2)
- migrate to meson
- make functions call explicit
Closes: https://bugs.gentoo.org/634242
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'sys-auth')
-rw-r--r-- | sys-auth/libfprint/Manifest | 1 | ||||
-rw-r--r-- | sys-auth/libfprint/files/libfprint-0.8.2-fix-implicit-declaration.patch | 194 | ||||
-rw-r--r-- | sys-auth/libfprint/libfprint-0.8.2.ebuild | 42 | ||||
-rw-r--r-- | sys-auth/libfprint/metadata.xml | 2 |
4 files changed, 238 insertions, 1 deletions
diff --git a/sys-auth/libfprint/Manifest b/sys-auth/libfprint/Manifest index d1826472c232..ddc840b3b2ef 100644 --- a/sys-auth/libfprint/Manifest +++ b/sys-auth/libfprint/Manifest @@ -4,3 +4,4 @@ DIST libfprint-0.5.1-add-vfs5011-driver.patch 338763 BLAKE2B e86e22f76f0a261e6f4 DIST libfprint-0.5.1.tar.bz2 277342 BLAKE2B ebf653f147d3c75ab9885ffc4a30fb07235ba80cf2fc1dfaa2db6e9b9afa52b20a9c4ec8d73fb15089731d20a6945b1e9920096ffbc7f9dadba88068efa7958e SHA512 e1596e28f2730501b5957d2b4365f8eead7c0941434d064ceb6e5321d0e8495e71ab576b214881441bf1abc6ecba2b3ffafe5027f738f80c8c38b4e95866c8c7 DIST libfprint-0.6.0.tar.bz2 323590 BLAKE2B 8a592241ded8826337db075dd26960a9712e1a01855c6fd2c461b73ea6e2fac5248bce16165144b48271b368d0b2a82963eab00a64a88c27539e19aee54b9ba4 SHA512 2ab9ceec0c357779c94d3b8e94c11a733825bd735bec0e5c762d215d69bf295da0c5db7fd365e2a7efdcf25747777371f793b5e99d5c98e1bf9dcb1170e10ef9 DIST libfprint-0.6.0_vfs0050.patch.gz 9944 BLAKE2B b53a74f64c9691cee7c4e7f2f54afcffe2b00b63914900ed107426a9e42721548caa1ec80e1e39251ee6a0daec6ecf7f80d6704d37bc984dd1ac76320d0b4256 SHA512 658f936c462cf50d4325d33da6c8298768dfbe4bf442933fc197c8f4bebd741ef6878bcfe123606790c3ddcc3e217fd5f97b3755d36b181c5837dc28e146d674 +DIST libfprint-0.8.2.tar.gz 418437 BLAKE2B 396fee3b84958f273462fe92553a6a2dbefcadfc54c56531855fcef94613cd03ba68705585802992f86aa8175cb7dda0e80e96931de4a11da973b1f9ce2c4777 SHA512 56f7927adcb40866bfef67624221b921ba3d68e770e707c432f47c0bb1f5e233fd2427bacb448544167257b6ad9edf9008a188f408142288f4dbfee2115e9a8f diff --git a/sys-auth/libfprint/files/libfprint-0.8.2-fix-implicit-declaration.patch b/sys-auth/libfprint/files/libfprint-0.8.2-fix-implicit-declaration.patch new file mode 100644 index 000000000000..15b49597238c --- /dev/null +++ b/sys-auth/libfprint/files/libfprint-0.8.2-fix-implicit-declaration.patch @@ -0,0 +1,194 @@ +From 17cbe376872d8a0f579a0497942a5d2f19facaf5 Mon Sep 17 00:00:00 2001 +From: Mikle Kolyada <zlogene@gentoo.org> +Date: Sun, 2 Sep 2018 17:20:03 +0300 +Subject: [PATCH] Fix implicit declaration warnings + +--- + libfprint/drivers/aes1610.c | 2 ++ + libfprint/drivers/aes2501.c | 2 ++ + libfprint/drivers/aes2550.c | 2 ++ + libfprint/drivers/aesx660.c | 2 ++ + libfprint/drivers/etes603.c | 2 ++ + libfprint/drivers/upeksonly.c | 2 ++ + libfprint/drivers/upektc.c | 2 ++ + libfprint/drivers/upektc_img.c | 2 ++ + libfprint/drivers/upekts.c | 2 ++ + libfprint/drivers/vfs0050.c | 2 ++ + libfprint/drivers/vfs101.c | 3 +++ + libfprint/drivers/vfs301.c | 3 +++ + libfprint/drivers/vfs5011.c | 2 ++ + 13 files changed, 28 insertions(+) + +diff --git a/libfprint/drivers/aes1610.c b/libfprint/drivers/aes1610.c +index f307a3b..9dc3383 100644 +--- a/libfprint/drivers/aes1610.c ++++ b/libfprint/drivers/aes1610.c +@@ -25,6 +25,8 @@ + + #define FP_COMPONENT "aes1610" + ++#include <string.h> ++ + #include "drivers_api.h" + #include "aeslib.h" + +diff --git a/libfprint/drivers/aes2501.c b/libfprint/drivers/aes2501.c +index 87879a4..caaf3ea 100644 +--- a/libfprint/drivers/aes2501.c ++++ b/libfprint/drivers/aes2501.c +@@ -23,6 +23,8 @@ + + #define FP_COMPONENT "aes2501" + ++#include <string.h> ++ + #include "drivers_api.h" + #include "aeslib.h" + #include "aes2501.h" +diff --git a/libfprint/drivers/aes2550.c b/libfprint/drivers/aes2550.c +index ab4acaa..c838e54 100644 +--- a/libfprint/drivers/aes2550.c ++++ b/libfprint/drivers/aes2550.c +@@ -23,6 +23,8 @@ + + #define FP_COMPONENT "aes2550" + ++#include <string.h> ++ + #include "drivers_api.h" + #include "aes2550.h" + #include "aeslib.h" +diff --git a/libfprint/drivers/aesx660.c b/libfprint/drivers/aesx660.c +index e443e21..17c0245 100644 +--- a/libfprint/drivers/aesx660.c ++++ b/libfprint/drivers/aesx660.c +@@ -23,6 +23,8 @@ + + #define FP_COMPONENT "aesX660" + ++#include <string.h> ++ + #include "drivers_api.h" + #include "aeslib.h" + #include "aesx660.h" +diff --git a/libfprint/drivers/etes603.c b/libfprint/drivers/etes603.c +index fdaf7f2..0782f9e 100644 +--- a/libfprint/drivers/etes603.c ++++ b/libfprint/drivers/etes603.c +@@ -35,6 +35,8 @@ + + #define FP_COMPONENT "etes603" + ++#include <string.h> ++ + #include "drivers_api.h" + #include "driver_ids.h" + +diff --git a/libfprint/drivers/upeksonly.c b/libfprint/drivers/upeksonly.c +index 9cccb86..e035408 100644 +--- a/libfprint/drivers/upeksonly.c ++++ b/libfprint/drivers/upeksonly.c +@@ -25,6 +25,8 @@ + + #define FP_COMPONENT "upeksonly" + ++#include <string.h> ++ + #include "drivers_api.h" + #include "upeksonly.h" + +diff --git a/libfprint/drivers/upektc.c b/libfprint/drivers/upektc.c +index ffa31f3..e4d7de5 100644 +--- a/libfprint/drivers/upektc.c ++++ b/libfprint/drivers/upektc.c +@@ -20,6 +20,8 @@ + + #define FP_COMPONENT "upektc" + ++#include <string.h> ++ + #include "drivers_api.h" + #include "upektc.h" + +diff --git a/libfprint/drivers/upektc_img.c b/libfprint/drivers/upektc_img.c +index f0f2f18..a500623 100644 +--- a/libfprint/drivers/upektc_img.c ++++ b/libfprint/drivers/upektc_img.c +@@ -19,6 +19,8 @@ + + #define FP_COMPONENT "upektc_img" + ++#include <string.h> ++ + #include "drivers_api.h" + #include "aeslib.h" + #include "upektc_img.h" +diff --git a/libfprint/drivers/upekts.c b/libfprint/drivers/upekts.c +index b448e36..1094e66 100644 +--- a/libfprint/drivers/upekts.c ++++ b/libfprint/drivers/upekts.c +@@ -27,6 +27,8 @@ + + #define FP_COMPONENT "upekts" + ++#include <string.h> ++ + #include "drivers_api.h" + + #define EP_IN (1 | LIBUSB_ENDPOINT_IN) +diff --git a/libfprint/drivers/vfs0050.c b/libfprint/drivers/vfs0050.c +index dcf5d69..60a720e 100644 +--- a/libfprint/drivers/vfs0050.c ++++ b/libfprint/drivers/vfs0050.c +@@ -19,6 +19,8 @@ + + #define FP_COMPONENT "vfs0050" + ++#include <string.h> ++ + #include "drivers_api.h" + #include "vfs0050.h" + +diff --git a/libfprint/drivers/vfs101.c b/libfprint/drivers/vfs101.c +index 3304b1f..473adf2 100644 +--- a/libfprint/drivers/vfs101.c ++++ b/libfprint/drivers/vfs101.c +@@ -19,6 +19,9 @@ + + #define FP_COMPONENT "vfs101" + ++#include <stdlib.h> ++#include <string.h> ++ + #include "drivers_api.h" + + /* Input-Output usb endpoint */ +diff --git a/libfprint/drivers/vfs301.c b/libfprint/drivers/vfs301.c +index a34ee31..6f52316 100644 +--- a/libfprint/drivers/vfs301.c ++++ b/libfprint/drivers/vfs301.c +@@ -21,6 +21,9 @@ + + #define FP_COMPONENT "vfs301" + ++#include <stdlib.h> ++#include <string.h> ++ + #include "drivers_api.h" + #include "vfs301_proto.h" + +diff --git a/libfprint/drivers/vfs5011.c b/libfprint/drivers/vfs5011.c +index 8b460ac..1355394 100644 +--- a/libfprint/drivers/vfs5011.c ++++ b/libfprint/drivers/vfs5011.c +@@ -18,6 +18,8 @@ + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + ++#include <string.h> ++ + #include "drivers_api.h" + #include "vfs5011_proto.h" + +-- +2.16.4 diff --git a/sys-auth/libfprint/libfprint-0.8.2.ebuild b/sys-auth/libfprint/libfprint-0.8.2.ebuild new file mode 100644 index 000000000000..da49365cca3f --- /dev/null +++ b/sys-auth/libfprint/libfprint-0.8.2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eapi7-ver meson udev + +DESCRIPTION="library to add support for consumer fingerprint readers" +HOMEPAGE="https://cgit.freedesktop.org/libfprint/libfprint/ https://github.com/freedesktop/libfprint" +SRC_URI="https://github.com/freedesktop/libfprint/archive/V_$(ver_rs 0-3 '_').tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc examples" + +RDEPEND="dev-libs/glib:2 + dev-libs/nss + virtual/libusb:1= + x11-libs/pixman + x11-libs/libX11 + x11-libs/libXv" + +DEPEND="${RDEPEND} + dev-util/gtk-doc + virtual/pkgconfig" + +PATCHES=( ${FILESDIR}/${P}-fix-implicit-declaration.patch ) + +S="${WORKDIR}/${PN}-V_$(ver_rs 0-3 '_')" + +src_configure() { + local emesonargs=( + -Ddoc=$(usex doc true false) + -Dx11-examples=$(usex examples true false) + -Ddrivers=all + -Dudev_rules=true + -Dudev_rules_dir=$(get_udevdir)/rules.d + --libdir=/usr/$(get_libdir) + ) + meson_src_configure +} diff --git a/sys-auth/libfprint/metadata.xml b/sys-auth/libfprint/metadata.xml index de2d1feb58dd..94aee5a2fc69 100644 --- a/sys-auth/libfprint/metadata.xml +++ b/sys-auth/libfprint/metadata.xml @@ -10,6 +10,6 @@ <name>Mikle Kolyada</name> </maintainer> <upstream> - <bugs-to>https://bugs.freedesktop.org/enter_bug.cgi?product=libfprint</bugs-to> + <bugs-to>https://bugs.freedesktop.org/enter_bug.cgi?product=libfprint</bugs-to> </upstream> </pkgmetadata> |