I still can't build this package. The error I get:
libfprint/tests/meson.build:281:4: ERROR: gnome.mkenums_simple got unknown keyword arguments "source_dir"
Please, fix this! :-(
Git Clone URL: | https://aur.archlinux.org/libfprint-tod-git.git (read-only, click to copy) |
---|---|
Package Base: | libfprint-tod-git |
Description: | Library for fingerprint readers - TOD version |
Upstream URL: | https://fprint.freedesktop.org/ |
Licenses: | LGPL |
Groups: | fprint |
Conflicts: | libfprint |
Provides: | libfprint, libfprint-2-tod.so, libfprint-2.so, libfprint-tod |
Submitter: | vagaerg |
Maintainer: | vagaerg (magnesijium) |
Last Packager: | magnesijium |
Votes: | 11 |
Popularity: | 0.020500 |
First Submitted: | 2020-06-21 03:02 (UTC) |
Last Updated: | 2023-10-30 11:00 (UTC) |
I still can't build this package. The error I get:
libfprint/tests/meson.build:281:4: ERROR: gnome.mkenums_simple got unknown keyword arguments "source_dir"
Please, fix this! :-(
I don't think it was made clear to the upstream repo (actually a fork) so I ended up submitting/testing a fix, here: https://gitlab.freedesktop.org/3v1n0/libfprint/-/merge_requests/1
Fixed PKGBUILD: https://github.com/Aetf/PKGBUILDs/tree/master/libfprint-tod-git
Anyone able to share that prepare()
function?
@EdenJohnson You need to apply the patch in the prepare
function in PKGBUILD. Manually removing the line won't work as makepkg
will extract the source code and overwrite what you've done.
@Aetf not working. i removed the line but when i run makepkg it will appear again.
Missing libgudev
in depends
. Tested in a clean chroot build.
Edit:
@NetSysFire, the error can be fixed by simply removing source_dir in the file. Not sure when this will get fixed in upstream, though.
diff --git a/tests/meson.build b/tests/meson.build
index e1eaedc..61ee43c 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -279,7 +279,6 @@ if get_option('tod')
)
fp_todv1_enums = gnome.mkenums_simple('fp-todv1-enums',
- source_dir: 'tod-drivers',
sources: [
'tod-drivers/base-fp-device.h',
'tod-drivers/base-fp-print.h',
Does not build, still fails during tests for whatever reason:
libfprint/tests/meson.build:257: WARNING: Project targeting '>= 0.49.0' but tried to use feature introduced in '0.58.0': Overriding previous value of environment variable 'LD_LIBRARY_PATH' with a new one.
libfprint/tests/meson.build:281:4: ERROR: gnome.mkenums_simple got unknown keyword arguments "source_dir"
libfprint-git builds fine, so it is unfortunately affecting that very repo.
@nihil21 Revert overwrite (go back to Enroll result: enroll-unknown-error
), downgrade fprintd
to 1.90.9-1.
See ThinkPad X1 solution
Just pushed a change with a fix that should make it compile again. Thanks to magnesijium for sending me a patch!
To re-iterate, I no longer own any device sporting a libfprint-tod compatible reader. Please reach out to me if you want to become a maintainer for this package
Pinned Comments
magnesijium commented on 2022-04-14 12:07 (UTC)
Hi everyone. New co-maintainer here. I use xps 9500 and recently update libusb up to 1.0.26-1. Using with libfprint-2-tod1-xps9300-bin it seems that driver work correctly.