[Pcsclite-muscle] pcsc-lite moves to meson

Jakub Jelen jjelen at redhat.com
Fri Apr 26 02:15:35 PDT 2024


Hi,
can you make the branch a PR on the main repo? It makes reviewing the
changes easier.

Jakub

On Thu, Apr 25, 2024 at 8:06 PM Ludovic Rousseau
<ludovic.rousseau at gmail.com> wrote:
>
> Thanks for your feedback Greg.
> That is exactly what I needed.
>
> Le jeu. 25 avr. 2024 à 00:35, Greg Troxel <gdt at lexort.com> a écrit :
> >
> > pkgsrc's build passes the following configure args.
> >
> > CONFIGURE_ARGS+=        --sharedstatedir=${VARBASE}
> > CONFIGURE_ARGS+=        --sysconfdir=${PKG_SYSCONFDIR}
> > CONFIGURE_ARGS+=        --enable-confdir=${PKG_SYSCONFDIR}/reader.conf.d
> > CONFIGURE_ARGS+=        --enable-ipcdir=${VARBASE}/pcsc-lite
> > CONFIGURE_ARGS+=        --enable-usbdropdir=${PREFIX}/lib/pcsc-lite/drivers
> > CONFIGURE_ARGS+=        --disable-libudev
> > CONFIGURE_ARGS+=        --disable-libsystemd
> >
> > Other things use meson, so assuming one can do the equivalent of each
> > above easily, I don't anticipate a problem.  But that seems assuming a
> > lot :-)
>
> I updated meson files to support all your options.
> You would use something like:
> meson setup buiilddir -Dserialconfdir=${PKG_SYSCONFDIR}/reader.conf.d
> -Dlibudev=false -Dlibsystemd=false -Dsysconfdir=${PKG_SYSCONFDIR}
> -Dipcdir=${VARBASE}/pcsc-lite
> -Dusbdropdir=${PREFIX}/lib/pcsc-lite/drivers
>
> This gives me the output:
> The Meson build system
> Version: 1.2.3
> Source dir: /home/rousseau/Documents/sc/PCSC-debug
> Build dir: /home/rousseau/Documents/sc/PCSC-debug/builddir
> Build type: native build
> Project name: pcsc-lite
> Project version: 2.2.0
> C compiler for the host machine: cc (gcc 13.2.0 "cc (Debian 13.2.0-23) 13.2.0")
> C linker for the host machine: cc ld.bfd 2.42
> Host machine cpu family: x86_64
> Host machine cpu: x86_64
> Checking for function "getrandom" : YES
> Checking for function "secure_getenv" : YES
> Checking for function "getopt_long" : YES
> Program flex found: YES (/usr/bin/flex)
> Run-time dependency threads found: YES
> Found pkg-config: /usr/bin/pkg-config (1.8.1)
> Run-time dependency polkit-gobject-1 found: YES 124
> Run-time dependency libsystemd found: YES 255
> Configuring config.h using configuration
> Configuring pcsclite.h using configuration
> Configuring pcscd.h using configuration
> Configuring pcscd.8 using configuration
> Configuring reader.conf.5 using configuration
> Build targets in project: 6
>
> pcsc-lite 2.2.0
>
>   User defined options
>     sysconfdir   : /etc
>     ipcdir       : /var/pcsc-lite
>     libsystemd   : false
>     libudev      : false
>     serialconfdir: /etc/reader.conf.d
>     usbdropdir   : /usr/lib/pcsc-lite/drivers
>
> Found ninja-1.11.1 at /usr/bin/ninja
>
> The options you can change using -Dfoo=bar are listed in the file meson.options
> https://github.com/LudovicRousseau/PCSC-debug/blob/meson/meson.options
>
> Bye
>
> --
>  Dr. Ludovic Rousseau
>
> _______________________________________________
> pcsclite-muscle mailing list
> pcsclite-muscle at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/pcsclite-muscle




More information about the pcsclite-muscle mailing list