diff --git a/README.md b/README.md index 2e52403..f597eb9 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,26 @@ +## Developing Fingerprint Driver for Chromebooks +### Setup +Install meson and some dependencies. Run +```bash +meson setup \ + --prefix /usr \ + --libexecdir lib \ + --sbindir bin \ + --buildtype plain \ + --auto-features enabled \ + --wrap-mode nodownload +mesonbuild +cd mesonbuild +``` +### Install +``` +# In `mesonbuild` +sudo meson install +``` + ## History **LibFPrint** was originally developed as part of an diff --git a/libfprint/drivers/cros_fp.c b/libfprint/drivers/cros_fp.c index 19e5537..21513da 100644 --- a/libfprint/drivers/cros_fp.c +++ b/libfprint/drivers/cros_fp.c @@ -37,6 +37,11 @@ static const FpIdEntry id_table[] = { { .vid = 0, .pid = 0, .driver_data = 0 }, }; +static void +fpi_device_cros_fp_init(FpiDeviceCrosFp *klass) +{ +} + static void fpi_device_cros_fp_class_init (FpiDeviceCrosFpClass *klass) {