Fixes issue with Goodix fingerprint reader when a fingerprint has already been enrolled in the BIOS, but then the OS has been removed (without un-enrolling the fingerprint first). I.e. fprintd device reported an error during enrol: Finger is too similar to another, try use a different finger
sudo pamac install base-devel meson gobject-introspection gtk-doc
git clone https://gitlab.freedesktop.org/libfprint/libfprint.git
cd libfprint
git apply ../libfprint.patch
mkdir build
cd build
meson -Dprefix=/usr ..
ninja
ninja install
sudo systemctl restart fprintd.service
fprintd-enrol # An error will be shown enrolling for the first attempt, but subsequent enrolments should work
sudo systemctl edit fprintd.service
[Service]
Environment=G_MESSAGES_DEBUG=all
sudo systemctl restart fprintd.service
journalctl -u fprintd -f