From: notthewave <notthewave@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] fprint: update to 1.90.x
Date: Mon, 21 Dec 2020 22:02:47 +0100 [thread overview]
Message-ID: <20201221210247.xAzlrZRcuLJCay5KicGt5YC2tZ6DGmgIrbKDxytAdL8@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-27311@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 648 bytes --]
There is an updated pull request by notthewave against master on the void-packages repository
https://github.com/notthewave/void-packages master
https://github.com/void-linux/void-packages/pull/27311
fprint: update to 1.90.x
Builds successfully on x86_64.
Tried building on aarch64, but it probably needs to be patched. I can't do that as I lack the experience/knowledge :/
fails with
`/usr/aarch64-linux-gnu/usr/bin/g-ir-scanner: line 10: /usr/bin/g-ir-scanner.wrapped: No such file or directory`
BTW this package hasn't been touched in a year.
A patch file from https://github.com/void-linux/void-packages/pull/27311.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-27311.patch --]
[-- Type: text/x-diff, Size: 6487 bytes --]
From 510ac0b8d319b8e2cf7bf32ec6b0e8682e3e88a2 Mon Sep 17 00:00:00 2001
From: notthewave <74874782+notthewave@users.noreply.github.com>
Date: Sun, 20 Dec 2020 19:33:51 +0000
Subject: [PATCH] template fptintd and it's dependency pam_wrapper
---
common/shlibs | 4 +++-
srcpkgs/fprintd/template | 40 ++++++++++++++----------------------
srcpkgs/libfprint/template | 13 ++++++------
srcpkgs/pam_wrapper/template | 24 ++++++++++++++++++++++
srcpkgs/python3-pypamtest | 1 +
5 files changed, 50 insertions(+), 32 deletions(-)
create mode 100644 srcpkgs/pam_wrapper/template
create mode 120000 srcpkgs/python3-pypamtest
diff --git a/common/shlibs b/common/shlibs
index d22e78c0051..5c7bc21a56b 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1577,7 +1577,7 @@ libtcmalloc.so.4 gperftools-2.1_1
libaio.so.1 libaio-0.3.109_1
libofx.so.7 libofx-0.9.11_1
libsigsegv.so.2 libsigsegv-2.10_2
-libfprint.so.0 libfprint-0.5.1_1
+libfprint-2.so.2 libfprint-1.90.6.1_1
libwx_baseu_xml-3.0.so.0 wxWidgets-common-3.0.4_1
libwx_baseu-3.0.so.0 wxWidgets-common-3.0.4_1
libwx_gtk2_adv-3.0.so.0 wxWidgets-3.0.0_1
@@ -3985,6 +3985,8 @@ libneatvnc.so.0 neatvnc-0.3.2_1
libtdjson.so.1.7.0 libtd-1.7.0_1
libJudy.so.1 judy-1.0.5_1
libsignal-protocol-c.so.2 libsignal-protocol-c-2.3.3_2
+libpamtest.so.0 pam_wrapper-1.1.3_1
+libpam_wrapper.so.0 pam_wrapper-1.1.3_1
libSeExpr2Editor.so.3 seexpr-krita-3.4.4.0_1
libSeExpr2.so.3 seexpr-krita-3.4.4.0_1
liburing.so.1 liburing-0.7_1
diff --git a/srcpkgs/fprintd/template b/srcpkgs/fprintd/template
index 11e0922ea43..b7adb592f65 100644
--- a/srcpkgs/fprintd/template
+++ b/srcpkgs/fprintd/template
@@ -1,36 +1,26 @@
# Template file for 'fprintd'
pkgname=fprintd
-version=0.9.0
-revision=3
-wrksrc="fprintd-V_${version//./_}"
-build_style=gnu-configure
-configure_args="--sysconfdir=/etc/${pkgname} --disable-static --without-systemdsystemunitdir"
-conf_files="/etc/fprintd/fprintd.conf"
-hostmakedepends="autoconf automake dbus-glib-devel gettext-devel glib-devel gtk-doc intltool libtool m4 pkg-config"
-makedepends="dbus-devel dbus-glib-devel gettext-devel glib-devel libfprint-devel pam-devel polkit-devel"
+version=1.90.8
+revision=1
+wrksrc="fprintd-v${version}"
+build_style=meson
+configure_args="--sysconfdir=/etc/fprintd -Dman=true -Dgtk_doc=false
+-Dpam_modules_dir=/usr/lib/security -Dsystemd_system_unit_dir=/not-systemd"
+hostmakedepends="meson cmake dbus-glib-devel gettext-devel glib-devel intltool
+ pkg-config perl"
+makedepends="dbus-devel dbus-glib-devel gettext-devel glib-devel libxslt-devel
+ libfprint-devel pam-devel polkit-devel cairo-devel elogind-devel python3-cairo python3-dbus python3-dbusmock"
short_desc="Daemon that provides fingerprint scanning functionality"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://www.freedesktop.org/wiki/Software/fprint/"
-distfiles="https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/V_${version//./_}/fprintd-V_${version//./_}.tar.bz2"
-checksum=3bfbf870a3c333a0a1f08287b2b8501c34fd347faac8c1d52bd0d64ab3474d8e
-lib32disabled=yes
+distfiles="https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/v${version}/fprintd-v${version}.tar.bz2"
+checksum=7f39777b858142730ac89ffa41c0d2dc1a26a01535291f3f5f9b3adb2d28ffc9
-CFLAGS="-fcommon"
-
-pre_configure() {
- glib-gettextize -c -f
- gtkdocize --copy
- intltoolize -c -f
- libtoolize -c
- aclocal
- autoconf
- autoheader
- automake -a -c
+post_patch() {
+ vsed -i -e "/^systemd_dep *=/d" meson.build
}
post_install() {
- mv $DESTDIR/etc/$pkgname/dbus-1 $DESTDIR/usr/share/dbus-1
- vmkdir usr/share/dbus-1/system.d
- mv $DESTDIR/usr/share/dbus-1/dbus-1/system.d/net.reactivated.Fprint.conf $DESTDIR/usr/share/dbus-1/system.d/
+ rm -rf $DESTDIR/not-systemd
}
diff --git a/srcpkgs/libfprint/template b/srcpkgs/libfprint/template
index ae22b871f3d..2509e188bce 100644
--- a/srcpkgs/libfprint/template
+++ b/srcpkgs/libfprint/template
@@ -1,19 +1,20 @@
# Template file for 'libfprint'
pkgname=libfprint
-version=1.0
+version=1.90.6
revision=1
-wrksrc="libfprint-V_${version//./_}"
+wrksrc="libfprint-v${version}"
build_style=meson
+build_helper=gir
configure_args="-Dudev_rules=false -Dx11-examples=false -Dgtk-examples=false -Ddoc=false"
-hostmakedepends="pkg-config"
-makedepends="libusb-devel nss-devel glib-devel gdk-pixbuf-devel pixman-devel"
+hostmakedepends="pkg-config cmake glib-devel"
+makedepends="gobject-introspection libgusb-devel libusb-devel nss-devel glib-devel gdk-pixbuf-devel pixman-devel"
short_desc="Support for consumer fingerprint reader devices"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="http://www.freedesktop.org/wiki/Software/fprint/"
changelog="https://gitlab.freedesktop.org/libfprint/libfprint/raw/master/NEWS"
-distfiles="https://gitlab.freedesktop.org/libfprint/libfprint/-/archive/V_${version//./_}/libfprint-V_${version//./_}.tar.bz2"
-checksum=22777a1d202ef912395b94842ae6b531338c8d48a8a813616e846b1bc96c5ad9
+distfiles="https://gitlab.freedesktop.org/libfprint/libfprint/-/archive/v${version}/libfprint-v${version}.tar.bz2"
+checksum=ca6199ece086c0042d16ab432783ee989a733f27ecceeef2b48c075ceb503972
post_install() {
vmkdir usr/lib/udev/rules.d
diff --git a/srcpkgs/pam_wrapper/template b/srcpkgs/pam_wrapper/template
new file mode 100644
index 00000000000..85f1d498611
--- /dev/null
+++ b/srcpkgs/pam_wrapper/template
@@ -0,0 +1,24 @@
+# Template file for 'pam_wrapper'
+pkgname=pam_wrapper
+version=1.1.3
+revision=1
+build_style=cmake
+configure_args="-DCMAKE_BUILD_TYPE=None -DUNIT_TESTING=ON"
+hostmakedepends="cmake"
+makedepends="python3-devel pam-devel cmocka-devel"
+short_desc="Tool to test PAM applications and modules"
+maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://cwrap.org/pam_wrapper.html"
+distfiles="https://www.samba.org/ftp/cwrap/pam_wrapper-${version}.tar.gz"
+checksum=4feedd788c6fa36516f6d6060482cd86455998d72849eb5f539de48915bdc5f3
+lib32disabled=yes
+
+python3-pypamtest_package() {
+ lib32disabled=yes
+ short_desc+=" - Python 3 bindings"
+ depends="${sourcepkg}-${version}_${revision} python3"
+ pkg_install() {
+ vmove usr/lib/python*
+ }
+}
diff --git a/srcpkgs/python3-pypamtest b/srcpkgs/python3-pypamtest
new file mode 120000
index 00000000000..3ea00f9d1ad
--- /dev/null
+++ b/srcpkgs/python3-pypamtest
@@ -0,0 +1 @@
+pam_wrapper
\ No newline at end of file
next prev parent reply other threads:[~2020-12-21 21:02 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-20 19:45 [PR PATCH] libfprint: update to 1.90.6 notthewave
2020-12-20 19:53 ` ericonr
2020-12-20 20:01 ` notthewave
2020-12-20 20:43 ` [PR PATCH] [Updated] " notthewave
2020-12-20 20:54 ` notthewave
2020-12-20 20:55 ` notthewave
2020-12-20 20:58 ` notthewave
2020-12-20 21:02 ` ericonr
2020-12-20 21:04 ` notthewave
2020-12-20 21:36 ` notthewave
2020-12-20 21:42 ` ericonr
2020-12-21 0:37 ` sgn
2020-12-21 6:07 ` notthewave
2020-12-21 6:11 ` ericonr
2020-12-21 6:12 ` ericonr
2020-12-21 17:52 ` fprint: update to 1.90.x notthewave
2020-12-21 17:55 ` notthewave
2020-12-21 18:01 ` ericonr
2020-12-21 18:01 ` ericonr
2020-12-21 18:03 ` notthewave
2020-12-21 18:04 ` notthewave
2020-12-21 18:06 ` notthewave
2020-12-21 18:11 ` notthewave
2020-12-21 18:12 ` notthewave
2020-12-21 18:13 ` notthewave
2020-12-21 18:57 ` notthewave
2020-12-21 20:50 ` notthewave
2020-12-21 21:02 ` notthewave [this message]
2020-12-22 12:37 ` sgn
2020-12-26 14:40 ` notthewave
2020-12-27 2:02 ` sgn
2020-12-27 20:39 ` notthewave
2021-01-13 16:06 ` sgn
2021-01-13 16:06 ` [PR PATCH] [Closed]: " sgn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201221210247.xAzlrZRcuLJCay5KicGt5YC2tZ6DGmgIrbKDxytAdL8@z \
--to=notthewave@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).