mirror of
https://github.com/dguglielmi/sunny-overlay.git
synced 2025-12-06 07:22:38 +01:00
sys-auth/libfprint-tod: add libfprint-tod 1.90.6
This commit is contained in:
4
sys-auth/libfprint-tod/Manifest
Normal file
4
sys-auth/libfprint-tod/Manifest
Normal file
@@ -0,0 +1,4 @@
|
||||
AUX libfprint-0.8.2-fix-implicit-declaration.patch 4831 BLAKE2B ec61d1ee189549f4456634b5b0157f32c61b2255330681b96bc50c73d9a5d51c1058f4f82b979ca4695d9d1065b0623e86be943f98c1582725bcddda0630156b SHA512 afd4e7c5ee65a91b17aa8bec4c6a0ba5b972e9f2586a0cfa7adc823d2a1f8d2378ed28928c5108870d2347f3edb2f343a24b2eaef6c015b7650834b4d76ceb73
|
||||
DIST libfprint-tod-1.90.6.tar.bz2 5536735 BLAKE2B 2e35d3f2753ad69820505111bc983bc187fc798320e26e93e4a8ec1aca314d85103a5db552aeb78902b09469c91b56e92f462e3c58647d5896daf6bce2a927fd SHA512 213cbf72b75204e1f76ef29bbef138d699d3ec2a5cbc9b33d2626c63af98d5f6b7bc10182e24baa184c58a556eefb77ed1ddfd199bc5fc2822dfd3f772a4f567
|
||||
EBUILD libfprint-tod-1.90.6.ebuild 1120 BLAKE2B c8cb0270ae9cd6c50a97bf34d48bcd517db1c13bf235d8205f0c5ef7d7b26344ad83c3b281e7875d4fe2f37de586be61450c57fd78c4604c7dabad982ffd0f4e SHA512 7257abe4608ab34ec1cd8e4be916c7cf04bcd00845e41acfa80b1acbaad71ee0d59812a0ad23702cacc8409174811c7c107d1257b79c5eadc35094dd7b98d4ba
|
||||
MISC metadata.xml 351 BLAKE2B d90fb5e5ab0934ce503c99e337ab0dd86d98e5b98c414bed8b9f55200a71316d930157d0d92227bff70e69215cfc092fab0b814b5f5673940b294d15f6f1950d SHA512 0c3674c85ff7f1ca343a8f442c814619e786c3ef737eeb088b2e21ce072b5c38fc0a45085933b8ee3b056595955a703ec6ad6e2aac3d55ecd992a0b4f252d7da
|
||||
@@ -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
|
||||
47
sys-auth/libfprint-tod/libfprint-tod-1.90.6.ebuild
Normal file
47
sys-auth/libfprint-tod/libfprint-tod-1.90.6.ebuild
Normal file
@@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit meson udev
|
||||
|
||||
DESCRIPTION="light fork of libfprint to expose internal Drivers API"
|
||||
HOMEPAGE="https://gitlab.freedesktop.org/3v1n0/libfprint/-/tree/tod/"
|
||||
SRC_URI="https://gitlab.freedesktop.org/3v1n0/libfprint/-/archive/v${PV}+tod1/libfprint-v${PV}+tod1.tar.bz2 -> ${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="examples"
|
||||
|
||||
RDEPEND="dev-libs/glib:2
|
||||
dev-libs/nss
|
||||
>=dev-libs/libgusb-0.3.1
|
||||
!sys-auth/libfprint
|
||||
virtual/libusb:1=
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/pixman
|
||||
x11-libs/libX11
|
||||
x11-libs/libXv"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/gtk-doc"
|
||||
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
PATCHES=( ${FILESDIR}/${PN/-tod/}-0.8.2-fix-implicit-declaration.patch )
|
||||
|
||||
S="${WORKDIR}/${PN/-tod/}-v${PV}+tod1"
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
-Ddoc=false
|
||||
-Dgtk-examples=$(usex examples true false)
|
||||
-Ddrivers=all
|
||||
-Dtod=true
|
||||
-Dudev_rules=true
|
||||
-Dudev_rules_dir=$(get_udevdir)/rules.d
|
||||
--libdir=/usr/$(get_libdir)
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
11
sys-auth/libfprint-tod/metadata.xml
Normal file
11
sys-auth/libfprint-tod/metadata.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>david.guglielmi@gmail.com</email>
|
||||
<name>David Guglielmi</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<bugs-to>https://gitlab.freedesktop.org/3v1n0/libfprint/-/issues</bugs-to>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user