summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2023-05-14 01:35:31 -0400
committerGravatar Chris Xiong <chirs241097@gmail.com> 2023-05-14 01:35:31 -0400
commit31e10a520a4d717c04cf693cec9ebc133a12f62f (patch)
treebac58aac498a88b6c8b2b8589f877b7186acb0e1
parenta0a42b14f66498e00208ebc25eae82698c1f11d5 (diff)
downloadppo-31e10a520a4d717c04cf693cec9ebc133a12f62f.tar.xz
drop fprintd
-rw-r--r--sys-auth/fprintd/Manifest4
-rw-r--r--sys-auth/fprintd/files/fprintd-1.90.7_0001-add-test-feature-and-make-tests-optional.patch74
-rw-r--r--sys-auth/fprintd/files/fprintd-1.90.8_0002-add-configure-option-for-libsystemd-provider.patch24
-rw-r--r--sys-auth/fprintd/fprintd-1.94.0.ebuild81
-rw-r--r--sys-auth/libfprint/Manifest3
-rw-r--r--sys-auth/libfprint/files/libfprint-0.8.2-fix-implicit-declaration.patch194
-rw-r--r--sys-auth/libfprint/libfprint-1.94.1.ebuild50
7 files changed, 0 insertions, 430 deletions
diff --git a/sys-auth/fprintd/Manifest b/sys-auth/fprintd/Manifest
deleted file mode 100644
index fe6d110..0000000
--- a/sys-auth/fprintd/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-AUX fprintd-1.90.7_0001-add-test-feature-and-make-tests-optional.patch 2425 BLAKE2B 03aef33297c37187038456e145bfa45dbac10ad79d43f5bf7bbb465839b92d7b1958674f9e789d00671a0c5e02011efbdd332552955aa9147eb773c5840c3c3a SHA512 73375262f04af2336b91b31ac73b203b9c4775f1847523d31f8b2ff339d5b33b917fdcdd31219b5a46111cf7aa7baeb7e6839c41f069490db1885a43064a33c8
-AUX fprintd-1.90.8_0002-add-configure-option-for-libsystemd-provider.patch 1144 BLAKE2B f417baf7a6d686a753381501ef2e6df6bc867c4a938d47b70def205b92a3ea20adb2ab55a1ff26d921ef433d846c150bb24d9a4102a39e61c2e424b53effe66e SHA512 4a234200e9a03ba3acb710857a64d35d84a4b954d9289a8fc400355dd27cc8cdf5da6d2dc11e60add57aae04e93e4c890b8a75e4984516fad14f9236acf0f699
-DIST fprintd-1.94.0.tar.gz 673738 BLAKE2B 6193a79d1936e28187ca5f02d663cd84080fe98b68090dce9cae45e7edc0f4093ad3a3b857a9347f7c7dbd46c57adb27ad5db079159bfc3e8a780e9678a6c06f SHA512 a8071f33f47d87bc6f066e4e8bff0b44e9c606ac44293d3157ad7271b6e82ad07708df518f8047adccf9cb7fc22960f7c161f4c220caad14b9233cae9e79d06b
-EBUILD fprintd-1.94.0.ebuild 1998 BLAKE2B f4716b3178949ed9c3ae188f720f1fbc0366ac315ff3e1013c87e214ed8c148363dba1d6ca8d9b58f9f118810ed154b609bafec6c3bcd887010825052fdc2339 SHA512 41f015cbdffb6fd31708d6a06421f330b8441801de0cf373f14ea9e2f094acb25dcdbe07c1358cbba70d966bca4bf2bbf08dbdd1d05c03cfe63e1ed6430bc3fe
diff --git a/sys-auth/fprintd/files/fprintd-1.90.7_0001-add-test-feature-and-make-tests-optional.patch b/sys-auth/fprintd/files/fprintd-1.90.7_0001-add-test-feature-and-make-tests-optional.patch
deleted file mode 100644
index 67fb29b..0000000
--- a/sys-auth/fprintd/files/fprintd-1.90.7_0001-add-test-feature-and-make-tests-optional.patch
+++ /dev/null
@@ -1,74 +0,0 @@
-From 7820465f078e9655af70036d8c570fd644b38f22 Mon Sep 17 00:00:00 2001
-From: Martin Gysel <me@bearsh.org>
-Date: Thu, 19 Nov 2020 07:04:10 +0100
-Subject: [PATCH 1/2] add test feature and make tests optional
-
----
- meson.build | 14 ++++++++++----
- meson_options.txt | 4 ++++
- 2 files changed, 14 insertions(+), 4 deletions(-)
-
-diff --git a/meson.build b/meson.build
-index 66aa2f7..ba44788 100644
---- a/meson.build
-+++ b/meson.build
-@@ -125,7 +125,7 @@ endif
- polkit_policy_directory = polkit_gobject_dep.get_pkgconfig_variable('policydir')
-
- # Tests dependencies
--pam_wrapper_dep = dependency('pam_wrapper', required: get_option('pam'))
-+pam_wrapper_dep = dependency('pam_wrapper', required: get_option('pam') and get_option('test').enabled() )
-
- xmllint = find_program('xmllint', required: false)
- python3 = find_program('python3') # No meson without it!
-@@ -139,11 +139,13 @@ python3_test_modules = {
- }
- python3_available_modules = []
-
-+if get_option('test').enabled()
- foreach module, required : python3_test_modules
- if required and run_command(python3, '-c', 'import @0@'.format(module)).returncode() != 0
- error('Python3 module \'' + module + '\' required by test suite not found')
- endif
- endforeach
-+endif
-
- cdata = configuration_data()
- cdata.set_quoted('GETTEXT_PACKAGE', meson.project_name())
-@@ -167,7 +169,9 @@ endif
- if get_option('gtk_doc')
- subdir('doc')
- endif
--subdir('tests')
-+if get_option('test').enabled()
-+ subdir('tests')
-+endif
- subdir('po')
-
- output = []
-@@ -189,7 +193,9 @@ output += ' PAM module: ' + pam_dep.found().to_string()
- output += ' Manuals: ' + get_option('man').to_string()
- output += ' GTK Doc: ' + get_option('gtk_doc').to_string()
- output += ' XML Linter ' + xmllint.found().to_string()
--output += '\nTest setup:\n'
--output += ' With address sanitizer: ' + address_sanitizer.to_string()
-+if get_option('test').enabled()
-+ output += '\nTest setup:\n'
-+ output += ' With address sanitizer: ' + address_sanitizer.to_string()
-+endif
-
- message('\n'+'\n'.join(output)+'\n')
-diff --git a/meson_options.txt b/meson_options.txt
-index be31fe1..92c01cd 100644
---- a/meson_options.txt
-+++ b/meson_options.txt
-@@ -19,3 +19,7 @@ option('gtk_doc',
- type: 'boolean',
- value: false,
- description: 'Use gtk-doc to build documentation')
-+option('test',
-+ type: 'feature',
-+ value: 'disabled',
-+ description: 'Enable tests')
---
-2.29.2
diff --git a/sys-auth/fprintd/files/fprintd-1.90.8_0002-add-configure-option-for-libsystemd-provider.patch b/sys-auth/fprintd/files/fprintd-1.90.8_0002-add-configure-option-for-libsystemd-provider.patch
deleted file mode 100644
index a10026f..0000000
--- a/sys-auth/fprintd/files/fprintd-1.90.8_0002-add-configure-option-for-libsystemd-provider.patch
+++ /dev/null
@@ -1,24 +0,0 @@
---- fprintd-v1.90.8/meson.build.orig 2020-12-13 08:08:13.886367478 +0100
-+++ fprintd-v1.90.8/meson.build 2020-12-13 08:30:16.056756878 +0100
-@@ -84,7 +84,7 @@
- libfprint_dep = dependency('libfprint-2', version: '>=' + libfprint_min_version)
- polkit_gobject_dep = dependency('polkit-gobject-1', version: '>= 0.91')
- dbus_dep = dependency('dbus-1', required: false)
--libsystemd_dep = dependency('libsystemd', required: get_option('pam'))
-+libsystemd_dep = dependency(get_option('libsystemd'), required: get_option('pam'))
- pam_dep = cc.find_library('pam',
- required: get_option('pam'),
- has_headers: 'security/pam_modules.h',
---- fprintd-v1.90.8/meson_options.txt.orig 2020-12-13 08:08:13.886367478 +0100
-+++ fprintd-v1.90.8/meson_options.txt 2020-12-13 08:26:57.111919403 +0100
-@@ -10,6 +10,10 @@
- description: 'Install system service files',
- type: 'boolean',
- value: true)
-+option('libsystemd',
-+ description: 'Libsystemd provider (libsystemd or libelogind)',
-+ type: 'string',
-+ value: 'libsystemd')
- option('systemd_system_unit_dir',
- description: 'Directory for systemd service files',
- type: 'string')
diff --git a/sys-auth/fprintd/fprintd-1.94.0.ebuild b/sys-auth/fprintd/fprintd-1.94.0.ebuild
deleted file mode 100644
index c4cc4c0..0000000
--- a/sys-auth/fprintd/fprintd-1.94.0.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8,9} )
-inherit meson pam python-single-r1 systemd
-
-DESCRIPTION="D-Bus service to access fingerprint readers"
-HOMEPAGE="https://cgit.freedesktop.org/libfprint/fprintd/"
-SHA="fc7e058e937db861d1868a55b5316798d14fe0b7"
-SRC_URI="https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/v${PV}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="gtk-doc +pam static-libs systemd test"
-REQUIRED_USE="systemd? ( pam )
- test? ( ${PYTHON_REQUIRED_USE} )"
-RESTRICT="!test? ( test )"
-
-RDEPEND="dev-libs/dbus-glib
- dev-libs/glib:2
- >=sys-auth/libfprint-${PV}
- sys-auth/polkit
- systemd? ( sys-apps/systemd )
- pam? (
- systemd? ( sys-apps/systemd )
- !systemd? ( sys-auth/elogind )
- sys-libs/pam
- )"
-DEPEND="${RDEPEND}
- dev-util/intltool
- gtk-doc? (
- dev-util/gtk-doc
- dev-util/gtk-doc-am
- dev-libs/libxml2
- )"
-BDEPEND="test? (
- dev-python/python-dbusmock
- pam? ( sys-libs/pam_wrapper )
- )"
-
-PATCHES=(
- "${FILESDIR}/${PN}-1.90.7_0001-add-test-feature-and-make-tests-optional.patch"
- "${FILESDIR}/${PN}-1.90.8_0002-add-configure-option-for-libsystemd-provider.patch"
-)
-
-S="${WORKDIR}/${PN}-v${PV}-${SHA}"
-
-DOCS=( pam/README )
-
-src_configure() {
- local emesonargs=(
- $(meson_feature test)
- $(meson_use pam)
- -Dsystemd_system_unit_dir=$(systemd_get_systemunitdir)
- -Dman=true
- -Dgtk_doc=$(usex gtk-doc true false)
- -Dpam_modules_dir=$(getpam_mod_dir)
- -Dlibsystemd=$(usex systemd libsystemd libelogind)
- )
- meson_src_configure
-}
-
-src_install() {
- meson_src_install
- keepdir /var/lib/fprint
- find "${D}" -name "*.la" -delete || die
- einstalldocs
- if use gtk-doc; then
- insinto /usr/share/doc/${PF}/html
- doins doc/{fprintd-docs,version}.xml
- insinto /usr/share/doc/${PF}/html/dbus
- doins doc/dbus/net.reactivated.Fprint.{Device,Manager}.ref.xml
- fi
-}
-
-pkg_postinst() {
- elog "Please take a look at README.pam_fprintd for integration docs."
-}
diff --git a/sys-auth/libfprint/Manifest b/sys-auth/libfprint/Manifest
deleted file mode 100644
index 2e0584f..0000000
--- a/sys-auth/libfprint/Manifest
+++ /dev/null
@@ -1,3 +0,0 @@
-AUX libfprint-0.8.2-fix-implicit-declaration.patch 4830 BLAKE2B aa6481b296e324e1af7cdf63dae55c2bc9cb4c5a79ca14f0125dab6fca8c41cccedb56bfb5781335164b749621e3f4b68b5fa9e146b4e4fe67298213d9243d84 SHA512 51a827e591009a8d4a520194af997b756c3e1f4e716a41cc3fb8c5b995ffc75dc9041cbb7a191743c4ad32e49500fbd5e74d8d6579028c51522e919060e95e07
-DIST libfprint-1.94.1.tar.gz 10405046 BLAKE2B a46af62d3f7f8ad7f0815cecbd2a8c68c212e13785b968b0f0304473db5f4b7eb67d0bb74411c4828a51b9c22f6c86bd08ad564db623acf31715a1d0f7aa8389 SHA512 bae1de8378b9fb8fed1e292d96637a1e4a1c99a5a3f7735dae036eddb022bea2b5646bebf610b714338d4645e73b0968b14c20b1992d77d83a60c939c1509b44
-EBUILD libfprint-1.94.1.ebuild 1249 BLAKE2B d03fe819b72b233b28fad0b1a0158b100dded643f55e0827d0472f6648c6d4d8668089595a43fcff96e19f983d8abba9bcbdf94ccbffd4eb36989c4347838748 SHA512 297415c702a583a6e2845b398dfed34768016a4b0b659e5403761f624eaed47c93379e0706760358bff4ed3721d1dc787fbf416eaec94a41640d5fa50dd82676
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
deleted file mode 100644
index 761e61c..0000000
--- a/sys-auth/libfprint/files/libfprint-0.8.2-fix-implicit-declaration.patch
+++ /dev/null
@@ -1,194 +0,0 @@
-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 \ No newline at end of file
diff --git a/sys-auth/libfprint/libfprint-1.94.1.ebuild b/sys-auth/libfprint/libfprint-1.94.1.ebuild
deleted file mode 100644
index ce92cb6..0000000
--- a/sys-auth/libfprint/libfprint-1.94.1.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit meson udev
-
-DESCRIPTION="Library to add support for consumer fingerprint readers"
-HOMEPAGE="https://cgit.freedesktop.org/libfprint/libfprint/ https://github.com/freedesktop/libfprint https://gitlab.freedesktop.org/libfprint/libfprint"
-SRC_URI="https://github.com/freedesktop/libfprint/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="LGPL-2.1+"
-SLOT="2"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="examples gtk-doc +introspection"
-
-RDEPEND="
- dev-libs/glib:2
- dev-libs/libgusb
- dev-libs/nss
- virtual/libusb:1=
- x11-libs/gtk+:3
- x11-libs/libX11
- x11-libs/libXv
- x11-libs/pixman
- !>=sys-auth/libfprint-1.92:0
-"
-
-DEPEND="${RDEPEND}"
-
-BDEPEND="
- virtual/pkgconfig
- gtk-doc? ( dev-util/gtk-doc )
- introspection? ( dev-libs/gobject-introspection )
-"
-
-PATCHES=( ${FILESDIR}/${PN}-0.8.2-fix-implicit-declaration.patch )
-
-src_configure() {
- local emesonargs=(
- $(meson_use examples gtk-examples)
- $(meson_use introspection)
- $(meson_use gtk-doc doc)
- -Ddrivers=all
- -Dudev_rules=enabled
- -Dudev_rules_dir=$(get_udevdir)/rules.d
- --libdir=/usr/$(get_libdir)
- )
- meson_src_configure
-} \ No newline at end of file