Gentoo Archives: gentoo-commits

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/libfprint/files/, sys-auth/libfprint/
Date: Sun, 02 Sep 2018 15:16:51
Message-Id: 1535901360.b0cc774cd0ea9c63eb61c69d373998420e1fcc72.zlogene@gentoo
1 commit: b0cc774cd0ea9c63eb61c69d373998420e1fcc72
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 2 15:16:00 2018 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 2 15:16:00 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0cc774c
7
8 sys-auth/libfprint: Version bump (v0.8.2)
9
10 - migrate to meson
11 - make functions call explicit
12
13 Closes: https://bugs.gentoo.org/634242
14 Package-Manager: Portage-2.3.40, Repoman-2.3.9
15
16 sys-auth/libfprint/Manifest | 1 +
17 .../libfprint-0.8.2-fix-implicit-declaration.patch | 194 +++++++++++++++++++++
18 sys-auth/libfprint/libfprint-0.8.2.ebuild | 42 +++++
19 sys-auth/libfprint/metadata.xml | 2 +-
20 4 files changed, 238 insertions(+), 1 deletion(-)
21
22 diff --git a/sys-auth/libfprint/Manifest b/sys-auth/libfprint/Manifest
23 index d1826472c23..ddc840b3b2e 100644
24 --- a/sys-auth/libfprint/Manifest
25 +++ b/sys-auth/libfprint/Manifest
26 @@ -4,3 +4,4 @@ DIST libfprint-0.5.1-add-vfs5011-driver.patch 338763 BLAKE2B e86e22f76f0a261e6f4
27 DIST libfprint-0.5.1.tar.bz2 277342 BLAKE2B ebf653f147d3c75ab9885ffc4a30fb07235ba80cf2fc1dfaa2db6e9b9afa52b20a9c4ec8d73fb15089731d20a6945b1e9920096ffbc7f9dadba88068efa7958e SHA512 e1596e28f2730501b5957d2b4365f8eead7c0941434d064ceb6e5321d0e8495e71ab576b214881441bf1abc6ecba2b3ffafe5027f738f80c8c38b4e95866c8c7
28 DIST libfprint-0.6.0.tar.bz2 323590 BLAKE2B 8a592241ded8826337db075dd26960a9712e1a01855c6fd2c461b73ea6e2fac5248bce16165144b48271b368d0b2a82963eab00a64a88c27539e19aee54b9ba4 SHA512 2ab9ceec0c357779c94d3b8e94c11a733825bd735bec0e5c762d215d69bf295da0c5db7fd365e2a7efdcf25747777371f793b5e99d5c98e1bf9dcb1170e10ef9
29 DIST libfprint-0.6.0_vfs0050.patch.gz 9944 BLAKE2B b53a74f64c9691cee7c4e7f2f54afcffe2b00b63914900ed107426a9e42721548caa1ec80e1e39251ee6a0daec6ecf7f80d6704d37bc984dd1ac76320d0b4256 SHA512 658f936c462cf50d4325d33da6c8298768dfbe4bf442933fc197c8f4bebd741ef6878bcfe123606790c3ddcc3e217fd5f97b3755d36b181c5837dc28e146d674
30 +DIST libfprint-0.8.2.tar.gz 418437 BLAKE2B 396fee3b84958f273462fe92553a6a2dbefcadfc54c56531855fcef94613cd03ba68705585802992f86aa8175cb7dda0e80e96931de4a11da973b1f9ce2c4777 SHA512 56f7927adcb40866bfef67624221b921ba3d68e770e707c432f47c0bb1f5e233fd2427bacb448544167257b6ad9edf9008a188f408142288f4dbfee2115e9a8f
31
32 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
33 new file mode 100644
34 index 00000000000..15b49597238
35 --- /dev/null
36 +++ b/sys-auth/libfprint/files/libfprint-0.8.2-fix-implicit-declaration.patch
37 @@ -0,0 +1,194 @@
38 +From 17cbe376872d8a0f579a0497942a5d2f19facaf5 Mon Sep 17 00:00:00 2001
39 +From: Mikle Kolyada <zlogene@g.o>
40 +Date: Sun, 2 Sep 2018 17:20:03 +0300
41 +Subject: [PATCH] Fix implicit declaration warnings
42 +
43 +---
44 + libfprint/drivers/aes1610.c | 2 ++
45 + libfprint/drivers/aes2501.c | 2 ++
46 + libfprint/drivers/aes2550.c | 2 ++
47 + libfprint/drivers/aesx660.c | 2 ++
48 + libfprint/drivers/etes603.c | 2 ++
49 + libfprint/drivers/upeksonly.c | 2 ++
50 + libfprint/drivers/upektc.c | 2 ++
51 + libfprint/drivers/upektc_img.c | 2 ++
52 + libfprint/drivers/upekts.c | 2 ++
53 + libfprint/drivers/vfs0050.c | 2 ++
54 + libfprint/drivers/vfs101.c | 3 +++
55 + libfprint/drivers/vfs301.c | 3 +++
56 + libfprint/drivers/vfs5011.c | 2 ++
57 + 13 files changed, 28 insertions(+)
58 +
59 +diff --git a/libfprint/drivers/aes1610.c b/libfprint/drivers/aes1610.c
60 +index f307a3b..9dc3383 100644
61 +--- a/libfprint/drivers/aes1610.c
62 ++++ b/libfprint/drivers/aes1610.c
63 +@@ -25,6 +25,8 @@
64 +
65 + #define FP_COMPONENT "aes1610"
66 +
67 ++#include <string.h>
68 ++
69 + #include "drivers_api.h"
70 + #include "aeslib.h"
71 +
72 +diff --git a/libfprint/drivers/aes2501.c b/libfprint/drivers/aes2501.c
73 +index 87879a4..caaf3ea 100644
74 +--- a/libfprint/drivers/aes2501.c
75 ++++ b/libfprint/drivers/aes2501.c
76 +@@ -23,6 +23,8 @@
77 +
78 + #define FP_COMPONENT "aes2501"
79 +
80 ++#include <string.h>
81 ++
82 + #include "drivers_api.h"
83 + #include "aeslib.h"
84 + #include "aes2501.h"
85 +diff --git a/libfprint/drivers/aes2550.c b/libfprint/drivers/aes2550.c
86 +index ab4acaa..c838e54 100644
87 +--- a/libfprint/drivers/aes2550.c
88 ++++ b/libfprint/drivers/aes2550.c
89 +@@ -23,6 +23,8 @@
90 +
91 + #define FP_COMPONENT "aes2550"
92 +
93 ++#include <string.h>
94 ++
95 + #include "drivers_api.h"
96 + #include "aes2550.h"
97 + #include "aeslib.h"
98 +diff --git a/libfprint/drivers/aesx660.c b/libfprint/drivers/aesx660.c
99 +index e443e21..17c0245 100644
100 +--- a/libfprint/drivers/aesx660.c
101 ++++ b/libfprint/drivers/aesx660.c
102 +@@ -23,6 +23,8 @@
103 +
104 + #define FP_COMPONENT "aesX660"
105 +
106 ++#include <string.h>
107 ++
108 + #include "drivers_api.h"
109 + #include "aeslib.h"
110 + #include "aesx660.h"
111 +diff --git a/libfprint/drivers/etes603.c b/libfprint/drivers/etes603.c
112 +index fdaf7f2..0782f9e 100644
113 +--- a/libfprint/drivers/etes603.c
114 ++++ b/libfprint/drivers/etes603.c
115 +@@ -35,6 +35,8 @@
116 +
117 + #define FP_COMPONENT "etes603"
118 +
119 ++#include <string.h>
120 ++
121 + #include "drivers_api.h"
122 + #include "driver_ids.h"
123 +
124 +diff --git a/libfprint/drivers/upeksonly.c b/libfprint/drivers/upeksonly.c
125 +index 9cccb86..e035408 100644
126 +--- a/libfprint/drivers/upeksonly.c
127 ++++ b/libfprint/drivers/upeksonly.c
128 +@@ -25,6 +25,8 @@
129 +
130 + #define FP_COMPONENT "upeksonly"
131 +
132 ++#include <string.h>
133 ++
134 + #include "drivers_api.h"
135 + #include "upeksonly.h"
136 +
137 +diff --git a/libfprint/drivers/upektc.c b/libfprint/drivers/upektc.c
138 +index ffa31f3..e4d7de5 100644
139 +--- a/libfprint/drivers/upektc.c
140 ++++ b/libfprint/drivers/upektc.c
141 +@@ -20,6 +20,8 @@
142 +
143 + #define FP_COMPONENT "upektc"
144 +
145 ++#include <string.h>
146 ++
147 + #include "drivers_api.h"
148 + #include "upektc.h"
149 +
150 +diff --git a/libfprint/drivers/upektc_img.c b/libfprint/drivers/upektc_img.c
151 +index f0f2f18..a500623 100644
152 +--- a/libfprint/drivers/upektc_img.c
153 ++++ b/libfprint/drivers/upektc_img.c
154 +@@ -19,6 +19,8 @@
155 +
156 + #define FP_COMPONENT "upektc_img"
157 +
158 ++#include <string.h>
159 ++
160 + #include "drivers_api.h"
161 + #include "aeslib.h"
162 + #include "upektc_img.h"
163 +diff --git a/libfprint/drivers/upekts.c b/libfprint/drivers/upekts.c
164 +index b448e36..1094e66 100644
165 +--- a/libfprint/drivers/upekts.c
166 ++++ b/libfprint/drivers/upekts.c
167 +@@ -27,6 +27,8 @@
168 +
169 + #define FP_COMPONENT "upekts"
170 +
171 ++#include <string.h>
172 ++
173 + #include "drivers_api.h"
174 +
175 + #define EP_IN (1 | LIBUSB_ENDPOINT_IN)
176 +diff --git a/libfprint/drivers/vfs0050.c b/libfprint/drivers/vfs0050.c
177 +index dcf5d69..60a720e 100644
178 +--- a/libfprint/drivers/vfs0050.c
179 ++++ b/libfprint/drivers/vfs0050.c
180 +@@ -19,6 +19,8 @@
181 +
182 + #define FP_COMPONENT "vfs0050"
183 +
184 ++#include <string.h>
185 ++
186 + #include "drivers_api.h"
187 + #include "vfs0050.h"
188 +
189 +diff --git a/libfprint/drivers/vfs101.c b/libfprint/drivers/vfs101.c
190 +index 3304b1f..473adf2 100644
191 +--- a/libfprint/drivers/vfs101.c
192 ++++ b/libfprint/drivers/vfs101.c
193 +@@ -19,6 +19,9 @@
194 +
195 + #define FP_COMPONENT "vfs101"
196 +
197 ++#include <stdlib.h>
198 ++#include <string.h>
199 ++
200 + #include "drivers_api.h"
201 +
202 + /* Input-Output usb endpoint */
203 +diff --git a/libfprint/drivers/vfs301.c b/libfprint/drivers/vfs301.c
204 +index a34ee31..6f52316 100644
205 +--- a/libfprint/drivers/vfs301.c
206 ++++ b/libfprint/drivers/vfs301.c
207 +@@ -21,6 +21,9 @@
208 +
209 + #define FP_COMPONENT "vfs301"
210 +
211 ++#include <stdlib.h>
212 ++#include <string.h>
213 ++
214 + #include "drivers_api.h"
215 + #include "vfs301_proto.h"
216 +
217 +diff --git a/libfprint/drivers/vfs5011.c b/libfprint/drivers/vfs5011.c
218 +index 8b460ac..1355394 100644
219 +--- a/libfprint/drivers/vfs5011.c
220 ++++ b/libfprint/drivers/vfs5011.c
221 +@@ -18,6 +18,8 @@
222 + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
223 + */
224 +
225 ++#include <string.h>
226 ++
227 + #include "drivers_api.h"
228 + #include "vfs5011_proto.h"
229 +
230 +--
231 +2.16.4
232
233 diff --git a/sys-auth/libfprint/libfprint-0.8.2.ebuild b/sys-auth/libfprint/libfprint-0.8.2.ebuild
234 new file mode 100644
235 index 00000000000..da49365cca3
236 --- /dev/null
237 +++ b/sys-auth/libfprint/libfprint-0.8.2.ebuild
238 @@ -0,0 +1,42 @@
239 +# Copyright 1999-2018 Gentoo Foundation
240 +# Distributed under the terms of the GNU General Public License v2
241 +
242 +EAPI=6
243 +
244 +inherit eapi7-ver meson udev
245 +
246 +DESCRIPTION="library to add support for consumer fingerprint readers"
247 +HOMEPAGE="https://cgit.freedesktop.org/libfprint/libfprint/ https://github.com/freedesktop/libfprint"
248 +SRC_URI="https://github.com/freedesktop/libfprint/archive/V_$(ver_rs 0-3 '_').tar.gz -> ${P}.tar.gz"
249 +
250 +LICENSE="LGPL-2.1"
251 +SLOT="0"
252 +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
253 +IUSE="doc examples"
254 +
255 +RDEPEND="dev-libs/glib:2
256 + dev-libs/nss
257 + virtual/libusb:1=
258 + x11-libs/pixman
259 + x11-libs/libX11
260 + x11-libs/libXv"
261 +
262 +DEPEND="${RDEPEND}
263 + dev-util/gtk-doc
264 + virtual/pkgconfig"
265 +
266 +PATCHES=( ${FILESDIR}/${P}-fix-implicit-declaration.patch )
267 +
268 +S="${WORKDIR}/${PN}-V_$(ver_rs 0-3 '_')"
269 +
270 +src_configure() {
271 + local emesonargs=(
272 + -Ddoc=$(usex doc true false)
273 + -Dx11-examples=$(usex examples true false)
274 + -Ddrivers=all
275 + -Dudev_rules=true
276 + -Dudev_rules_dir=$(get_udevdir)/rules.d
277 + --libdir=/usr/$(get_libdir)
278 + )
279 + meson_src_configure
280 +}
281
282 diff --git a/sys-auth/libfprint/metadata.xml b/sys-auth/libfprint/metadata.xml
283 index de2d1feb58d..94aee5a2fc6 100644
284 --- a/sys-auth/libfprint/metadata.xml
285 +++ b/sys-auth/libfprint/metadata.xml
286 @@ -10,6 +10,6 @@
287 <name>Mikle Kolyada</name>
288 </maintainer>
289 <upstream>
290 - <bugs-to>https://bugs.freedesktop.org/enter_bug.cgi?product=libfprint</bugs-to>
291 + <bugs-to>https://bugs.freedesktop.org/enter_bug.cgi?product=libfprint</bugs-to>
292 </upstream>
293 </pkgmetadata>