libccid now uses meson build tool

With the version 1.6.0 of libccid I just released (see New version of libccid: 1.6.0) the recommended tool to configure and build libccid is now meson.

I already explained why I now use meson instead of autoconf/automake in pcsc-lite now uses meson build tool.

Meson for libccid

A typical use case is:

meson setup builddir
cd builddir
meson compile
meson install

If you need/want to disable or enable some libccid options then change the first command to use something like:

meson setup builddir -Dserial=true -Dembedded=true

The available options are (file meson.options):

extra_bundle_id

appended to the name of the bundle directory

class

enable the CCIDCLASSDRIVER in Info.plist

composite-as-multislot

composite device are seen as multi-slots (disabled by default)

embedded

for embedded systems [limit RAM and CPU resources by disabling features (log)] (disabled by default)

os_log

use os_log(3) instead of printf() for debug (Sierra 10.12 and up)] (disabled by default)

pcsclite

use pcsc-lite debug support

serial

build the driver for the serial CCID readers (disabled by default)

zlp

enable the Zero Length Packet patch for some Gemalto readers (disabled by default)

In the case of regression

If you need a special configuration that is not possible using meson it is still possible to generate and run the configure script and build libccid as before:

./bootstrap
./configure your_arguments

You can also create a patch and submit it to https://salsa.debian.org/rousseau/PCSC/ or https://github.com/LudovicRousseau/PCSC.

Conclusion

Meson is a nice tool.

I do not expect regression but since version 1.6.0 is the first release with meson support I may have missed some use cases.

New version of libccid: 1.6.0

I just released version 1.6.0 of libccid the Free Software CCID class smart card reader driver.

Changes:

1.6.0 - 1 June 2024, Ludovic Rousseau

  • Add support of

    • Aladdin R.D. JCR SecurBio

    • AvidCard CAC Smart Card Reader

    • FujitsuTechnologySolutions GmbH Dual Smartcard Reader D321

    • Ledger Stax

    • NXP Pegoda 3

    • authenton #1- CTAP2.1

  • provide files for meson build tool (replaces autoconf/automake)

  • Add possibility to set/get NAD on T=1 for MEP

  • multi-slots readers

    • Better handling of reader removal

    • Use CLOCK_MONOTONIC for timeouts

  • Some other minor improvements

New version of PySCard: 2.0.10

I just released a new version of pyscard. PySCard is a python module adding smart cards support (PC/SC) to Python.

The PySCard project is available at:

Changes:

2.0.10 (June 2024)

  • add 'swig' in pyproject.toml build requires

  • CardMonitoringThread(): do not catch unexpected exceptions

New version of pcsc-lite: 2.2.3

I just released a new version of pcsc-lite 2.2.3.

pcsc-lite is a Free Software implementation of the PC/SC (or WinSCard) API for Unix systems

Changes:

2.2.3: Ludovic Rousseau

26 May 2024

  • meson:

    • Fix build on Slackware 15

    • fail if both libusb and libudev are used

  • Fix memory leak on exit

  • libpcscspy: dump an output buffer only if the call succeeded

  • Some code cleanup