[Buildroot] [PATCH 0/2] Adding support for gpiod v2.0 and higher

Börge Strümpfel boerge.struempfel at gmail.com
Wed Nov 15 11:49:12 UTC 2023


Hi Edgar,

Thank you for the feedback.

On Wed, Nov 15, 2023 at 11:52 AM Edgar Bonet <bonet at grenoble.cnrs.fr> wrote:
>
> Hello!
>
> Boerge Struempfel wrote:
> > we introduce libgpiod v2.0 as a new package libgpiod2.
>
> I am worried the name "libgpiod2" may cause some confusion. The first
> Google hit for this name points to the Debian package libgpiod2,[1]
> which carries version 1.6.3 of the libgpiod library. The version number
> mismatch is discussed in a thread of the linux-gpio mailing list:[2]
>

I can see how that could become confusing.
Do you have an idea for a better name? Maybe libgpiodv2 in order to
make a distinction to the debian package?

> Thomas Williams asked:
> > Are libgpiod2 and libgpiod v2 referring to different meanings of "2" ?
>
> Bartosz Golaszewski answered:
> > Ha! Yes they do, it's distro's packaging shenanigans! Basically the
> > API version and the ABI version of libgpiod are different as we had a
> > non-compatible ABI change back during v0.x.y development. Current API
> > version for v1.6.x is 2.something.something. You'll see that while the
> > development files and other packages are just called libgpiod on
> > ubuntu and debian, the package containing the shared library is called
> > libgpiod2.
>
> Buildroot doesn't need to follow the Debian numbering scheme, but we
> should then expect questions coming from confused users...
>
> Regards,
>
> Edgar.
>
> [1] https://packages.debian.org/unstable/libgpiod2
> [2] https://lore.kernel.org/all/CAEdwc-Qm8hqvJhVLWeqLDYGL2mtH7S=TH=pwhzb5T-nMGD_ugw@mail.gmail.com/t/



More information about the buildroot mailing list