summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-auth/fprintd')
-rw-r--r--sys-auth/fprintd/Manifest1
-rw-r--r--sys-auth/fprintd/files/fprintd-0.8.1-fno-common.patch44
-rw-r--r--sys-auth/fprintd/fprintd-0.8.1-r3.ebuild74
3 files changed, 0 insertions, 119 deletions
diff --git a/sys-auth/fprintd/Manifest b/sys-auth/fprintd/Manifest
index be48ee7615a3..9159f3036b33 100644
--- a/sys-auth/fprintd/Manifest
+++ b/sys-auth/fprintd/Manifest
@@ -1,2 +1 @@
-DIST fprintd-0.8.1.tar.bz2 75254 BLAKE2B bf59c47c3d0186677bfd180e472e13773afebd4c3438e0e8e8cce34156df1c64c142b73d541fa876b96d4881e6967745a8c29be310dd33a509cb1863c836634e SHA512 438098fb677b742fdb279f3df85a1f2c800fce7498130c09b7408f21656ff256323b3bce4c22a2499e52c2ca7cddbc7f26033be7869939d23f9b5c436aa1f252
DIST fprintd-v1.94.1.tar.bz2 658149 BLAKE2B 734da268e308b08b04cbc661d889f52c4e8b2dd61d7a67961eaba5a6aa130f6972525820a17e8b6dd53d38508629139a5a0be20b69eaea45430cc60da5cd9a27 SHA512 ff22087e09ab9f75e458e71f595d611ea97240596a25bd96f41a0fb1de865336f8c2edbd49d5e7c8132a7e554d8311337ec02991dde358cba1962d4cb182447d
diff --git a/sys-auth/fprintd/files/fprintd-0.8.1-fno-common.patch b/sys-auth/fprintd/files/fprintd-0.8.1-fno-common.patch
deleted file mode 100644
index ba4574fce60d..000000000000
--- a/sys-auth/fprintd/files/fprintd-0.8.1-fno-common.patch
+++ /dev/null
@@ -1,44 +0,0 @@
---- a/src/device.c
-+++ b/src/device.c
-@@ -47,6 +47,7 @@ static char *fingers[] = {
- "right-little-finger"
- };
-
-+extern struct storage store;
- extern DBusGConnection *fprintd_dbus_conn;
-
- static void fprint_device_claim(FprintDevice *rdev,
---- a/src/file_storage.c
-+++ b/src/file_storage.c
-@@ -44,6 +44,7 @@
- #define FP_FINGER_IS_VALID(finger) \
- ((finger) >= LEFT_THUMB && (finger) <= RIGHT_LITTLE)
-
-+extern struct storage store;
- static char *get_path_to_storedir(uint16_t driver_id, uint32_t devtype, char *base_store)
- {
- char idstr[5];
---- a/src/main.c
-+++ b/src/main.c
-@@ -34,6 +34,7 @@
- #include "storage.h"
- #include "file_storage.h"
-
-+struct storage store;
- extern DBusGConnection *fprintd_dbus_conn;
- static gboolean no_timeout = FALSE;
- static gboolean g_fatal_warnings = FALSE;
---- a/src/storage.h
-+++ b/src/storage.h
-@@ -41,10 +41,7 @@ struct storage {
- storage_discover_prints discover_prints;
- };
-
--typedef struct storage fp_storage;
--
--/* The currently setup store */
--fp_storage store;
-+extern struct storage store;
-
- #endif
-
diff --git a/sys-auth/fprintd/fprintd-0.8.1-r3.ebuild b/sys-auth/fprintd/fprintd-0.8.1-r3.ebuild
deleted file mode 100644
index cd5fba5f403f..000000000000
--- a/sys-auth/fprintd/fprintd-0.8.1-r3.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools pam systemd
-
-DESCRIPTION="D-Bus service to access fingerprint readers"
-HOMEPAGE="https://cgit.freedesktop.org/libfprint/fprintd/"
-MY_PV="V_$(ver_rs 0- _)"
-SRC_URI="https://cgit.freedesktop.org/libfprint/${PN}/snapshot/${MY_PV}.tar.bz2 -> ${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~ia64 ppc ppc64 sparc x86"
-IUSE="doc pam"
-
-RDEPEND="
- dev-libs/dbus-glib
- dev-libs/glib:2
- sys-auth/libfprint:0
- sys-auth/polkit
- pam? ( sys-libs/pam )"
-DEPEND="${RDEPEND}"
-BDEPEND="
- dev-libs/dbus-glib
- dev-util/gtk-doc
- dev-util/gtk-doc-am
- dev-util/intltool
- doc? (
- dev-libs/libxml2
- dev-libs/libxslt
- )"
-
-S="${WORKDIR}"/${MY_PV}
-
-PATCHES=( "${FILESDIR}"/${P}-fno-common.patch )
-
-src_prepare() {
- default
-
- sed -i 's#@localstatedir@/lib/fprint#@localstatedir@/fprint#g' data/fprintd.service.in || die "sed failed"
- eautoreconf
-}
-
-src_configure() {
- econf \
- --disable-static \
- $(use_enable pam) \
- $(use_enable doc gtk-doc-html) \
- --with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
-}
-
-src_install() {
- emake DESTDIR="${D}" install \
- pammoddir=$(getpam_mod_dir)
-
- keepdir /var/lib/fprint
-
- find "${ED}" -name '*.la' -delete || die
-
- dodoc AUTHORS NEWS README{,.transifex} TODO
- newdoc pam/README README.pam_fprintd
- if use doc ; then
- docinto html
- dodoc doc/{fprintd-docs,version}.xml
- docinto html/dbus
- dodoc doc/dbus/net.reactivated.Fprint.{Device,Manager}.ref.xml
- fi
-}
-
-pkg_postinst() {
- elog "Please take a look at README.pam_fprintd for integration docs."
-}