From 31e10a520a4d717c04cf693cec9ebc133a12f62f Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Sun, 14 May 2023 01:35:31 -0400 Subject: drop fprintd --- sys-auth/fprintd/Manifest | 4 -- ...-add-test-feature-and-make-tests-optional.patch | 74 -------------------- ...-configure-option-for-libsystemd-provider.patch | 24 ------- sys-auth/fprintd/fprintd-1.94.0.ebuild | 81 ---------------------- 4 files changed, 183 deletions(-) delete mode 100644 sys-auth/fprintd/Manifest delete mode 100644 sys-auth/fprintd/files/fprintd-1.90.7_0001-add-test-feature-and-make-tests-optional.patch delete mode 100644 sys-auth/fprintd/files/fprintd-1.90.8_0002-add-configure-option-for-libsystemd-provider.patch delete mode 100644 sys-auth/fprintd/fprintd-1.94.0.ebuild (limited to 'sys-auth/fprintd') 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 -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." -} -- cgit v1.2.3